// flash control script, only written if Flash version is correct.
if(hasRightVersion) {	// if we've detected an acceptable version
var FlashControl = '<SCRIPT LANGUAGE="JavaScript"> \n'
+ 'var menu_page = "Home"; \n'
+ 'var moviename = "NuMeNu"; \n'
+ 'var movie_ready = "false"; \n'
+ 'var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; \n'
+ 'function golabel(label) { \n' 
+ 'var flashObj = parent.InternetExplorer ? window[moviename] : window.document[moviename]; \n'
+ '	if(movie_ready == "true") \n' 
+ '	{ \n' 
+ '	flashObj.TGotoLabel("_level0/",label); \n' 
+ '	} \n' 
+ '} \n' 
+ '//  Handle all the FSCommand messages in a Flash movie   \n' 
+ 'function NuMeNu_DoFSCommand(command, args) {  \n' 
+ '  //  Evaluate the command string and decide what to do  \n' 
+ '  if ( command == "hello" ) {  \n' 
+ '	movie_ready = "true"; \n' 
+ '	golabel(menu_page); \n' 
+ '  }  \n' 
+ '} \n' 
+ '//--></SCRIPT>';

document.write(FlashControl); 	// embed the flash control script

// 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 NuMeNu_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call NuMeNu_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
		}

}
// -->
