var isXPSP2 = false;
var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";
//--------------------------------------------------------------------------------
function ext()
{ 
      if(exit)
       {     
          exit=false;   
                           if(!isXPSP2 && !usePopDialog)
               {                  
       window.open(popURL,"",popWindowOptions);    
           }     
          else if(!isXPSP2 && usePopDialog) 
              {   
                      eval("window.showModalDialog(popURL,'',popDialogOptions)");
               }   
            else   
            {     
                    iie.launchURL(popURL);      
         }     
   }
}
//--------------------------------------------------------------------------------
function brs()
{
    document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";
}
//--------------------------------------------------------------------------------
function ver()
{
    isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);  
  if(isXPSP2) brs();
}
//--------------------------------------------------------------------------------
isUsingSpecial = true;
popDialogOptions = '';
popWindowOptions = '';
usePopDialog = false;
eval("window.attachEvent('onload',ver);");
eval("window.attachEvent('onunload',ext);");
//--------------------------------------------------------------------------------