$(document).ready(function(){
	gameEvents();
	
});

function gameEvents(){
	
	if(gameWidth != "" && gameHeight != ""){
		$("#title_area").css({width:(gameWidth+10)});
		$("#game_container").css({width:(gameWidth+14)})
			.find("#game_t").css({width:gameWidth}).end()
			.find("#game_l").css({height:gameHeight}).end()
			.find("#game_r").css({height:gameHeight}).end()
			.find("#game_b").css({width:gameWidth}).end()
			.find("#game_content").css({width:gameWidth,height:gameHeight}).end()
			.find("#game_player").css({width:gameWidth,height:gameHeight}).end();
	}
}
