var oemcolor = '"#009999"'; var headlinkcolor = '"#FFFFFF"'; var isVAV = false; var WEBSITE_OPTION = "\n"; var isPTZ = "Err::Unknown OID on 1.4.7"; isPTZ = (isPTZ == "YES" || isPTZ == "yes" || isPTZ == "Yes") ? true:false; var isOEM = "0"; isOEM = (isOEM == "1") ? true:false; var isGE = "IQinVision"; isGE = (isGE == "GE") ? true:false; var prodID = "7a"; var prodName = "IQ863W"; var codeName = "Shrike"; var isCsMountSparrow = "2"; isCsMountSparrow = (isCsMountSparrow=="1")?true:false; var isCamera_2 = prodID.match("1"); var isCamera_3 = (prodID == "2a") || (prodID == "2f") || (prodID == "29"); var isPrievent = (prodID == "2f"); var isCamera_8 = (prodID=="4d"); var isCamera_7 = (prodID=="3b") || (prodID=="4d"); var isCamera_5 = (prodID=="3c") || (prodID=="3b"); var isCamera_500 = (prodID=="3c"); var isCamera_6 = (prodID=="2d") || (prodID=="3c") || (prodID=="3b") || (prodID=="5a") || (prodID=="5b") || (prodID=="4d") || (prodID=="6a") || (prodID=="6b") || (prodID=="7a") || (prodID=="7c") || (prodID=="8a")||(prodID=="9a"); var isPunix = (prodID=="2d") || (prodID=="3c") || (prodID=="3b") || (prodID=="4d"); var isCamera_54x = (prodID=="5a"); var isCamera_04x = (prodID=="5b"); var isMole = isCamera_54x || isCamera_04x; var isCamera_73 = (prodID=="6a"); var isCamera_D3 = (prodID=="6b"); var isFalcon = isCamera_73 || isCamera_D3; var isCamera_832 = (codeName == "Walleye"); var isCamera_86x = (codeName == "Shrike"); var isCamera_A3 = (codeName == "Harpoon" || codeName == "Hellfire"); var isCamera_76x = (codeName == "Polaris"); var isMaverick = (codeName == "Maverick"); var isTrident = (codeName == "Trident"); var isTyphoon = (codeName == "Typhoon"); var isAtlas = (codeName == "Atlas"); var isCondor = (prodID=="7a" || prodID=="7c"); var isHawk = (isAtlas); var isSparrow = (codeName == "Sparrow"); var isHarrier = isSparrow; var isRaptor = (isFalcon || isCondor || isHawk || isHarrier); var isLocoVision = (codeName == "LocoVision"); var is16by9 = ("4:3" == "16:9"); var hasCameo = isCamera_7; var hasNightModeSupport = !isCamera_2; var hasHotSpotSupport = isCamera_2; var hasPCCardSupport = 0; hasPCCardSupport = (hasPCCardSupport > 0) ? true:false; var hasAudioSupport = "0"; hasAudioSupport = (hasAudioSupport>0) ? true:false; var hasIrisConnector = "0"; hasIrisConnector = (hasIrisConnector > 0) ? true:false; var hasMotionSupport = "1"; hasMotionSupport = (! hasMotionSupport.match("Err::Unknown OID")); var hasColorSupport = "1"; hasColorSupport = (hasColorSupport!=0) ? true:false; var hasPrivacySupport = isCondor||isHawk||isHarrier; var hasExposureSupport = (isCamera_5 || isCamera_7 || !isCamera_6) ? true:false; var hasAWBSupport = (isCamera_5 || isCamera_7 || !isCamera_6) ? true:false; var hasPriAAASupport = (isCamera_5 || isCamera_7 || !isCamera_6) ? true:false; var hasTriggerInputSupport = (isCamera_7 || isCamera_6) ? true:false; var hasAnalogOut = (isCamera_7 || isCamera_8 || isCamera_73 || isCamera_54x || isCamera_A3 || isCamera_76x || isHawk || isHarrier)? true:false; var hasIRIlluminatorSupport = (isTrident || isTyphoon || ((isSparrow)&&(!isCsMountSparrow))) ? true:false; if(isLocoVision && "0" == "1") hasIRIlluminatorSupport = true; if("2" == "10" && isTrident) hasIRIlluminatorSupport = false; var Culture = 'en-US'; var imagerName = "IQT33"; var hasNasSupport = "disabled"; hasNasSupport = false; var has264Support = "1"; if (has264Support == "1") has264Support = 1; else has264Support = 0; if (imagerName == "IQ003") { hasCameo = false; } if (isMole) { hasExposureSupport = false; } var hasRecorderSupport = false; var hasAccessSupport; if (isVAV) { hasAccessSupport = false; } else { hasAccessSupport = "true".toLowerCase(); if (hasAccessSupport == "true" || hasAccessSupport == "demo") { hasAccessSupport = true; } else { hasAccessSupport = false; } } var hasEventSupport; hasEventSupport = "true".toLowerCase(); if (hasEventSupport == "true" || hasEventSupport == "demo") { hasEventSupport = true; } else { hasEventSupport = false; } var hasIOTabSupport = (!isMole && (isCamera_7 || !isCamera_5) && !isCamera_D3 && !isTyphoon); var hasRelaySupport = (!isMole && (isCamera_7 || !isCamera_5) && !isCamera_D3 && !isTyphoon); var hasDTSSupport=false; if (isRaptor) { hasExposureSupport = true; hasMotionSupport = true; hasPCCardSupport = true; hasDTSSupport = "true".toLowerCase(); if (hasDTSSupport == "true" || hasDTSSupport == "demo") { hasDTSSupport = true; } else { hasDTSSupport = false; } hasCameo = false; if(isTyphoon){ hasTriggerInputSupport = false; } else{ hasTriggerInputSupport = true; } if("Amba".toUpperCase() == "IQ") { hasAWBSupport = true; hasPriAAASupport = true; hasExposureSupport = false; } } var isMaverickIO = "0"; if(isMaverickIO == "1") isMaverickIO = true; else isMaverickIO = false; if(isMaverickIO) { hasTriggerInputSupport = true; hasAnalogOut = true; hasIOTabSupport = true; hasRelaySupport = true; } else { if(isMaverick || isTrident || isLocoVision) { hasTriggerInputSupport = false; hasAnalogOut = false; hasIOTabSupport = false; hasRelaySupport = false; } } var hasWDRSupport = "1"; if (hasWDRSupport == "1") hasWDRSupport = true; else hasWDRSupport = false; if (isCamera_D3) { hasPCCardSupport = false; hasTriggerInputSupport = false; } var hasBackfocusSupport = "1"; if (hasBackfocusSupport == "1") { hasBackfocusSupport = true; if(isCamera_86x) { hasPCCardSupport = false; } } else hasBackfocusSupport = false; var hasAFLensSupport = "0"; if (hasAFLensSupport == "1"){ hasAFLensSupport = true; }else hasAFLensSupport = false; var hasApplicationSupport = isCondor; var authMode = "basic"; authMode = authMode.toLowerCase(); var serverNameString = "IQEYE3B5877"; var liveStreamJpegPortrait = false; if(isCondor) { if("jpeg".toUpperCase() == "JPEG") { if("0"=="90" || "0"=="270") { liveStreamJpegPortrait = true; } } else if("jpeg".toUpperCase() == "JPEG") { if("0"=="90" || "0"=="270") { liveStreamJpegPortrait = true; } } else if("none".toUpperCase() == "JPEG") { if("0"=="90" || "0"=="270") { liveStreamJpegPortrait = true; } } else if("jpeg".toUpperCase() == "JPEG") { if("0"=="90" || "0"=="270") { liveStreamJpegPortrait = true; } } } var settings = new Object(); var viewing = new Object(); function linkAction(link) { if (document.images) return "javascript:self.location.replace('" + link + "')"; else return link; } var livevidhref = 'LIVE'; var playbackhref = 'PLAYBACK'; if (isVAV) { livevidhref = 'ALARM'; playbackhref=""; } function initSettingsNavBar() { var i = 0; var navbar = settings; var livetext; var livetext_name; if (isVAV) { livetext = "alarm"; livetext_name = "alarm"; } else { livetext = "live"; livetext_name = "live"; } navbar.columns = 4; navbar.tabwidth = 50; navbar.names = new Array(); navbar.title = "settings" navbar.text = new Array(); navbar.tabtext = new Array(); navbar.values = new Array(); navbar.tabheight = 13; navbar.names[i] = livetext_name; navbar.values[i] = "dptzvid.html"; navbar.tabtext[i] = livetext; navbar.text[i++] = livetext; if (hasCameo) { navbar.columns += 4; navbar.names[i] = "cameo"; navbar.values[i] = "cameo.html"; navbar.tabtext[i] = "cameo"; navbar.text[i++] = "cameo"; } navbar.columns += 4; navbar.names[i] = "basic"; navbar.values[i] = "basicset.html"; navbar.tabtext[i] = "setup"; navbar.text[i++] = "setup"; navbar.columns += 4; navbar.names[i] = "window"; if (isVAV) { navbar.values[i] = "exposure.html"; } else if (isRaptor) { navbar.values[i] = "motionset.html"; } else { navbar.values[i] = "cropset.html"; } navbar.tabtext[i] = "window"; navbar.text[i++] = "window settings"; navbar.columns += 4; navbar.names[i] = "server"; if (isRaptor) navbar.values[i] = "basicnet.html"; else navbar.values[i] = "serverset.html"; navbar.tabtext[i] = "network"; navbar.text[i++] = "network settings"; navbar.columns += 4; navbar.names[i] = "access"; navbar.values[i] = "accessset.html"; navbar.tabtext[i] = "security"; navbar.text[i++] = "security settings"; if (isRaptor && hasEventSupport) { navbar.columns += 4; navbar.names[i] = "event"; navbar.values[i] = "event.html"; navbar.tabtext[i] = "event"; navbar.text[i++] = "event settings"; } if (isRaptor && hasDTSSupport) { navbar.columns += 4; navbar.names[i] = "dts"; navbar.values[i] = "dts.html"; navbar.tabtext[i] = "DTS"; navbar.text[i++] = "DTS Settings"; } if (hasNasSupport){ navbar.columns +=4; navbar.names[i] = "nas"; navbar.values[i] = "nas.html"; navbar.tabtext[i] = "NAS"; navbar.text[i++] = "NAS Settings"; } if (hasIOTabSupport) { navbar.columns += 4; navbar.names[i] = "io"; navbar.values[i] = "ioset.html"; navbar.tabtext[i] = "i/o"; navbar.text[i++] = "i/o settings"; } if (!isVAV && !isPrievent && hasPCCardSupport && isCamera_3) { navbar.columns += 4; navbar.names[i] = "pccard"; navbar.values[i] = "pccardset.html"; navbar.tabtext[i] = "wi-fi"; navbar.text[i++] = "wi-fi settings"; } if (!isMole && !isVAV && hasAccessSupport && !isOEM) { navbar.columns += 4; navbar.names[i] = "iqaccess"; navbar.tabtext[i] = "IQaccess"; navbar.values[i] = "iqaccess.html"; navbar.text[i++] = "IQaccess settings"; } if (!isVAV && !isMole && !isRaptor) { navbar.columns += 4; navbar.names[i] = "multiview"; navbar.values[i] = "multiviewset.html"; navbar.tabtext[i] = "multiview"; navbar.text[i++] = "multiview settings"; } if (isCondor && !(isOEM&&!isGE)) { navbar.columns += 4; navbar.names[i] = "applications"; navbar.tabtext[i] = "applications"; navbar.values[i] = "appsman.html"; navbar.text[i++] = "applications"; } } function initViewingNavBar() { var i = 0; var navbar = viewing; var livetext; var livetext_name; if (isVAV) { livetext = "alarm"; livetext_name = "alarm"; } else { livetext = "live"; livetext_name = "live"; } navbar.columns = 0; navbar.tabwidth = 50; navbar.names = new Array(); navbar.title = "viewing" navbar.text = new Array(); navbar.tabtext = new Array(); navbar.values = new Array(); navbar.tabheight = 13; navbar.columns += 4; navbar.names[i] = livetext_name; navbar.values[i] = "dptzvid.html"; navbar.tabtext[i] = livetext; navbar.text[i++] = livetext; if (hasCameo) { navbar.columns += 4; navbar.names[i] = "cameo"; navbar.values[i] = "cameo.html"; navbar.tabtext[i] = "cameo"; navbar.text[i++] = "cameo"; } var cur = currPage(); if (hasCameo && ((cur == "cameo.html") || (cur == "cameoset.html") || (cur == "" && ("Err::Unknown OID on 7.2" == "cameo.html")))) { navbar.columns += 4; navbar.names[i] = "cameo set"; navbar.values[i] = "cameoset.html"; navbar.tabtext[i] = "cameo settings"; navbar.text[i++] = "cameo settings"; } navbar.columns += 4; navbar.names[i] = "basic"; navbar.values[i] = "basicset.html"; navbar.tabtext[i] = "setup"; navbar.text[i++] = "setup"; } function initNavbar(navbar) { if (navbar==settings) initSettingsNavBar(); else if (navbar==viewing) initViewingNavBar(); else initOemNavBar(); } function initOemNavBar() { } function writeCroppedImageShort () { _writeCroppedImage ("240", "1", "none"); } function writeCroppedImageFocus(){ _writeCroppedImage ("240", "1", "focus") } function writeCroppedImage () { _writeCroppedImage ("330", "0", "none"); } function _writeCroppedImage(table_height, internal_dptz, isFocus) { var mainWidth = "1"; var mainHeight = "1"; var isStream4Jpeg = false; if (isRaptor){ isStream4Jpeg = "jpeg"; isStream4Jpeg = (isStream4Jpeg=="jpeg")?true:false; } var ds = 1; var maxWidth = "2048"; var maxHeight= "1536"; if (isCamera_6) { maxWidth = "2048"; maxHeight= "1536"; } if (isRaptor) { if (is16by9) { mainWidth = Math.ceil(mainHeight * (16.0 / 9.0)); } if (mainWidth <= 1 || mainHeight <= 1) { mainWidth = maxWidth; mainHeight = maxHeight; } maxWidth = mainWidth; maxHeight = mainHeight; } var ds_necessary = Math.max(Math.ceil(maxWidth/322), Math.ceil(maxHeight/322)); var ds_float = Math.max (maxWidth/322, maxHeight/322); var dsfactor = Math.max(ds,ds_necessary); var dsreq = ds_necessary; if (isCamera_6) { if (dsreq == 3) dsreq = 4; } if (isCamera_6 || isCamera_7) { if (dsreq > 4) dsreq = 4; } if (isCamera_500) { if (dsreq > 2) dsreq = 2; } var dsstring = "?ds=" + dsreq; var imWidth = Math.floor(maxWidth/dsfactor); var imHeight = Math.floor(maxHeight/dsfactor); if (isCamera_6 && !isCamera_5) dsstring = ""; if ((isCondor || isHawk || isHarrier) && liveStreamJpegPortrait) { var tmp; tmp = imWidth; imWidth = imHeight; imHeight = tmp; tmp = maxWidth; maxWidth = maxHeight; maxHeight = tmp; } document.write (''); if (UseActiveX() || canSpush) { if (isRaptor) { imWidth = Math.floor(mainWidth/ds_float); imHeight = Math.floor(mainHeight/ds_float); } else { imWidth = Math.floor(2048/ds_float); imHeight = Math.floor(1536/ds_float); } var imAttr; if ((isCondor || isHawk || isHarrier ) && liveStreamJpegPortrait && isFocus=="focus") { imAttr = ' width="' + imHeight + '" height="' + imWidth + '" border=0 '; } else{ imAttr = ' width="' + imWidth + '" height="' + imHeight + '" border=0 '; } off_x = (isCamera_6) ? 0/ds_float:0/ds_float; off_y = (isCamera_6) ? 0/ds_float:0/ds_float; off_x = Math.floor (off_x); off_y = Math.floor (off_y); if (isRaptor) { off_x=0; off_y=0; } var divstr = '
ActiveX Control
'; var url = 'now.jpg?snap=spush0.2' + dsstring; if((isCondor || isHawk || isHarrier) && isFocus=="none"){ if (isStream4Jpeg) url = 'now.jpg?snap=spush0.2?stream=4' + dsstring; } if (!isCamera_6) url += '?ov=0'; rv += ''; rv += ''; document.write (divstr); CreateControl ("mainfeed", imAttr, "", rv, isCamera_6, isCamera_7 || isCamera_5, url); } else { var imAttr = ' width="' + imWidth + '" height="' + imHeight + '" border=0 '; var rv = '
' +'' + '' + '' + '' + '' + '' + '' + ''; if (isRaptor) { rv += ''; rv += ''; } else if (isCamera_6) { rv += ''; rv += ''; } rv += '
'; document.write(rv); } document.write (''); } function spAppletDivs(source, imAttr) { var outString = '
'; if (!needsApplet) { outString += "\n"; } outString += "
\n"; if (needsApplet) { outString += '
\n' + '\n' + '\n' + '' + '
'; } return outString; } function theApplet() { return document.applets["spapplet"]; } function stopApplet() { if (theApplet()) theApplet().stop(); return false; } function helpIconString(loc) { return '' + '?'; } function helpIconStringAuto(loc) { return '' + '?'; } function writeStopAppletButton() { if (needsApplet && !isVAV) { document.write ('' + '
\n' + '\n' + '
\n'); } } var WroteHelpIcon = false; function writeHelpIcon(loc) { if (!WroteHelpIcon) { document.write (helpIconStringAuto(loc)); if (isFirefox) WroteHelpIcon = true; } } function writeHelpIcon2(loc) { document.write (helpIconString2(loc)); } function writeTrickIcon(loc) { document.write ('' + '' + 'browser management tricks'); } function errorGifTD() { return ''; } function setupViewingTabs() { initNavbar(viewing); } function jumpMenu2String() { initNavbar(settings); var i, targ, text; var onChangeStr = 'onChange="self.location=this.options[this.selectedIndex].value"'; var outString = '\n' + '
\n'; return outString; } function writeJumpMenu2Table() { document.write("" + errorGifTD() + jumpMenu2String() + "
"); } function writeViewHeader() { document.write ("\n' + '\n' + '\n' + '\n' + '\n' + '' + errorGifTD() + jumpMenu2String() + '
\n' + '
\n' + '' + '  live
\n' + '
' ); } function writeTitleBar() { document.write ('\n' + '\n' + '
\n' + '' + livevidhref + '' + '
\n'); } function textTab(name, desc, link, onoff) { var outString = (onoff) ? '
  • ' : '
  • '; return outString + '' + name + '
  • '; } function writeSettingsHeader(onItem) { writeHeader(settings, onItem); } function writeViewingHeader(onItem) { writeHeader(viewing, onItem); } function writeInstallHeader(onItem) { writeHeader(install, onItem); } function writeHeader(navbar, onItem) { var i, itemNo=0; initNavbar(navbar); for (i=0; iVersion V4.2/273(170307)' +'' + '