//Browser Check

        var bName = navigator.appName;
        var bVer=navigator.appVersion.charAt(0);
        if (navigator.userAgent.indexOf('Win')!=-1)
        {       bPlat="windows";     }
       else if (navigator.userAgent.indexOf('Mac')!=-1)
        {       bPlat="mac";       }
        else if (navigator.userAgent.indexOf('WebTV')!=-1)
        {       bPlat="webtv";     }
//
// pop-up window 
function popup(site,width,height,which) {
        if (site != "") {
              
         if (bName.indexOf('Microsoft')!=-1) {
                    if (bVer>=4) {
                        if (bPlat=="mac")       {
                                height-=15;
                                width-=14;
                                        }                                                       
                    }  else {
                                height-=28;
                                width+=5;
                    }    
              } 
                var popupwindow=window.open(site, "newwindow"+which,"location=no,menubar=no,toolbar=no,scrollbars=yes,width="+width+",height="+height);
        }
}
//
