var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function HomeNav_DoFSCommand(command, args) {
//  var HomeNavObj = InternetExplorer ? HomeNav : document.HomeNav;
  //
  if (command == "openContactUs") {
		
		window.open("contactus.html", "newwindow", "width=300, height=188");
	}
	else {
		return;
	}
  //
}

// 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 HomeNav_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call HomeNav_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}

//---------------------------------------------------------------------------------------------------
// Handle all the the FSCommand messages in a Flash movie
function InsideNav_DoFSCommand(command, args) {
//  var InsideNavObj = InternetExplorer ? InsideNav : document.InsideNav;
  //
  if (command == "openContactUs") {
		
		window.open("contactus.html", "newwindow", "width=300, height=188");
	}
	else {
		return;
	}
  //
}
// 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 InsideNav_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call InsideNav_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}


