<!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(159, 89, 148, 293);

context.strokeStyle = '#000000';
context.strokeRect(215, 32, 164, 267);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(156, 86);
context.lineTo(216, 29);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(308, 87);
context.lineTo(377, 34);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(308, 381);
context.lineTo(380, 301);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(158, 379);
context.lineTo(217, 299);
context.stroke();
context.closePath();
</script>
</body>
</html>