    <script type="text/javascript" src="js/jgame.js"></script>
    <script type="text/javascript">
    window.onload = function() {
    	var game = new Game(320, 320);
    	game.preload({chara: "chara.png"});
    	game.loaded.handle(function() {
    		var chara = new Character(32, 32, game.r("chara"));
    		game.currentScene.append(chara);
    		chara.frame = [0, 1];
    		chara.tl().moveBy(288, 0, 1800)
    			.scaleTo(-1, 1, 300)
    			.moveBy(-288, 0, 1800)
    			.scaleTo(1, 1, 300)
    			.loop();
    	});
    }
    </script>