var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function rhccFinal_DoFSCommand(command, args) {
	var rhccFinalObj = isInternetExplorer ? document.all.rhccFinal : document.rhccFinal;
	switch(args) {
		case "hom":
			document.forms["pullForm"].urlWho.value = "rh_Home";
			document.forms["pullForm"].submit();
			break;		
		case "who":
			document.forms["pullForm"].urlWho.value = "rh_Who";
			document.forms["pullForm"].submit();
			break;
		case "cal": 
			document.forms["pullForm"].urlWho.value = "rh_Calev";
			document.forms["pullForm"].submit();
			break;
		case "ser":
			document.forms["pullForm"].urlWho.value = "rh_Ser";
			document.forms["pullForm"].submit();
			break;
		case "min":
			document.forms["pullForm"].urlWho.value = "rh_Min";
			document.forms["pullForm"].submit();
			break;
		case "bel":
			document.forms["pullForm"].urlWho.value = "rh_Bel";
			document.forms["pullForm"].submit();
			break;
		case "sta":
			document.forms["pullForm"].urlWho.value = "rh_Sta";
			document.forms["pullForm"].submit();
			break;
		case "new":
			document.forms["pullForm"].urlWho.value = "rh_new";
			document.forms["pullForm"].submit();
			break;
		case "con":
			document.forms["pullForm"].urlWho.value = "rh_con";
			document.forms["pullForm"].submit();
			break;
	}
}
// 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 rhccFinal_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call rhccFinal_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
