/* NS ReloadCode
		if(!window.saveInnerWidth) {
		  window.saveInnerWidth = window.innerWidth;
		  window.saveInnerHeight = window.innerHeight;
		  window.onresize = resizeIt;
		}

		function resizeIt() {
		    if (saveInnerWidth < window.innerWidth || 		    
		        saveInnerWidth > window.innerWidth || 
		        saveInnerHeight > window.innerHeight || 
		        saveInnerHeight < window.innerHeight ) 
				    window.history.go(0);
		}
*/
		function toggleSideMenu() {
			if (blnLoaded)
			{
				if (!blMenuState) {
					showLayer('SideMenuLayer')
					changeText('StatusTitle', '<font FACE="Courier New, Courier" SIZE="2" COLOR="#000000"><a HREF="'+ strStatusOpenLink + '">' + strStatusOpen + '</a>')
				} else	{
					hideLayer('SideMenuLayer')
				}
				blMenuState = !blMenuState
			}
		}

		function closeSideMenu()	{
			blMenuState = false;
			hideLayer('SideMenuLayer')
		}

		function changeText(vRef, vstrNew)	{
			if (NS) {
				document[vRef].document.open()
				document[vRef].document.write(vstrNew);
				document[vRef].document.close();
			} else {
				document.all[vRef].innerHTML = vstrNew;
			}
		}

    function DHTMLScroller()        {
            this.intScrHeight = 0
            this.intScrWidth = 0
            this.intScrTop = 0
            this.intScrLeft  = 0
            this.blIsScrolling = false
            this.intScrTimeStep = 60
            this.strScrName = ''
            this.intScrStep = 1
            this.intScrAmt = 0
            this.intScrLoopSize = 0
            this.blnOrientation = true
    }

	function scrollTo(vSI)   {
		var scrRef = getLayer(Scrollers[vSI].strScrName)
		
		if (Scrollers[vSI].intScrAmt > Scrollers[vSI].intScrLoopSize)
		        Scrollers[vSI].intScrAmt = 0
		Scrollers[vSI].intScrAmt += Scrollers[vSI].intScrStep
		
		if (Scrollers[vSI].blnOrientation)      {
		   if (IE)
				scrRef.pixelTop = Scrollers[vSI].intScrTop - (Scrollers[vSI].intScrAmt)
			else
				scrRef.top = Scrollers[vSI].intScrTop - Scrollers[vSI].intScrAmt
			resizeLayer(Scrollers[vSI].strScrName, Scrollers[vSI].intScrWidth, Scrollers[vSI].intScrHeight+Scrollers[vSI].intScrAmt)
			clipLayer(Scrollers[vSI].strScrName, 0, Scrollers[vSI].intScrAmt, Scrollers[vSI].intScrWidth, Scrollers[vSI].intScrHeight+Scrollers[vSI].intScrAmt)
		} else  {
			if (IE)
				scrRef.pixelLeft = Scrollers[vSI].intScrLeft - (Scrollers[vSI].intScrAmt)
			else
				scrRef.left = Scrollers[vSI].intScrLeft - Scrollers[vSI].intScrAmt
			resizeLayer(Scrollers[vSI].strScrName, Scrollers[vSI].intScrWidth+Scrollers[vSI].intScrAmt, Scrollers[vSI].intScrHeight)
			clipLayer(Scrollers[vSI].strScrName, Scrollers[vSI].intScrAmt, 0, Scrollers[vSI].intScrWidth+Scrollers[vSI].intScrAmt, Scrollers[vSI].intScrHeight)
		}
		setTimeout('scrollTo(' + eval(vSI) + ')', Scrollers[vSI].intScrTimeStep)
	}


	var mintCurrentLabel = null;
	
	function MoveLabel(evnt)	{
		if (mintCurrentLabel != null)	{
			if (NS)
				moveLayer('AreaNameLayer' + mintCurrentLabel, evnt.pageX+10, evnt.pageY+10)
			else
				moveLayer('AreaNameLayer' + mintCurrentLabel, event.clientX+10, event.clientY+10)
			if (!IsVisibleLayer('AreaNameLayer' + mintCurrentLabel))
				showLayer('AreaNameLayer' + mintCurrentLabel)
		}
	}

	function OverArea(vAreaId)	{
		if (blnLoaded)	{
			mintCurrentLabel = vAreaId
			if (IE)	{
				document.onmousemove=MoveLabel;
			}	else {
				window.captureEvents(Event.MOUSEMOVE);
				window.onmousemove = MoveLabel;
			}
		}
	}

	function OutArea(vAreaId)	{
		mintCurrentLabel = null
		if (blnLoaded)	{
			hideLayer('AreaNameLayer' + vAreaId)
			if (IE)	{
				document.onmousemove=null;
			}	else {
				document.releaseEvents(Event.MOUSEMOVE);
				document.onmousemove = null;
			}
		}
	}

