// SHOWS MENUS	var PathInfoJ = "/hosting/AMB/wcmt.nsf/";	var PathInfoJ2 = '?openimageresource';	var LastOpenedMenu = 'MNU1';	function shwMnu(MenuName)	{	rstLstMnu(LastOpenedMenu);	//window.document.getElementById(LastOpenedMenu).style.display = 'none';	//	document.images[LastOpenedMenu+'arr'].src = PathInfoJ+'arr6.gif'+PathInfoJ2;	window.document.getElementById(MenuName).style.display = 'inline';		//document.images[MenuName+'arr'].src = PathInfoJ+'arr6OFF.gif'+PathInfoJ2;	LastOpenedMenu = MenuName;	}			function rstLstMnu(LastOpenedMenu){		window.document.getElementById(LastOpenedMenu).style.display = 'none';//		document.images[LastOpenedMenu+'arr'].src = PathInfoJ+'arr'+arrDir+'.gif'+PathInfoJ2;;		}				function btnon(){		snme = window.document.getElementById('DocSectionName').value;			if(window.document.getElementById(snme+'lnk')){			window.document.getElementById(snme+'lnk').style.background = '#6699CC';			window.document.getElementById(snme+'lnk').style.color = '#fff';			}		}var rand1 = 0;var useRand = 0;images = new Array;images[1] = new Image();images[1].src = "../0/" + "5A084D96CA2B302A8025764200764019/$file/pagebanner1.jpg?open";images[2] = new Image();images[2].src = "../0/" + "84C68BD1542EE906802576420076477D/$file/pagebanner2.jpg?open";images[3] = new Image();images[3].src = "../0/" + "F9B243F7427B21088025764200764E56/$file/pagebanner3.jpg?open";images[4] = new Image();images[4].src = "../0/" + "E63BFBE98A5A1A688025764200765553/$file/pagebanner4.jpg?open";function swapPic(imgnme) {var imgnum = images.length - 1;	do {		var randnum = Math.random();		rand1 = Math.round((imgnum - 1) * randnum) + 1;	} while (rand1 == useRand);		useRand = rand1;		document.getElementById(imgnme).src = images[useRand].src;	};				//IMPROVED MINIMAL FIELD HEIGHTSfunction flds()//{//if(document.forms[0].EditMode.value == '1'){for (var i = 0; i < document.forms[0].elements.length; i++)        {        if (document.forms[0].elements[i].title == "expMe")                {                document.forms[0].elements[i].style.height = document.forms[0].elements[i].scrollHeight + 6;                }        }//}}// CLOSES MENUS WHEN A NON-LINK IS CLICKED ===	var mOpen = '';	function mnuCls(e){		if(e)	{			var obj = e.target			}else			{			var obj = event.srcElement			}			if(obj.nodeName != 'A' && mOpen == 'Y')				{				if(obj.className != 'keep'){				rstLstMnu(LastOpenedMenu);				//window.document.getElementById(LastOpenedMenu).style.display = 'none';				//document.images[LastOpenedMenu+'arr'].src = PathInfoJ+'arr6.gif'+PathInfoJ2;				}				}			mOpen = '';			}	document.onmouseup = mnuCls;//CHECKBOXES=======================	function chkit(objid)		{		if (window.document.getElementById(objid).checked == false)			{			window.document.getElementById(objid).checked = true;			}			else			{			window.document.getElementById(objid).checked = false			}		}//STYLE CHANGER====================	function styChng(OBID,PROP,VAL){		eval("window.document.getElementById(OBID).style." + PROP + " = VAL");		}//PAGE TAB CHANGER=================		var LastPageShown = 'page1';		function pgChng(OBID){		window.document.getElementById(LastPageShown+'TBL').className = 'MPGEponly';		//	alert(window.document.getElementById(LastPageShown+'TBL'));		window.document.getElementById(LastPageShown+'td').style.backgroundColor = '#B2D8ED';			window.document.getElementById(OBID+'TBL').className = 'MPGE';				window.document.getElementById(OBID+'td').style.backgroundColor = '#ffffff';		LastPageShown = OBID;		if (window.document.getElementById('PageTitle')){		 flds();		}		}		//SAVE DOCfunction SaveContactDoc() {	document.forms[0].FileSaveContact.click();}//SAVE DOCfunction SaveEventDoc() {	document.forms[0].FileSaveEvent.click();}