
function BrowserSupport()
{ 
    if(navigator.appVersion.indexOf("MSIE")==-1){return;}
    var i,k,g,lg,r=/\s*itmhvr/,nn='',c,cs='itmhvr',bv='menubar';
 
     for(i=0;i<10;i++)
     {
        g=document.getElementById(bv+nn);
        if(g)
        {
            lg=g.getElementsByTagName("LI");
            if(lg)
            {
                for(k=0;k<lg.length;k++)
                {                    
                    lg[k].onmouseover=function()
                    {
                        c=this.className;
                        cl=(c)?c+' '+cs:cs;
                        this.className=cl;
                    };
                    lg[k].onmouseout=function()
                    {
                        c=this.className;
                        this.className=(c)?c.replace(r,''):'';
                    };
                }
            }
        }
        nn=i+1;
    }
}

function FindPopUpForm()
{	 
     if (document.getElementById("SitePopup") == null)
     {
        var CurrentForms =  document.getElementsByTagName("form");
        if (CurrentForms)
        {
            for(i = 0; i < CurrentForms.length; i++)
            {
    	       
               var HiddenField = document.createElement("INPUT");
               HiddenField.name = "SitePopup";
               HiddenField.type = "hidden";
               HiddenField.value = "SitePopup";     	     	       
               CurrentForms[i].appendChild(HiddenField);  
               
            }
            
        }
	  
     }
	 
}

function CallParent()
{
 
    if (window.opener != null)
    {
      window.opener.PopupReLoad();
      window.close();
    }

}