var createGame = function(option) {

	/*if (option == undefined) {
		option = Math.floor(Math.random()*2)+1;	
	}

	$('hero').empty();*/
	//if (videoURL) {
		
	//videoURL = "flash/videos/showreel.flv";
	//videoTitle = "iQ Media Showreel";
	
	var gameObject = new Swiff(gameURL, {
    	id: 'gameBox',
		name: 'gameBox',
    	width: gameWidth,
    	height: gameHeight,
   		params: {
        	wmode: 'transparent',
        	bgcolor: '#FFFFFF',
      		loop: 'false',
			menu: 'false',
       		quality: 'high',
   			scale: 'noscale',
			allowScriptAccess: 'always',
    		allowFullScreen: 'true',
			play: 'true'
    	}
	});

	gameObject.inject($('gamebox'));
	//}

}

window.addEvent('domready', createGame);
