var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function zonemap_DoFSCommand(command, args) {
	var zonemapObj = isInternetExplorer ? document.all.zonemap : document.zonemap;
	if(args != "false") {
		changecheck(args);
	}
}
// 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 zonemap_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call zonemap_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}

function fsCheck(zid) {
	if(zid != -100 && zid != -10) {
		if(zid.charAt(1) == '0') {
			zid = zid.charAt(2);
		} else {
			zid = zid.charAt(1) + zid.charAt(2);
		}
	}
	var zonemapObj = isInternetExplorer ? document.all.zonemap : document.zonemap;
	zonemapObj.SetVariable('zid', zid);
	
}




