 			@set_station "tachikawa"
 
 		@_initSize()
-		@_initGame @STAGE_SIZE.w, @STAGE_SIZE.h
+		@_initGame @BG_SIZE.w, @BG_SIZE.h
 		if !timer
 			timer = setInterval @_timerHook, 1000
 		@setTimerConf()

		# TrainVisonを4:3で固定するため、横の長さを縦の長さから計算します。
		if(height < width)
			# 横長の画面の場合
			@STAGE_SIZE.w = Math.floor($(window).height() * (4/3))
			@STAGE_SIZE.h = Math.floor $(window).height()
		else if(width < height)
			# 縦長の画面の場合
			@STAGE_SIZE.w = Math.floor $(window).width()
			@STAGE_SIZE.h = Math.floor $(window).width()  * (3/4)

		@ZOOM = @STAGE_SIZE.w / @BG_SIZE.w

		console.log "w: " + @STAGE_SIZE.w
		console.log "h: " + @STAGE_SIZE.h 

		return

	convSize:(size)=>
		return @ZOOM * size

	# Āā Īī Ūū Ēē Ōō


		if(!@station)
			@station = Text.station["tachikawa"]

	game_onload: =>
		@initMainPanel 0
		return

	_initGame: (w,h)=>
		@game = new Game w, h
		@game.scale = @ZOOM
		for k, v of @imgPath
			@game.preload v

