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/i.html?_nkw=Yamaha+RD400&_sop=2&ht=0"; var tableWidth = 465; var tableHeight = 0; var isJSEnableFlexibleHeader=true; var isJSEbayFlexibleHeader=true; var logoSize=3; var dLabel = "d" + " "; var hLabel = "h" + " "; var mLabel = "m" + " "; var sLabel = "s"; var itemCount = 174; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = 'Yamaha RD400 listings on eBay today...'; //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= "5335872438"; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = ""; var ekWidth = "465"; var ekQuery = "Yamaha RD400"; 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 = ""; var roverPID = "5335872438"; 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="y"; var binIcon = ""; var booIcon = ""; var nnIcon = ""; function Localize(pStr) { return pStr; } function _alert(str) { // alert(str); } //#EK Keyword function _appendKC(link) { if (isJSTrackKeyword) { link+="&kw="+textTrackKeyword; } if (isJSTrackCategory) { link+="&cat="+textTrackCategory; } return link; } function _setImageSize(imgObject, imgHeight, imgWidth) { imgObject.resized=true; imgObject.height=imgHeight; imgObject.width=imgWidth; return; } function _checkLogo(imgObject, minHeight, maxHeight, minWidth, maxWidth) { var imgHeight=imgObject.height; var imgWidth=imgObject.width; if (imgHeight>maxHeight) { var tmpWidth=Math.round(1.0*maxHeight*imgWidth/imgHeight); if (tmpWidth>maxWidth) return _setImageSize(imgObject, Math.round(1.0*maxWidth*imgHeight/imgWidth), maxWidth); if (tmpWidthmaxWidth) { var tmpHeight=Math.round(1.0*maxWidth*imgHeight/imgWidth); return _setImageSize(imgObject, tmpHeight>minHeight?tmpHeight:minHeight, maxWidth); } if (imgWidthmaxHeight) return _setImageSize(imgObject, maxHeight, minWidth); return _setImageSize(imgObject, tmpHeight, minWidth); } } //$EK Keyword function _makeTagA(href, text, target, color) { return ""+text+""; } function _genLink(isOptimized, href, caption) { if (isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverMediaPlexU+"loc="+href, caption, linkTarget, lnkcolor); } if (isPrvdCJ) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverCJU+"&loc="+href, caption, linkTarget, lnkcolor); } if(isPrvdEPN) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverEPNU+"&mpre="+href, caption, linkTarget, lnkcolor); } if (roverNA) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverNAU+"loc="+href, caption, linkTarget, lnkcolor); } } var link = ""; if (isPrvdMediaPlex) { if (adsServed) { link = "" + caption + ""; link += "\" style=\"color:"+lnkcolor+"\">" + caption + ""; _alert(link); return link; } function _genItemLink(itemId, title) { if (isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { return _makeTagA(roverMediaPlexU + "loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (isPrvdCJ) { return _makeTagA(roverCJU + "&loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (isPrvdEPN) { return _makeTagA(roverEPNU + "&mpre=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (roverNA) { return _makeTagA(roverNAU + "loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } } var link = ""; if (isEKStore) { link = "" + title + ""; return link; } if (isPrvdMediaPlex || isPrvdEPN) { if (adsServed) { link = "" + title + ""; } else { link = "" + title + ""; } link += "\" style=\"color:"+lnkcolor+"\">" + title + ""; _alert(link); return link; } function _getPaypalInfo(pbpEligible, ppEligible) { var str =""; if(isJSPayPal == 'true'){ if(pbpEligible == 'true'){ str += ''; //str += ''; } else { if( ppEligible == 'true'){ str += ''; } } } return str; } function mbSubStr(strIn, start, end) { ++start; if (start>=end) return ""; var str=""; var count=0; var isSub=false; for (var i=0; i=128?2:1; if (count==start) isSub=true; if (!isSub&&count==start+1) isSub=true; if (isSub) str+=strIn.charAt(i); if (count>=end) break; } return str; } function _getShipPrice(price,shipPrice,shippingType){ var strShip =""; if(isJSShipCost =='true'){ if ( shippingType == '0' ) { strShip += '' + price + ''; } else if ( shippingType == '2' ) { strShip += '' + price + ''; } else if(shippingType == '3'){ strShip += '' + price + ''; } else { //NOT_SPECIFIED == 0; FLAT_RATE == 1; CALCULATED_RATE == 2 // By depending on shippingFee to be 0 or 1; we do not care whether // BE sets shippingType to 0 or 1. // We will detect free shipping by checking if shippingFee is null. if ( shipPrice != '') { strShip += '' + price + ''; } else { strShip += '' + price + ''; } } }else{ strShip += price ; } return strShip; } function _docWrite(str) { _sniplet += str; if (fooStr) alert(str); } var fooStr = false; function _getSniplet() { _eBaySniplet(); return _sniplet; } function _write(str) { _docWrite('' + str + ''); } function _writeWithColor(str, textColor) { _docWrite('' + str + ''); } function _spacer(w, h) { return ''; } function _cleanTitle(str) { var title = new String(str); return title.replace(/\*/g, """); } function _rowDiv(colSpan) { _docWrite('' + _spacer("100%", 2) + ''); _docWrite('' + _spacer("100%", 1) + ''); _docWrite('' + _spacer("100%", 2) + ''); } function _tracking() { //alert("isPrvdMediaPlex" + isPrvdMediaPlex + " adsServed: " + adsServed); var str = ""; if (isPrvdMediaPlex) { if (adsServed) { str = ''; } else { str = ''; } } if(isPrvdEPN) { str = ''; } return str; } function _header() { var imgHeight = 58; /* if (isJSEbayFlexibleHeader) { alert(logoSize); if(logoSize==3) imgHeight =35; else if(logoSize==2) imgHeight =45; else if(logoSize==1) imgHeight =59; }*/ //#EK Keyword if (isJSEnableFlexibleHeader) { //$EK Keyword _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); //#EK Keyword if (!isJSEbayFlexibleHeader) { _docWrite('
' + _spacer(1, 1) + _tracking() + ''+ _spacer((tableWidth - 2), 1) + '' + _spacer(1, 1) + '
'); _docWrite(''); _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); _docWrite('
'); if(hdrSrch=='y') { //_ShowSearchBox2(); var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('
'); _docWrite(''+_spacer(4,8)+''); _docWrite('
'); } _docWrite('
'); } else { //$EK Keyword /* if(logoSize==3) { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } else if(logoSize==2) { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } else { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } */ if(logoSize==3) imgHeight =35; else if(logoSize==2) imgHeight =45; else if(logoSize==1) imgHeight =59; if(hdrImage<2){ _docWrite('
'); } else _docWrite('
'); _docWrite(''); _docWrite('
'); _genHeaderLogoCustomized(ebayHome, logoAltText); _docWrite('
'); if(hdrSrch=='y') { //_ShowSearchBox2(); var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('
'); _docWrite(''+_spacer(4,8)+''); _docWrite('
'); } _docWrite('
'); //#EK Keyword } } //$EK Keyword _docWrite('
'); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + ''); _docWrite(''+ _spacer(5, 1)); _docWrite(''+ekTitle+''); _docWrite('' + _spacer(1, 1) + '
'); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); disClaimerHelper(); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + '' + _spacer(5, 1) + ''); /* _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + ''); _docWrite(''); _docWrite(''+ekTitle+''); _docWrite('' + _spacer(1, 1) + '
'); */ _docWrite(''); } function _footer(disClaimerHelper) { _docWrite('
'); _docWrite('
' + _spacer(5, 1) + '' + _spacer(1, 1) + '
' + _spacer(1, 1) + '' + _spacer("100%", 1) + '' + _spacer(1, 1) + '
' + _spacer("100%", 1) + '
'); } function _disclaimer(colSpan, disclaimer) { _docWrite('' + _spacer(1, 1) + ''); _docWrite(''); _docWrite(''); //_docWrite(''); if (errorCode > 0) { //_docWrite(''); } else { _docWrite(''); if (disclaimer && itemCount > 0) { _docWrite(''); } _docWrite(''); } _docWrite('
' + errorCode + '' + _spacer(10, 1) + ''); if (itemCount > 0) { _write(_genLink(false, escape(searchLink), eval(searchLinkString) )); } else { _write(_spacer(1, 1)); } _docWrite(''); _write(_genLink(false, escape(disclaimerDomain + "help/community/editorkitlegal.html"), '' + theDisclaimer + '')); _docWrite('' + _spacer(10, 1) + '
'); _docWrite(''); _docWrite('' + _spacer(1, 1) + ''); } function _worldMarketPlaceLink() { itemCount = 0; _docWrite("
" + _spacer(5,5) + "

"); _docWrite(_genLink(false, ebayHome, theWorldsMarketplace)); _docWrite("

"); } function strTrim() { // Match space at the beginning and end of a string and replace it with // empty strings. return this.replace(/^\s+/, '').replace(/\s+$/, ''); } String.prototype.trim = strTrim; //#EK Keyword function _nullSearch(formObj) { var trackingSearchLink=""; var queryString=formObj.satitle.value; var nullQuery=encodeURIComponent(queryString); var nullSearchLink=encodeURIComponent(ekSearchURL_Full_2 + nullQuery); if(isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { trackingSearchLink=roverMediaPlexU+"loc="+nullSearchLink; } if (isPrvdCJ) { trackingSearchLink=roverCJU+"&loc="+nullSearchLink; } if (isPrvdEPN) { trackingSearchLink=roverEPNU+"&mpre="+nullSearchLink; } if (roverNA) { trackingSearchLink=roverNAU+"loc="+nullSearchLink; } } else { trackingSearchLink=trackingProvider; if (isPrvdMediaPlex) { if (adsServed) trackingSearchLink+="mpt="+cacheBuster+"&mpro="+nullSearchLink; else trackingSearchLink+="loc="+nullSearchLink; } else trackingSearchLink+=nullSearchLink; if (isPrvdCJ&&(sid!=null&&sid!="")) trackingSearchLink+="&SID="+sid; if (isPrvdEPN&&(sid!=null&&sid!="")) trackingSearchLink+="&customid="+sid; if (isJSTrackKeyword) trackingSearchLink+="&kw="+nullQuery; if (isJSTrackCategory) trackingSearchLink+="&cat="+textTrackCategory; } formObj.action='javascript: document.location="'+encodeURIComponent(trackingSearchLink)+'"'; return true; } //$EK Keyword function _makeNullSearchBox(headSearch) { var htmlString="
"; htmlString+=""; htmlString+=_spacer(8,8); htmlString+=""; htmlString+="
"; return htmlString; } function _ShowSearchBox() { itemCount = 0; _docWrite('
' + _spacer(8,5) + '

'); //#EK Keyword var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('

'); //$EK Keyword _docWrite(''+_spacer(8,8)+'
'); _docWrite("

"); } function _padNumber(theNumber) { if (theNumber < 10) return "0" + theNumber; return theNumber; } /*function _getTimeLeft(itemDate) { isEnding = false; //reset global for font color var offSetTime = itemDate.getTime() + eBayTimeOffset+3600000; //offset for pst. //var offSetTime = itemDate.getTime() ; var diffTime = offSetTime - eBayDate.getTime(); var seconds = Math.floor(diffTime / 1000) % 60; var minutes = Math.floor(diffTime / (60 * 1000)) % 60; var hours = Math.floor(diffTime / (60 * 60 * 1000)) % 24; var days = Math.floor(diffTime / (24 * 60 * 60 * 1000));*/ //if (diffTime < 3600000 /* msec */) /* isEnding = true; // set global for font color var timeLeft = _spacer(8, 1); if (days > 0) { timeLeft = timeLeft + days + dLabel + _padNumber(hours) + hLabel + _padNumber(minutes) + mLabel; } else if (hours > 0) { timeLeft = timeLeft + hours + hLabel + _padNumber(minutes) + mLabel; } else if (minutes > 0) { timeLeft = timeLeft + minutes + mLabel; } else { timeLeft = timeLeft + "<01" + mLabel; } return timeLeft; }*/ function _getTimeLeft(days,hours,minutes) { isEnding = false; //reset global for font color var timeLeft = _spacer(8, 1); if (days > 0) { timeLeft = timeLeft + days + dLabel + _padNumber(hours) + hLabel + _padNumber(minutes) + mLabel; } else if (hours > 0) { timeLeft = timeLeft + hours + hLabel + _padNumber(minutes) + mLabel; } else if (minutes > 0) { isEnding = true; timeLeft = timeLeft + minutes + mLabel; } else { isEnding = true; timeLeft = timeLeft + "<01" + mLabel; } return timeLeft; } function _genImg(imgInfo,itemId) { var str = ""; str += _spacer(5,1); if (imgInfo == 2) { //display Item image str += ''; } else if (imgInfo == 1) { // display camera icon str += ''; } else { // display spacer image str += ''; } str += _spacer(5,1); return _genItemLink(itemId,str); } function _writeWithColor2(str, textColor) { _docWrite('' + str + ''); } function _write2(str) { _docWrite('' + str + ''); } function _genHeaderLogo(ebayHome, logoAltText) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { str='
'+str+'
'; } _docWrite(str); } function _genHeaderLogoCustomized(ebayHome, logoAltText) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { str='
'+str+'
'; } _docWrite(str); } function _genHeaderLogo2(ebayHome, logoAltText, headerW) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { var hei; if(headerW==83) { str='
'+str+'
'; } else { str='
'+str+'
'; } } _docWrite(str); } // display type 2 function _labels2() { _docWrite(''); _write(productLabel); _docWrite(''); _write(priceLabel); _docWrite(''); _write(timeLabel); _docWrite(''); _rowDiv(3); } function _disclaimer2() { _disclaimer(2, true); } function _item2(itemId, title, price,shipPrice,shippingType,endTime,pbpEligible,ppEligible) { var timeColor = (isEnding ? endColor : fontColor); _docWrite(''); _write(_genItemLink(itemId, _cleanTitle(title))); _write(_getPaypalInfo(pbpEligible,ppEligible)); _docWrite(''); _write(_getShipPrice(price, shipPrice,shippingType)); _docWrite(''); _writeWithColor(endTime, timeColor); _docWrite(''); _rowDiv(3); } function _eBaySniplet() { _alert("style 2"); _header(); _labels2(); _item2("350311590004", "YAMAHA RD 250 400 RD250 RD400 WIRING LOOM", "£22.00", "", "-1", _getTimeLeft(0,2,23) , "true", "true"); _item2("260536455579", "YAMAHA RD 250 400 RD250 RD400 Oil Tank", "£16.99", "", "-1", _getTimeLeft(0,4,34) , "true", "true"); _item2("270525626547", "YAMAHA RD250 RD400 REAR LIGHT LENS ** GENUINE ** NOS **", "£41.09", "", "-1", _getTimeLeft(0,4,55) , "true", "true"); _item2("280450101131", "Manual Yamaha RD400 Twin 1975-1979", "£25.99", "", "-1", _getTimeLeft(0,5,07) , "true", "true"); _item2("270513855199", "Piston Kit Yamaha STD RD350LC,YPVS,RD400(64.00mm)", "£45.99", "", "-1", _getTimeLeft(0,5,11) , "true", "true"); _item2("280450104042", "Piston Kit Yamaha 1.00 RD350LC,YPVS,RD400(65.00mm)", "£45.99", "", "-1", _getTimeLeft(0,5,13) , "true", "true"); _item2("270513858220", "Piston Kit Yamaha 1.00 RD350 YPVS,RD400(65.00mm)", "£57.99", "", "-1", _getTimeLeft(0,5,15) , "true", "true"); _item2("270513860315", "Seat Cover Yamaha RD250,RD400,XS250,XS400 1975-1981", "£26.99", "", "-1", _getTimeLeft(0,5,19) , "true", "true"); _item2("270513866026", "Piston Kit Yamaha 2.50 RD350LC,YPVS,RD400(66.50mm)", "£57.99", "", "-1", _getTimeLeft(0,5,27) , "true", "true"); _item2("270513866382", "Piston Kit Yamaha 2.25 RD350LC,YPVS,RD400(66.25mm)", "£57.99", "", "-1", _getTimeLeft(0,5,27) , "true", "true"); _item2("280450115204", "849-38 Rear Sprocket Yamaha RD250,RD400 Spoke Wheel 197", "£25.99", "", "-1", _getTimeLeft(0,5,30) , "true", "true"); _item2("270513867855", "Petrol Cap Yamaha RD250,RD400,XS Range,SR500 Flip Type", "£23.99", "", "-1", _getTimeLeft(0,5,30) , "true", "true"); _item2("270513871652", "Piston Kit Yamaha 2.00 RD350LC,YPVS,RD400(66.00mm)", "£45.99", "", "-1", _getTimeLeft(0,5,36) , "true", "true"); _item2("280450121677", "Piston Kit Yamaha 0.50 RD350 YPVS,RD400(64.50mm)", "£57.99", "", "-1", _getTimeLeft(0,5,40) , "true", "true"); _item2("280450123879", "Con Rod Kit Yamaha RD400 1976-1979", "£50.99", "", "-1", _getTimeLeft(0,5,44) , "true", "true"); _item2("270513876943", "Full Gasket Set Yamaha RD400 1976-1979", "£25.99", "", "-1", _getTimeLeft(0,5,44) , "true", "true"); _item2("270513878439", "Piston Kit Yamaha 1.50 RD350LC,YPVS,RD400(65.50mm)", "£45.99", "", "-1", _getTimeLeft(0,5,47) , "true", "true"); _item2("280450125476", "Piston Kit Yamaha STD RD350 YPVS,RD400(64.00mm)", "£57.99", "", "-1", _getTimeLeft(0,5,47) , "true", "true"); _item2("280450125799", "Piston Kit Yamaha 0.75 RD350LC,YPVS,RD400(64.75mm)", "£45.99", "", "-1", _getTimeLeft(0,5,47) , "true", "true"); _item2("280450127911", "Bearing Small End Yamaha TY175,DT175MX,RD400", "£29.99", "", "-1", _getTimeLeft(0,5,50) , "true", "true"); _item2("280450127920", "Indicator Yamaha RD250,RD400,XS250,XS400-850,XJ650,DT25", "£21.99", "", "-1", _getTimeLeft(0,5,50) , "true", "true"); _item2("270513883190", "Piston Kit Yamaha 0.25 RD350LC,YPVS,RD400(64.25mm)", "£45.99", "", "-1", _getTimeLeft(0,5,54) , "true", "true"); _item2("220549903199", "Yamaha RD400 C D Engine", "£199.99", "", "-1", _getTimeLeft(0,5,57) , "true", "true"); _item2("270513886135", "Seat Cover Yamaha RD250,RD400,XS500 1973-1977", "£26.99", "", "-1", _getTimeLeft(0,5,59) , "true", "true"); _item2("280450132613", "Piston Kit Yamaha 2.00 RD350 YPVS,RD400(66.00mm)", "£57.99", "", "-1", _getTimeLeft(0,5,59) , "true", "true"); _item2("270513891578", "Indicator Yamaha RD250,RD400 Sh ort Stem", "£21.99", "", "-1", _getTimeLeft(0,6,07) , "true", "true"); _item2("280450137657", "Piston Kit Yamaha 1.25 RD350LC,YPVS,RD400(65.25mm)", "£45.99", "", "-1", _getTimeLeft(0,6,07) , "true", "true"); _item2("270513892885", "Piston Kit Yamaha 1.50 RD350 YPVS,RD400(65.50mm)", "£57.99", "", "-1", _getTimeLeft(0,6,09) , "true", "true"); _item2("280450139618", "Piston Kit Yamaha 0.25 RD350 YPVS,RD400(64.25mm)", "£57.99", "", "-1", _getTimeLeft(0,6,11) , "true", "true"); _item2("270513897231", "Piston Kit Yamaha 0.50 RD350LC,YPVS,RD400(64.50mm)", "£45.99", "", "-1", _getTimeLeft(0,6,17) , "true", "true"); _item2("270513897320", "Piston Kit Yamaha 0.75 RD350 YPVS,RD400(64.75mm)", "£57.99", "", "-1", _getTimeLeft(0,6,17) , "true", "true"); _item2("280450145855", "Piston Kit Yamaha STD RD350LC,YPVS,RD400(64.00mm) No Wi", "£45.99", "", "-1", _getTimeLeft(0,6,22) , "true", "true"); _item2("280461398672", "BIKE 8/76 Kawasaki KH400,Yamaha RD400,GT380,CB400/4,", "£5.80", "", "-1", _getTimeLeft(0,6,32) , "true", "true"); _item2("260536538677", "YAMAHA RD 250 350 indicator cancelling unit RD250 RD400", "£6.99", "", "-1", _getTimeLeft(0,7,09) , "true", "true"); _item2("200427311822", "Crank bearings + seals Yamaha RD400 76-79", "£37.99", "", "-1", _getTimeLeft(0,12,09) , "true", "true"); _item2("360225554588", "YAMAHA RD250 RD400 C D E F CONTACT BREAKER POINTS", "£12.99", "", "-1", _getTimeLeft(1,00,50) , "true", "true"); _item2("270514300297", "YAMAHA RD400 2R9 BATTERY BREATHER CAUTION WARNING LABEL", "£6.99", "", "-1", _getTimeLeft(1,04,06) , "", "true"); _item2("200427526106", "Fork Dust seals Yamaha RD400 E-F 78-79", "£9.99", "", "-1", _getTimeLeft(1,04,55) , "true", "true"); _item2("290398037209", "Yamaha RD400 Honda XBR500 1987 Triumph Bonneville 750", "£2.95", "", "-1", _getTimeLeft(1,05,57) , "true", "true"); _item2("150412019232", "Yamaha RD400 Vincent Singles Mutant Suzuki 6", "£0.99", "", "-1", _getTimeLeft(1,09,09) , "true", "true"); _item2("330394896922", "Yamaha RD XS Tacho Rev Counter RD400 RD250", "£9.99", "", "-1", _getTimeLeft(1,11,35) , "true", "true"); _item2("280461201202", "YAMAHA RD400 PETROL TANKS", "£0.99", "", "-1", _getTimeLeft(1,21,17) , "true", "true"); _item2("360225819808", "YAMAHA RD400 RD 400 C D DX CHAIN & SPROCKET KIT HD", "£44.10", "", "-1", _getTimeLeft(1,23,09) , "true", "true"); _item2("290391053745", "YAMAHA RD400 RD 400 C D DX CHAIN & SPROCKET KIT", "£38.10", "", "-1", _getTimeLeft(1,23,09) , "true", "true"); _item2("130364831211", "Yamaha XS650 XS500 XS250 RD400 RD250 YDS-7 Rim Tapes", "£0.99", "", "-1", _getTimeLeft(2,04,01) , "true", "true"); _item2("130364831217", "Yamaha RD250 RD400 XS650 XS1100 Rear Brake Light Switch", "£0.99", "", "-1", _getTimeLeft(2,04,01) , "true", "true"); _item2("220551897546", "Yamaha RD400 76-77 R/H Exhaust silencer", "£79.99", "", "-1", _getTimeLeft(2,05,57) , "true", "true"); _item2("260537503114", "YAMAHA RD250 RD400 E or F Kickstart Ratchet Assembly", "£9.99", "", "-1", _getTimeLeft(2,08,25) , "true", "true"); _item2("260537510526", "YAMAHA RD250 RD400 Right hand cluch engine case RD 250", "£19.99", "", "-1", _getTimeLeft(2,08,44) , "true", "true"); _item2("280460197830", "M/Sport,BMW R100S,Yamaha RD400,St DavidsTrial,MotoX", "£2.69", "", "-1", _getTimeLeft(2,09,25) , "true", "true"); _footer(_disclaimer2); } document.write(_getSniplet());