<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function SubFlashMenu_DoFSCommand(command, args) {
	var FSComObj = isInternetExplorer ? document.all.SubFlashMenu : document.SubFlashMenu;

	if (command == "alert") {
		alert(args);
	}
	else if (command == "popup") {
		window.open(args, "mmwin", "width=500,height=300");
	}
	else if (command == "showMenu")
	{
		showMenu(args)
	}
	else if (command == "hideMenu")
	{
		hideMenu(args)
	}
}

//Made by Martial Boissonneault © 2002-2003 http://getElementById.com/
//May be used and changed freely as long as this msg is intact
//Visit http://getElementById.com/ for more free scripts and tutorials.

var ns4 = (document.layers);
var ie4 = (document.all && !document.getElementById);
var ie5 = (document.all && document.getElementById);
var ns6 = (!document.all && document.getElementById);

function showMenu(myargs){
	arg_array = myargs.split(";")
	
	id = arg_array[0]

	x = arg_array[1]
	y = arg_array[2]
	w = arg_array[3]
	h = arg_array[4]
	if(ie5 || ns6){
		document.getElementById(id).style.visibility = "visible";
		document.getElementById(id).style.left = x + "px"
		document.getElementById(id).style.top = y + "px"
		document.getElementById(id).style.width = w + "px"
		document.getElementById(id).style.height = h + "px"
		document['SubFlashMenu'].width = w + "px"
		document['SubFlashMenu'].height = h + "px"	
	}
}

function hideMenu(myargs){
	arg_array = myargs.split(";")
	id = arg_array[0]
	if(ie5 || ns6){
		document.getElementById(id).style.border = "0px"
		document['SubFlashMenu'].width = "1px"
		document['SubFlashMenu'].height = "1px"	
		document.getElementById(id).style.left = "0px"
		document.getElementById(id).style.top = "0px"
		document.getElementById(id).style.visibility = "hidden";
	}
}

// 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 SubFlashMenu_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call SubFlashMenu_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}

//-->

