//window.addEvent('domready', function() {
	
	window.addEvent('load', function() {
	
		var version = deconcept.SWFObjectUtil.getPlayerVersion();
	
		if (version['major'] < 8 ) {
		
			var url = "http://www.thecitadelle.org/includes/getflash.inc";
		
			new Ajax(url, {
				method: 'get',
				update: $('main-content-tour')
			}).request();
			
		} else {
			
			var url = "http://www.thecitadelle.org/includes/swf.inc";
		
			new Ajax(url, {
				method: 'get',
				update: $('main-content-tour')
			}).request();
		}
		
	});
	
//});

/*window.addEvent('domready', function() {
	
	$('ddm').addEvent('click', function(e) {
	
		new Event(e).stop();
		MOOdalBox.init.bind(MOOdalBox);
		var url = "http://www.thecitadelle.org/mansion/abraham-family/episode-chooser.php";
			
		new Ajax(url, {
			method: 'get',
			evalScripts: true,
			update: $('mind-body-spirit')
		}).request();
	});
});*/

