<!--
	function hide(ahide)
	{
		for (var i = 0; i < ahide.length; i++)		ShowElement(ahide[i], false);
	}


	function show(id,ahide)
	{
		hide(ahide);
		ShowElement(id, true);
	}


	function ShowElement(sElement, bShow)
	{
		var objMain;
		//
		objMain = document.getElementById(sElement);
		//
		if(bShow)
		{
			objMain.style.display = "";
		}
			else
			{
				objMain.style.display = "none";
			}
	}


	function ChangeMSG()
	{
		show(aMSG[iMSG],aMSG);
		iMSG++;
		if(iMSG == aMSG.length)
		{
			iMSG = 0;
		}
	}
	
	
	var SLPopUp = 0;
	function SLDisplayPopUp(sURL, iLeft, iTop, iWidth, iHeight, sResizable)
	{
		if(SLPopUp)
		{
			if(!SLPopUp.closed)
			{
				SLPopUp.close();
			}
		}
		//
		SLPopUp = window.open(sURL, 'sl_popup_win', 'height=' + iHeight + ', width=' + iWidth + ', toolbar=no, menubar=no, location=no, scrollbars=no, resizable=' + sResizable + ', directories=no, status=no, left=' + iLeft + ', top=' + iTop);
	}
	
	
	var SLPopUpScroll = 0;
	function SLDisplayPopUpScroll(sURL, iLeft, iTop, iWidth, iHeight, sResizable)
	{
		if(SLPopUpScroll)
		{
			if(!SLPopUpScroll.closed)
			{
				SLPopUpScroll.close();
			}
		}
		//
		SLPopUpScroll = window.open(sURL, 'sl_popup_scroll_win', 'height=' + iHeight + ', width=' + iWidth + ', toolbar=no, menubar=no, location=no, scrollbars=yes, resizable=' + sResizable + ', directories=no, status=no, left=' + iLeft + ', top=' + iTop);
	}


	function SLDisplayWindow(sURL, iLeft, iTop, iWidth, iHeight)
	{
		window.open(sURL, '_blank', 'height=' + iHeight + ', width=' + iWidth + ', toolbar=yes, menubar=yes, location=yes, scrollbars=yes, resizable=yes, directories=yes, status=yes, left=' + iLeft + ', top=' + iTop);
	}
-->