<!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(82, 36, 366, 136);

context.strokeStyle = '#000000';
context.save();
context.translate(191.5, 101.5);
context.scale(1, 0.7464788732394366);
context.beginPath();
context.arc(0, 0, 89, 0, 6.283185307179586, false);
context.stroke();
context.closePath();
context.restore();

context.strokeStyle = '#000000';
context.save();
context.translate(286.5, 76.5);
context.scale(1, 0.6853932584269663);
context.beginPath();
context.arc(0, 0, 108, 0, 6.283185307179586, false);
context.stroke();
context.closePath();
context.restore();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(58, 245);
context.lineTo(502, 155);
context.stroke();
context.closePath();
</script>
</body>
</html>