var isEKStore=false; var IMAGE_SERVER = "http://pics.ebaystatic.com/aw/pics/"; var altPayPal= "This seller accepts PayPal"; var altPbpEligible = "PayPal Buyer Protection Program "; var textFreeShip = "Shipping : Free"; var textShipCost = "Shipping :"; var textShipCalc = "Shipping calculator available"; var isJSPayPal= "false"; var isJSShipCost= "true"; var isJSTrackKeyword=false; var isJSTrackCategory=false; var THUMB_PATH = "http://thumbs.ebaystatic.com/pict/"; var isEnding = false; var theDate = new Date(); var eBayDate = new Date(theDate.getTime() + theDate.getTimezoneOffset() * 60000); var eBayTimeOffset = 25200000; var errorCode = 0; var _sniplet = ""; var priceLabel = "Price"; var productLabel = "Product"; var pictureLabel = "Picture"; var timeLabel = "Time Left"; var bidsLabel = "Bids"; var headerColor = "#FFFFCC"; var borderColor = "#666666"; var titleColor = "#4E4EC6"; var titleFontColor = "#FFFFFF"; var fontSize = "-1"; var fontFace = "Arial"; var fontColor = "#000000"; var textBgColor = "#FFFFFF"; var endColor = "#FF0000"; var lnkcolor = "#0000FF"; var trackingProvider = ""; var linkTarget = "_blank"; var viHref = "http://cgi.ebay.com/ws/eBayISAPI.dll%3FViewItem%26item%3D"; var theWorldsMarketplace = "The World's Online Marketplace(TM)"; var searchLabel = 'Search'; var logoAltText = 'eBay Marketplace Logo'; var theDisclaimer = "disclaimer"; var ebayHome = "http://pages.ebay.com/"; var disclaimerDomain = "http://pages.ebay.com/"; //var ebayHomeLogoSm = "http://pics.ebaystatic.com/aw/pics/editorkit/help/MrktPlcLogoStrspnt_85x35.gif"; //var ebayHomeLogoMd = "http://pics.ebaystatic.com/aw/pics/editorkit/help/MrktPlcLogoStrspnt_108x45.gif"; //var ebayHomeLogoLg = "http://pics.ebaystatic.com/aw/pics/editorkit/help/MrktPlcLogoLtrspnt_144x59.gif"; var ebayHomeLogoSm = "http://pics.ebaystatic.com/aw/pics/api/MrktPlcLogoStrspnt_83x35.gif"; var ebayHomeLogoMd = "http://pics.ebaystatic.com/aw/pics/api/MrktPlcLogoStrspnt_108x45.gif"; var ebayHomeLogoLg = "http://pics.ebaystatic.com/aw/pics/api/MrktPlcLogoLtrspnt_144x59.gif"; var searchLink = "http://shop.ebay.com?_nkw=night+vision+security+camera&_sop=16&ht=0"; var tableWidth = 800; var tableHeight = 100; var isJSEnableFlexibleHeader=true; var isJSEbayFlexibleHeader=true; var logoSize=6; var dLabel = "d" + " "; var hLabel = "h" + " "; var mLabel = "m" + " "; var sLabel = "s"; var itemCount = 534; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = 'Night Vision Security Camera For Sale on Ebay'; //var ekTitleFontSize = "3"; //var ekTitleFontFace = "Arial, Helvetica, sans-serif"; var ekTitleFontSize = "-1"; var ekTitleFontFace = "Arial"; var isPrvdMediaPlex= false; var isPrvdCJ= false; var isPrvdEPN= true; var isPrvdHDTorBJMT = false; var isPrvdCNNA = false; var trackingID= "5335868279"; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = "DavidJWard commercial real estate on Ebay"; var ekWidth = "800"; var ekQuery = "night vision security camera"; var ekSearchURL_Base ="http://shop.ebay.com"; var ekSearchURL_Full ="http://shop.ebay.com/items/"; var ekSearchURL_Full_2 = ekSearchURL_Full; //var ekSearchURL_Base ="http://search.qa.ebay.com"; //var ekSearchURL_Full ="http://search.qa.ebay.com/search/search.dll"; var siteID ="0"; var isRover=true; var roverDomain = "http://rover.ebay.com/rover/"; var roverDataSegment = "711-53200-19255-0"; var roverSID = "DavidJWard commercial real estate on Ebay"; var roverPID = "5335868279"; var roverAID = ""; var roverTID = "10004"; var roverEPNU = roverDomain+"1/"+roverDataSegment+"/1?campid="+roverPID+"&customid="+roverSID+"&toolid="+roverTID; var roverEPNO = "rover=1/"+roverDataSegment+"/1&_rvPID="+roverPID+"&_rvAID="+roverAID+"&_rvSID="+roverSID; var roverNA=false; var ekSize=1; var logoArr=new Array(); var hdrArr=new Array(); var imgArr=new Array(); logoArr[3]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/logoRightNowOn_57x35.gif"; logoArr[2]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/logoRightNowOn_75x45.gif"; logoArr[1]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/logoRightNowOn_98x59.gif"; logoArr[7]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBubbleLogo_118x58.gif"; hdrArr[5]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBubbleTiled_305x88.gif"; logoArr[6]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrStarLogo_118x58.gif"; hdrArr[4]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrStarTiled_305x88.gif"; logoArr[10]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrCDLogo_118x58.gif"; hdrArr[8]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrCDTiled_305x88.gif"; logoArr[12]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrElectronicLogo_118x58.gif"; hdrArr[10]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrElectronicTiled_305x88.gif"; logoArr[4]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrFootballLogo_118x58.gif"; hdrArr[2]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrFootballTiled_305x88.gif"; logoArr[8]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBtnLogo_118x58.gif"; hdrArr[6]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBtnTiled_305x88.gif"; logoArr[5]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrGameLogo_118x58.gif"; hdrArr[3]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrGameTiled_305x88.gif"; logoArr[13]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrMusicLogo_118x58.gif"; hdrArr[11]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrMusicTiled_305x88.gif"; logoArr[11]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrHouseLogo_118x58.gif"; hdrArr[9]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrHouseTiled_305x88.gif"; logoArr[9]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrRedLogo_118x58.gif"; hdrArr[7]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrRedTiled_305x88.gif"; var hdrImage="4"; var fbgcolor=textBgColor; var hdrSrch="n"; var binIcon = ""; var booIcon = ""; var nnIcon = ""; function Localize(pStr) { return pStr; } function _alert(str) { // alert(str); } //#EK Keyword function _appendKC(link) { if (isJSTrackKeyword) { link+="&kw="+textTrackKeyword; } if (isJSTrackCategory) { link+="&cat="+textTrackCategory; } return link; } function _setImageSize(imgObject, imgHeight, imgWidth) { imgObject.resized=true; imgObject.height=imgHeight; imgObject.width=imgWidth; return; } function _checkLogo(imgObject, minHeight, maxHeight, minWidth, maxWidth) { var imgHeight=imgObject.height; var imgWidth=imgObject.width; if (imgHeight>maxHeight) { var tmpWidth=Math.round(1.0*maxHeight*imgWidth/imgHeight); if (tmpWidth>maxWidth) return _setImageSize(imgObject, Math.round(1.0*maxWidth*imgHeight/imgWidth), maxWidth); if (tmpWidthmaxWidth) { var tmpHeight=Math.round(1.0*maxWidth*imgHeight/imgWidth); return _setImageSize(imgObject, tmpHeight>minHeight?tmpHeight:minHeight, maxWidth); } if (imgWidthmaxHeight) return _setImageSize(imgObject, maxHeight, minWidth); return _setImageSize(imgObject, tmpHeight, minWidth); } } //$EK Keyword function _makeTagA(href, text, target, color) { return ""+text+""; } function _genLink(isOptimized, href, caption) { if (isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverMediaPlexU+"loc="+href, caption, linkTarget, lnkcolor); } if (isPrvdCJ) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverCJU+"&loc="+href, caption, linkTarget, lnkcolor); } if(isPrvdEPN) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverEPNU+"&mpre="+href, caption, linkTarget, lnkcolor); } if (roverNA) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverNAU+"loc="+href, caption, linkTarget, lnkcolor); } } var link = ""; if (isPrvdMediaPlex) { if (adsServed) { link = "" + caption + ""; link += "\" style=\"color:"+lnkcolor+"\">" + caption + ""; _alert(link); return link; } function _genItemLink(itemId, title) { if (isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { return _makeTagA(roverMediaPlexU + "loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (isPrvdCJ) { return _makeTagA(roverCJU + "&loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (isPrvdEPN) { return _makeTagA(roverEPNU + "&mpre=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (roverNA) { return _makeTagA(roverNAU + "loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } } var link = ""; if (isEKStore) { link = "" + title + ""; return link; } if (isPrvdMediaPlex || isPrvdEPN) { if (adsServed) { link = "" + title + ""; } else { link = "" + title + ""; } link += "\" style=\"color:"+lnkcolor+"\">" + title + ""; _alert(link); return link; } function _getPaypalInfo(pbpEligible, ppEligible) { var str =""; if(isJSPayPal == 'true'){ if(pbpEligible == 'true'){ str += ''; //str += ''; } else { if( ppEligible == 'true'){ str += ''; } } } return str; } function mbSubStr(strIn, start, end) { ++start; if (start>=end) return ""; var str=""; var count=0; var isSub=false; for (var i=0; i=128?2:1; if (count==start) isSub=true; if (!isSub&&count==start+1) isSub=true; if (isSub) str+=strIn.charAt(i); if (count>=end) break; } return str; } function _getShipPrice(price,shipPrice,shippingType){ var strShip =""; if(isJSShipCost =='true'){ if ( shippingType == '0' ) { strShip += '' + price + ''; } else if ( shippingType == '2' ) { strShip += '' + price + ''; } else if(shippingType == '3'){ strShip += '' + price + ''; } else { //NOT_SPECIFIED == 0; FLAT_RATE == 1; CALCULATED_RATE == 2 // By depending on shippingFee to be 0 or 1; we do not care whether // BE sets shippingType to 0 or 1. // We will detect free shipping by checking if shippingFee is null. if ( shipPrice != '') { strShip += '' + price + ''; } else { strShip += '' + price + ''; } } }else{ strShip += price ; } return strShip; } function _docWrite(str) { _sniplet += str; if (fooStr) alert(str); } var fooStr = false; function _getSniplet() { _eBaySniplet(); return _sniplet; } function _write(str) { _docWrite('' + str + ''); } function _writeWithColor(str, textColor) { _docWrite('' + str + ''); } function _spacer(w, h) { return ''; } function _cleanTitle(str) { var title = new String(str); return title.replace(/\*/g, """); } function _rowDiv(colSpan) { _docWrite('' + _spacer("100%", 2) + ''); _docWrite('' + _spacer("100%", 1) + ''); _docWrite('' + _spacer("100%", 2) + ''); } function _tracking() { //alert("isPrvdMediaPlex" + isPrvdMediaPlex + " adsServed: " + adsServed); var str = ""; if (isPrvdMediaPlex) { if (adsServed) { str = ''; } else { str = ''; } } if(isPrvdEPN) { str = ''; } return str; } function _header() { var imgHeight = 58; /* if (isJSEbayFlexibleHeader) { alert(logoSize); if(logoSize==3) imgHeight =35; else if(logoSize==2) imgHeight =45; else if(logoSize==1) imgHeight =59; }*/ //#EK Keyword if (isJSEnableFlexibleHeader) { //$EK Keyword _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); //#EK Keyword if (!isJSEbayFlexibleHeader) { _docWrite('
' + _spacer(1, 1) + _tracking() + ''+ _spacer((tableWidth - 2), 1) + '' + _spacer(1, 1) + '
'); _docWrite(''); _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); _docWrite('
'); if(hdrSrch=='y') { //_ShowSearchBox2(); var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('
'); _docWrite(''+_spacer(4,8)+''); _docWrite('
'); } _docWrite('
'); } else { //$EK Keyword /* if(logoSize==3) { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } else if(logoSize==2) { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } else { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } */ if(logoSize==3) imgHeight =35; else if(logoSize==2) imgHeight =45; else if(logoSize==1) imgHeight =59; if(hdrImage<2){ _docWrite('
'); } else _docWrite('
'); _docWrite(''); _docWrite('
'); _genHeaderLogoCustomized(ebayHome, logoAltText); _docWrite('
'); if(hdrSrch=='y') { //_ShowSearchBox2(); var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('
'); _docWrite(''+_spacer(4,8)+''); _docWrite('
'); } _docWrite('
'); //#EK Keyword } } //$EK Keyword _docWrite('
'); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + ''); _docWrite(''+ _spacer(5, 1)); _docWrite(''+ekTitle+''); _docWrite('' + _spacer(1, 1) + '
'); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); disClaimerHelper(); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + '' + _spacer(5, 1) + ''); /* _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + ''); _docWrite(''); _docWrite(''+ekTitle+''); _docWrite('' + _spacer(1, 1) + '
'); */ _docWrite(''); } function _footer(disClaimerHelper) { _docWrite('
'); _docWrite('
' + _spacer(5, 1) + '' + _spacer(1, 1) + '
' + _spacer(1, 1) + '' + _spacer("100%", 1) + '' + _spacer(1, 1) + '
' + _spacer("100%", 1) + '
'); } function _disclaimer(colSpan, disclaimer) { _docWrite('' + _spacer(1, 1) + ''); _docWrite(''); _docWrite(''); //_docWrite(''); if (errorCode > 0) { //_docWrite(''); } else { _docWrite(''); if (disclaimer && itemCount > 0) { _docWrite(''); } _docWrite(''); } _docWrite('
' + errorCode + '' + _spacer(10, 1) + ''); if (itemCount > 0) { _write(_genLink(false, escape(searchLink), eval(searchLinkString) )); } else { _write(_spacer(1, 1)); } _docWrite(''); _write(_genLink(false, escape(disclaimerDomain + "help/community/editorkitlegal.html"), '' + theDisclaimer + '')); _docWrite('' + _spacer(10, 1) + '
'); _docWrite(''); _docWrite('' + _spacer(1, 1) + ''); } function _worldMarketPlaceLink() { itemCount = 0; _docWrite("
" + _spacer(5,5) + "

"); _docWrite(_genLink(false, ebayHome, theWorldsMarketplace)); _docWrite("

"); } function strTrim() { // Match space at the beginning and end of a string and replace it with // empty strings. return this.replace(/^\s+/, '').replace(/\s+$/, ''); } String.prototype.trim = strTrim; //#EK Keyword function _nullSearch(formObj) { var trackingSearchLink=""; var queryString=formObj.satitle.value; var nullQuery=encodeURIComponent(queryString); var nullSearchLink=encodeURIComponent(ekSearchURL_Full_2 + nullQuery); if(isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { trackingSearchLink=roverMediaPlexU+"loc="+nullSearchLink; } if (isPrvdCJ) { trackingSearchLink=roverCJU+"&loc="+nullSearchLink; } if (isPrvdEPN) { trackingSearchLink=roverEPNU+"&mpre="+nullSearchLink; } if (roverNA) { trackingSearchLink=roverNAU+"loc="+nullSearchLink; } } else { trackingSearchLink=trackingProvider; if (isPrvdMediaPlex) { if (adsServed) trackingSearchLink+="mpt="+cacheBuster+"&mpro="+nullSearchLink; else trackingSearchLink+="loc="+nullSearchLink; } else trackingSearchLink+=nullSearchLink; if (isPrvdCJ&&(sid!=null&&sid!="")) trackingSearchLink+="&SID="+sid; if (isPrvdEPN&&(sid!=null&&sid!="")) trackingSearchLink+="&customid="+sid; if (isJSTrackKeyword) trackingSearchLink+="&kw="+nullQuery; if (isJSTrackCategory) trackingSearchLink+="&cat="+textTrackCategory; } formObj.action='javascript: document.location="'+encodeURIComponent(trackingSearchLink)+'"'; return true; } //$EK Keyword function _makeNullSearchBox(headSearch) { var htmlString="
"; htmlString+=""; htmlString+=_spacer(8,8); htmlString+=""; htmlString+="
"; return htmlString; } function _ShowSearchBox() { itemCount = 0; _docWrite('
' + _spacer(8,5) + '

'); //#EK Keyword var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('

'); //$EK Keyword _docWrite(''+_spacer(8,8)+'
'); _docWrite("

"); } function _padNumber(theNumber) { if (theNumber < 10) return "0" + theNumber; return theNumber; } /*function _getTimeLeft(itemDate) { isEnding = false; //reset global for font color var offSetTime = itemDate.getTime() + eBayTimeOffset+3600000; //offset for pst. //var offSetTime = itemDate.getTime() ; var diffTime = offSetTime - eBayDate.getTime(); var seconds = Math.floor(diffTime / 1000) % 60; var minutes = Math.floor(diffTime / (60 * 1000)) % 60; var hours = Math.floor(diffTime / (60 * 60 * 1000)) % 24; var days = Math.floor(diffTime / (24 * 60 * 60 * 1000));*/ //if (diffTime < 3600000 /* msec */) /* isEnding = true; // set global for font color var timeLeft = _spacer(8, 1); if (days > 0) { timeLeft = timeLeft + days + dLabel + _padNumber(hours) + hLabel + _padNumber(minutes) + mLabel; } else if (hours > 0) { timeLeft = timeLeft + hours + hLabel + _padNumber(minutes) + mLabel; } else if (minutes > 0) { timeLeft = timeLeft + minutes + mLabel; } else { timeLeft = timeLeft + "<01" + mLabel; } return timeLeft; }*/ function _getTimeLeft(days,hours,minutes) { isEnding = false; //reset global for font color var timeLeft = _spacer(8, 1); if (days > 0) { timeLeft = timeLeft + days + dLabel + _padNumber(hours) + hLabel + _padNumber(minutes) + mLabel; } else if (hours > 0) { timeLeft = timeLeft + hours + hLabel + _padNumber(minutes) + mLabel; } else if (minutes > 0) { isEnding = true; timeLeft = timeLeft + minutes + mLabel; } else { isEnding = true; timeLeft = timeLeft + "<01" + mLabel; } return timeLeft; } function _genImg(imgInfo,itemId) { var str = ""; str += _spacer(5,1); if (imgInfo == 2) { //display Item image str += ''; } else if (imgInfo == 1) { // display camera icon str += ''; } else { // display spacer image str += ''; } str += _spacer(5,1); return _genItemLink(itemId,str); } function _writeWithColor2(str, textColor) { _docWrite('' + str + ''); } function _write2(str) { _docWrite('' + str + ''); } function _genHeaderLogo(ebayHome, logoAltText) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { str='
'+str+'
'; } _docWrite(str); } function _genHeaderLogoCustomized(ebayHome, logoAltText) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { str='
'+str+'
'; } _docWrite(str); } function _genHeaderLogo2(ebayHome, logoAltText, headerW) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { var hei; if(headerW==83) { str='
'+str+'
'; } else { str='
'+str+'
'; } } _docWrite(str); } // display type 8 function _labels8() { _docWrite(''); _write(pictureLabel); _docWrite(''); _write(productLabel); _docWrite(''); _write(priceLabel); _docWrite(''); _write(_spacer(5,1)); _write(bidsLabel); _write(_spacer(5,1)); _docWrite(''); _write(timeLabel); _docWrite(''); _rowDiv(5); } function _disclaimer8() { _disclaimer(8, true); } function _item8(itemId, title, price, shipPrice,shippingType, endTime, bidCount, imgInfo,pbpEligible,ppEligible) { var timeColor = (isEnding ? endColor : fontColor); _docWrite(''); _docWrite(_genImg(imgInfo,itemId)); _docWrite(''); _docWrite(''); _write(_genItemLink(itemId, _cleanTitle(title))); _write(_getPaypalInfo(pbpEligible,ppEligible)); _docWrite(''); _write(_getShipPrice(price, shipPrice,shippingType)); _docWrite(''); _write((bidCount == 0 ? "-" : bidCount)); _docWrite(''); _writeWithColor(endTime, timeColor); _docWrite(''); _rowDiv(5); } function _eBaySniplet() { _alert("style 8"); _header(); _labels8(); _item8("220502062990 ", "NEW 8 Camera Night Vision DVR Security Package by LTS", "$729.95", "", "2", _getTimeLeft(0,10,49) , _genItemLink(220502062990, binIcon) , 2, "", "true" ); _item8("220502065645 ", "NEW 8 Camera Night Vision DVR Security Package by LTS", "$729.95", "", "2", _getTimeLeft(0,10,54) , _genItemLink(220502065645, binIcon) , 2, "", "true" ); _item8("370281953626 ", "NEW 8 Camera Night Vision DVR Security Package by LTS", "$729.95", "", "2", _getTimeLeft(0,12,37) , _genItemLink(370281953626, binIcon) , 2, "", "true" ); _item8("180408160036 ", "Sony Color Security Camera CVX-V18NS - Night Vision", "$650.00", "$0.00", "3", _getTimeLeft(17,03,05) , _genItemLink(180408160036, binIcon) , 2, "", "true" ); _item8("120432128993 ", "Q-See QD28194W 8 Security Camera Night Vision Set New!*", "$609.61", "$0.00", "3", _getTimeLeft(8,11,30) , _genItemLink(120432128993, binIcon) , 2, "", "true" ); _item8("220507303819 ", " 4 Color CCTV Camera Security System With Night Vision", "$529.00", "$19.00", "1", _getTimeLeft(10,19,37) , _genItemLink(220507303819, binIcon) , 2, "", "true" ); _item8("160372486905 ", "DVR Surveillance Color 4 Security Camera w Night Vision", "$499.99", "$0.00", "3", _getTimeLeft(26,22,16) , _genItemLink(160372486905, binIcon) , 2, "", "true" ); _item8("110460474023 ", "NEW! Q-See QD28414 Security Camera Night Vision -8 PACK", "$499.95", "$0.00", "3", _getTimeLeft(1,06,56) , _genItemLink(110460474023, binIcon) , 2, "", "true" ); _item8("220513921332 ", " 4 Color CCTV Camera Security System With Night Vision", "$499.00", "$21.00", "1", _getTimeLeft(23,14,23) , _genItemLink(220513921332, binIcon) , 2, "", "true" ); _item8("320431593934 ", "10 Infra Red Sony CCD Security Camera Night Vision N7C", "$418.88", "$0.00", "3", _getTimeLeft(6,01,33) , _genItemLink(320431593934, binIcon) , 2, "", "true" ); _item8("320431592393 ", "10 Outdoor Night Vision Infrared IR Security Camera N8C", "$416.88", "$0.00", "3", _getTimeLeft(6,01,26) , _genItemLink(320431592393, binIcon) , 2, "", "true" ); _item8("360198440801 ", "4 ) 540TVL night vision outdoor security camera k w23 ", "$339.99", "$0.00", "3", _getTimeLeft(16,17,33) , _genItemLink(360198440801, binIcon) , 2, "", "true" ); _item8("320431595461 ", "10 1/3 Sony Color CCD Night Vision Security Camera N6C", "$339.98", "$0.00", "3", _getTimeLeft(6,01,40) , _genItemLink(320431595461, binIcon) , 2, "", "true" ); _item8("260380771987 ", "Wireless Security Surveillance Night Vision DVR Camera", "$299.99", "$0.00", "3", _getTimeLeft(18,12,32) , _genItemLink(260380771987, binIcon) , 2, "", "true" ); _item8("110452863397 ", "Night Vision Motion Track Security Surveillance Camera", "$299.00", "$0.00", "3", _getTimeLeft(4,20,11) , _genItemLink(110452863397, binIcon) , 2, "", "true" ); _item8("270445887837 ", "Wireless Security Camera System Night Vision Spy Cam", "$295.95", "$0.00", "3", _getTimeLeft(22,18,34) , _genItemLink(270445887837, binIcon) , 2, "", "true" ); _item8("260498515653 ", "Wireless CCD Night Vision Camera Home CCTV Security DVR", "$296.24", "$32.40", "1", _getTimeLeft(0,22,55) , _genItemLink(260498515653, binIcon) , 2, "", "true" ); _item8("200400067722 ", "NEW 2 CAMERA VIDEO SECURITY SYSTEM INFARED NIGHT VISION", "$289.80", "$0.00", "3", _getTimeLeft(1,20,45) , _genItemLink(200400067722, binIcon) , 2, "", "true" ); _item8("270441136361 ", "8 x 1/4 SHARP CCD NIGHT VISION OUTDOOR SECURITY CAMERA", "$285.00", "$0.00", "3", _getTimeLeft(11,11,36) , _genItemLink(270441136361, binIcon) , 2, "", "true" ); _item8("330315160753 ", "Wireless 30 IR LED Night Vision Camera Security Set -NT", "$283.63", "$0.00", "3", _getTimeLeft(15,02,10) , _genItemLink(330315160753, binIcon) , 2, "", "true" ); _item8("350239113885 ", "IP SECURITY CAMERA COLOR DAY NIGHT VISION OUTSIDE IR DN", "$279.99", "$23.00", "1", _getTimeLeft(12,19,04) , _genItemLink(350239113885, binIcon) , 2, "", "true" ); _item8("270455071111 ", "Wireless Night Vision Home Security USB DVR Camera Q", "$269.99", "$0.00", "3", _getTimeLeft(13,07,18) , _genItemLink(270455071111, binIcon) , 2, "", "true" ); _item8("260380702448 ", "Wireless Security Surveillance Night Vision DVR Camera", "$259.99", "$0.00", "3", _getTimeLeft(18,10,22) , _genItemLink(260380702448, binIcon) , 2, "", "true" ); _item8("250402307545 ", "SpyMatrix Night Vision Security Camera Recorder DVR NEW", "$249.50", "$0.00", "3", _getTimeLeft(4,18,59) , _genItemLink(250402307545, binIcon) , 2, "", "true" ); _item8("270336096514 ", "Night Vision Motion Detection Security CMOS Camera DVR", "$249.50", "$0.00", "3", _getTimeLeft(13,19,16) , _genItemLink(270336096514, binIcon) , 2, "", "true" ); _item8("250527825189 ", "Wireless 4 x 30 IR LED Night Vision Camera Security Set", "$249.00", "$0.00", "3", _getTimeLeft(12,07,59) , _genItemLink(250527825189, binIcon) , 2, "", "true" ); _item8("250531113166 ", "Wireless 4 x 30 IR LED Night Vision Camera Security Set", "$249.00", "$0.00", "3", _getTimeLeft(18,08,02) , _genItemLink(250531113166, binIcon) , 2, "", "true" ); _item8("260511752998 ", "Wireless 4 x 30 IR LED Night Vision Camera Security Set", "$249.00", "$0.00", "3", _getTimeLeft(26,08,18) , _genItemLink(260511752998, binIcon) , 2, "", "true" ); _item8("220495354531 ", "8x SECURITY SHARP COLOR NIGHT VISION DOME CAMERA S29", "$248.00", "$0.00", "3", _getTimeLeft(16,22,12) , _genItemLink(220495354531, binIcon) , 2, "", "true" ); _item8("250520481255 ", "8x SHARP COLOR NIGHT VISION DOME SECURITY CAMERA S02", "$248.00", "$0.00", "3", _getTimeLeft(28,12,38) , _genItemLink(250520481255, binIcon) , 2, "", "true" ); _item8("250520643606 ", "8x SECURITY SHARP COLOR NIGHT VISION DOME CAMERA S29", "$248.00", "$0.00", "3", _getTimeLeft(28,20,08) , _genItemLink(250520643606, binIcon) , 2, "", "true" ); _item8("250535579430 ", "Wireless CCD 4 Night Vision Camera Home Security system", "$245.00", "$38.00", "1", _getTimeLeft(25,18,30) , _genItemLink(250535579430, binIcon) , 2, "", "true" ); _item8("260498474793 ", "Wireless CCD 4 Night Vision Camera Security System DVR", "$245.00", "$38.00", "1", _getTimeLeft(0,19,01) , _genItemLink(260498474793, binIcon) , 2, "", "true" ); _item8("270437958345 ", "WIRELESS DVR USB CCTV SECURITY NIGHT VISION CAMERA KIT", "$245.00", "$0.00", "3", _getTimeLeft(4,18,59) , _genItemLink(270437958345, binIcon) , 2, "", "true" ); _item8("120424992654 ", "Wireless Night Vision Home Security USB DVR Camera YD1", "$244.00", "$0.00", "3", _getTimeLeft(22,22,28) , _genItemLink(120424992654, binIcon) , 2, "", "true" ); _item8("250520740697 ", "8x SECURITY SHARP COLOR NIGHT VISION DOME CAMERA S05", "$235.00", "$0.00", "3", _getTimeLeft(29,02,38) , _genItemLink(250520740697, binIcon) , 2, "", "true" ); _item8("250521112954 ", "8x SECURITY SHARP COLOR NIGHT VISION DOME CAMERA S61", "$235.00", "$0.00", "3", _getTimeLeft(29,16,47) , _genItemLink(250521112954, binIcon) , 2, "", "true" ); _item8("120455532685 ", "WIRELESS CCTV USB DVR SECURITY NIGHT VISION CAMERA KIT", "$234.00", "$0.00", "3", _getTimeLeft(4,21,41) , _genItemLink(120455532685, binIcon) , 2, "", "true" ); _item8("200396746678 ", "Wireless IR Night Vision Camera Security Set (NTSC)", "$230.00", "$0.00", "3", _getTimeLeft(22,11,27) , _genItemLink(200396746678, binIcon) , 2, "", "true" ); _item8("120455532790 ", "WIRELESS DVR USB CCTV SECURITY NIGHT VISION CAMERA KIT", "$229.00", "$0.00", "3", _getTimeLeft(4,21,41) , _genItemLink(120455532790, binIcon) , 2, "", "true" ); _item8("120495632573 ", "Wireless Night Vision Home Security USB DVR Camera MD2", "$227.00", "$0.00", "3", _getTimeLeft(23,01,26) , _genItemLink(120495632573, binIcon) , 2, "", "true" ); _item8("220499662654 ", "Wireless IR Day/Night Vision Camera Security Set (NTSC)", "$225.00", "$0.00", "3", _getTimeLeft(25,18,40) , _genItemLink(220499662654, binIcon) , 2, "", "true" ); _item8("120469090489 ", "4 USB Wireless Camera DVR Record Security Night Vision", "$218.00", "$0.00", "3", _getTimeLeft(15,00,27) , _genItemLink(120469090489, binIcon) , 2, "", "true" ); _item8("220475338783 ", "4 Wireless Camera USB DVR Record Security Night Vision ", "$218.00", "$0.00", "3", _getTimeLeft(4,18,28) , _genItemLink(220475338783, binIcon) , 2, "", "true" ); _item8("390079097064 ", "NEW NIGHT VISION WIRELESS CCTV SECURITY CAMERA SET DB1", "$215.00", "$0.00", "3", _getTimeLeft(8,01,44) , _genItemLink(390079097064, binIcon) , 2, "", "true" ); _item8("110452004470 ", "4 Wireless Camera Kit Security Night Vision W812G4 300M", "$212.99", "$0.00", "3", _getTimeLeft(2,10,41) , _genItemLink(110452004470, binIcon) , 2, "", "true" ); _item8("110459676228 ", "Wireless Night Vision Home Security 4 Camera & Receiver", "$212.99", "$0.00", "3", _getTimeLeft(22,08,58) , _genItemLink(110459676228, binIcon) , 2, "", "true" ); _item8("360206694788 ", "5MP No Flash Camera Infrared Night Vision Security Cam", "$209.00", "$0.00", "3", _getTimeLeft(13,11,57) , _genItemLink(360206694788, binIcon) , 2, "", "true" ); _item8("330380709165 ", "LOREX CVC6998HR COLOR SECURITY CAMERA NIGHT VISION", "$204.95", "$0.00", "3", _getTimeLeft(28,10,46) , _genItemLink(330380709165, binIcon) , 2, "", "true" ); _item8("110461661297 ", "Wireless 30 IR LED Night Vision Camera Home Security", "$199.99", "$0.00", "3", _getTimeLeft(3,20,47) , 0, 2, "", "true" ); _item8("360111369690 ", "Wireless 30 IR LED Night Vision Camera (4) Security Set", "$199.95", "$56.99", "1", _getTimeLeft(25,01,31) , _genItemLink(360111369690, binIcon) , 2, "", "true" ); _item8("390070318683 ", "Wireless Night Vision Home Security USB DVR Camera DZ2", "$199.95", "$44.95", "1", _getTimeLeft(17,01,40) , _genItemLink(390070318683, binIcon) , 2, "", "true" ); _item8("230331200499 ", "Wireless 30 IR LED Night Vision Camera Security Set (4)", "$199.49", "$49.99", "1", _getTimeLeft(12,16,53) , _genItemLink(230331200499, binIcon) , 2, "", "true" ); _item8("260479292797 ", "NEW Wireless IR Night Vision 4 Camera Security Set NTSC", "$199.00", "$39.99", "1", _getTimeLeft(21,00,23) , _genItemLink(260479292797, binIcon) , 2, "", "true" ); _item8("350281956872 ", "High Res Infrared Night Vision CCTV Security Camera", "$199.00", "$0.00", "3", _getTimeLeft(0,11,39) , _genItemLink(350281956872, binIcon) , 2, "", "true" ); _item8("370293071894 ", "Night Vision Motion Detection Security CMOS Camera DVR", "$199.00", "$0.00", "3", _getTimeLeft(1,14,35) , _genItemLink(370293071894, binIcon) , 2, "", "true" ); _item8("320448422413 ", "SONY CCD Weatherproof Night Vision CCTV Security Camera", "$194.41", "$23.14", "1", _getTimeLeft(16,02,17) , _genItemLink(320448422413, binIcon) , 2, "", "true" ); _item8("390123081229 ", "Night Vision Motion Detection Security CMOS Camera DVR", "$191.00", "$0.00", "3", _getTimeLeft(28,00,53) , _genItemLink(390123081229, binIcon) , 2, "", "true" ); _item8("190347135279 ", "Wireless IR Night Vision Camera Security Set (NTSC)", "$189.99", "$44.99", "1", _getTimeLeft(8,06,33) , _genItemLink(190347135279, binIcon) , 2, "", "true" ); _item8("150390745790 ", "Infrared IR Night Vision Outdoor CCTV Security Camera", "$189.00", "$0.00", "3", _getTimeLeft(0,11,39) , _genItemLink(150390745790, binIcon) , 2, "", "true" ); _item8("220495354836 ", "6x SECURITY SHARP COLOR NIGHT VISION DOME CAMERA S29", "$189.00", "$0.00", "3", _getTimeLeft(16,22,13) , _genItemLink(220495354836, binIcon) , 2, "", "true" ); _item8("250520459460 ", "6x SHARP COLOR NIGHT VISION DOME SECURITY CAMERA S02", "$189.00", "$0.00", "3", _getTimeLeft(28,12,09) , _genItemLink(250520459460, binIcon) , 2, "", "true" ); _item8("250520636403 ", "6x SECURITY SHARP COLOR NIGHT VISION DOME CAMERA S29", "$188.00", "$0.00", "3", _getTimeLeft(28,19,38) , _genItemLink(250520636403, binIcon) , 2, "", "true" ); _item8("330380284024 ", "30 LED Camera Wireless Security System + Night Vision ", "$185.15", "$37.03", "1", _getTimeLeft(7,01,50) , _genItemLink(330380284024, binIcon) , 2, "", "true" ); _item8("380182224404 ", "30 LED Camera Wireless Security System + Night Vision ", "$185.15", "$37.03", "1", _getTimeLeft(9,23,58) , _genItemLink(380182224404, binIcon) , 2, "", "true" ); _item8("280279660488 ", "Wall Clock Hidden Nanny Security Camera Night Vision", "$184.00", "$0.00", "3", _getTimeLeft(20,20,42) , _genItemLink(280279660488, binIcon) , 2, "", "true" ); _item8("160379086424 ", "Night vision PTZ Security camera IP Wireless Webcam", "$183.20", "$0.00", "3", _getTimeLeft(25,16,33) , _genItemLink(160379086424, binIcon) , 2, "", "true" ); _item8("160379101691 ", "Night vision PTZ Security camera IP Wireless Webcam", "$183.20", "$0.00", "3", _getTimeLeft(24,15,49) , _genItemLink(160379101691, binIcon) , 2, "", "true" ); _item8("160379284730 ", "Night vision PTZ Security camera IP Wireless Webcam", "$183.20", "$0.00", "3", _getTimeLeft(20,20,12) , _genItemLink(160379284730, binIcon) , 2, "", "true" ); _item8("310179519673 ", "Vista Night vision + PTZ Security Safe Webcam IP camera", "$183.20", "$0.00", "3", _getTimeLeft(10,20,14) , _genItemLink(310179519673, binIcon) , 2, "", "true" ); _item8("310181872905 ", "Vista Night vision + PTZ Security Safe Webcam IP camera", "$183.20", "$0.00", "3", _getTimeLeft(17,18,09) , _genItemLink(310181872905, binIcon) , 2, "", "true" ); _item8("390036069435 ", "Night Vision Motion Detection Security CMOS Camera DVR", "$183.00", "$15.50", "1", _getTimeLeft(7,01,12) , _genItemLink(390036069435, binIcon) , 2, "", "true" ); _item8("330379996166 ", "30 LED Camera Wireless Security System + Night Vision ", "$185.15", "$37.03", "1", _getTimeLeft(6,03,22) , _genItemLink(330379996166, binIcon) , 2, "", "true" ); _item8("330370233457 ", "30 LED Camera Wireless Security System + Night Vision", "$184.22", "$27.76", "1", _getTimeLeft(23,00,54) , _genItemLink(330370233457, binIcon) , 2, "", "true" ); _item8("260498473373 ", "Wireless 2 CCD Night Vision Camera Home Security DVR 2G", "$179.00", "$25.00", "1", _getTimeLeft(0,18,54) , _genItemLink(260498473373, binIcon) , 2, "", "true" ); _item8("220452730865 ", "Night Vision CCTV Camera Illuminator 100M IR Security", "$174.99", "$19.99", "1", _getTimeLeft(15,13,25) , _genItemLink(220452730865, binIcon) , 2, "", "true" ); _item8("120490974400 ", "Night Vision 4 Wireless Camera Receiver System Security", "$172.99", "$0.00", "3", _getTimeLeft(12,08,44) , _genItemLink(120490974400, binIcon) , 2, "", "true" ); _item8("120493242650 ", "Night Vision 4 Wireless Camera Kit Security System NIB", "$172.99", "$0.00", "3", _getTimeLeft(17,13,49) , _genItemLink(120493242650, binIcon) , 2, "", "true" ); _item8("140358631168 ", "Night Vision 4 Wireless Camera Security Kit W801J4 SALE", "$172.99", "$0.00", "3", _getTimeLeft(12,07,01) , _genItemLink(140358631168, binIcon) , 2, "", "true" ); _item8("270456927140 ", "Wireless Night Vision Home Security USB DVR Camera 2T1", "$169.99", "$0.00", "3", _getTimeLeft(17,09,02) , _genItemLink(270456927140, binIcon) , 2, "", "true" ); _item8("330361373751 ", "DAY & NIGHT VISION SECURITY AND SURVEILLANCE CAMERA", "$169.99", "$0.00", "3", _getTimeLeft(21,10,15) , _genItemLink(330361373751, binIcon) , 2, "", "true" ); _item8("150351632287 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(12,15,58) , _genItemLink(150351632287, binIcon) , 2, "", "true" ); _item8("150387397364 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(11,16,48) , _genItemLink(150387397364, binIcon) , 2, "", "true" ); _item8("170403009282 ", "CCTV Security 520 TV L Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(7,15,13) , _genItemLink(170403009282, binIcon) , 2, "", "true" ); _item8("310089613808 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(1,20,36) , _genItemLink(310089613808, binIcon) , 2, "", "true" ); _item8("310110522079 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(18,20,07) , _genItemLink(310110522079, binIcon) , 2, "", "true" ); _item8("310114886028 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(9,20,16) , _genItemLink(310114886028, binIcon) , 2, "", "true" ); _item8("310121429886 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(8,10,38) , _genItemLink(310121429886, binIcon) , 2, "", "true" ); _item8("310123044367 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(15,14,25) , _genItemLink(310123044367, binIcon) , 2, "", "true" ); _item8("310179894334 ", "CCTV Security 520 Line Outdoor 50m Night Vision Camera ", "$169.00", "$0.00", "3", _getTimeLeft(8,18,41) , _genItemLink(310179894334, binIcon) , 2, "", "true" ); _item8("330341604758 ", "4 WIRELESS CCTV 2.4 GHz NIGHT VISION SECURITY CAMERA", "$169.00", "$0.00", "3", _getTimeLeft(1,04,00) , _genItemLink(330341604758, binIcon) , 2, "", "true" ); _item8("350281956852 ", "Night Vision Infrared IR Outdoor CCTV Security Camera", "$169.00", "$0.00", "3", _getTimeLeft(0,11,39) , _genItemLink(350281956852, binIcon) , 2, "", "true" ); _item8("330371481280 ", "4x Infra Red Sony CCD Security Camera Night Vision N7B", "$168.98", "$0.00", "3", _getTimeLeft(27,18,40) , _genItemLink(330371481280, binIcon) , 2, "", "true" ); _item8("320431593421 ", "4x Infra Red Sony CCD Security Camera Night Vision N7B", "$168.88", "$0.00", "3", _getTimeLeft(6,01,31) , _genItemLink(320431593421, binIcon) , 2, "", "true" ); _item8("220489756098 ", "4x Outdoor Night Vision Infrared IR Security Camera N8B", "$167.88", "$0.00", "3", _getTimeLeft(6,01,23) , _genItemLink(220489756098, binIcon) , 2, "", "true" ); _item8("270480471970 ", "4 CMOS(night vision) Camera IR DVR Spy Security System", "$166.99", "$0.00", "3", _getTimeLeft(7,18,57) , _genItemLink(270480471970, binIcon) , 2, "", "true" ); _item8("350284240791 ", "Night Vision Motion Detection Security CCD Camera DVR", "$160.55", "$0.00", "3", _getTimeLeft(28,00,52) , _genItemLink(350284240791, binIcon) , 2, "", "true" ); _item8("200400567996 ", "COVERT HIDDEN NIGHT VISION SPY VIDEO SECURITY CAMERA", "$159.00", "$0.00", "3", _getTimeLeft(3,10,50) , _genItemLink(200400567996, binIcon) , 2, "", "true" ); _item8("400084186435 ", "COVERT HIDDEN NIGHT VISION SPY VIDEO SECURITY CAMERA", "$159.00", "$0.00", "3", _getTimeLeft(11,12,56) , _genItemLink(400084186435, binIcon) , 2, "", "true" ); _item8("110457709396 ", "Wireless Night Vision Audio 4 Camera Kit W802 Security", "$155.99", "$0.00", "3", _getTimeLeft(17,13,29) , _genItemLink(110457709396, binIcon) , 2, "", "true" ); _footer(_disclaimer8); } document.write(_getSniplet());