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 = "#FFFFCC"; var borderColor = "#FFCC00"; 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=Optical+Illusions&_sop=2&ht=0"; var tableWidth = 570; var tableHeight = 0; var isJSEnableFlexibleHeader=true; var isJSEbayFlexibleHeader=true; var logoSize=2; var dLabel = "d" + " "; var hLabel = "h" + " "; var mLabel = "m" + " "; var sLabel = "s"; var itemCount = 115; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = 'Optical Illusions'; //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= "5335821620"; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = "Optical Illusions"; var ekWidth = "570"; var ekQuery = "Optical Illusions"; 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 = "Optical Illusions"; var roverPID = "5335821620"; 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="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("310184514813 ", "book ULTRA 3-D optical illusions hidden images 25+bonus", "$4.99", "", "-1", _getTimeLeft(0,1,17) , 0, 2, "", "true" ); _item8("390123296342 ", "book VISUAL FOOLERY optical illusions book 3D glasses", "$3.99", "", "-1", _getTimeLeft(0,1,17) , 0, 0, "", "true" ); _item8("190352915357 ", "World's Best Optical Illusions by Charles H. Paraqui...", "$0.99", "", "-1", _getTimeLeft(0,9,31) , 0, 2, "", "true" ); _item8("120498196862 ", "OPTICAL ILLUSIONS PLAYING CARDS NEW SEALED", "$7.00", "", "-1", _getTimeLeft(0,9,54) , 0, 2, "", "true" ); _item8("130347490985 ", "The World's Best Optical Illusions", "$0.99", "", "-1", _getTimeLeft(0,10,44) , 0, 2, "", "true" ); _item8("220515522531 ", "Mind Warp Circles Poster - optical illusions", "$6.10", "", "-1", _getTimeLeft(1,00,13) , _genItemLink(220515522531, binIcon) , 2, "", "true" ); _item8("330374101038 ", "Classic Optical Illusions by Gyles Brandreth, Michael A", "$3.95", "", "-1", _getTimeLeft(1,05,14) , _genItemLink(330374101038, binIcon) , 2, "", "true" ); _item8("250525286903 ", "The Ultimate Book of Optical Illusions, Al Seckel, Good", "$11.96", "", "-1", _getTimeLeft(2,05,12) , _genItemLink(250525286903, binIcon) , 2, "", "true" ); _item8("290375125007 ", "Optical Illusions by Keith Kay (2007, Paperback)", "$0.99", "", "-1", _getTimeLeft(2,07,36) , 0, 2, "", "true" ); _item8("200411709657 ", "Optical Illusions", "$0.99", "", "-1", _getTimeLeft(3,02,03) , 0, 2, "", "true" ); _item8("280419790646 ", "Optical Illusions", "$3.74", "", "-1", _getTimeLeft(3,03,27) , _genItemLink(280419790646, binIcon) , 2, "", "true" ); _item8("360213307943 ", "Mystical Mandala Triad Optical Illusions Coloring Books", "$6.79", "", "-1", _getTimeLeft(3,04,52) , 0, 2, "", "true" ); _item8("380080643719 ", "Optical Illusions Poker Game Playing Cards Deck", "$6.99", "", "-1", _getTimeLeft(3,10,27) , _genItemLink(380080643719, binIcon) , 2, "", "true" ); _item8("200412906722 ", "Abstractions and Optical Illusions Coloring Books", "$6.99", "", "-1", _getTimeLeft(3,23,56) , 0, 2, "", "true" ); _item8("280420157169 ", "Dali's Optical Illusions by Dawn Ades, Hirshhorn Mus...", "$47.00", "", "-1", _getTimeLeft(4,01,33) , _genItemLink(280420157169, binIcon) , 2, "", "true" ); _item8("200403117133 ", "THE ULTIMATE BOOK OF OPTICAL ILLUSIONS - AL SECKEL (PAP", "$10.34", "", "-1", _getTimeLeft(4,06,40) , _genItemLink(200403117133, binIcon) , 2, "", "true" ); _item8("320455911055 ", "Tricks and Optical Illusions Experiment log", "$0.99", "", "-1", _getTimeLeft(4,09,08) , 0, 2, "", "true" ); _item8("290367721179 ", "Triad Optical Illusions, Harry Turner, Good Book", "$1.00", "", "-1", _getTimeLeft(4,20,21) , _genItemLink(290367721179, binIcon) , 2, "", "true" ); _item8("260503786305 ", "NEW - Optical Illusions Playing Cards", "$6.65", "", "-1", _getTimeLeft(6,02,42) , _genItemLink(260503786305, binIcon) , 2, "", "true" ); _item8("260503949942 ", "Perspective and Other Optical Illusions (Wooden Books)", "$8.00", "", "-1", _getTimeLeft(6,09,08) , _genItemLink(260503949942, binIcon) , 2, "", "true" ); _item8("370287956435 ", "NEW - Optical Illusions Coloring Book", "$3.75", "", "-1", _getTimeLeft(6,14,56) , _genItemLink(370287956435, binIcon) , 2, "", "true" ); _item8("380183986250 ", "VISUAL ILLUSIONS, NEW 2009 HCDJ, OPTICAL ILLUSIONS, ", "$15.00", "", "-1", _getTimeLeft(6,20,48) , _genItemLink(380183986250, binIcon) , 2, "", "true" ); _item8("200382565664 ", "TRIAD OPTICAL ILLUSIONS How to Design color dimensions", "$10.00", "", "-1", _getTimeLeft(6,22,34) , _genItemLink(200382565664, binIcon) , 2, "", "true" ); _item8("190354641621 ", "OPTICAL ILLUSIONS & PICTURE PUZZLES BY DAVID BODYCOMBE", "$0.99", "", "-1", _getTimeLeft(6,23,38) , 0, 2, "", "true" ); _item8("140358707824 ", "The Eye Beguiled Optical Illusions, Bruno Ernst, Good B", "$5.41", "", "-1", _getTimeLeft(7,02,05) , _genItemLink(140358707824, binIcon) , 0, "", "true" ); _item8("260504614381 ", "NEW - Puzzling Optical Illusions", "$2.85", "", "-1", _getTimeLeft(7,18,51) , _genItemLink(260504614381, binIcon) , 2, "", "true" ); _item8("370273506096 ", "SuperVisions: Ambiguous Optical Illusions (Super Vision", "$6.95", "", "-1", _getTimeLeft(7,21,52) , _genItemLink(370273506096, binIcon) , 2, "", "true" ); _item8("260504726259 ", "NEW - The Ultimate Book of Optical Illusions", "$11.96", "", "-1", _getTimeLeft(7,23,12) , _genItemLink(260504726259, binIcon) , 2, "", "true" ); _item8("280421839655 ", "Optical Illusions: The Science of Visual Perception", "$26.25", "", "-1", _getTimeLeft(7,23,20) , _genItemLink(280421839655, binIcon) , 2, "", "true" ); _item8("320411751729 ", "Colorful Optical Illusions: Over 70 Designs and Tricks ", "$5.95", "", "-1", _getTimeLeft(8,08,38) , _genItemLink(320411751729, binIcon) , 2, "", "true" ); _item8("330351954219 ", "The Great Book of Optical Illusions by Al Seckel", "$16.95", "", "-1", _getTimeLeft(8,08,45) , _genItemLink(330351954219, binIcon) , 2, "", "true" ); _item8("140359358291 ", "The Eye Beguiled Optical Illusions, Bruno Ernst, Good B", "$5.41", "", "-1", _getTimeLeft(9,20,14) , _genItemLink(140359358291, binIcon) , 0, "", "true" ); _item8("200405213410 ", "Fantastic Optical Illusions and Puzzles (Fantastic Opti", "$6.40", "", "-1", _getTimeLeft(9,20,39) , _genItemLink(200405213410, binIcon) , 2, "", "true" ); _item8("140359478471 ", "Mystery of Love and Other Optical Illusions Signed Limi", "$35.99", "", "-1", _getTimeLeft(10,03,04) , _genItemLink(140359478471, binIcon) , 0, "", "true" ); _item8("330352454206 ", "Big Book of Optical Illusions: Over 200 Original Decept", "$12.95", "", "-1", _getTimeLeft(10,17,25) , _genItemLink(330352454206, binIcon) , 0, "", "true" ); _item8("350278669883 ", "Masters of Deception optical illusions Gonsalves Orosz", "$60.00", "", "-1", _getTimeLeft(10,18,29) , _genItemLink(350278669883, binIcon) , 2, "", "true" ); _item8("350240543822 ", "3.5" CUBE Vinyl Decal Car Sticker - Optical Illusions", "$3.75", "", "-1", _getTimeLeft(11,01,32) , _genItemLink(350240543822, binIcon) , 2, "", "true" ); _item8("300367012860 ", "Perspective and Other Optical Illusions", "$5.50", "", "-1", _getTimeLeft(11,18,50) , _genItemLink(300367012860, binIcon) , 2, "", "true" ); _item8("270305406350 ", "150 Colorful AMAZING OPTICAL ILLUSIONS", "$4.99", "", "-1", _getTimeLeft(11,21,13) , _genItemLink(270305406350, binIcon) , 2, "", "true" ); _item8("300348162167 ", "Victor Moscoso Sex Rock & Optical Illusions Poster Book", "$29.99", "", "-1", _getTimeLeft(11,23,03) , _genItemLink(300348162167, binIcon) , 2, "", "true" ); _item8("280423714573 ", "Colorful Optical Illusions: Over 70 Designs and Tricks ", "$7.58", "", "-1", _getTimeLeft(12,03,36) , _genItemLink(280423714573, binIcon) , 2, "", "true" ); _item8("280423797022 ", "Optical Illusions 2009 Calendar, Robert Ausbourne, Good", "$6.86", "", "-1", _getTimeLeft(12,08,47) , _genItemLink(280423797022, binIcon) , 2, "", "true" ); _item8("280423831600 ", "The World's Best Optical Illusions", "$2.28", "", "-1", _getTimeLeft(12,11,36) , _genItemLink(280423831600, binIcon) , 2, "", "true" ); _item8("270485903832 ", "Optical Illusions", "$24.54", "", "-1", _getTimeLeft(13,07,03) , _genItemLink(270485903832, binIcon) , 0, "", "true" ); _item8("290370808707 ", "The Mighty Big Book of Optical Illusions (Mighty Big Bo", "$1.00", "", "-1", _getTimeLeft(13,13,19) , _genItemLink(290370808707, binIcon) , 2, "", "true" ); _item8("230400323652 ", "The Mighty Big Book of Optical Illusions (Mighty Big Bo", "$1.00", "", "-1", _getTimeLeft(13,13,28) , _genItemLink(230400323652, binIcon) , 2, "", "true" ); _item8("300367925533 ", "Colorful Optical Illusions", "$5.07", "", "-1", _getTimeLeft(14,02,34) , _genItemLink(300367925533, binIcon) , 2, "", "true" ); _item8("330353305159 ", "Live/Love: Lenticular Journal (Optical Illusions) by Le", "$5.98", "", "-1", _getTimeLeft(14,02,42) , _genItemLink(330353305159, binIcon) , 2, "", "true" ); _item8("270486450695 ", "The Ultimate Book of Optical Illusions", "$10.32", "", "-1", _getTimeLeft(14,08,45) , _genItemLink(270486450695, binIcon) , 2, "", "true" ); _item8("270486471422 ", "Optical Illusions Coloring Book", "$1.00", "", "-1", _getTimeLeft(14,09,46) , _genItemLink(270486471422, binIcon) , 2, "", "true" ); _item8("270486509094 ", "Classic Optical Illusions, Gyles Brandreth, Michael A. ", "$1.00", "", "-1", _getTimeLeft(14,11,31) , _genItemLink(270486509094, binIcon) , 2, "", "true" ); _item8("290371174851 ", "The Great Book of Optical Illusions, , Good Book", "$1.00", "", "-1", _getTimeLeft(14,11,43) , _genItemLink(290371174851, binIcon) , 0, "", "true" ); _item8("280424991997 ", "Small-scale Magic, Party Tricks & Optical Illusions", "$11.93", "", "-1", _getTimeLeft(14,12,35) , _genItemLink(280424991997, binIcon) , 2, "", "true" ); _item8("200407096518 ", "Great Book of Optical Illusions, Gyles Brandreth, Goo", "$6.40", "", "-1", _getTimeLeft(14,13,53) , _genItemLink(200407096518, binIcon) , 2, "", "true" ); _item8("280425377520 ", "Optical Illusions in Art: Or--Discover How Paintings Ar", "$1.00", "", "-1", _getTimeLeft(15,04,10) , _genItemLink(280425377520, binIcon) , 2, "", "true" ); _item8("110459011703 ", "Amazing Optical Illusions, Illusionworks, New Book", "$5.99", "", "-1", _getTimeLeft(15,05,36) , _genItemLink(110459011703, binIcon) , 2, "", "true" ); _item8("160379307280 ", "Fantastic Optical Illusions & Puzzles (1999, Hardcov...", "$4.50", "", "-1", _getTimeLeft(15,12,39) , _genItemLink(160379307280, binIcon) , 2, "", "true" ); _item8("120461115545 ", "THE WORLD'S BEST OPTICAL ILLUSIONS by CHARLES PARAQUIN", "$10.00", "", "-1", _getTimeLeft(16,01,49) , _genItemLink(120461115545, binIcon) , 2, "", "true" ); _item8("200408052243 ", "Optical Illusions: Pocket Puzzlers, Katherine Joyce, e", "$7.69", "", "-1", _getTimeLeft(16,23,16) , _genItemLink(200408052243, binIcon) , 2, "", "true" ); _item8("290372130282 ", "Big Book of Optical Illusions: Over 200 Original Decept", "$5.90", "", "-1", _getTimeLeft(17,02,57) , _genItemLink(290372130282, binIcon) , 0, "", "true" ); _item8("290372130351 ", "Big Book of Optical Illusions: Over 200 Original Decept", "$5.90", "", "-1", _getTimeLeft(17,02,58) , _genItemLink(290372130351, binIcon) , 0, "", "true" ); _item8("290372145356 ", "Optical Illusions: The Science of Visual Perception (Il", "$15.00", "", "-1", _getTimeLeft(17,03,39) , _genItemLink(290372145356, binIcon) , 0, "", "true" ); _item8("320414923240 ", "SuperVisions: Geometric Optical Illusions (Supervisions", "$4.55", "", "-1", _getTimeLeft(17,06,56) , _genItemLink(320414923240, binIcon) , 2, "", "true" ); _item8("230401942655 ", "The Amazing World of Optical Illusions (Now You See I..", "$1.00", "", "-1", _getTimeLeft(17,14,47) , _genItemLink(230401942655, binIcon) , 0, "", "true" ); _item8("180293789718 ", "NEW Perspective and Other Optical Illusions - McNaug...", "$7.99", "", "-1", _getTimeLeft(17,18,22) , _genItemLink(180293789718, binIcon) , 2, "", "true" ); _item8("400086668127 ", "Optical Illusions: Lucent and the Crash of Telecom, Lis", "$5.15", "", "-1", _getTimeLeft(17,18,50) , _genItemLink(400086668127, binIcon) , 2, "", "true" ); _item8("380151605584 ", "OPTICAL ILLUSIONS PLAYING CARDS NEW SEALED", "$7.00", "", "-1", _getTimeLeft(17,20,37) , _genItemLink(380151605584, binIcon) , 2, "", "true" ); _item8("350281920439 ", "SuperVisions: Impossible Optical Illusions, Al Seckel, ", "$5.99", "", "-1", _getTimeLeft(18,00,40) , _genItemLink(350281920439, binIcon) , 2, "", "true" ); _item8("140361393741 ", "The Fantastic World of Optical Illusions, Al Seckel, Go", "$7.03", "", "-1", _getTimeLeft(18,03,20) , _genItemLink(140361393741, binIcon) , 0, "", "true" ); _item8("190351409712 ", "Mind's Eye - Optical Illusions Kit - Eye, Brain 3-D", "$69.95", "", "-1", _getTimeLeft(18,06,45) , _genItemLink(190351409712, binIcon) , 2, "", "true" ); _item8("170409931557 ", "SuperVisions: Action Optical Illusions (Super Visions)", "$3.50", "", "-1", _getTimeLeft(18,19,23) , _genItemLink(170409931557, binIcon) , 2, "", "true" ); _item8("180435530108 ", "Optical Illusions (Puffin Factfinders) Duncan Muir/Paul", "$2.00", "", "-1", _getTimeLeft(18,19,26) , _genItemLink(180435530108, binIcon) , 2, "", "true" ); _item8("180435532224 ", "Eye Can't Believe It: Incredible Optical Illusions Edit", "$2.00", "", "-1", _getTimeLeft(18,19,29) , _genItemLink(180435532224, binIcon) , 2, "", "true" ); _item8("140361566899 ", "OPTICAL ILLUSIONS AND OTHER PUZZLES, Jerry & BOTERMANS,", "$10.76", "", "-1", _getTimeLeft(19,01,02) , _genItemLink(140361566899, binIcon) , 0, "", "true" ); _item8("270488936107 ", "Little Giant Book Of Optical Illusions by Keith Kay ...", "$1.50", "", "-1", _getTimeLeft(19,09,16) , _genItemLink(270488936107, binIcon) , 2, "", "true" ); _item8("330362314585 ", "The Ultimate Book of Optical Illusions by Al Seckel", "$10.50", "", "-1", _getTimeLeft(19,15,45) , _genItemLink(330362314585, binIcon) , 2, "", "true" ); _item8("300369797429 ", "Amazing Optical Illusions", "$10.75", "", "-1", _getTimeLeft(19,18,01) , _genItemLink(300369797429, binIcon) , 2, "", "true" ); _item8("140361778642 ", "The Fantastic World of Optical Illusions, Al Seckel, Go", "$7.03", "", "-1", _getTimeLeft(19,21,58) , _genItemLink(140361778642, binIcon) , 0, "", "true" ); _item8("380171064153 ", "NEW Super Visions: Action Optical Illusions - Al Seckel", "$5.99", "", "-1", _getTimeLeft(20,04,39) , _genItemLink(380171064153, binIcon) , 2, "", "true" ); _item8("330370926479 ", "Impossible Objects: Amazing Optical Illusions to Confou", "$5.50", "", "-1", _getTimeLeft(20,04,48) , _genItemLink(330370926479, binIcon) , 2, "", "true" ); _item8("320452854023 ", "Triad Optical Illusions Harry Turner 0486235491 (1978)", "$2.50", "", "-1", _getTimeLeft(20,12,33) , _genItemLink(320452854023, binIcon) , 2, "", "true" ); _item8("120497075577 ", "Big Book of Optical Illusions: Over 200 Original Decept", "$5.99", "", "-1", _getTimeLeft(20,19,43) , _genItemLink(120497075577, binIcon) , 0, "", "true" ); _item8("260511736795 ", "The Great Book of Optical Illusions", "$1.00", "", "-1", _getTimeLeft(20,21,58) , _genItemLink(260511736795, binIcon) , 2, "", "true" ); _item8("370250564387 ", "Optical Illusions (Taschen Special) by Bruno Ernst", "$6.49", "", "-1", _getTimeLeft(21,06,20) , _genItemLink(370250564387, binIcon) , 0, "", "true" ); _item8("350283636883 ", "NEW The Mighty Big Book of Optical Illusions - Craig...", "$5.99", "", "-1", _getTimeLeft(21,06,27) , _genItemLink(350283636883, binIcon) , 2, "", "true" ); _item8("350244848506 ", "NEW Optical Illusions - Kay, Keith ...", "$5.99", "", "-1", _getTimeLeft(21,21,04) , _genItemLink(350244848506, binIcon) , 2, "", "true" ); _item8("330363068541 ", "SuperVisions: Impossible Optical Illusions by Al Seckel", "$5.95", "", "-1", _getTimeLeft(22,04,49) , _genItemLink(330363068541, binIcon) , 2, "", "true" ); _item8("300370804943 ", "Action Optical Illusions", "$5.95", "", "-1", _getTimeLeft(22,10,26) , _genItemLink(300370804943, binIcon) , 2, "", "true" ); _item8("330363122953 ", "More Optical Illusions (Illusion Works) by Al Seckel", "$12.95", "", "-1", _getTimeLeft(22,10,59) , _genItemLink(330363122953, binIcon) , 2, "", "true" ); _item8("280429040263 ", "What Are You Looking At?: Over 250 Optical Illusions &a", "$17.21", "", "-1", _getTimeLeft(22,17,30) , _genItemLink(280429040263, binIcon) , 2, "", "true" ); _item8("220500771749 ", "World's Best Optical Illusions by Charles H. Paraquin", "$1.49", "", "-1", _getTimeLeft(22,18,45) , _genItemLink(220500771749, binIcon) , 2, "", "true" ); _item8("110462200881 ", "Optical Illusions (Taschen Special), Bruno Ernst, Good ", "$5.00", "", "-1", _getTimeLeft(22,20,55) , _genItemLink(110462200881, binIcon) , 0, "", "true" ); _item8("400087758700 ", "Optical Illusions (Taschen Special), Bruno Ernst, Very ", "$5.00", "", "-1", _getTimeLeft(22,20,55) , _genItemLink(400087758700, binIcon) , 0, "", "true" ); _item8("180425241652 ", "Great Book of Optical Illusions by Al Seckel (2005, ...", "$4.99", "", "-1", _getTimeLeft(23,22,18) , _genItemLink(180425241652, binIcon) , 2, "", "true" ); _item8("320441298489 ", "The Little Giant Book of Optical Illusions by Kay, Keit", "$4.95", "", "-1", _getTimeLeft(24,00,22) , _genItemLink(320441298489, binIcon) , 0, "", "true" ); _item8("110462724981 ", "Art Of Optical Illusions, Al Seckel USED Good Condition", "$8.86", "", "-1", _getTimeLeft(24,01,35) , _genItemLink(110462724981, binIcon) , 2, "", "true" ); _item8("370297622655 ", "SuperVisions: Action Optical Illusions (Super Visions),", "$6.00", "", "-1", _getTimeLeft(24,10,03) , _genItemLink(370297622655, binIcon) , 2, "", "true" ); _item8("160382024223 ", "SuperVisions: Ambiguous Optical Illusions (Super Vision", "$1.24", "", "-1", _getTimeLeft(24,15,06) , _genItemLink(160382024223, binIcon) , 2, "", "true" ); _item8("330356170992 ", "How to Understand, Enjoy, and Draw Optical Illusions: 3", "$9.50", "", "-1", _getTimeLeft(25,08,02) , _genItemLink(330356170992, binIcon) , 0, "", "true" ); _item8("270353015828 ", "IMPOSSIBLE OBJECTS Amazing Optical Illusions", "$3.95", "", "-1", _getTimeLeft(26,03,06) , _genItemLink(270353015828, binIcon) , 2, "", "true" ); _footer(_disclaimer8); } document.write(_getSniplet());