    <script type="text/javascript" src="js/jgame.js"></script>
    <script type="text/javascript">
    jg.globalize();
    window.onload = function() {
    	var game = new Game(320, 320);
    	game.preload({chara: "chara.png"});
    	game.loaded.handle(function() {
    		var chara = new Character(game.r("chara"), 32, 32);
    		game.scene.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>