<!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 = '#DE3400';
context.strokeRect(88, 87, 124, 112);

context.strokeStyle = '#403FDB';
context.strokeRect(88, 221, 124, 99);

context.strokeStyle = '#77BE00';
context.beginPath();
context.moveTo(238, 198);

context.lineTo(238, 198);
context.stroke();
var canvas, context, canvaso, contexto;
canvaso = document.getElementById('imageView');
context = canvaso.getContext('2d');
context.lineWidth = 5;

context.strokeStyle = '#77BE00';
context.strokeRect(55, 61, 148, 108);

context.strokeStyle = '#77BE00';
context.strokeRect(58, 186, 148, 87);

context.strokeStyle = '#77BE00';
context.strokeRect(225, 60, 223, 100);

context.strokeStyle = '#77BE00';
context.strokeRect(228, 188, 223, 83);
</script>
</body>
</html>