﻿<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function menu_loader_DoFSCommand(command, args) {
	var menuObj = isInternetExplorer ? document.all.menu_loader : document.menu_loader;
	//alert(command);
	switch (command)
	{
	
		//all regions button click
		case "gotoAllRegionsFolder":
			window.location = args;
			break;

		//region button click
		case "gotoRegionFolder":
			window.location = args;
			break;

		//place click
		case "gotoLocationFolder":
			window.location = args;
			break;

		//small button click show
		case "showLocationsGroup":
			var list = args.split(",")
			
			if (list[0] == "1") {
				showLocationsGroup(list[0]);
			}
			if (list[0] == "2") {
				showLocation(9,1,330);//,list[1]);
				hideGroup(9);
				showLocationsGroup(list[0]);
			}
			if (list[0] == "3") {
				showLocation(10,1,200);//,list[1]);
				hideGroup(10);
				showLocationsGroup(list[0]);
			}
			if (list[0] == "4") {
				showLocation(11,1,100);//,list[1]);
				hideGroup(11);
				showLocationsGroup(list[0]);
			}
			if (list[0] == "5") {
				showLocation(12,1,250);//,list[1]);
				hideGroup(12);
				showLocationsGroup(list[0]);
			}
			if (list[0] == "6") {
				showLocation(13,1,240);//,list[1]);
				hideGroup(13);
				showLocationsGroup(list[0]);
			}
			if (list[0] == "7") {
				showLocation(14,1,200);//,list[1]);
				hideGroup(14);
				showLocationsGroup(list[0]);
			}
			
			break;
			
		//small button click hide
		case "hideGroup":
			hideGroup(args);
			gotoHome1();
			break;
			
		//place mouse over
		case "showLocation":
			var list = args.split(",")
			showLocation(list[0],list[1]);
			break;
		default:
			//alert(command);
			//alert("Nikakva komanda nije poslana")
	}
}
// 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 menu_loader_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call menu_loader_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
			//-->
