var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
var flashTestObj = InternetExplorer ? window.flashSite : window.document.flashSite;

// 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 flashSite_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call flashSite_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}

// Handle all the the FSCommand messages in a Flash movie
function flashSite_DoFSCommand(command, args) {
	if(command == "pageOpend") {
		img = new Image();
		img.src=offSec+"/"+args;
	}
}
