// SHOWS MENUS	var PathInfoJ = "/hosting/bds/wcmt.nsf/";	var PathInfoJ2 = '?openimageresource';	var LastOpenedMenu = 'MNU1';	function shwMnu(MenuName)	{	rstLstMnu(LastOpenedMenu,'6');	//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,arrDir){		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 = '#330099';			window.document.getElementById(snme+'lnk').style.color = '#fff';			}		}				//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,'6');				//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();}