Did I not get enough sleep or what? This following code
var frame=document.getElementById(\"viewer\"); frame.width=100; frame.height=100; var ctx=frame.getC
If you are simply drawing some images on a canvas, make sure you are loading the images from the same domain.
www.example.com is different to example.com
So make sure your images and the url you have in your address bar are the same, www or not.