// JavaScript Document
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function main_DoFSCommand(command, args) {
	var mainObj = isInternetExplorer ? document.all.main : document.main;
	//	
	if (command=="ar") {
		setItem("ar", args);	
	}
	if (command=="swf") {
		setQuerystring("moviestring", args);
	}
	if (command=="page") {
		setPage(args);	
	}
	if (command=="comiclist") {
		setComiclist(args);	
	}
	if (command=="filmlist") {
		setFilmlist(args);	
	}
	if (command=="storylist") {
		setStorylist(args);	
	}
	if (command=="musiclist") {
		setMusiclist(args);	
	}
	if (command=="back") {
		history.back();
	}
	if (command=="game") {
		openGame(args);
	}
	if (command=="main") {
		setMainVersion();
	}
	//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub main_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call main_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="main" width="600" height="400" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="swfnav/main.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="swfnav/main.swf" quality="high" bgcolor="#ffffff" width="600" height="400" swLiveConnect=true id="main" name="main" align="middle" allowScriptAccess="sameDomain" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>');