var isEKStore=false; var IMAGE_SERVER = "http://pics.ebaystatic.com/aw/pics/"; var altPayPal= "This seller accepts PayPal"; var altPbpEligible = "PayPal Buyer Protection Programme "; var textFreeShip = "Postage & Packaging: Free"; var textShipCost = "Postage & Packaging:"; var textShipCalc = ""; 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.co.uk/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.co.uk/"; var disclaimerDomain = "http://pages.ebay.co.uk/"; //var ebayHomeLogoSm = "http://pics.ebaystatic.com/aw/pics/uk/editorkit/help/MrktPlcLogoStrspnt_85x35.gif"; //var ebayHomeLogoMd = "http://pics.ebaystatic.com/aw/pics/uk/editorkit/help/MrktPlcLogoStrspnt_108x45.gif"; //var ebayHomeLogoLg = "http://pics.ebaystatic.com/aw/pics/uk/editorkit/help/MrktPlcLogoLtrspnt_144x59.gif"; var ebayHomeLogoSm = "http://pics.ebaystatic.com/aw/pics/uk/api/MrktPlcLogoStrspnt_83x35.gif"; var ebayHomeLogoMd = "http://pics.ebaystatic.com/aw/pics/uk/api/MrktPlcLogoStrspnt_108x45.gif"; var ebayHomeLogoLg = "http://pics.ebaystatic.com/aw/pics/uk/api/MrktPlcLogoLtrspnt_144x59.gif"; var searchLink = "http://shop.ebay.co.uk?_nkw=4x4&_sacat=2562&_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 = 116; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = '4x4 RC Model Cars in the UK'; //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= "5335954420"; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = "4x4uk"; var ekWidth = "570"; var ekQuery = "4x4"; var ekSearchURL_Base ="http://shop.ebay.co.uk"; var ekSearchURL_Full ="http://shop.ebay.co.uk/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 ="3"; var isRover=true; var roverDomain = "http://rover.ebay.com/rover/"; var roverDataSegment = "710-53481-19255-0"; var roverSID = "4x4uk"; var roverPID = "5335954420"; 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/uk/editorkit/hotlist/logoRightNowOn_57x35.gif"; logoArr[2]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/logoRightNowOn_75x45.gif"; logoArr[1]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/logoRightNowOn_98x59.gif"; logoArr[7]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrBubbleLogo_118x58.gif"; hdrArr[5]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrBubbleTiled_305x88.gif"; logoArr[6]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrStarLogo_118x58.gif"; hdrArr[4]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrStarTiled_305x88.gif"; logoArr[10]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrCDLogo_118x58.gif"; hdrArr[8]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrCDTiled_305x88.gif"; logoArr[12]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrElectronicLogo_118x58.gif"; hdrArr[10]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrElectronicTiled_305x88.gif"; logoArr[4]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrFootballLogo_118x58.gif"; hdrArr[2]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrFootballTiled_305x88.gif"; logoArr[8]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrBtnLogo_118x58.gif"; hdrArr[6]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrBtnTiled_305x88.gif"; logoArr[5]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrGameLogo_118x58.gif"; hdrArr[3]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrGameTiled_305x88.gif"; logoArr[13]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrMusicLogo_118x58.gif"; hdrArr[11]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrMusicTiled_305x88.gif"; logoArr[11]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrHouseLogo_118x58.gif"; hdrArr[9]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrHouseTiled_305x88.gif"; logoArr[9]="http://pics.ebaystatic.com/aw/pics/uk/editorkit/hotlist/hdrRedLogo_118x58.gif"; hdrArr[7]="http://pics.ebaystatic.com/aw/pics/uk/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("290363648854 ", "Mini Remote Radio Control RC 4x4 Racing Car Kids Toy", "£8.53", "", "-1", _getTimeLeft(0,8,14) , _genItemLink(290363648854, binIcon) , 2, "true", "true" ); _item8("400081459657 ", "Radio Remote Control RC 4x4 Cross-Country Convoy Truck", "£12.76", "", "-1", _getTimeLeft(0,9,02) , _genItemLink(400081459657, binIcon) , 2, "true", "true" ); _item8("350270231465 ", "Camouflage Humvee Army Radio Control Racing 4x4 Toy Car", "£14.05", "", "-1", _getTimeLeft(0,12,10) , _genItemLink(350270231465, binIcon) , 2, "true", "true" ); _item8("110458021788 ", "Rare Vintage 4x4 Kyosho Burns RC Nitro Car", "£110.00", "", "-1", _getTimeLeft(0,17,16) , 0, 2, "", "true" ); _item8("300361086109 ", "Radio Remote Control RC 4x4 Cross-Country Convoy Truck", "£12.75", "", "-1", _getTimeLeft(0,19,14) , _genItemLink(300361086109, binIcon) , 2, "true", "true" ); _item8("380180641650 ", "HUGE RC RADIO REMOTE CONTROL HUMMER 4X4 OFF ROAD TRUCK", "£49.99", "", "-1", _getTimeLeft(0,20,16) , 0, 2, "true", "true" ); _item8("190349967958 ", "UKayed Audi Q7 4x4 Radio Controlled Car in Red", "£29.99", "", "-1", _getTimeLeft(1,00,03) , _genItemLink(190349967958, binIcon) , 2, "true", "true" ); _item8("330379905994 ", "REMOTE RADIO CONTROL HUMMER 4X4 OFF ROAD JEEP TRUCK CAR", "£35.99", "", "-1", _getTimeLeft(1,01,37) , 0, 2, "true", "true" ); _item8("250520674656 ", "HPI Nitro Monster King 4x4 RTR Combo", "£203.00", "", "-1", _getTimeLeft(1,06,41) , _genItemLink(250520674656, binIcon) , 2, "true", "true" ); _item8("390110958016 ", "HPI Nitro Monster King 4x4 RTR", "£179.00", "", "-1", _getTimeLeft(1,06,42) , _genItemLink(390110958016, binIcon) , 2, "true", "true" ); _item8("150390637872 ", "M585 AMPHIBIOUS 4x4 Chariot Battle Tank RC BB Bullet", "£14.99", "", "-1", _getTimeLeft(1,12,11) , 0, 2, "true", "true" ); _item8("280426128655 ", "jeep 4x4 beetle buggy radio controlled new xmas ", "£0.99", "", "-1", _getTimeLeft(1,13,50) , 1, 2, "true", "true" ); _item8("200407979809 ", "SAVAGE 21 NITRO 4X4/radio controlled/ petrol car/4x4", "£80.00", "", "-1", _getTimeLeft(1,13,53) , 7, 2, "true", "true" ); _item8("300368894466 ", "Radio Remote Control RC 4x4 Cross-Country Convoy Truck", "£13.07", "", "-1", _getTimeLeft(1,14,16) , 0, 2, "true", "true" ); _item8("170409991986 ", "4X4 extreme r/c car", "£7.50", "", "-1", _getTimeLeft(1,15,58) , 0, 2, "true", "true" ); _item8("380180974661 ", "HUGE RC RADIO REMOTE CONTROL HUMMER 4X4 OFF ROAD TRUCK", "£49.99", "", "-1", _getTimeLeft(1,18,15) , 0, 2, "true", "true" ); _item8("380181040312 ", "REMOTE RADIO CONTROL HUMMER 4X4 OFF ROAD JEEP TRUCK CAR", "£35.99", "", "-1", _getTimeLeft(1,21,01) , 0, 2, "true", "true" ); _item8("110451146151 ", "Brand New Remote Control Offroader 4X4 Jeep Style Car", "£5.99", "", "-1", _getTimeLeft(2,15,48) , _genItemLink(110451146151, binIcon) , 2, "true", "true" ); _item8("290364467572 ", "4X4 BRUISER TAMIYA BLUE PRINTS OF HOW TO BUILD THE CAR", "£3.99", "", "-1", _getTimeLeft(2,19,36) , _genItemLink(290364467572, binIcon) , 2, "true", "true" ); _item8("330380439289 ", "REMOTE RADIO CONTROL HUMMER 4X4 OFF ROAD JEEP TRUCK CAR", "£35.99", "", "-1", _getTimeLeft(2,20,29) , 0, 2, "true", "true" ); _item8("130345490055 ", "Nitro Off Road 4x4 petrol truck Spares Repair but works", "£50.00", "", "-1", _getTimeLeft(2,22,33) , 0, 2, "", "true" ); _item8("380181418688 ", "HUGE RC RADIO REMOTE CONTROL HUMMER 4X4 OFF ROAD TRUCK", "£49.99", "", "-1", _getTimeLeft(2,23,00) , 0, 2, "true", "true" ); _item8("140361434362 ", "toyota celica 4x4 2speed nitro car and starter kit", "£100.00", "", "-1", _getTimeLeft(3,02,03) , _genItemLink(140361434362, binIcon) , 2, "", "true" ); _item8("170410787219 ", "Toy Car-Radio Remote Control 4x4 Cross Vehicle 1:32 Red", "£13.49", "", "-1", _getTimeLeft(3,07,08) , 0, 2, "true", "true" ); _item8("260508742499 ", "RC Monster Truck 4x4", "£300.00", "", "-1", _getTimeLeft(3,08,31) , 0, 2, "", "true" ); _item8("220514092778 ", "HSP TYRANNOSAURUS 4X4 NITRO TRUCK WITH STARTER KIT", "£51.00", "", "-1", _getTimeLeft(3,10,40) , 4, 2, "true", "true" ); _item8("220512596404 ", "Tamiya TLT-1 2x Axle (4x4 Jeep Crawler Trial Truck) NIP", "£83.99", "", "-1", _getTimeLeft(3,10,45) , _genItemLink(220512596404, binIcon) , 2, "true", "true" ); _item8("220512601408 ", "Tamiya TLT-1 4x Alu Oil Shock (XC 4x4 Crawler Trial)NIP", "£26.99", "", "-1", _getTimeLeft(3,10,53) , _genItemLink(220512601408, binIcon) , 2, "true", "true" ); _item8("220512601799 ", "Tamiya TLT-1 4x Wheels (XC 4x4 Jeep Crawler Trial) NIP", "£14.99", "", "-1", _getTimeLeft(3,10,55) , _genItemLink(220512601799, binIcon) , 2, "true", "true" ); _item8("220512602568 ", "Tamiya TLT-1 Body Decals (Monster 4x4 Crawler Truck)NIP", "£9.99", "", "-1", _getTimeLeft(3,10,57) , _genItemLink(220512602568, binIcon) , 2, "true", "true" ); _item8("380180230578 ", "HPI SAVAGE X 4.1 4X4 MONSTER TRUCK UPGRADED MINT BOXED", "£250.00", "", "-1", _getTimeLeft(3,18,40) , 0, 2, "true", "true" ); _item8("170408852540 ", " nitro 4x4 monster truck ! REDUCED !", "£92.00", "", "-1", _getTimeLeft(3,20,45) , _genItemLink(170408852540, binIcon) , 2, "", "true" ); _item8("220514342441 ", "nitro monster truck 4x4 team ass", "£1.24", "", "-1", _getTimeLeft(3,21,37) , 3, 2, "", "true" ); _item8("200407748505 ", "RARE TAMIYA TOYOTA 4X4 PICK UP", "£107.69", "", "-1", _getTimeLeft(3,21,39) , 3, 2, "", "true" ); _item8("170411225880 ", "Radio Remote Control RC 4x4 Racing Car Jeep OutRunner", "£13.07", "", "-1", _getTimeLeft(4,07,22) , 0, 2, "true", "true" ); _item8("270490184343 ", "rubicon 4x4 jeep", "£35.00", "", "-1", _getTimeLeft(4,07,55) , _genItemLink(270490184343, binIcon) , 2, "", "true" ); _item8("320452380691 ", "Snake Bite Nitro RC 4x4 electric starter", "£23.31", "", "-1", _getTimeLeft(4,12,07) , 12, 2, "", "true" ); _item8("160381129807 ", "M585 AMPHIBIOUS 4x4 Chariot Battle Tank RC BB Bullet", "£14.99", "", "-1", _getTimeLeft(4,16,51) , 0, 2, "true", "true" ); _item8("120495409171 ", "New Tamiya RC Ford F350 High Lift 4X4 pick up truck ", "£200.00", "", "-1", _getTimeLeft(4,19,13) , 12, 2, "true", "true" ); _item8("230403857468 ", "*DICKIE* RADIO CONT.BIG ATTACK OFFROAD 4X4 TRUCK B/N", "£8.99", "", "-1", _getTimeLeft(4,20,49) , 0, 2, "", "true" ); _item8("230403758181 ", "*Science Museum*MORPHIBIAN 4x4 RadioControl Vehicle B/N", "£19.99", "", "-1", _getTimeLeft(4,20,55) , 0, 0, "", "true" ); _item8("320452909860 ", "Remote Control 4x4 Racing Car", "£20.00", "", "-1", _getTimeLeft(5,11,07) , 0, 2, "", "true" ); _item8("300370718707 ", "Radio Remote Control RC 4x4 Cross-Country Convoy Truck", "£13.07", "", "-1", _getTimeLeft(6,21,16) , 0, 2, "true", "true" ); _item8("390122925097 ", "VOLCANO S30 NITRO Truck 3.0 Engine 4X4 RC Monster R/C", "£109.00", "", "-1", _getTimeLeft(6,21,43) , _genItemLink(390122925097, binIcon) , 2, "true", "true" ); _item8("230402754523 ", "POLICE 4X4 JEEP REMOTE CONTROLLED", "£19.99", "", "-1", _getTimeLeft(7,13,02) , 0, 2, "", "true" ); _item8("230402754573 ", "RASTAR MERCEDES BENZ ML-CLASS REMOTE CONTROL 4X4 BOXED", "£19.99", "", "-1", _getTimeLeft(7,13,02) , 0, 2, "", "true" ); _item8("120496831335 ", "FORD F350 CONCEPT 4X4 PICKUP,MIDNIGHT FLYER CAR JOBLOT ", "£8.99", "", "-1", _getTimeLeft(7,21,06) , _genItemLink(120496831335, binIcon) , 2, "true", "true" ); _item8("320444419412 ", "Radio Controlled 4x4 Earth Mover 1:8", "£49.99", "", "-1", _getTimeLeft(8,23,54) , _genItemLink(320444419412, binIcon) , 2, "true", "true" ); _item8("220516148535 ", "Hot Machine 4x4 Radio Controlled Car", "£5.00", "", "-1", _getTimeLeft(9,20,31) , 0, 2, "true", "true" ); _item8("170411508085 ", "Thunder Tiger 4x4 Truck", "£67.00", "", "-1", _getTimeLeft(9,20,37) , _genItemLink(170411508085, binIcon) , 2, "", "true" ); _item8("230395914652 ", "NEW TAMIYA 1/10 RC Toyota Tundra Highlift 4x4-3SP 58415", "£229.00", "", "-1", _getTimeLeft(10,08,33) , _genItemLink(230395914652, binIcon) , 2, "true", "true" ); _item8("350275301866 ", "Radio Remote Control RC Cross-country 4x4 Racing Car", "£13.07", "", "-1", _getTimeLeft(10,17,16) , _genItemLink(350275301866, binIcon) , 2, "true", "true" ); _item8("230396219796 ", "TAMIYA 1/10 RC 4x4 Ford F-150 Racing Truck w/ESC 58161", "£80.00", "", "-1", _getTimeLeft(10,21,34) , _genItemLink(230396219796, binIcon) , 2, "true", "true" ); _item8("270481013429 ", "TAMIYA 1/10 RC Ford Bronco 1973 4X4 CR-01 Chassis 58436", "£193.00", "", "-1", _getTimeLeft(11,02,06) , _genItemLink(270481013429, binIcon) , 2, "true", "true" ); _item8("250526422682 ", "R/C 4x4 Earth Mover 1:8 scale. Great Xmas/Birthday Gift", "£42.99", "", "-1", _getTimeLeft(11,19,50) , _genItemLink(250526422682, binIcon) , 2, "true", "true" ); _item8("390115680954 ", "Radio Remote Control RC 4x4 Racing Car Jeep OutRunner", "£13.07", "", "-1", _getTimeLeft(12,17,46) , _genItemLink(390115680954, binIcon) , 2, "true", "true" ); _item8("350276556175 ", "Remote Radio Control Cross-Country RC 4x4 Racing Car B", "£13.07", "", "-1", _getTimeLeft(13,17,49) , _genItemLink(350276556175, binIcon) , 2, "true", "true" ); _item8("350277025341 ", "New Radio Remote Control 4x4 Racing Car RC Out-Runner", "£13.07", "", "-1", _getTimeLeft(14,17,50) , _genItemLink(350277025341, binIcon) , 2, "true", "true" ); _item8("270455360599 ", "A585 RC AMPHIBIOUS CHARIOT BB SHOOT TANK 4X4 LAND WATER", "£39.99", "", "-1", _getTimeLeft(16,09,09) , _genItemLink(270455360599, binIcon) , 2, "true", "true" ); _item8("390117296418 ", "New Radio Remote Control 4x4 Racing RC Pickup Truck Van", "£13.07", "", "-1", _getTimeLeft(16,17,55) , _genItemLink(390117296418, binIcon) , 2, "true", "true" ); _item8("160377461120 ", "Nitro Radio Controlled RC Truck 4x4 Ready To Race!", "£169.99", "", "-1", _getTimeLeft(16,19,14) , _genItemLink(160377461120, binIcon) , 0, "true", "true" ); _item8("310181306718 ", "Radio Remote Control RC Cross-country 4x4 Racing Car", "£13.07", "", "-1", _getTimeLeft(17,08,39) , _genItemLink(310181306718, binIcon) , 2, "true", "true" ); _item8("400085007755 ", "Mini Remote Radio Control RC 4x4 Racing Car Kids Toy", "£8.73", "", "-1", _getTimeLeft(17,11,23) , _genItemLink(400085007755, binIcon) , 2, "true", "true" ); _item8("300366411006 ", "Mini Remote Radio Control RC 4x4 Racing Car Kids Toy", "£8.73", "", "-1", _getTimeLeft(17,14,20) , _genItemLink(300366411006, binIcon) , 2, "true", "true" ); _item8("350278345356 ", "Mini Remote Radio Control RC 4x4 Racing Car Kids Toy", "£8.73", "", "-1", _getTimeLeft(17,17,39) , _genItemLink(350278345356, binIcon) , 2, "true", "true" ); _item8("390117782148 ", "Radio Remote Control RC 4x4 Cross-Country Convoy Truck", "£13.07", "", "-1", _getTimeLeft(17,17,57) , _genItemLink(390117782148, binIcon) , 2, "true", "true" ); _item8("310181461660 ", "Mini Remote Radio Control RC 4x4 Racing Car Kids Toy", "£8.73", "", "-1", _getTimeLeft(17,20,55) , _genItemLink(310181461660, binIcon) , 2, "true", "true" ); _item8("400085187690 ", "Mini Remote Radio Control RC 4x4 Racing Car Kids Toy", "£8.73", "", "-1", _getTimeLeft(18,06,47) , _genItemLink(400085187690, binIcon) , 2, "true", "true" ); _item8("110352326125 ", "Neu 1:6 4WD Smartech Thunderbolt 4x4 RTR black body", "£599.90", "", "-1", _getTimeLeft(18,08,36) , _genItemLink(110352326125, binIcon) , 2, "true", "true" ); _item8("140301880467 ", "Neu 1:6 4WD Smartech Thunderbolt 4x4 RTR blue/black", "£599.90", "", "-1", _getTimeLeft(18,08,36) , _genItemLink(140301880467, binIcon) , 2, "true", "true" ); _item8("110352326169 ", "Neu 1:6 4WD Smartech Thunderbolt 4x4 RTR white body", "£599.90", "", "-1", _getTimeLeft(18,08,36) , _genItemLink(110352326169, binIcon) , 2, "true", "true" ); _item8("310181643241 ", "Radio Remote Control RC 4x4 Racing Car Jeep OutRunner", "£13.07", "", "-1", _getTimeLeft(18,16,22) , _genItemLink(310181643241, binIcon) , 2, "true", "true" ); _item8("290370036083 ", "Camouflage Humvee Army Radio Control Racing 4x4 Toy Car", "£13.73", "", "-1", _getTimeLeft(19,06,27) , _genItemLink(290370036083, binIcon) , 2, "true", "true" ); _item8("400085378906 ", "Toy Car-Radio Remote Control 4x4 Cross Vehicle 1:32 Red", "£13.49", "", "-1", _getTimeLeft(19,07,29) , _genItemLink(400085378906, binIcon) , 2, "true", "true" ); _item8("310181929178 ", "Remote Radio Control Cross-Country RC 4x4 Racing Car B", "£13.07", "", "-1", _getTimeLeft(19,20,42) , _genItemLink(310181929178, binIcon) , 2, "true", "true" ); _item8("310182086748 ", "New Radio Remote Control 4x4 Racing Car RC Out-Runner", "£13.07", "", "-1", _getTimeLeft(20,15,39) , _genItemLink(310182086748, binIcon) , 2, "true", "true" ); _item8("260507507731 ", "Science Museum MORPHIBIAN 4X4 RC Land & Water Vehicle", "£19.99", "", "-1", _getTimeLeft(20,22,37) , _genItemLink(260507507731, binIcon) , 2, "true", "true" ); _item8("310182314103 ", "New Radio Remote Control 4x4 Racing RC Pickup Truck Van", "£13.07", "", "-1", _getTimeLeft(21,11,28) , _genItemLink(310182314103, binIcon) , 2, "true", "true" ); _item8("300368147682 ", "Boy Radio Control 4X4 Crusier Car 27Mhz big wheels", "£7.00", "", "-1", _getTimeLeft(22,13,49) , _genItemLink(300368147682, binIcon) , 2, "", "true" ); _item8("310182652967 ", "Radio Remote Control RC 4x4 Cross-Country Convoy Truck", "£13.07", "", "-1", _getTimeLeft(22,18,50) , _genItemLink(310182652967, binIcon) , 2, "true", "true" ); _item8("290371799853 ", "Radio Remote Control RC Cross-country 4x4 Racing Car", "£13.07", "", "-1", _getTimeLeft(23,22,38) , _genItemLink(290371799853, binIcon) , 2, "true", "true" ); _item8("400086364160 ", "Radio Remote Control RC Cross-country 4x4 Racing Car", "£13.07", "", "-1", _getTimeLeft(23,23,42) , _genItemLink(400086364160, binIcon) , 2, "true", "true" ); _item8("300369032783 ", "Radio Remote Control RC 4x4 Racing Car Jeep OutRunner", "£13.07", "", "-1", _getTimeLeft(24,20,27) , _genItemLink(300369032783, binIcon) , 2, "true", "true" ); _item8("180435045536 ", "Radio Remote Control RC 4x4 Racing Car Jeep OutRunner", "£13.07", "", "-1", _getTimeLeft(25,08,20) , _genItemLink(180435045536, binIcon) , 2, "true", "true" ); _item8("290372341860 ", "Radio Remote Control RC Cross-country 4x4 Racing Car", "£13.07", "", "-1", _getTimeLeft(25,14,19) , _genItemLink(290372341860, binIcon) , 2, "true", "true" ); _item8("290372459649 ", "Remote Radio Control Cross-Country RC 4x4 Racing Car B", "£13.07", "", "-1", _getTimeLeft(25,19,57) , _genItemLink(290372459649, binIcon) , 2, "true", "true" ); _item8("170409741923 ", "Radio Remote Control RC Cross-country 4x4 Racing Car", "£13.07", "", "-1", _getTimeLeft(25,22,24) , _genItemLink(170409741923, binIcon) , 2, "true", "true" ); _item8("200408584162 ", "HSP XSTR 4WD RC OFF-ROAD BUGGY 4X4 rc car BLUE", "£84.99", "", "-1", _getTimeLeft(25,23,03) , _genItemLink(200408584162, binIcon) , 2, "true", "true" ); _item8("290372624578 ", "Toy Car-Radio Remote Control 4x4 Cross Vehicle 1:32 Red", "£13.48", "", "-1", _getTimeLeft(26,10,20) , _genItemLink(290372624578, binIcon) , 2, "true", "true" ); _item8("400086851475 ", "Remote Radio Control Cross-Country RC 4x4 Racing Car B", "£13.07", "", "-1", _getTimeLeft(26,11,33) , _genItemLink(400086851475, binIcon) , 2, "true", "true" ); _item8("170409915414 ", "Radio Remote Control RC 4x4 Racing Car Jeep OutRunner", "£13.07", "", "-1", _getTimeLeft(26,12,19) , _genItemLink(170409915414, binIcon) , 2, "true", "true" ); _item8("290372659408 ", "New Radio Remote Control 4x4 Racing Car RC Out-Runner", "£13.07", "", "-1", _getTimeLeft(26,13,09) , _genItemLink(290372659408, binIcon) , 2, "true", "true" ); _item8("300369625305 ", "Radio Remote Control RC 4x4 Racing Car Jeep OutRunner", "£13.07", "", "-1", _getTimeLeft(26,20,01) , _genItemLink(300369625305, binIcon) , 2, "true", "true" ); _item8("300369853588 ", "New Radio Remote Control 4x4 Racing RC Pickup Truck Van", "£13.07", "", "-1", _getTimeLeft(27,14,56) , _genItemLink(300369853588, binIcon) , 2, "true", "true" ); _item8("110460890454 ", "New Radio Remote Control 4x4 Racing Car RC Out-Runner", "£13.07", "", "-1", _getTimeLeft(27,15,29) , _genItemLink(110460890454, binIcon) , 2, "true", "true" ); _item8("400087137891 ", "Remote Radio Control Cross-Country RC 4x4 Racing Car B", "£13.07", "", "-1", _getTimeLeft(27,16,57) , _genItemLink(400087137891, binIcon) , 2, "true", "true" ); _item8("170410810222 ", "New Radio Remote Control 4x4 Racing Car RC Out-Runner", "£13.07", "", "-1", _getTimeLeft(28,09,03) , _genItemLink(170410810222, binIcon) , 2, "true", "true" ); _item8("400087295490 ", "New Radio Remote Control 4x4 Racing RC Pickup Truck Van", "£13.07", "", "-1", _getTimeLeft(28,10,05) , _genItemLink(400087295490, binIcon) , 2, "true", "true" ); _item8("300370372385 ", "Radio Remote Control RC 4x4 Cross-Country Convoy Truck", "£13.07", "", "-1", _getTimeLeft(28,20,02) , _genItemLink(300370372385, binIcon) , 2, "true", "true" ); _item8("400087488874 ", "New Radio Remote Control 4x4 Racing RC Pickup Truck Van", "£13.07", "", "-1", _getTimeLeft(29,07,03) , _genItemLink(400087488874, binIcon) , 2, "true", "true" ); _footer(_disclaimer8); } document.write(_getSniplet());