function boot() {
draw(document.getElementById('canvas').getContext('2d'));
draw(document.getElementById('vmlcanvas').getContext('2d'));
}
function draw(ctx) {
var img = new Image();
img.onload = function(){
var i, j;
ctx.globalAlpha = 0.5;
for (i=0;i<4;i++){
for (j=0;j<3;j++){
ctx.drawImage(img,j*50,i*38,50,38);
}
}
}
img.src = 'images/rhino.jpg?' + new Date().getTime();
}