<html> <head><title>Canvas Experiments</title></head> <body> Canvas:<br> <canvas id="tutorial" width="640" height="480" style="border-style: dotted; border-width: 1px;"> Canvas not supported. </canvas> </body> <script src="include/mootools.js"></script> <script src="include/mootools-more.js"></script> <script src="include/util.js"></script> <script src="canvas.js"></script> <script> window.onload = function() { console.log("here1"); Canvas.init('tutorial', 640, 480); Canvas.draw(); console.log("here2"); } </script> </html>