<!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 = '#FA1928';
context.beginPath();
context.moveTo(154, 159);
context.lineTo(348, 161);
context.stroke();
context.closePath();

context.strokeStyle = '#FA1928';
context.beginPath();
context.moveTo(155, 247);
context.lineTo(346, 247);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.strokeRect(313, 139, 131, 130);

context.strokeStyle = '#000000';
context.strokeRect(31, 139, 138, 168);

context.strokeStyle = '#000000';
context.strokeRect(88, 76, 81, 70);

context.strokeStyle = '#F7FF1C';
context.strokeRect(359, 79, 220, 227);

context.strokeStyle = '#FC1900';
context.strokeRect(388, 103, 167, 178);
</script>
</body>
</html>