<!--
function thisMovie(movieName) {
		var isIE = navigator.appName.indexOf("Microsoft") != -1;
		return (isIE) ? window[movieName] : document[movieName];
	}

function TryOnFlash_DoFSCommand(command, args) { 
	if (command == "OS") { 
	thisMovie("GlassInfo").OS.value=args;
	}  
	else if(command == "OD") { 
	thisMovie("GlassInfo").OD.value=args;
	}  
	else if(command == "Pupil") {
	thisMovie("GlassInfo").Pupil.value=args; 
	}  
	else if(command == "StateOver") { 
	thisMovie("GlassInfo").submit();
	}
}
function AddFrameToTryOn(){
thisMovie("TryOnFrame").submit();
}
// 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 TryOnFlash_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call TryOnFlash_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
//-->

