<!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(41, 29, 522, 447);

context.strokeStyle = '#000000';
context.strokeRect(121, 105, 362, 290);

context.strokeStyle = '#000000';
context.strokeRect(199, 179, 209, 155);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(200, 259);
context.lineTo(42, 260);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(304, 335);
context.lineTo(304, 475);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(408, 258);
context.lineTo(564, 257);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(304, 178);
context.lineTo(303, 27);
context.stroke();
context.closePath();
</script>
</body>
</html>