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=earth+friendly&_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 = 234; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = 'Earth Friendly Products'; //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 = "Earth Friendly"; var ekWidth = "570"; var ekQuery = "earth friendly"; 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 = "Earth Friendly"; 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("180439038737 ", "Green EArth Friendly Carry All Tote Purse Handbag Reuse", "$22.45", "", "-1", _getTimeLeft(0,9,21) , _genItemLink(180439038737, binIcon) , 2, "", "true" ); _item8("260500552510 ", "NEW YORK 2010 CALENDAR EARTH FRIENDLY", "$7.99", "", "-1", _getTimeLeft(0,11,04) , _genItemLink(260500552510, binIcon) , 2, "", "true" ); _item8("230405803240 ", "NEW Earth Friendly Green Toys Tea Set 2 DAYS SHIP", "$12.99", "", "-1", _getTimeLeft(0,15,04) , _genItemLink(230405803240, binIcon) , 2, "", "true" ); _item8("320454008004 ", "Ecolution Shopping Bag Hemp Earth Friendly Reusable", "$5.99", "", "-1", _getTimeLeft(0,16,07) , 0, 2, "", "true" ); _item8("260500808429 ", "Earth-Friendly ( go green) Reusable Tote Bag ", "$11.95", "", "-1", _getTimeLeft(0,20,00) , _genItemLink(260500808429, binIcon) , 2, "", "true" ); _item8("140362888919 ", "Roy Toy Earth Friendly Deluxe Building Set 250 pc.", "$38.95", "", "-1", _getTimeLeft(0,20,29) , _genItemLink(140362888919, binIcon) , 2, "", "true" ); _item8("190352852248 ", "Earth Friendly Starshades-star hanging lamps (Set of 3)", "$11.99", "", "-1", _getTimeLeft(0,21,24) , 0, 2, "", "true" ); _item8("150392221884 ", "Earth Pan II Eco-Friendly 8" Skillet Terra Cotta", "$19.95", "", "-1", _getTimeLeft(0,21,30) , _genItemLink(150392221884, binIcon) , 2, "", "true" ); _item8("160381683674 ", "Earth Pan II Eco-Friendly 10" Skillet in Terra Cotta", "$24.95", "", "-1", _getTimeLeft(0,21,30) , _genItemLink(160381683674, binIcon) , 2, "", "true" ); _item8("400087885241 ", "Earth Pan II Eco-Friendly 12" Skillet in Terra Cotta", "$29.95", "", "-1", _getTimeLeft(0,21,30) , _genItemLink(400087885241, binIcon) , 2, "", "true" ); _item8("160381683695 ", "Earth Pan II Eco-Friendly 11" Griddle Terra Cotta", "$29.95", "", "-1", _getTimeLeft(0,21,30) , _genItemLink(160381683695, binIcon) , 2, "", "true" ); _item8("400087885263 ", "Earth Pan II Eco-Friendly 8" Skillet in Espresso", "$19.95", "", "-1", _getTimeLeft(0,21,30) , _genItemLink(400087885263, binIcon) , 2, "", "true" ); _item8("160381683711 ", "Earth Pan II Eco-Friendly 10" Skillet in Espresso", "$24.95", "", "-1", _getTimeLeft(0,21,30) , _genItemLink(160381683711, binIcon) , 2, "", "true" ); _item8("150392221948 ", "Earth Pan II Eco-Friendly 11" Square Griddle Espresso", "$29.95", "", "-1", _getTimeLeft(0,21,30) , _genItemLink(150392221948, binIcon) , 2, "", "true" ); _item8("260513262333 ", "Levis Organic Cotton Earth Friendly Jeans 12 Regular", "$7.99", "", "-1", _getTimeLeft(0,23,53) , 1, 2, "", "true" ); _item8("350276983299 ", ""Recycle" Earth Friendly Goin Green Tshirt", "$9.99", "", "-1", _getTimeLeft(1,00,54) , 0, 2, "", "true" ); _item8("300371173061 ", "THINK GREEN EARTH FRIENDLY 9MM ITALIAN PHOTO CHARM", "$4.95", "", "-1", _getTimeLeft(1,02,24) , 0, 2, "", "true" ); _item8("130346841121 ", "Ecotool Earth Friendly Brow Kit", "$6.00", "", "-1", _getTimeLeft(1,13,15) , _genItemLink(130346841121, binIcon) , 2, "", "true" ); _item8("180437930006 ", "Green EArth Friendly Carry All Tote Purse Handbag Reuse", "$22.45", "", "-1", _getTimeLeft(1,16,23) , _genItemLink(180437930006, binIcon) , 2, "", "true" ); _item8("190352304396 ", "3 1/4 STEP TEE / BIG HEAD by EZ-Tees / Earth Friendly", "$3.50", "", "-1", _getTimeLeft(1,17,22) , _genItemLink(190352304396, binIcon) , 2, "", "true" ); _item8("360204584538 ", "Mutts Organic Earth friendly / Cami & bikini Set medium", "$9.99", "", "-1", _getTimeLeft(1,19,27) , _genItemLink(360204584538, binIcon) , 2, "", "true" ); _item8("360204585857 ", "Mutts Organic Earth friendly / Cami & brief Set~ Small", "$7.59", "", "-1", _getTimeLeft(1,19,32) , _genItemLink(360204585857, binIcon) , 2, "", "true" ); _item8("390114226210 ", "Mutts Organic Earth friendly boy brief & bikini medium", "$7.99", "", "-1", _getTimeLeft(1,19,52) , _genItemLink(390114226210, binIcon) , 2, "", "true" ); _item8("230403300758 ", "6" - 4" EARTH FRIENDLY, ECO spa covers / hot tub covers", "$293.88", "", "-1", _getTimeLeft(1,22,54) , _genItemLink(230403300758, binIcon) , 2, "", "true" ); _item8("290366539483 ", "Earth-Friendly Crafts for Kids: 50 Awesome Things to Ma", "$5.53", "", "-1", _getTimeLeft(1,23,09) , _genItemLink(290366539483, binIcon) , 2, "", "true" ); _item8("160382056982 ", "Gorgeously Green Uliano earth friendly vegan vegetaria ", "$3.00", "", "-1", _getTimeLeft(2,08,43) , 0, 2, "", "true" ); _item8("260424482707 ", "Earth Friendly Products All Natural Spray Starch, 32oz", "$3.25", "", "-1", _getTimeLeft(2,09,52) , _genItemLink(260424482707, binIcon) , 2, "", "true" ); _item8("290375121882 ", "Bear Organic Stuffed Animal Child Play Earth Friendly", "$68.82", "", "-1", _getTimeLeft(2,21,36) , _genItemLink(290375121882, binIcon) , 2, "", "true" ); _item8("300371812189 ", "Cow Organic Stuffed Animal Child Play Earth Friendly", "$68.83", "", "-1", _getTimeLeft(2,21,37) , _genItemLink(300371812189, binIcon) , 2, "", "true" ); _item8("280430354899 ", "Elephant Organic Stuffed Animal Kid Play Earth Friendly", "$68.82", "", "-1", _getTimeLeft(2,21,37) , _genItemLink(280430354899, binIcon) , 2, "", "true" ); _item8("290375121933 ", "Elephant Organic Stuffed Animal Kid Play Earth Friendly", "$59.52", "", "-1", _getTimeLeft(2,21,37) , _genItemLink(290375121933, binIcon) , 2, "", "true" ); _item8("230406760594 ", "Earth Friendly Ice Melting Compound, 6.5 lb - New", "$0.99", "", "-1", _getTimeLeft(2,22,04) , 0, 2, "", "true" ); _item8("270315632178 ", "Earth-friendly Tote Bag For Aquasana Glass Water Bottle", "$16.00", "", "-1", _getTimeLeft(2,22,19) , _genItemLink(270315632178, binIcon) , 2, "", "true" ); _item8("270315633005 ", "Earth-friendly Tote Bag For Aquasana Glass Water Bottle", "$23.00", "", "-1", _getTimeLeft(2,22,21) , _genItemLink(270315633005, binIcon) , 2, "", "true" ); _item8("370285751524 ", "The Green Bride Guide: How to Create an Earth-Friendly ", "$11.99", "", "-1", _getTimeLeft(3,00,51) , _genItemLink(370285751524, binIcon) , 0, "", "true" ); _item8("300371847464 ", "THINK GREEN EARTH FRIENDLY 9MM ITALIAN PHOTO CHARM", "$4.95", "", "-1", _getTimeLeft(3,01,23) , 0, 2, "", "true" ); _item8("170403155191 ", "It's Easy Being Green: A Handbook for Earth-Friendly Li", "$5.15", "", "-1", _getTimeLeft(3,07,42) , _genItemLink(170403155191, binIcon) , 2, "", "true" ); _item8("260473133674 ", "Eco Glue The Earth Friendly Power Glue", "$6.54", "", "-1", _getTimeLeft(3,08,42) , _genItemLink(260473133674, binIcon) , 2, "", "true" ); _item8("170413126583 ", "SHORTCUT COOKING - EARTH-FRIENDLY ENERGY SAVING COOKBK", "$3.85", "", "-1", _getTimeLeft(3,13,30) , 0, 2, "", "true" ); _item8("330374735875 ", "Green Toys Tea Set NEW NIB Earth Friendly! Eco Friendly", "$22.94", "", "-1", _getTimeLeft(3,18,27) , _genItemLink(330374735875, binIcon) , 2, "", "true" ); _item8("380129992457 ", "THINK GREEN EARTH FRIENDLY 9MM ITALIAN PHOTO CHARM", "$4.95", "", "-1", _getTimeLeft(3,18,59) , _genItemLink(380129992457, binIcon) , 2, "", "true" ); _item8("270342087465 ", "Earth-friendly Aquasana Glass Water Bottles-6 Pack", "$23.96", "", "-1", _getTimeLeft(3,22,24) , _genItemLink(270342087465, binIcon) , 2, "", "true" ); _item8("370295554484 ", "6" - 4" EARTH FRIENDLY, ECO spa covers / hot tub covers", "$293.88", "", "-1", _getTimeLeft(3,22,54) , _genItemLink(370295554484, binIcon) , 2, "", "true" ); _item8("170413335889 ", "NEW NIB FAO SCHWARZ FACE WOOD PUZZLE EARTH FRIENDLY ", "$0.99", "", "-1", _getTimeLeft(4,00,09) , 0, 2, "", "true" ); _item8("370213088530 ", "Earth Friendly Products Hand Soap 6 (17oz) bottles", "$39.00", "", "-1", _getTimeLeft(4,01,09) , _genItemLink(370213088530, binIcon) , 2, "", "true" ); _item8("370213089234 ", "Earth Friendly Products Hand Soap 6 (17oz) bottles", "$39.00", "", "-1", _getTimeLeft(4,01,13) , _genItemLink(370213089234, binIcon) , 2, "", "true" ); _item8("260502506838 ", "Feathering the Nest: Tracy Hutson's Earth-Friendly Guid", "$22.46", "", "-1", _getTimeLeft(4,06,05) , _genItemLink(260502506838, binIcon) , 0, "", "true" ); _item8("110463749387 ", "ECO Friendly The Earth Collection 100% cotton RAGBAG s", "$9.99", "", "-1", _getTimeLeft(4,11,02) , 0, 2, "", "true" ); _item8("110443150762 ", "NEW EVA Earth Friendly White Shower Stall Liner 11801", "$9.97", "", "-1", _getTimeLeft(4,11,20) , _genItemLink(110443150762, binIcon) , 2, "", "true" ); _item8("350276983513 ", ""Recycle" Earth Friendly Goin Green Tshirt", "$9.99", "", "-1", _getTimeLeft(4,12,53) , 0, 2, "", "true" ); _item8("110463922389 ", "ECO Friendly The Earth Collection cotton baby toy", "$5.00", "", "-1", _getTimeLeft(4,16,26) , 0, 2, "", "true" ); _item8("110463922505 ", "ECO Friendly The Earth Collection cotton baby toy", "$5.00", "", "-1", _getTimeLeft(4,16,26) , 0, 2, "", "true" ); _item8("110463922666 ", "ECO Friendly The Earth Collection cotton baby toy", "$5.00", "", "-1", _getTimeLeft(4,16,27) , 0, 2, "", "true" ); _item8("110463922839 ", "ECO Friendly The Earth Collection cotton baby toy", "$5.00", "", "-1", _getTimeLeft(4,16,27) , 0, 2, "", "true" ); _item8("110463923004 ", "ECO Friendly The Earth Collection cotton baby toy", "$5.00", "", "-1", _getTimeLeft(4,16,27) , 0, 2, "", "true" ); _item8("170414599114 ", "Earth Friendly Natural Spa Dish Soap, Pomegranate 2 pk", "$9.99", "", "-1", _getTimeLeft(4,18,24) , 0, 2, "", "true" ); _item8("390125108592 ", "Mutts Organic Earth friendly ~ Boy cut short brief ~ XL", "$5.49", "", "-1", _getTimeLeft(4,20,32) , _genItemLink(390125108592, binIcon) , 2, "", "true" ); _item8("220518928406 ", "EARTH-FRIENDLY REUSABLE TOTE", "$19.95", "", "-1", _getTimeLeft(4,21,10) , 0, 2, "", "true" ); _item8("380175430829 ", "Earth TREE- Standard Garden Flag ECO-FRIENDLY RECYCLE", "$19.25", "", "-1", _getTimeLeft(4,22,32) , _genItemLink(380175430829, binIcon) , 2, "", "true" ); _item8("380175430953 ", "Earth TREE- Garden Flag ECO-FRIENDLY RECYCLED Material", "$10.95", "", "-1", _getTimeLeft(4,22,33) , _genItemLink(380175430953, binIcon) , 2, "", "true" ); _item8("370295554490 ", "6" - 4" EARTH FRIENDLY, ECO spa covers / hot tub covers", "$293.88", "", "-1", _getTimeLeft(4,22,54) , _genItemLink(370295554490, binIcon) , 2, "", "true" ); _item8("380183195193 ", "THINK GREEN EARTH FRIENDLY 9MM ITALIAN PHOTO CHARM", "$4.95", "", "-1", _getTimeLeft(5,02,53) , 0, 2, "", "true" ); _item8("200412294945 ", "Playgreen Natural Wood Earth-Friendly Building Set 100p", "$9.99", "", "-1", _getTimeLeft(5,03,39) , 0, 2, "", "true" ); _item8("230406077601 ", "Earth-Friendly Cloth Holiday Gift Bag Set With Bonus ", "$6.99", "", "-1", _getTimeLeft(5,07,46) , _genItemLink(230406077601, binIcon) , 2, "", "true" ); _item8("300372622875 ", "Dragon Organic Stuffed Animal Child Toy Earth Friendly", "$57.66", "", "-1", _getTimeLeft(5,09,05) , _genItemLink(300372622875, binIcon) , 2, "", "true" ); _item8("300372623637 ", "Cow Organic Stuffed Animal Child Play Earth Friendly", "$59.53", "", "-1", _getTimeLeft(5,09,08) , _genItemLink(300372623637, binIcon) , 2, "", "true" ); _item8("290376040775 ", "EARTH FRIENDLY GIFT BAG Reusable Shopping/Grocery ECO ", "$0.06", "", "-1", _getTimeLeft(5,13,27) , 2, 2, "", "true" ); _item8("220478108600 ", "Earth-Friendly Desert Gardening, Acceptable Books", "$7.48", "", "-1", _getTimeLeft(5,14,53) , _genItemLink(220478108600, binIcon) , 0, "", "true" ); _item8("270372893463 ", "Earth-friendly Aquasana Glass Water Bottles-6 Pack", "$23.96", "", "-1", _getTimeLeft(5,15,40) , _genItemLink(270372893463, binIcon) , 2, "", "true" ); _item8("160376308639 ", "Eco Friendly 6 PC Low Twist Earth Bath Towel Set New ", "$49.99", "", "-1", _getTimeLeft(5,15,59) , _genItemLink(160376308639, binIcon) , 2, "", "true" ); _item8("280332906476 ", "Earth-friendly Aquasana Glass Water Bottles-6 Pack", "$23.96", "", "-1", _getTimeLeft(5,16,08) , _genItemLink(280332906476, binIcon) , 2, "", "true" ); _item8("270372904913 ", "Earth-friendly Aquasana Glass Water Bottles-6 Pack", "$23.96", "", "-1", _getTimeLeft(5,16,08) , _genItemLink(270372904913, binIcon) , 2, "", "true" ); _item8("270372910193 ", "Earth-friendly Aquasana Glass Water Bottle-w/AquaKoozy", "$18.95", "", "-1", _getTimeLeft(5,16,21) , _genItemLink(270372910193, binIcon) , 2, "", "true" ); _item8("280332910340 ", "Earth-friendly Aquasana Glass Water Bottle-w/AquaKoozy", "$18.95", "", "-1", _getTimeLeft(5,16,22) , _genItemLink(280332910340, binIcon) , 2, "", "true" ); _item8("230403300981 ", "6" - 4" EARTH FRIENDLY, ECO spa covers / hot tub covers", "$293.88", "", "-1", _getTimeLeft(5,22,54) , _genItemLink(230403300981, binIcon) , 2, "", "true" ); _item8("270493851416 ", ""Recycle" Earth Friendly Goin Green Tshirt", "$9.99", "", "-1", _getTimeLeft(6,00,03) , 0, 2, "", "true" ); _item8("140364093341 ", "Sun Face T-Shirt Cool Sun & Earth Friendly Tees S-2XL", "$9.99", "", "-1", _getTimeLeft(6,00,05) , 0, 2, "", "true" ); _item8("110455106094 ", "6~ PIECE BAMBOO BRUSH SET BY ECOTOOLS ~ EARTH FRIENDLY", "$19.49", "", "-1", _getTimeLeft(6,02,42) , _genItemLink(110455106094, binIcon) , 2, "", "true" ); _item8("280420792185 ", "It's Easy Being Green: A Handbook for Earth-Friendly Li", "$10.39", "", "-1", _getTimeLeft(6,09,19) , _genItemLink(280420792185, binIcon) , 2, "", "true" ); _item8("260503584442 ", "Go Green: How to Build an Earth-Friendly Community", "$10.39", "", "-1", _getTimeLeft(6,11,52) , _genItemLink(260503584442, binIcon) , 2, "", "true" ); _item8("260503601729 ", "The Earth-Friendly Home: Save Energy, Reduce Consumptio", "$15.96", "", "-1", _getTimeLeft(6,12,22) , _genItemLink(260503601729, binIcon) , 0, "", "true" ); _item8("280420864435 ", "Natural Style: Decorating with an Earth-Friendly Point ", "$15.96", "", "-1", _getTimeLeft(6,12,22) , _genItemLink(280420864435, binIcon) , 0, "", "true" ); _item8("150393780174 ", "Earth Pan II Eco-Friendly 10Pc Cookware Set Terra Cotta", "$149.95", "", "-1", _getTimeLeft(6,13,29) , _genItemLink(150393780174, binIcon) , 2, "", "true" ); _item8("160383260417 ", "Earth Pan II Eco-Friendly 10 Pc Cookware Set Espresso", "$149.95", "", "-1", _getTimeLeft(6,13,29) , _genItemLink(160383260417, binIcon) , 2, "", "true" ); _item8("160383260427 ", "Earth Pan II Eco-Friendly 12" Skillet in Espresso", "$29.95", "", "-1", _getTimeLeft(6,13,29) , _genItemLink(160383260427, binIcon) , 2, "", "true" ); _item8("320456626296 ", "Chico Bag Earth Eco Friendly Reusable Shopping lot 5", "$18.99", "", "-1", _getTimeLeft(6,14,43) , 0, 2, "", "true" ); _item8("260516388561 ", "Earth Friendly Powder Stainless Steel Cookware Cleaner ", "$0.99", "", "-1", _getTimeLeft(6,14,59) , 0, 2, "", "true" ); _item8("370287790757 ", "Raising Baby Green The Earth Friendly Guide", "$5.25", "", "-1", _getTimeLeft(6,19,55) , _genItemLink(370287790757, binIcon) , 2, "", "true" ); _item8("370300165190 ", "Earth Friendly Wave,Organic Lavender Diswashing Gel", "$0.99", "", "-1", _getTimeLeft(6,20,46) , 0, 2, "", "true" ); _item8("230406529824 ", "6" - 4" EARTH FRIENDLY, ECO spa covers / hot tub covers", "$293.88", "", "-1", _getTimeLeft(6,22,54) , _genItemLink(230406529824, binIcon) , 2, "", "true" ); _item8("270482512295 ", "Easy Earth-friendly Crafts in 5 Steps", "$22.25", "", "-1", _getTimeLeft(7,04,43) , _genItemLink(270482512295, binIcon) , 2, "", "true" ); _item8("380117262413 ", "Earth Friendly Products Hardwood Floor Kleener, 22 oz.", "$3.00", "", "-1", _getTimeLeft(7,10,56) , _genItemLink(380117262413, binIcon) , 2, "", "true" ); _item8("380117264222 ", "Earth Friendly Products Shower Kleener, 22 oz", "$2.75", "", "-1", _getTimeLeft(7,11,06) , _genItemLink(380117264222, binIcon) , 2, "", "true" ); _item8("150387520081 ", "6" NATURAL LOOFAH BATHING SPONGE SPA EARTH FRIENDLY NEW", "$4.99", "", "-1", _getTimeLeft(7,11,27) , _genItemLink(150387520081, binIcon) , 2, "", "true" ); _item8("360206285458 ", "CHICO BAG RECYCLE EARTH ECO FRIENDLY RED Christmas !", "$4.99", "", "-1", _getTimeLeft(7,11,27) , _genItemLink(360206285458, binIcon) , 2, "", "true" ); _item8("150387520096 ", "SPA RECYCLED FOOT HAND STONE PUMICE ECO EARTH FRIENDLY", "$4.99", "", "-1", _getTimeLeft(7,11,27) , _genItemLink(150387520096, binIcon) , 2, "", "true" ); _item8("150387520106 ", "NATURAL BAMBOO SPA FOOT FILE EXFOLIATES EARTH FRIENDLY", "$4.99", "", "-1", _getTimeLeft(7,11,27) , _genItemLink(150387520106, binIcon) , 2, "", "true" ); _item8("120490940038 ", "Soy Crayon Rocks earth friendly chemical free crayons", "$5.75", "", "-1", _getTimeLeft(7,11,38) , _genItemLink(120490940038, binIcon) , 2, "", "true" ); _item8("280421350918 ", "Raising Baby Green: The Earth-Friendly Guide to Pregnan", "$13.56", "", "-1", _getTimeLeft(7,12,27) , _genItemLink(280421350918, binIcon) , 2, "", "true" ); _item8("360206337083 ", "It's Easy Being Green Handbook Earth Friendly Living", "$4.88", "", "-1", _getTimeLeft(7,14,13) , _genItemLink(360206337083, binIcon) , 2, "", "true" ); _footer(_disclaimer8); } document.write(_getSniplet());