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= "false"; 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 = "#FFFFff"; var borderColor = "#dff5ff"; var titleColor = "#FFCE63"; var titleFontColor = "#000000"; 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+scope&_sop=2&ht=0"; var tableWidth = 800; var tableHeight = 125; var isJSEnableFlexibleHeader=true; var isJSEbayFlexibleHeader=true; var logoSize=2; var dLabel = "d" + " "; var hLabel = "h" + " "; var mLabel = "m" + " "; var sLabel = "s"; var itemCount = 379; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = ''; //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= "5336046956"; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = "nightvision"; var ekWidth = "800"; var ekQuery = "night vision scope"; 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 = "nightvision"; var roverPID = "5336046956"; 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="1"; var fbgcolor=textBgColor; var hdrSrch="y"; 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("110463118155 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,0,42) , 0, 2, "", "true" ); _item8("230404269400 ", "NEW 4x30mm NIGHT VISION SURVEILLANCE SCOPE BINOCULARS", "$8.17", "", "-1", _getTimeLeft(0,1,07) , _genItemLink(230404269400, binIcon) , 2, "", "true" ); _item8("260513108303 ", "4x30 Day Or Night Surveillance Scope Vision Binoculars", "$8.99", "", "-1", _getTimeLeft(0,1,08) , 1, 2, "", "true" ); _item8("170412848918 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.96", "", "-1", _getTimeLeft(0,1,12) , 0, 2, "", "true" ); _item8("110463130825 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,1,27) , 0, 2, "", "true" ); _item8("120498112529 ", "BN 4x30mm Night Scope Vision Surveillance Binoculars ", "$0.01", "", "-1", _getTimeLeft(0,1,43) , 1, 2, "", "true" ); _item8("110463136305 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,1,50) , 0, 2, "", "true" ); _item8("170412863385 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,2,03) , 0, 2, "", "true" ); _item8("120498883311 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,2,12) , 0, 2, "", "true" ); _item8("180438419706 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.96", "", "-1", _getTimeLeft(0,2,12) , 0, 2, "", "true" ); _item8("230404293746 ", "NEW 4x30mm NIGHT VISION SURVEILLANCE SCOPE BINOCULARS", "$8.17", "", "-1", _getTimeLeft(0,2,20) , _genItemLink(230404293746, binIcon) , 2, "", "true" ); _item8("120498885291 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,2,23) , 0, 2, "", "true" ); _item8("110463148219 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,2,50) , 0, 2, "", "true" ); _item8("120498893117 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,2,57) , 0, 2, "", "true" ); _item8("180438432687 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,3,03) , 0, 2, "", "true" ); _item8("170412879909 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.96", "", "-1", _getTimeLeft(0,3,08) , 0, 2, "", "true" ); _item8("160382211300 ", "Binoculars 4x30mm Night Vision Surveillance Scope", "$11.14", "", "-1", _getTimeLeft(0,3,12) , 0, 2, "", "true" ); _item8("280427251619 ", "N-Vision Jaeger Master 32 Rifle Scope - Night Vision!", "$215.00", "", "-1", _getTimeLeft(0,3,41) , 14, 2, "", "true" ); _item8("120498902193 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,3,47) , 0, 2, "", "true" ); _item8("110463159217 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,3,50) , 0, 2, "", "true" ); _item8("200411445728 ", "New Binoculars 4x 30mm Night Vision Surveillance Scope", "$11.14", "", "-1", _getTimeLeft(0,4,00) , 0, 2, "", "true" ); _item8("170412893517 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,4,03) , 0, 2, "", "true" ); _item8("170412894667 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.96", "", "-1", _getTimeLeft(0,4,08) , 0, 2, "", "true" ); _item8("120498912946 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,4,32) , 0, 2, "", "true" ); _item8("110463172555 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,4,50) , 0, 2, "", "true" ); _item8("170412908351 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,5,03) , 0, 2, "", "true" ); _item8("170412909555 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.96", "", "-1", _getTimeLeft(0,5,08) , 0, 2, "", "true" ); _item8("120498921826 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,5,17) , 0, 2, "", "true" ); _item8("260513224051 ", "4x30 Day Or Night Surveillance Scope Vision Binoculars", "$8.79", "", "-1", _getTimeLeft(0,5,19) , 0, 2, "", "true" ); _item8("120498924568 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,5,30) , 0, 2, "", "true" ); _item8("110463185046 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,5,50) , 0, 2, "", "true" ); _item8("300369710690 ", "ATN MK-390 NIGHT VISION Rifle Scope, 4x Mag 2yr War", "$499.00", "", "-1", _getTimeLeft(0,6,00) , 0, 2, "", "true" ); _item8("120498930797 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,6,02) , 0, 2, "", "true" ); _item8("180438474718 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,6,03) , 0, 2, "", "true" ); _item8("180438476325 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.96", "", "-1", _getTimeLeft(0,6,08) , 0, 2, "", "true" ); _item8("110462459751 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.90", "", "-1", _getTimeLeft(0,6,23) , 0, 2, "", "true" ); _item8("220515768139 ", "2009 ATN MK-410 NIGHT VISION Rifle Scope 5x Mag, 2 Yr", "$599.00", "", "-1", _getTimeLeft(0,6,37) , _genItemLink(220515768139, binIcon) , 2, "", "true" ); _item8("110463195612 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,6,47) , 0, 2, "", "true" ); _item8("110463195613 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,6,47) , 0, 2, "", "true" ); _item8("180438489088 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,7,03) , 0, 2, "", "true" ); _item8("180438490011 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.96", "", "-1", _getTimeLeft(0,7,08) , 0, 2, "", "true" ); _item8("120498946047 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.99", "", "-1", _getTimeLeft(0,7,32) , 0, 2, "", "true" ); _item8("120498948007 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,7,47) , 0, 2, "", "true" ); _item8("130347923540 ", "4 X 30 Day & Night Vision Surveillance Binoculars Scope", "$0.01", "", "-1", _getTimeLeft(0,7,57) , 0, 2, "", "true" ); _item8("170412948664 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,8,03) , 0, 2, "", "true" ); _item8("120498950023 ", "4 X 30 Day & Night Vision Surveillance Binoculars Scope", "$0.01", "", "-1", _getTimeLeft(0,8,05) , 0, 2, "", "true" ); _item8("170410226844 ", "yukon night vision rifle scope", "$300.00", "", "-1", _getTimeLeft(0,8,41) , 1, 2, "", "true" ); _item8("110463211787 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,8,47) , 0, 2, "", "true" ); _item8("180438519379 ", "4 x 30 Day & Night Vision Surveillance Binoculars Scope", "$0.01", "", "-1", _getTimeLeft(0,8,59) , 0, 2, "", "true" ); _item8("180438519426 ", "4 x 30 Day & Night Vision Surveillance Binoculars Scope", "$0.01", "", "-1", _getTimeLeft(0,8,59) , 0, 2, "", "true" ); _item8("180438520086 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,9,03) , 0, 2, "", "true" ); _item8("170412968429 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,10,03) , 0, 2, "", "true" ); _item8("390124394331 ", "New Binoculars 4x 30mm Night Vision Surveillance Scope", "$10.37", "", "-1", _getTimeLeft(0,10,03) , 0, 2, "", "true" ); _item8("120498965761 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,10,47) , 0, 2, "", "true" ); _item8("180438540292 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,11,03) , 0, 2, "", "true" ); _item8("120498973623 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.84", "", "-1", _getTimeLeft(0,11,47) , 0, 2, "", "true" ); _item8("170412990914 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,12,03) , 0, 2, "", "true" ); _item8("180376636420 ", "New Binoculars 4x 30mm Night Vision Surveillance Scope", "$9.56", "", "-1", _getTimeLeft(0,12,54) , _genItemLink(180376636420, binIcon) , 2, "", "true" ); _item8("170352280060 ", "New Binoculars 4x 30mm Night Vision Surveillance Scope", "$7.56", "", "-1", _getTimeLeft(0,12,54) , _genItemLink(170352280060, binIcon) , 2, "", "true" ); _item8("170413003456 ", "# New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.80", "", "-1", _getTimeLeft(0,13,03) , 0, 2, "", "true" ); _item8("130347503622 ", "24hr Binoculars 4x 30mm Night Vision Surveillance Scope", "$8.17", "", "-1", _getTimeLeft(0,13,56) , _genItemLink(130347503622, binIcon) , 2, "", "true" ); _item8("150324645891 ", "4 x 30mm Night Vision Surveillance Scope Binoculars D&N", "$9.95", "", "-1", _getTimeLeft(0,17,20) , _genItemLink(150324645891, binIcon) , 2, "", "true" ); _item8("360211262253 ", "NEW 4x30mm NIGHT VISION SURVEILLANCE SCOPE BINOCULARS", "$0.99", "", "-1", _getTimeLeft(0,18,15) , 0, 2, "", "true" ); _item8("310183140816 ", "NEW ATN Aries 410 Night Vision Rifle Scope NVWSM41010", "$599.00", "", "-1", _getTimeLeft(0,21,18) , _genItemLink(310183140816, binIcon) , 2, "", "true" ); _item8("160381206149 ", "Binoculars 4 x 30MM Night Vision Surveillance Scope NEW", "$0.99", "", "-1", _getTimeLeft(0,22,41) , _genItemLink(160381206149, binIcon) , 2, "", "true" ); _item8("280427715417 ", "AMT, ARIES 258, NIGHT VISION SCOPE", "$550.00", "", "-1", _getTimeLeft(0,22,45) , _genItemLink(280427715417, binIcon) , 2, "", "true" ); _item8("260513668386 ", "4x30 Day Or Night Surveillance Scope Vision Binoculars", "$8.99", "", "-1", _getTimeLeft(0,22,55) , 0, 2, "", "true" ); _item8("130346667854 ", "Used Yukon NVRS Night Vision Scope", "$350.00", "", "-1", _getTimeLeft(1,00,33) , 1, 2, "", "true" ); _item8("180437983947 ", "4x30 Day Or Night Surveillance Scope Vision Binoculars ", "$8.79", "", "-1", _getTimeLeft(1,01,30) , 0, 2, "", "true" ); _item8("120498521907 ", "BN 4x30mm Night Scope Vision Surveillance Binoculars ", "$0.01", "", "-1", _getTimeLeft(1,01,41) , 0, 2, "", "true" ); _item8("380181414348 ", "YUKON NVMT 4x50 NIGHT VISION SCOPE * LATEST TECHNOLOGY ", "$317.19", "", "-1", _getTimeLeft(1,01,57) , _genItemLink(380181414348, binIcon) , 2, "", "true" ); _item8("260499360421 ", "FT-1200 Night Vision Scope Famous Trails BEST monocular", "$139.88", "", "-1", _getTimeLeft(1,03,27) , _genItemLink(260499360421, binIcon) , 2, "", "true" ); _item8("270489493539 ", "Tasco NV100 NV100/100 Night Vision Scope ", "$85.00", "", "-1", _getTimeLeft(1,03,42) , 0, 2, "", "true" ); _item8("140362016574 ", "Moonlight Zenit "Compact" Night Vision Scope", "$49.00", "", "-1", _getTimeLeft(1,04,30) , 11, 2, "", "true" ); _item8("250538128044 ", "New Binoculars 4x 30mm Night Vision Surveillance Scope", "$9.56", "", "-1", _getTimeLeft(1,05,02) , 0, 2, "", "true" ); _item8("250538145045 ", "4x30 Day Or Night Surveillance Scope Vision Binoculars", "$8.79", "", "-1", _getTimeLeft(1,05,49) , 0, 2, "", "true" ); _item8("290373348067 ", "ENVIS M703E Night Vision Monocular Evasion Scope ", "$1,000.00", "", "-1", _getTimeLeft(1,06,05) , 5, 2, "", "true" ); _item8("320452828057 ", "NEW NIGHT VISION SCOPE MONOCULAR WITH IR ILLUMINATOR ", "$164.99", "", "-1", _getTimeLeft(1,07,11) , _genItemLink(320452828057, binIcon) , 2, "", "true" ); _item8("120498585660 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.90", "", "-1", _getTimeLeft(1,07,23) , 0, 2, "", "true" ); _item8("220513554740 ", "$3695 NEW PVS-14 3rd Gen Night Vision Multi Scope 64lp+", "$2,850.00", "", "-1", _getTimeLeft(1,07,25) , 0, 2, "", "true" ); _item8("260513856965 ", "4x30 Day Or Night Surveillance Scope Vision Binoculars", "$8.99", "", "-1", _getTimeLeft(1,07,29) , 0, 2, "", "true" ); _item8("360211481500 ", "NEW 4x30mm NIGHT VISION SURVEILLANCE SCOPE BINOCULARS", "$0.90", "", "-1", _getTimeLeft(1,08,17) , 0, 2, "", "true" ); _item8("110462867250 ", "New 4x30mm Surveillance Scope Night Vision Binoculars", "$0.90", "", "-1", _getTimeLeft(1,08,41) , 0, 2, "", "true" ); _item8("350106141401 ", "NEW! Ranger Digital Day/Night Vision Scope 5x42 gen 2", "$559.99", "", "-1", _getTimeLeft(1,08,47) , _genItemLink(350106141401, binIcon) , 2, "", "true" ); _item8("350106141433 ", "New! PRO Tactical 2.5x50mm Night Vision Rifle Scope ", "$789.99", "", "-1", _getTimeLeft(1,08,47) , _genItemLink(350106141433, binIcon) , 2, "", "true" ); _item8("350106141439 ", "Night Vision Rifle Scope 1.5x42mm MINI VARMINT HUNTER ", "$659.00", "", "-1", _getTimeLeft(1,08,48) , _genItemLink(350106141439, binIcon) , 2, "", "true" ); _item8("350106141444 ", "NEW! Yukon Night Vision Rifle Scope + IR illum.+ Laser", "$479.99", "", "-1", _getTimeLeft(1,08,48) , _genItemLink(350106141444, binIcon) , 2, "", "true" ); _item8("350106141449 ", "New! Titanium 2.5x50mm Night Vision Rifle Scope ", "$699.00", "", "-1", _getTimeLeft(1,08,48) , _genItemLink(350106141449, binIcon) , 2, "", "true" ); _item8("160380807903 ", "Binoculars 4x30mm Night Vision Surveillance Scope", "$11.14", "", "-1", _getTimeLeft(1,11,32) , _genItemLink(160380807903, binIcon) , 2, "", "true" ); _item8("130347720159 ", "24hr Binoculars 4x 30mm Night Vision Surveillance Scope", "$8.17", "", "-1", _getTimeLeft(1,13,56) , _genItemLink(130347720159, binIcon) , 2, "", "true" ); _item8("110462984740 ", "24hr Binoculars 4x 30mm Night Vision Surveillance Scope", "$8.17", "", "-1", _getTimeLeft(1,18,07) , _genItemLink(110462984740, binIcon) , 2, "", "true" ); _item8("320453011598 ", "D-241 M Night Optics rifle mounted night vision scope", "$686.00", "", "-1", _getTimeLeft(1,18,51) , 15, 2, "", "true" ); _item8("260511733348 ", "Yukon NVRS 2.5x50 Tactical Night Vision Scope", "$679.00", "", "-1", _getTimeLeft(1,18,55) , _genItemLink(260511733348, binIcon) , 2, "", "true" ); _item8("280428172928 ", "Meade Night Vision Scope NV1001 Brand new Condition", "$100.00", "", "-1", _getTimeLeft(1,20,02) , 1, 2, "", "true" ); _item8("260512984538 ", "PVS-2 NIGHT VISION SCOPE SIGHT AN/PVS-2 ORIGINAL", "$130.00", "", "-1", _getTimeLeft(1,21,44) , 8, 2, "", "true" ); _item8("330380706232 ", "New Binoculars 4x 30mm Night Vision Surveillance Scope", "$10.12", "", "-1", _getTimeLeft(1,21,53) , 0, 2, "", "true" ); _item8("180438322804 ", "4x30 Day Or Night Surveillance Scope Vision Binoculars ", "$8.79", "", "-1", _getTimeLeft(1,22,22) , 0, 2, "", "true" ); _item8("200411345447 ", "Binoculars 4x30mm Night Vision Surveillance Scope", "$10.12", "", "-1", _getTimeLeft(1,22,28) , 0, 2, "", "true" ); _item8("250538553846 ", "RAPTOR NIGHT VISION SCOPE", "$100.00", "", "-1", _getTimeLeft(1,23,14) , 1, 2, "", "true" ); _item8("160382196535 ", "BN 4x30mm Night Scope Vision Surveillance Binoculars ", "$0.01", "", "-1", _getTimeLeft(2,01,42) , 0, 2, "", "true" ); _footer(_disclaimer8); } document.write(_getSniplet());