if (navigator.appName == "Microsoft Internet Explorer")
{
    document.write('<OBJECT classid="clsid:D6FCA8ED-4715-43DE-9BD2-2789778A5B09" width=0 height=0 id="NPKXSite" codebase="/activeX/nProtect/npkcx_inca.cab#version=2007,9,5,1">')
    document.write("<PARAM NAME='HookType' Value=3>")
    document.write("<PARAM NAME='ShowTray' Value=1>")
    document.write("<PARAM NAME='TrayMsg' Value='nProtect KeyCrypt'>")
    document.write("<PARAM NAME='LogoType' Value='2'>")
    document.write("<PARAM NAME='LogoURL'  Value='" + location.protocol + "//" + location.host + "/activeX/nProtect/g4f_key.bmp'>")
    document.write("<PARAM NAME='DetectUsbPrgMsg' Value=1>")
    document.write("<PARAM NAME='SVCVersion' Value='2007,08,29,01'>")
    document.write('</OBJECT>')
} 
