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= "true"; var isJSShipCost= "true"; 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 = "#666666"; var titleColor = "#FF00FF"; var titleFontColor = "#FFFFFF"; var fontSize = "-1"; var fontFace = "Verdana"; 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?LH_Price=1..&_nkw=shapewear+-%22man+men+fancy%22+-%22dress+childrens+comedy+joke+mens+maternity%22&_sop=2&ht=0"; var tableWidth = 570; var tableHeight = 480; var isJSEnableFlexibleHeader=true; var isJSEbayFlexibleHeader=true; var logoSize=7; var dLabel = "d" + " "; var hLabel = "h" + " "; var mLabel = "m" + " "; var sLabel = "s"; var itemCount = 443; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = 'in partnership with ladylikeshop.com'; //var ekTitleFontSize = "3"; //var ekTitleFontFace = "Arial, Helvetica, sans-serif"; var ekTitleFontSize = "-1"; var ekTitleFontFace = "Verdana"; var isPrvdMediaPlex= false; var isPrvdCJ= false; var isPrvdEPN= true; var isPrvdHDTorBJMT = false; var isPrvdCNNA = false; var trackingID= "5335901498"; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = "shapewear"; var ekWidth = "570"; var ekQuery = "shapewear -"man men fancy" -"dress childrens comedy joke mens maternity""; 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 = "shapewear"; var roverPID = "5335901498"; 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="5"; 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("300450192703 ", " HIDDEN SECRETS SHAPEWEAR 42DD NEW", "£2.99", "", "0", _getTimeLeft(0,3,53) , 0, 2, "true", "true" ); _item8("120600331639 ", "Ladies shapewear swimsuit with tummy control size 12", "£8.00", "£2.70", "1", _getTimeLeft(0,6,01) , 1, 2, "true", "true" ); _item8("350375526620 ", "BNWT LA SENZA 'SHAPEWEAR' BLACK & GOLD CONTROL PANTS 8", "£3.99", "£2.50", "1", _getTimeLeft(0,6,21) , _genItemLink(350375526620, binIcon) , 2, "", "true" ); _item8("350375529478 ", "LA SENZA 'SHAPEWEAR' BLACK CONTROL BIKE SHORT S 8-10", "£3.99", "£2.50", "1", _getTimeLeft(0,6,48) , _genItemLink(350375529478, binIcon) , 2, "", "true" ); _item8("260640706238 ", "LA SENZA size 8 Shapewear Briefs/knickers BNWT £12", "£1.99", "", "0", _getTimeLeft(0,7,04) , 0, 2, "true", "true" ); _item8("140431715044 ", "GOK WAN Shapewear - Sassy Slip 34C BUY IT NOW BARGAIN !", "£17.99", "", "0", _getTimeLeft(0,7,17) , _genItemLink(140431715044, binIcon) , 2, "", "true" ); _item8("270612667093 ", "M&S Black Shapewear Tummy & Waist Shaper Briefs 22", "£4.99", "", "0", _getTimeLeft(0,7,35) , 0, 2, "true", "true" ); _item8("130413903304 ", "SHAPEWEAR CAMISOLE SIZE LARGE", "£3.00", "", "0", _getTimeLeft(0,8,16) , 0, 2, "true", "true" ); _item8("130413904060 ", "SHAPEWEAR CAMISOLE SIZE LARGE", "£3.00", "", "0", _getTimeLeft(0,8,18) , 0, 2, "true", "true" ); _item8("130413905020 ", "SHAPEWEAR CAMISOLE SIZE LARGE", "£3.00", "", "0", _getTimeLeft(0,8,21) , 0, 2, "true", "true" ); _item8("200499395812 ", "SHAPEWEAR LEOPARD PRINT HIGH WAIST CONTROL BRIEF - 16", "£2.99", "", "0", _getTimeLeft(0,8,38) , 1, 2, "true", "true" ); _item8("360283386391 ", "SHAPEWEAR BLACK UPLIFTING BRIEF SIZE 10 BNWT", "£2.99", "", "0", _getTimeLeft(0,8,42) , 0, 2, "true", "true" ); _item8("200499400218 ", "SHAPEWEAR MED CONTROL HIGH WAIST BRIEF SZ M BNWT", "£2.99", "", "0", _getTimeLeft(0,8,49) , 1, 2, "true", "true" ); _item8("250670638391 ", "BNWT Shapewear padded halter bikini top Blue - 34 A/B", "£4.75", "£3.99", "1", _getTimeLeft(0,8,50) , _genItemLink(250670638391, binIcon) , 2, "true", "true" ); _item8("220341443161 ", "*NEW* M&S SHAPEWEAR WHITE MOULDED U/WIRED CAMI BRA 32C", "£4.98", "", "0", _getTimeLeft(0,10,15) , _genItemLink(220341443161, binIcon) , 2, "true", "true" ); _item8("290457660486 ", "AUTOGRAPH SHAPEWEAR BY M&S BNWT RRP £14.00 SIZE 8", "£2.49", "£3.00", "1", _getTimeLeft(0,10,38) , 0, 2, "true", "true" ); _item8("320566568746 ", "silhouette shapewear body", "£5.00", "", "0", _getTimeLeft(0,10,41) , 0, 2, "", "true" ); _item8("320566584282 ", "La Senza Shapewear Black Control Thong BNWT Size 8", "£4.99", "", "0", _getTimeLeft(0,11,12) , _genItemLink(320566584282, binIcon) , 2, "", "true" ); _item8("220643212394 ", "BNWT La Senza Shapewear Daydream Control Briefs Size 12", "£3.99", "£3.25", "1", _getTimeLeft(0,11,38) , 0, 2, "true", "true" ); _item8("160460441335 ", "WHITE SHAPEWEAR WASPIE LACE VINTAGE STYLE LARGE L", "£2.99", "£2.99", "1", _getTimeLeft(0,11,39) , 0, 2, "true", "true" ); _item8("160460441719 ", "WHITE SHAPEWEAR WASPIE LACE VINTAGE STYLE XL", "£2.99", "£2.99", "1", _getTimeLeft(0,11,40) , 0, 2, "true", "true" ); _item8("200500969422 ", "WHITE SHAPEWEAR WASPIE LACE VINTAGE STYLE MEDIUM", "£2.99", "£2.99", "1", _getTimeLeft(0,11,40) , 0, 2, "true", "true" ); _item8("160460447049 ", "WHITE SHAPEWEAR SUSPENDER GIRDLE VINTAGE STYLE OBG 16", "£4.99", "£3.49", "1", _getTimeLeft(0,11,52) , 1, 2, "true", "true" ); _item8("200500976784 ", "WHITE SHAPEWEAR SUSPENDER GIRDLE VINTAGE STYLE OBG 14", "£4.99", "£3.49", "1", _getTimeLeft(0,11,53) , 1, 2, "true", "true" ); _item8("160460447454 ", "WHITE SHAPEWEAR SUSPENDER GIRDLE VINTAGE STYLE OBG 20", "£8.50", "£3.49", "1", _getTimeLeft(0,11,54) , 7, 2, "true", "true" ); _item8("110564749760 ", "Shapewear - .Comfortable mid-body reducer drop sizes ", "£19.99", "", "0", _getTimeLeft(0,12,12) , 0, 2, "", "true" ); _item8("110564750528 ", "Shapewear - .Comfortable mid-body reducer drop sizes ", "£21.99", "", "0", _getTimeLeft(0,12,13) , 0, 2, "", "true" ); _item8("200501012921 ", "La Senza Jessica Control Briefs Shapewear Red Black 8", "£2.99", "£3.99", "1", _getTimeLeft(0,12,57) , 2, 2, "true", "true" ); _item8("200501013517 ", "La Senza Jessica Control Briefs Shapewear Red Black 10", "£2.99", "£3.99", "1", _getTimeLeft(0,12,58) , 0, 2, "true", "true" ); _item8("290458381915 ", " Flexees Shapewear Body suit", "£12.99", "", "0", _getTimeLeft(0,13,08) , 0, 2, "true", "true" ); _item8("160460487743 ", "Nude High Waist boned Control Briefs Shapewear SMALL", "£3.19", "£3.99", "1", _getTimeLeft(0,13,13) , 2, 2, "true", "true" ); _item8("290458383682 ", " Flexees Shapewear Body suit", "£12.99", "", "0", _getTimeLeft(0,13,13) , 0, 2, "true", "true" ); _item8("200501025497 ", "Nude High Waist boned Control Briefs Shapewear MEDIUM", "£2.99", "£3.99", "1", _getTimeLeft(0,13,14) , 1, 2, "true", "true" ); _item8("290458384642 ", " Flexees Shapewear Body suit", "£12.99", "", "0", _getTimeLeft(0,13,14) , 0, 2, "true", "true" ); _item8("200501026669 ", "Nude High Waist boned Control Briefs Shapewear LARGE", "£2.99", "£3.99", "1", _getTimeLeft(0,13,16) , 2, 2, "true", "true" ); _item8("310235889915 ", "New shapewear slip BLACK SIZE 3X", "£9.99", "£6.00", "1", _getTimeLeft(0,13,18) , 0, 2, "true", "true" ); _item8("200501028271 ", "Nude High Waist Control SHORTS Shapewear LARGE 16", "£3.99", "£3.99", "1", _getTimeLeft(0,13,19) , 1, 2, "true", "true" ); _item8("200501028937 ", "Nude High Waist Control SHORTS Shapewear MEDIUM 14", "£3.99", "£3.99", "1", _getTimeLeft(0,13,19) , 0, 2, "true", "true" ); _item8("200501031272 ", "Nude High Waist Control SHORTS Shapewear SMALL 12", "£3.99", "£3.99", "1", _getTimeLeft(0,13,23) , 0, 2, "true", "true" ); _item8("150470799796 ", "M&S X 2 AUTOGRAPH SILK SHAPEWEAR KNICKERS 10 BNWT £28", "£4.95", "", "0", _getTimeLeft(0,13,25) , 0, 2, "true", "true" ); _item8("130414049830 ", "Ballet shapewear white u/w bra 36F BNWT new look rp£21", "£3.99", "", "0", _getTimeLeft(0,14,01) , 0, 2, "true", "true" ); _item8("220643329112 ", "Slimming bamboo charcoal shapewear S- XL size 8-18", "£11.99", "£4.50", "1", _getTimeLeft(0,14,18) , 1, 2, "true", "true" ); _item8("250670268940 ", "LA SENZA black gold Shapewear control knickers sz 10", "£4.99", "", "0", _getTimeLeft(0,14,26) , 0, 2, "true", "true" ); _item8("150472022760 ", "BNWT SHAPEWEAR BANDEAU UNDERWIRED SWIMSUIT TOP SIZE 38F", "£5.19", "£2.50", "1", _getTimeLeft(0,14,26) , 2, 2, "true", "true" ); _item8("250670266945 ", "LA SENZA black gold Shapewear control knickers sz 12", "£4.99", "", "0", _getTimeLeft(0,14,26) , 0, 2, "true", "true" ); _item8("250670271329 ", "LA SENZA black red Shapewear control knickers sz 18", "£9.50", "", "0", _getTimeLeft(0,14,32) , 7, 2, "true", "true" ); _item8("310235912037 ", "marks & spencer SHAPEWEAR FIRM CONTROL ALL-IN-ONE 36C ", "£6.50", "", "0", _getTimeLeft(0,14,40) , 3, 2, "true", "true" ); _item8("250670277930 ", "LA SENZA black red Shapewear long control knickers 16", "£4.99", "", "0", _getTimeLeft(0,14,55) , 1, 2, "true", "true" ); _item8("250670275176 ", "LA SENZA black red Shapewear long control knickers 10", "£4.99", "", "0", _getTimeLeft(0,15,03) , 0, 2, "true", "true" ); _item8("150473667816 ", "BUM BUTT ENHANCERS PANTIES PANTY SHAPEWEAR REDUCER SZ M", "£14.99", "£2.00", "1", _getTimeLeft(0,15,04) , _genItemLink(150473667816, binIcon) , 2, "true", "true" ); _item8("150472048670 ", "SILICONE PADDED PANTIES BRIEF UNDERWEAR POWER SHAPEWEAR", "£18.69", "£0.00", "3", _getTimeLeft(0,15,11) , _genItemLink(150472048670, binIcon) , 2, "true", "true" ); _item8("190423376245 ", "Shapewear Body Suit", "£5.00", "", "0", _getTimeLeft(0,15,30) , 1, 2, "true", "true" ); _item8("330454927708 ", "38B BLACK M&S SHAPEWEAR LIGHT CONTROL SHAPER BNWT £40 ", "£9.99", "", "0", _getTimeLeft(0,15,40) , _genItemLink(330454927708, binIcon) , 2, "true", "true" ); _item8("330454927786 ", "38A BLACK M&S SHAPEWEAR LIGHT CONTROL SHAPER BNWT £40 ", "£9.99", "", "0", _getTimeLeft(0,15,40) , _genItemLink(330454927786, binIcon) , 2, "true", "true" ); _item8("330454927787 ", "36C BLACK M&S SHAPEWEAR LIGHT CONTROL SHAPER BNWT £35 ", "£9.99", "", "0", _getTimeLeft(0,15,40) , _genItemLink(330454927787, binIcon) , 2, "true", "true" ); _item8("250672401718 ", "LA SENZA neon pink Shapewear control knickers sz 14", "£4.99", "", "0", _getTimeLeft(0,15,40) , 1, 2, "true", "true" ); _item8("110564887241 ", "SHAPEWEAR MED TUMMY CONTROL BRIEF ADVISED BY GOK", "£4.00", "", "0", _getTimeLeft(0,15,56) , 0, 2, "", "true" ); _item8("250672418429 ", "LA SENZA neon pink Shapewear control knickers sz 16", "£4.99", "", "0", _getTimeLeft(0,16,05) , 0, 2, "true", "true" ); _item8("110564900597 ", "NEW M&S Sexy Body Shaper 36D Basque 36D Shapewear Body", "£11.99", "£8.74", "1", _getTimeLeft(0,16,24) , 1, 2, "true", "true" ); _item8("330454952418 ", "M&S 36C Autograph Shapewear plunge Bra Black BNWT", "£4.99", "£3.99", "1", _getTimeLeft(0,16,38) , 0, 2, "true", "true" ); _item8("330454952862 ", "M&S 36C Autograph Shapewear plunge Bra Black BNWOT", "£4.99", "£3.99", "1", _getTimeLeft(0,16,39) , 0, 2, "true", "true" ); _item8("110564910308 ", "body wrap shapewear slip", "£2.20", "", "0", _getTimeLeft(0,16,44) , 6, 2, "", "true" ); _item8("170518977205 ", "M&S CREAM FIRM SHAPEWEAR ALL IN ONE BODY 34A,BNWT £20", "£3.95", "", "0", _getTimeLeft(0,17,07) , 0, 2, "true", "true" ); _item8("330454965746 ", "36A M&S AUTOGRAPH SHAPEWEAR BODY BLK WIRED BNWT £35 ", "£8.99", "", "0", _getTimeLeft(0,17,16) , _genItemLink(330454965746, binIcon) , 2, "true", "true" ); _item8("180539014150 ", "Shapewear Underwired Tankini In Purple Size 34D", "£1.04", "", "0", _getTimeLeft(1,04,46) , 2, 2, "true", "true" ); _item8("250671130964 ", "BNWT Shapewear Moulded Underwired Bikini Top Black 34B", "£6.50", "£3.99", "1", _getTimeLeft(1,06,56) , _genItemLink(250671130964, binIcon) , 2, "true", "true" ); _item8("150440362524 ", "Resort Shapewear Swimsuit - Blue - Size 10 - 14", "£8.99", "£2.99", "1", _getTimeLeft(1,10,29) , _genItemLink(150440362524, binIcon) , 2, "true", "true" ); _item8("280540078890 ", "M&S Nude Shapewear Ultimate Bum Lift Knickers size 16", "£4.99", "", "0", _getTimeLeft(1,10,53) , 1, 2, "true", "true" ); _item8("220643909132 ", "BNWT La Senza Sz 18 Black Shapewear Knickers", "£3.99", "", "0", _getTimeLeft(1,14,41) , 0, 2, "", "true" ); _item8("220643909180 ", "BNWT La Senza Sz 18 Black Shapewear Knickers", "£3.99", "", "0", _getTimeLeft(1,14,41) , 0, 2, "", "true" ); _item8("220643914997 ", "Slimming bamboo charcoal shapewear S- XL size 8-20", "£11.99", "£4.50", "1", _getTimeLeft(1,14,51) , _genItemLink(220643914997, binIcon) , 2, "true", "true" ); _item8("120600976654 ", " SHAPEWEAR FIRM CONTROL PANTS NEW 16", "£2.99", "", "0", _getTimeLeft(1,16,13) , 1, 2, "true", "true" ); _item8("230504890691 ", "SHAPEWEAR HIGHWAIST BRIEF BY RESORT SIZE 8", "£2.99", "£5.00", "1", _getTimeLeft(1,17,23) , 0, 2, "true", "true" ); _item8("200502498220 ", "Esbelt Shapewear Extra Firm Slimming Corset 404 ", "£7.71", "", "0", _getTimeLeft(1,18,43) , 7, 2, "true", "true" ); _item8("330455372090 ", "Resort Shapewear Shorts - size 14", "£4.99", "", "0", _getTimeLeft(2,02,25) , 0, 2, "", "true" ); _item8("220642469683 ", "Debenhams Shapewear Control Knickers Sz 14 BNWT RRP £22", "£9.99", "", "0", _getTimeLeft(2,03,11) , 0, 2, "", "true" ); _item8("220632094960 ", "M&S SHAPEWEAR SALE!! FIRM CONTROL BRIEF 10 WORK MAGIC", "£2.25", "£5.99", "1", _getTimeLeft(2,05,22) , _genItemLink(220632094960, binIcon) , 2, "true", "true" ); _item8("280539017127 ", "BALLET SWIMMING COSTUME SHAPEWEAR SLIMMING BLACK 36D", "£4.99", "£7.50", "1", _getTimeLeft(2,05,59) , _genItemLink(280539017127, binIcon) , 2, "", "true" ); _item8("290457309570 ", "LADIES BNWT BLACK SHAPEWEAR / PANTS SIZE 28 ~ 30 ", "£6.25", "", "0", _getTimeLeft(2,07,27) , 0, 2, "", "true" ); _item8("380203800255 ", "Berlei Infinity Shapewear Tummy Control Brief Honey", "£11.99", "£2.25", "1", _getTimeLeft(2,09,15) , _genItemLink(380203800255, binIcon) , 2, "true", "true" ); _item8("180539688638 ", "Shapewear Moulded Underwired Top In Purple Size 38DD", "£1.35", "", "0", _getTimeLeft(2,13,58) , 2, 2, "true", "true" ); _item8("150473651985 ", "BNWT SLIMTASTIC SHAPEWEAR LEGGINGS BLACK SIZE 16-18", "£3.99", "£3.50", "1", _getTimeLeft(2,14,26) , 0, 2, "true", "true" ); _item8("150473652547 ", "BNWT SLIMTASTIC SHAPEWEAR LEGGINGS BLACK SIZE 12-14", "£3.99", "£3.50", "1", _getTimeLeft(2,14,27) , 1, 2, "true", "true" ); _item8("350375994117 ", "LA SENZA 'SHAPEWEAR' BLACK CONTROL BOY SHORT S 8-10", "£3.99", "£2.50", "1", _getTimeLeft(2,14,40) , _genItemLink(350375994117, binIcon) , 2, "", "true" ); _item8("350375994728 ", "LA SENZA 'SHAPEWEAR' FLESH CONTROL BOY SHORT XL 16-18", "£3.99", "£2.50", "1", _getTimeLeft(2,14,43) , _genItemLink(350375994728, binIcon) , 2, "", "true" ); _item8("320567615213 ", "Shapewear slip ....size XXL.....BNWT", "£1.25", "£2.99", "1", _getTimeLeft(2,14,46) , 3, 2, "true", "true" ); _item8("180539721737 ", "Shapewear Underwired Tankini In Red Size 38B", "£2.20", "", "0", _getTimeLeft(2,15,00) , 6, 2, "true", "true" ); _item8("330454565336 ", "AUTOGRAPH *SHAPEWEAR* LIGHTCONTROL BRIEFS SZ14 BNWT", "£1.99", "", "0", _getTimeLeft(2,15,18) , 1, 2, "true", "true" ); _item8("220644434643 ", "Slimming bamboo charcoal shapewear S- XL size 8-20", "£11.99", "£4.50", "1", _getTimeLeft(2,15,22) , _genItemLink(220644434643, binIcon) , 2, "true", "true" ); _item8("110564384538 ", "Shapewear - Camisole Waist Reducer ", "£23.99", "", "0", _getTimeLeft(2,15,23) , 0, 2, "", "true" ); _item8("110564386308 ", "Shapewear - Camisole Waist Reducer ", "£23.99", "", "0", _getTimeLeft(2,15,26) , 0, 2, "", "true" ); _item8("110564387678 ", "Shapewear - .Comfortable mid-body reducer drop sizes ", "£21.99", "", "0", _getTimeLeft(2,15,30) , 0, 2, "", "true" ); _item8("110564390596 ", "Shapewear - Camisole Waist Reducer ", "£17.99", "", "0", _getTimeLeft(2,15,37) , 0, 2, "", "true" ); _item8("220642816958 ", "BNWT La Senza Shapewear Neon Pink Thong size 10", "£1.99", "£3.99", "1", _getTimeLeft(2,15,40) , 0, 2, "true", "true" ); _item8("110564392489 ", "Shapewear - .Comfortable mid-body reducer drop sizes ", "£21.99", "", "0", _getTimeLeft(2,15,42) , 0, 2, "", "true" ); _item8("250671861214 ", "BNWT Resort Shapewear high Waist bikini briefs black 8", "£3.50", "£3.99", "1", _getTimeLeft(2,16,07) , 0, 2, "true", "true" ); _item8("110564406624 ", "Shapewear - Camisole Waist Reducer ", "£23.99", "", "0", _getTimeLeft(2,16,13) , 0, 2, "", "true" ); _item8("110564408119 ", "Shapewear - Camisole Waist Reducer ", "£24.99", "", "0", _getTimeLeft(2,16,18) , 0, 2, "", "true" ); _item8("110564410792 ", "Shapewear - Camisole Waist Reducer ", "£24.99", "", "0", _getTimeLeft(2,16,25) , 0, 2, "", "true" ); _item8("320569421565 ", "Shapewear underwired control swimsuit size 36C #C161", "£6.99", "", "0", _getTimeLeft(2,16,34) , 0, 2, "", "true" ); _footer(_disclaimer8); } document.write(_getSniplet());