<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Your Canvas</title>

<style type="text/css"><!--
#container { position: relative; }
#imageTemp { position: absolute; top: 1px; left: 1px; }
--></style>

</head>
<body>
<canvas id="imageView" width="600" height="500"></canvas>

<script type="text/javascript">
var canvas, context, canvaso, contexto;
canvaso = document.getElementById('imageView');
context = canvaso.getContext('2d');
context.lineWidth = 5;

context.strokeStyle = '#000000';
context.strokeRect(50, 42, 502, 400);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(551, 42);

context.lineTo(551, 42);
context.stroke();

context.strokeStyle = '#000000';
context.strokeRect(351, 43, 199, 146);

context.strokeStyle = '#000000';
context.strokeRect(350, 243, 202, 100);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(349, 343);

context.lineTo(349, 343);
context.stroke();

context.strokeStyle = '#000000';
context.strokeRect(351, 342, 201, 100);

context.strokeStyle = '#000000';
context.strokeRect(51, 42, 231, 146);

context.strokeStyle = '#000000';
context.strokeRect(51, 188, 231, 121);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(50, 308);

context.lineTo(50, 308);
context.stroke();

context.strokeStyle = '#000000';
context.strokeRect(49, 310, 233, 132);
</script>
</body>
</html>