<!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(152, 98);
context.lineTo(261, 219);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.strokeRect(269, 90, 123, 231);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(68, 214);

context.lineTo(70, 214);
context.stroke();

context.lineTo(74, 216);
context.stroke();

context.lineTo(84, 219);
context.stroke();

context.lineTo(98, 221);
context.stroke();

context.lineTo(122, 224);
context.stroke();

context.lineTo(147, 229);
context.stroke();

context.lineTo(169, 232);
context.stroke();

context.lineTo(180, 236);
context.stroke();

context.lineTo(182, 236);
context.stroke();

context.lineTo(182, 236);
context.stroke();
</script>
</body>
</html>