function MM_preloadImages() { //v3.0
		  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
			var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
			if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
		}
		
		function MM_swapImgRestore() { //v3.0
		  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
		}
		//-->
		function validateMenu() {
			if(document.getElementById("leftMenuDivId")) {
				document.getElementById("leftMenuDivId").style.display = '';
			}
		}
		function showDivLeftSubMenu(menuId, topPos) {
			if(document.getElementById("leftSubMenuDiv_"+menuId)) {
				document.getElementById("leftSubMenuDiv_"+menuId).style.display = "";
				document.getElementById("leftSubMenuDiv_"+menuId).style.position = "absolute";
				var totalWidth = document.body.clientWidth;
				finalLeft = 70;
				document.getElementById("leftSubMenuDiv_"+menuId).style.position = "absolute";
				//document.getElementById("leftSubMenuDiv_"+menuId).style.left = finalLeft+"px";
				//document.getElementById("leftSubMenuDiv_"+menuId).style.top = topPos+"px";
			}
			return false;
		}
		function hideDivLeftSubMenu(menuId) {
			if(document.getElementById("leftSubMenuDiv_"+menuId)) {
				document.getElementById("leftSubMenuDiv_"+menuId).style.display = "none";
			}
			return false;
		}
		function open_window(){
		window.open("map1.htm","_blank","height=600,width=1000,status=no,toolbar=no,menubar=no,location=no,top=10,left=10,scrollbars=yes");
		}


/*==============================Online sound Function ====================================================*/
var aySound = new Array();
// Below: source for sound files to be preloaded
aySound[0] = "future-tech_button_05_on.mp3";

// DO NOT edit below this line
document.write('<BGSOUND ID="auIEContainer">')
IE = (navigator.appVersion.indexOf("MSIE")!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
FF = (navigator.userAgent.toLowerCase().indexOf("mozilla")!=-1)? 1:0;
//alert(FF);

ver4 = IE||NS? 1:0;
onload=auPreload;

function auPreload() {
if (!ver4) return;
if (NS) auEmb = new Layer(0,window);
else {
Str = "<DIV ID='auEmb' STYLE='position:absolute;'></DIV>";
document.body.insertAdjacentHTML("BeforeEnd",Str);
}
var Str = '';
for (i=0;i<aySound.length;i++)
Str += "<EMBED SRC='"+aySound[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"
if (IE) auEmb.innerHTML = Str;
else {
auEmb.document.open();
auEmb.document.write(Str);
auEmb.document.close();
}
auCon = IE? document.all.auIEContainer:auEmb;
auCon.control = auCtrl;
}
function auCtrl(whSound,play) {
if (IE) this.src = play? aySound[whSound]:'';
else eval("this.document.embeds[whSound]." + (play? "play()":"stop()"))
}
function playSong(whSound) { if (window.auCon) auCon.control(whSound,true); }
function stopSong	(whSound) { if (window.auCon) auCon.control(whSound,false); }

/*==============================/Online sound Function ====================================================*/
