// JavaScript Document
function myDocument_DoFSCommand(command, args) {
   
}
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function home_DoFSCommand(command, args) {
	var homeObj = isInternetExplorer ? document.all.home : document.home;
	if (command == "openwindow") {
		// get args
		// args[0] is screen height
		// args[1] is screen width
		// args[2] is url of page to open
		arg = args.split(":");
		
		doc_height = arg[0];
		doc_width = arg[1];
		
		if( arg[2] == 0 && arg[3] == 0 ) {
			window_X= '' + (screen.width / 2) - (doc_width/2);
			window_Y= '' + (screen.height / 2) - (doc_height/2);
		}
		else {
			window_X = arg[2];
			window_Y = arg[3];
		}
		
		open( arg[4], "menu", "toolbar=no, location=no, resizable=no, scrollbars=no, status=no, directories=no, width=" + doc_width + ", height=" + doc_height + ", left=" + window_X + ", top=" + window_Y );
	}
}
// 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 home_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call home_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}