	function SwitchOpt(){
		if(document.getElementById("gHide").style.display=="block")
			{document.getElementById("gHide").style.display="none"}
		else {document.getElementById("gHide").style.display="block"}
	}
    function OpenWin(Loc,Width,Height)
    {
        // IE
        if(typeof(window.showModalDialog) != 'undefined'){
            window.showModelessDialog(Loc, window, "dialogHeight:"+ Height +"px; dialogWidth: "+ Width +"px; scroll:no; status:no; resize:no; true");
        }
        // Mozilla
        else
        {
        window.open(Loc, '', "dialog, modal, width="+ Width +", height="+ Height + ", status=no, resizeable=no, scrollbars=no, true");
        }
        return false;
    }	
	function fnUpdateURL(cURL)
	{
	  window.location = cURL;
	}
    function OpenWin2(Loc,Width,Height)
    {
        // IE
        if(typeof(window.showModalDialog) != 'undefined'){
            window.showModelessDialog(Loc, window, "dialogHeight:"+ Height +"px; dialogWidth: "+ Width +"px; scroll:yes; status:no; resize:no; true");
        }
        // Mozilla
        else
        {
        window.open(Loc, '', "dialog, modal, width="+ Width +", height="+ Height + ", status=no, resizeable=no, scrollbars=yes, true");
        }
        return false;
    }	
	function fnUpdateURL(cURL)
	{
	  window.location = cURL;
	}	
