<!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.beginPath();
context.moveTo(98, 72);
context.lineTo(467, 71);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(467, 71);
context.lineTo(527, 148);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(527, 148);
context.lineTo(524, 442);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(524, 442);
context.lineTo(98, 443);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(98, 443);
context.lineTo(99, 72);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.strokeRect(150, 95, 306, 119);

context.strokeStyle = '#000000';
context.strokeRect(405, 107, 29, 95);

context.strokeStyle = '#000000';
context.strokeRect(115, 265, 393, 159);
</script>
</body>
</html>