<!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(96, 165, 347, 229);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(95, 166);
context.lineTo(266, 30);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(265, 32);
context.lineTo(442, 164);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.strokeRect(173, 298, 49, 95);

context.strokeStyle = '#000000';
context.strokeRect(301, 189, 100, 62);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(349, 97);
context.lineTo(350, 44);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(350, 44);
context.lineTo(387, 44);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(387, 44);
context.lineTo(389, 124);
context.stroke();
context.closePath();
</script>
</body>
</html>