<!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(107, 36);
context.lineTo(105, 147);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(104, 141);
context.lineTo(269, 352);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(269, 352);
context.lineTo(452, 150);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(452, 150);
context.lineTo(452, 39);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(452, 39);
context.lineTo(103, 36);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(297, 268);
context.lineTo(299, 148);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(299, 148);
context.lineTo(408, 153);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(408, 153);
context.lineTo(301, 267);
context.stroke();
context.closePath();

context.strokeStyle = '#FF0000';
context.beginPath();
context.moveTo(255, 266);
context.lineTo(255, 144);
context.stroke();
context.closePath();

context.strokeStyle = '#FF0000';
context.beginPath();
context.moveTo(255, 144);
context.lineTo(138, 145);
context.stroke();
context.closePath();

context.strokeStyle = '#FF0000';
context.beginPath();
context.moveTo(138, 145);
context.lineTo(254, 264);
context.stroke();
context.closePath();

context.lineWidth = 6;

context.lineWidth = 9;

context.lineWidth = 13;

context.lineWidth = 14;

context.strokeStyle = '#000000';
context.strokeRect(131, 54, 298, 72);
</script>
</body>
</html>