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 = "#003399"; var borderColor = "#003399"; 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 = "_self"; 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/i.html?_nkw=duratec&_sacat=21654&_sop=2&ht=0"; var tableWidth = 700; 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 = 'Ford Duratec engines and spares for sale'; //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= "5335902630"; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = "mkduratec"; var ekWidth = "700"; var ekQuery = "duratec"; 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 = "mkduratec"; var roverPID = "5335902630"; 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("110488582174 ", "Ford Focus ST170 2003 Duratec 2.0 Ltr Engine", "£375.00", "", "-1", _getTimeLeft(0,3,09) , 27, 2, "true", "true" ); _item8("220525964879 ", "m163 Mondeo MK3 duratec front flexi exhaust pipe", "£20.00", "", "-1", _getTimeLeft(0,3,46) , _genItemLink(220525964879, binIcon) , 2, "true", "true" ); _item8("230423094819 ", "5 Speed Manual Gearbox 05 Reg KA Duratec 12000 miles.", "£90.00", "", "-1", _getTimeLeft(0,4,30) , _genItemLink(230423094819, binIcon) , 2, "true", "true" ); _item8("330400712248 ", "2.0 DURATEC HE ENGINE BLOCK", "£20.00", "", "-1", _getTimeLeft(0,6,08) , 1, 0, "true", "true" ); _item8("190369854365 ", "mondeo breaking door mirror duratec engine ", "£15.00", "", "-1", _getTimeLeft(0,19,31) , 0, 2, "true", "true" ); _item8("360231288351 ", "FORD FIESTA 1.3 DURATEC 02-08 PETROL ENGINE MK6 MK7", "£300.00", "", "-1", _getTimeLeft(0,21,52) , _genItemLink(360231288351, binIcon) , 2, "true", "true" ); _item8("270524619157 ", "FORD FIESTA 05 MODEL 1.25 DURATEC ENGINE 34K MILES", "£295.00", "", "-1", _getTimeLeft(1,00,40) , _genItemLink(270524619157, binIcon) , 2, "true", "true" ); _item8("180456001607 ", "FORD FIESTA 2005 1.25 DURATEC ENGINE 28K CAR BREAKING", "£400.00", "", "-1", _getTimeLeft(1,18,25) , _genItemLink(180456001607, binIcon) , 2, "true", "true" ); _item8("220550418308 ", "2001 MK3 MONDEO 1.8 DURATEC ZETEC BLUE BREAKING", "£0.99", "", "-1", _getTimeLeft(2,00,58) , 0, 2, "", "true" ); _item8("170444230190 ", "FORD Duratec 2.5 V6 Starter Motor ", "£14.99", "", "-1", _getTimeLeft(2,06,03) , _genItemLink(170444230190, binIcon) , 2, "", "true" ); _item8("170444230217 ", "FORD Duratec 2.5 V6 Starter Motor 1996-2001", "£14.99", "", "-1", _getTimeLeft(2,06,03) , _genItemLink(170444230217, binIcon) , 2, "", "true" ); _item8("250576862850 ", "Ford Duratec Crankshaft 2.0Ltr - Fiesta ST", "£90.00", "", "-1", _getTimeLeft(2,06,21) , 0, 2, "true", "true" ); _item8("250576868912 ", "Ford Duratec Cylinder Head - 2.0Ltr Fiesta ST", "£130.00", "", "-1", _getTimeLeft(2,06,33) , 0, 2, "true", "true" ); _item8("170432303016 ", "SPARK PLUGS NGK X4) FORD FUSION (1.4 DURATEC) TR5A-10", "£10.00", "", "-1", _getTimeLeft(2,22,01) , _genItemLink(170432303016, binIcon) , 2, "true", "true" ); _item8("120517954877 ", "SPARK PLUGS (X4) FORD FIESTA ('02-- ) (1.25 DURATEC)", "£10.00", "", "-1", _getTimeLeft(2,22,01) , _genItemLink(120517954877, binIcon) , 2, "true", "true" ); _item8("390143330101 ", "SPARK PLUGS (X4) FORD FOCUS 2.0 DURATEC PLTR6A-10G", "£25.00", "", "-1", _getTimeLeft(2,22,03) , _genItemLink(390143330101, binIcon) , 2, "true", "true" ); _item8("280451386432 ", "GENUINE FORD KA DURATEC 2004 ENGINE 39.5K MILES ONLY", "£495.00", "", "-1", _getTimeLeft(3,00,18) , _genItemLink(280451386432, binIcon) , 2, "true", "true" ); _item8("170432423558 ", "SPARK PLUGS (X4) FORD KA (1.3 DURATEC ROCAM A9A,A9B)", "£10.00", "", "-1", _getTimeLeft(3,03,00) , _genItemLink(170432423558, binIcon) , 2, "true", "true" ); _item8("270528495285 ", "FORD KA 1.3 DURATEC CLOCKS FACIA", "£0.99", "", "-1", _getTimeLeft(3,04,39) , 0, 2, "", "true" ); _item8("170432480874 ", "SPARK PLUGS NGK (X4) FORD STREETKA (1.6 DURATEC ROCAM)", "£10.00", "", "-1", _getTimeLeft(3,04,42) , _genItemLink(170432480874, binIcon) , 2, "true", "true" ); _item8("120518167855 ", "SPARK PLUGS NGK X6 FORD MAVERICK (3.0 DURATEC) PTR5D-13", "£26.00", "", "-1", _getTimeLeft(3,05,02) , _genItemLink(120518167855, binIcon) , 2, "true", "true" ); _item8("120518232163 ", "SPARK PLUGS NGK (X4) FORD SPORTKA (1.6 DURATEC ROCAM)", "£10.00", "", "-1", _getTimeLeft(3,07,42) , _genItemLink(120518232163, binIcon) , 2, "true", "true" ); _item8("120518249217 ", "SPARK PLUGS X4 FORD FIESTA (02- ) (1.3 DURATEC) TR5B-13", "£10.00", "", "-1", _getTimeLeft(3,09,00) , _genItemLink(120518249217, binIcon) , 2, "true", "true" ); _item8("270515559159 ", "MONDEO MK4 1.6 DURATEC 2.3 DURATEC FRONT BRAKE PADS", "£31.54", "", "-1", _getTimeLeft(3,11,12) , _genItemLink(270515559159, binIcon) , 2, "true", "true" ); _item8("280451691800 ", "MONDEO MK4 2.0 TDCI 2.5 DURATEC TURBO REAR BRAKE PADS", "£21.54", "", "-1", _getTimeLeft(3,11,38) , _genItemLink(280451691800, binIcon) , 2, "true", "true" ); _item8("350204295263 ", "Manual Gearbox For A Mondeo 2.5 v6 24v Duratec Engine", "£225.00", "", "-1", _getTimeLeft(3,22,59) , _genItemLink(350204295263, binIcon) , 2, "true", "true" ); _item8("140368028421 ", "FORD Mondeo 2.5 V6 Duratec Engine SEA", "£400.00", "", "-1", _getTimeLeft(4,00,22) , _genItemLink(140368028421, binIcon) , 2, "true", "true" ); _item8("250549600598 ", "Ford Mondeo Mk3 1.8 duratec engine cover", "£19.99", "", "-1", _getTimeLeft(4,00,49) , _genItemLink(250549600598, binIcon) , 2, "true", "true" ); _item8("270527783228 ", "mondeo duratec engine cover (mk3)", "£0.99", "", "-1", _getTimeLeft(4,01,04) , 0, 2, "true", "true" ); _item8("280460996003 ", "ford fiesta 1.4 duratec petrol starter motor", "£4.99", "", "-1", _getTimeLeft(4,05,12) , 0, 2, "true", "true" ); _item8("280460996042 ", "ford fiesta mk6 coilpack 1.4 petrol duratec", "£4.99", "", "-1", _getTimeLeft(4,05,12) , 0, 2, "true", "true" ); _item8("320475365696 ", "mondeo 2.0 duratec crankshaft from a 2004 sport model ", "£100.00", "", "-1", _getTimeLeft(4,06,22) , _genItemLink(320475365696, binIcon) , 2, "true", "true" ); _item8("280452157355 ", "FORD MONDEO MK3 3.0 ST220 DURATEC REAR BRAKE PADS", "£18.86", "", "-1", _getTimeLeft(4,16,02) , _genItemLink(280452157355, binIcon) , 2, "true", "true" ); _item8("270516119062 ", "FORD MONDEO MK2 2-5I ST200 DURATEC FRONT BRAKE PADS", "£11.80", "", "-1", _getTimeLeft(4,16,16) , _genItemLink(270516119062, binIcon) , 2, "true", "true" ); _item8("160387979467 ", "New Clutch Kit For Ford Ka 1.6i Duratec 05-", "£119.00", "", "-1", _getTimeLeft(4,17,18) , _genItemLink(160387979467, binIcon) , 2, "true", "true" ); _item8("160387979476 ", "New Clutch Kit For Ford Ka 1.3i Duratec 02-", "£71.00", "", "-1", _getTimeLeft(4,17,18) , _genItemLink(160387979476, binIcon) , 2, "true", "true" ); _item8("370308027567 ", "New Clutch Kit For Ford Ka 1.3i Duratec 02-", "£119.00", "", "-1", _getTimeLeft(4,17,52) , _genItemLink(370308027567, binIcon) , 2, "true", "true" ); _item8("160395533086 ", "Ford Cougar Mondeo ST200 ST24 Duratec V6 IMRC", "£43.96", "", "-1", _getTimeLeft(4,20,43) , _genItemLink(160395533086, binIcon) , 2, "true", "true" ); _item8("170433252673 ", "FORD FIESTA ALTERNATOR 1.4 DURATEC 2004 OE", "£40.00", "", "-1", _getTimeLeft(5,04,12) , _genItemLink(170433252673, binIcon) , 2, "", "true" ); _item8("160395929865 ", "NEW Ford Mondeo 2.5 EFI Duratec Engine ECU 1013338 (11)", "£150.00", "", "-1", _getTimeLeft(6,01,32) , _genItemLink(160395929865, binIcon) , 2, "true", "true" ); _item8("160395929867 ", "NEW Ford Mondeo 2.5 EFI Duratec Engine ECU 1079802 (8)", "£150.00", "", "-1", _getTimeLeft(6,01,32) , _genItemLink(160395929867, binIcon) , 2, "true", "true" ); _item8("170444164134 ", "FORD COUGAR,MONDEO ST24 2.5 V6 DURATEC COMPLETE ENGINE", "£200.00", "", "-1", _getTimeLeft(6,03,38) , 0, 2, "true", "true" ); _item8("250565753909 ", "Ford Mondeo 1.8 LX 5dr Duratec engine cover", "£19.99", "", "-1", _getTimeLeft(7,00,53) , _genItemLink(250565753909, binIcon) , 2, "true", "true" ); _item8("250565835708 ", "mondeo mk3 2.0 duratec ecu & lock set 1S7F-12A650-DD", "£75.00", "", "-1", _getTimeLeft(7,03,25) , _genItemLink(250565835708, binIcon) , 2, "true", "true" ); _item8("180458626966 ", "FORD FIESTA MK6 DURATEC ALTERNATOR", "£20.00", "", "-1", _getTimeLeft(7,21,14) , _genItemLink(180458626966, binIcon) , 0, "", "true" ); _item8("270528491318 ", "FORD MONDEO NEW ALTERNATOR (B497) Duratec / TDCI", "£50.00", "", "-1", _getTimeLeft(8,04,31) , _genItemLink(270528491318, binIcon) , 2, "true", "true" ); _item8("120520496269 ", "ford v6 duratec 2.5 v6 24 valve dohc engine", "£175.00", "", "-1", _getTimeLeft(8,16,50) , _genItemLink(120520496269, binIcon) , 2, "", "true" ); _item8("390145748185 ", "FORD MONDEO DURATEC HE 1.8L ENGINE 125BHP 41K MILES", "£549.99", "", "-1", _getTimeLeft(8,19,00) , _genItemLink(390145748185, binIcon) , 2, "true", "true" ); _item8("150412783303 ", "Ford Mondeo ST Duratec Decal & Chinese Symbol", "£3.99", "", "-1", _getTimeLeft(8,21,36) , _genItemLink(150412783303, binIcon) , 2, "true", "true" ); _item8("160396932902 ", "AST Ford Fiesta 95-08 Tming Tool Zetec Duratec 16v", "£33.75", "", "-1", _getTimeLeft(9,00,14) , _genItemLink(160396932902, binIcon) , 2, "true", "true" ); _item8("220543778640 ", "M171 Ford Mondeo Mk 3 2000+ top engine mount duratec", "£10.00", "", "-1", _getTimeLeft(9,02,36) , _genItemLink(220543778640, binIcon) , 2, "true", "true" ); _item8("230435437407 ", "Ford 1.8/2.0/2.3 DURATEC INLET manifold flange", "£29.99", "", "-1", _getTimeLeft(9,06,21) , _genItemLink(230435437407, binIcon) , 2, "", "true" ); _item8("390134390297 ", "FORD FIESTA 2002-2006 1.4 DURATEC AIR FILTER BOX ", "£55.00", "", "-1", _getTimeLeft(9,18,39) , _genItemLink(390134390297, binIcon) , 2, "true", "true" ); _item8("220544256615 ", "M181 Ford Mondeo Mk 3 2000 + exhaust manifold duratec", "£30.00", "", "-1", _getTimeLeft(9,23,25) , _genItemLink(220544256615, binIcon) , 2, "true", "true" ); _item8("220544425204 ", "M195 Ford Mondeo Mk 3 2000 + radiator duratec", "£35.00", "", "-1", _getTimeLeft(10,03,58) , _genItemLink(220544425204, binIcon) , 2, "true", "true" ); _item8("390122479664 ", "Ford Fiesta Mk6 ST150 Duratec Stainless Exhaust System", "£350.00", "", "-1", _getTimeLeft(11,05,11) , _genItemLink(390122479664, binIcon) , 2, "true", "true" ); _item8("270519904234 ", "FORD MONDEO 1.8 52 REG DURATEC POWER STEERING PUMP", "£40.00", "", "-1", _getTimeLeft(11,22,45) , _genItemLink(270519904234, binIcon) , 2, "true", "true" ); _item8("270519905398 ", "FORD MONDEO 1.8 52 REG DURATEC PAIR FRONT DISCS", "£40.00", "", "-1", _getTimeLeft(11,22,49) , _genItemLink(270519905398, binIcon) , 2, "true", "true" ); _item8("280455591450 ", "FORD MONDEO 1.8 52 REG INJECTOR RAIL DURATEC", "£40.00", "", "-1", _getTimeLeft(12,00,04) , _genItemLink(280455591450, binIcon) , 2, "true", "true" ); _item8("110344795519 ", "FORD MONDEO 1.8 DURATEC 2003 ALTERNATOR", "£25.00", "", "-1", _getTimeLeft(13,20,08) , _genItemLink(110344795519, binIcon) , 2, "true", "true" ); _item8("110344795979 ", "FORD MONDEO 1.8 DURATEC 2003 STARTER MOTOR", "£25.00", "", "-1", _getTimeLeft(13,20,11) , _genItemLink(110344795979, binIcon) , 2, "true", "true" ); _item8("320479800725 ", "ford mondeo mk3 2.0 duratec engine low miles 01 to 07", "£500.00", "", "-1", _getTimeLeft(14,04,36) , _genItemLink(320479800725, binIcon) , 2, "true", "true" ); _item8("160382022215 ", "Ht Ignition Leads Ford Ka 1.3i 8v (duratec) 03-", "£15.00", "", "-1", _getTimeLeft(14,17,25) , _genItemLink(160382022215, binIcon) , 2, "true", "true" ); _item8("160382022230 ", "Ht Ignition Leads Ford Fiesta 1.3i 8v (duratec) 02-", "£15.00", "", "-1", _getTimeLeft(14,17,25) , _genItemLink(160382022230, binIcon) , 2, "true", "true" ); _item8("390148328851 ", "FORD MONDEO DURATEC HE 2.5 V6 ENGINE 170BHP 53K MILES", "£550.00", "", "-1", _getTimeLeft(14,22,58) , _genItemLink(390148328851, binIcon) , 2, "", "true" ); _item8("250570716026 ", "mondeo mk3 2.0 duratec ecu set 2S7A-12A650-AGB", "£75.00", "", "-1", _getTimeLeft(16,02,38) , _genItemLink(250570716026, binIcon) , 2, "true", "true" ); _item8("370312947135 ", "PIPERCROSS INDUCTION KIT FORD KA 1.3 DURATEC PK272 02-", "£99.99", "", "-1", _getTimeLeft(16,22,14) , _genItemLink(370312947135, binIcon) , 2, "true", "true" ); _item8("330390701212 ", "PIPERCROSS INDUCTION KIT KA SPORTKA 1.6 DURATEC PK272", "£99.99", "", "-1", _getTimeLeft(16,22,16) , _genItemLink(330390701212, binIcon) , 2, "true", "true" ); _item8("330390701224 ", "PIPERCROSS INDUCTION KIT KA STREETKA 1.6 DURATEC PK272", "£99.99", "", "-1", _getTimeLeft(16,22,17) , _genItemLink(330390701224, binIcon) , 2, "true", "true" ); _item8("330390762688 ", "PIPERCROSS VIPER INDUCTION KIT FORD KA 1.3 DURATEC 02-", "£199.99", "", "-1", _getTimeLeft(17,02,01) , _genItemLink(330390762688, binIcon) , 2, "true", "true" ); _item8("370313060602 ", "PIPERCROSS VIPER KIT FORD KA SPORTKA 1.6 DURATEC 02-", "£199.99", "", "-1", _getTimeLeft(17,02,21) , _genItemLink(370313060602, binIcon) , 2, "true", "true" ); _item8("370313060639 ", "PIPERCROSS VIPER KIT FORD KA STREETKA 1.6 DURATEC 02-", "£199.99", "", "-1", _getTimeLeft(17,02,21) , _genItemLink(370313060639, binIcon) , 2, "true", "true" ); _item8("250571896717 ", "FORD KA DURATEC 1.3 CLUTCH SLAVE CYLINDER", "£25.00", "", "-1", _getTimeLeft(18,06,17) , _genItemLink(250571896717, binIcon) , 2, "", "true" ); _item8("310197756603 ", "FORD FIESTA ANTI ROLL BAR 2008 DURATEC 1242CC", "£18.00", "", "-1", _getTimeLeft(19,04,27) , _genItemLink(310197756603, binIcon) , 2, "true", "true" ); _item8("310197756606 ", "FORD FIESTA DRIVE BELT 6PK1042 2008 DURATEC 1242CC", "£4.00", "", "-1", _getTimeLeft(19,04,27) , _genItemLink(310197756606, binIcon) , 2, "true", "true" ); _footer(_disclaimer8); } document.write(_getSniplet());