var isEKStore=false; var IMAGE_SERVER = "http://pics.ebaystatic.com/aw/pics/"; var arrfont=new Array(); arrfont[1]="Arial"; arrfont[2]="Courier"; arrfont[3]="Times"; arrfont[4]="Verdana"; var arrsize=new Array(); arrsize[1]="xx-small"; arrsize[2]="x-small"; arrsize[3]="small"; arrsize[4]="medium"; arrsize[5]="large"; arrsize[6]="x-large"; arrsize[7]="xx-large"; var sekaccentcolor="#000000"; var sekfootercolor="#E9EEEE"; var sekfsitem="font-family:"+arrfont[1]+";font-size:"+arrsize[2]+";"; var sekfstitle="font-family:"+arrfont[1]+";font-size:"+arrsize[4]+";"; var sekfsfooter="font-family:"+arrfont[1]+";font-size:"+arrsize[2]+";"; arrsize[1]="xx-small";arrsize[2]="xx-small";arrsize[3]="x-small";arrsize[4]="small";arrsize[5]="medium";arrsize[6]="large";arrsize[7]="x-large"; var sekfsitemSubtitle="font-family:"+arrfont[1]+";font-size:"+arrsize[2]+";"; var sekitemlayout="1"; var sektitledisplay="1"; var sekfooterdisplay="1"; var isEKStore=true; var storeURL="http://stores.ebay.com/id=87484951&refid=store"; var storeName='La Belladiva'; var EKSshowBlank="false"; var viewMyeBayStore='' + Localize("Visit my eBay Store") + '' + Localize(" to view all available items."); var visitMyeBayStoreFooter=Localize('Visit my eBay Store:')+' '+_text2html(storeName)+''; var EKStoreCLHStandard = "font-family:Arial,Helvetica,sans-serif;font-size:x-small;"; var bidCount =''; var binLabel = bidCount + Localize("bid"); var binsLabel = bidCount + Localize("bids"); var altPayPal= "This seller accepts PayPal"; var altPbpEligible = "PayPal Buyer Protection Program "; var textFreeShip = "Shipping : Free"; var textShipCost = "Shipping :"; var textShipCalc = "Shipping calculator available"; var isJSPayPal= "true"; 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 = "#000000"; var titleColor = "#FF0000"; var titleFontColor = "#E9EEEE"; var fontSize = "-1"; var fontFace = "Arial"; var fontColor = "#000000"; var textBgColor = "#ffffff"; var endColor = "#FF0000"; var lnkcolor = "#0000FF"; var trackingProvider = "http://adfarm.mediaplex.com/ad/ck/711-6294-2357-19?loc="; var linkTarget = "_self"; var viHref = "http://cgi.ebay.com/ws/eBayISAPI.dll%3FViewItem%26item%3D"; var theWorldsMarketplace = "The World's Online Marketplace(TM)"; var searchLabel = 'Search'; var logoAltText = 'eBay Marketplace Logo'; var theDisclaimer = "disclaimer"; var ebayHome = "http://pages.ebay.com/"; var disclaimerDomain = "http://pages.ebay.com/"; //var ebayHomeLogoSm = "http://pics.ebaystatic.com/aw/pics/editorkit/help/MrktPlcLogoStrspnt_85x35.gif"; //var ebayHomeLogoMd = "http://pics.ebaystatic.com/aw/pics/editorkit/help/MrktPlcLogoStrspnt_108x45.gif"; //var ebayHomeLogoLg = "http://pics.ebaystatic.com/aw/pics/editorkit/help/MrktPlcLogoLtrspnt_144x59.gif"; var ebayHomeLogoSm = "http://pics.ebaystatic.com/aw/pics/api/MrktPlcLogoStrspnt_83x35.gif"; var ebayHomeLogoMd = "http://pics.ebaystatic.com/aw/pics/api/MrktPlcLogoStrspnt_108x45.gif"; var ebayHomeLogoLg = "http://pics.ebaystatic.com/aw/pics/api/MrktPlcLogoLtrspnt_144x59.gif"; var searchLink = "http://stores.ebay.com/labelladiva?cid=0"; var tableWidth = 120; var tableHeight = 0; var isJSEnableFlexibleHeader=true; var isJSEbayFlexibleHeader=true; var logoSize=0; var dLabel = "d" + " "; var hLabel = "h" + " "; var mLabel = "m" + " "; var sLabel = "s"; var itemCount = 354; var varItemCount = itemCount; var searchLinkString = "'View all ' + varItemCount + ' items on eBay'"; var searchLinkString2 = "View all"; var ekTitle = 'LaBelladiva eBay Store'; //var ekTitleFontSize = "3"; //var ekTitleFontFace = "Arial, Helvetica, sans-serif"; var ekTitleFontSize = "-1"; var ekTitleFontFace = "Arial"; var isPrvdMediaPlex= false; var isPrvdCJ= false; var isPrvdEPN= false; var isPrvdHDTorBJMT = false; var isPrvdCNNA = false; var trackingID= ""; var adsServed=false; var t = new Date(); var cacheBuster = escape(t.toGMTString()); var sid = ""; var ekWidth = "120"; var ekQuery = ""; var ekSearchURL_Base ="http://search.ebay.com"; var ekSearchURL_Full ="http://search.ebay.com/search/search.dll"; var ekSearchURL_Full_2 = ekSearchURL_Full +"?satitle="; //var ekSearchURL_Base ="http://search.qa.ebay.com"; //var ekSearchURL_Full ="http://search.qa.ebay.com/search/search.dll"; var siteID ="0"; var isRover=false; var ekSize=1; var logoArr=new Array(); var hdrArr=new Array(); var imgArr=new Array(); logoArr[3]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/logoRightNowOn_57x35.gif"; logoArr[2]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/logoRightNowOn_75x45.gif"; logoArr[1]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/logoRightNowOn_98x59.gif"; logoArr[7]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBubbleLogo_118x58.gif"; hdrArr[5]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBubbleTiled_305x88.gif"; logoArr[6]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrStarLogo_118x58.gif"; hdrArr[4]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrStarTiled_305x88.gif"; logoArr[10]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrCDLogo_118x58.gif"; hdrArr[8]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrCDTiled_305x88.gif"; logoArr[12]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrElectronicLogo_118x58.gif"; hdrArr[10]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrElectronicTiled_305x88.gif"; logoArr[4]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrFootballLogo_118x58.gif"; hdrArr[2]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrFootballTiled_305x88.gif"; logoArr[8]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBtnLogo_118x58.gif"; hdrArr[6]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrBtnTiled_305x88.gif"; logoArr[5]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrGameLogo_118x58.gif"; hdrArr[3]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrGameTiled_305x88.gif"; logoArr[13]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrMusicLogo_118x58.gif"; hdrArr[11]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrMusicTiled_305x88.gif"; logoArr[11]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrHouseLogo_118x58.gif"; hdrArr[9]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrHouseTiled_305x88.gif"; logoArr[9]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrRedLogo_118x58.gif"; hdrArr[7]="http://pics.ebaystatic.com/aw/pics/editorkit/hotlist/hdrRedTiled_305x88.gif"; var hdrImage="1"; var fbgcolor=textBgColor; var hdrSrch="n"; var binIcon = ""; var booIcon = ""; var nnIcon = ""; function Localize(pStr) { return pStr; } function _alert(str) { // alert(str); } //#EK Keyword function _appendKC(link) { if (isJSTrackKeyword) { link+="&kw="+textTrackKeyword; } if (isJSTrackCategory) { link+="&cat="+textTrackCategory; } return link; } function _setImageSize(imgObject, imgHeight, imgWidth) { imgObject.resized=true; imgObject.height=imgHeight; imgObject.width=imgWidth; return; } function _checkLogo(imgObject, minHeight, maxHeight, minWidth, maxWidth) { var imgHeight=imgObject.height; var imgWidth=imgObject.width; if (imgHeight>maxHeight) { var tmpWidth=Math.round(1.0*maxHeight*imgWidth/imgHeight); if (tmpWidth>maxWidth) return _setImageSize(imgObject, Math.round(1.0*maxWidth*imgHeight/imgWidth), maxWidth); if (tmpWidthmaxWidth) { var tmpHeight=Math.round(1.0*maxWidth*imgHeight/imgWidth); return _setImageSize(imgObject, tmpHeight>minHeight?tmpHeight:minHeight, maxWidth); } if (imgWidthmaxHeight) return _setImageSize(imgObject, maxHeight, minWidth); return _setImageSize(imgObject, tmpHeight, minWidth); } } //$EK Keyword function _makeTagA(href, text, target, color) { return ""+text+""; } function _genLink(isOptimized, href, caption) { if (isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverMediaPlexU+"loc="+href, caption, linkTarget, lnkcolor); } if (isPrvdCJ) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverCJU+"&loc="+href, caption, linkTarget, lnkcolor); } if(isPrvdEPN) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverEPNU+"&mpre="+href, caption, linkTarget, lnkcolor); } if (roverNA) { return isOptimized? _makeTagA(unescape(href), caption, linkTarget, lnkcolor): _makeTagA(roverNAU+"loc="+href, caption, linkTarget, lnkcolor); } } var link = ""; if (isPrvdMediaPlex) { if (adsServed) { link = "" + caption + ""; link += "\" style=\"color:"+lnkcolor+"\">" + caption + ""; _alert(link); return link; } function _genItemLink(itemId, title) { if (isRover) { if (isPrvdMediaPlex || isPrvdHDTorBJMT || isPrvdCNNA) { return _makeTagA(roverMediaPlexU + "loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (isPrvdCJ) { return _makeTagA(roverCJU + "&loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (isPrvdEPN) { return _makeTagA(roverEPNU + "&mpre=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } if (roverNA) { return _makeTagA(roverNAU + "loc=" + encodeURIComponent(unescape(viHref.replace(/\+/g, " ")) + itemId), title, linkTarget, lnkcolor); } } var link = ""; if (isEKStore) { link = "" + title + ""; return link; } if (isPrvdMediaPlex || isPrvdEPN) { if (adsServed) { link = "" + title + ""; } else { link = "" + title + ""; } link += "\" style=\"color:"+lnkcolor+"\">" + title + ""; _alert(link); return link; } function _getPaypalInfo(pbpEligible, ppEligible) { var str =""; if(isJSPayPal == 'true'){ if(pbpEligible == 'true'){ str += ''; //str += ''; } else { if( ppEligible == 'true'){ str += ''; } } } return str; } function mbSubStr(strIn, start, end) { ++start; if (start>=end) return ""; var str=""; var count=0; var isSub=false; for (var i=0; i=128?2:1; if (count==start) isSub=true; if (!isSub&&count==start+1) isSub=true; if (isSub) str+=strIn.charAt(i); if (count>=end) break; } return str; } function _getShipPrice(price,shipPrice,shippingType){ var strShip =""; if(isJSShipCost =='true'){ if ( shippingType == '0' ) { strShip += '' + price + ''; } else if ( shippingType == '2' ) { strShip += '' + price + ''; } else if(shippingType == '3'){ strShip += '' + price + ''; } else { //NOT_SPECIFIED == 0; FLAT_RATE == 1; CALCULATED_RATE == 2 // By depending on shippingFee to be 0 or 1; we do not care whether // BE sets shippingType to 0 or 1. // We will detect free shipping by checking if shippingFee is null. if ( shipPrice != '') { strShip += '' + price + ''; } else { strShip += '' + price + ''; } } }else{ strShip += price ; } return strShip; } function _docWrite(str) { _sniplet += str; if (fooStr) alert(str); } var fooStr = false; function _getSniplet() { _eBaySniplet(); return _sniplet; } function _write(str) { _docWrite('' + str + ''); } function _writeWithColor(str, textColor) { _docWrite('' + str + ''); } function _spacer(w, h) { return ''; } function _cleanTitle(str) { var title = new String(str); return title.replace(/\*/g, """); } function _rowDiv(colSpan) { _docWrite('' + _spacer("100%", 2) + ''); _docWrite('' + _spacer("100%", 1) + ''); _docWrite('' + _spacer("100%", 2) + ''); } function _tracking() { //alert("isPrvdMediaPlex" + isPrvdMediaPlex + " adsServed: " + adsServed); var str = ""; if (isPrvdMediaPlex) { if (adsServed) { str = ''; } else { str = ''; } } if(isPrvdEPN) { str = ''; } return str; } function _header() { var imgHeight = 58; /* if (isJSEbayFlexibleHeader) { alert(logoSize); if(logoSize==3) imgHeight =35; else if(logoSize==2) imgHeight =45; else if(logoSize==1) imgHeight =59; }*/ //#EK Keyword if (isJSEnableFlexibleHeader) { //$EK Keyword _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); //#EK Keyword if (!isJSEbayFlexibleHeader) { _docWrite('
' + _spacer(1, 1) + _tracking() + ''+ _spacer((tableWidth - 2), 1) + '' + _spacer(1, 1) + '
'); _docWrite(''); _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); _docWrite('
'); if(hdrSrch=='y') { //_ShowSearchBox2(); var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('
'); _docWrite(''+_spacer(4,8)+''); _docWrite('
'); } _docWrite('
'); } else { //$EK Keyword /* if(logoSize==3) { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } else if(logoSize==2) { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } else { _docWrite('
'); _docWrite(_genLink(false, ebayHome, ' '+logoAltText+' ')); } */ if(logoSize==3) imgHeight =35; else if(logoSize==2) imgHeight =45; else if(logoSize==1) imgHeight =59; if(hdrImage<2){ _docWrite('
'); } else _docWrite('
'); _docWrite(''); _docWrite('
'); _genHeaderLogoCustomized(ebayHome, logoAltText); _docWrite('
'); if(hdrSrch=='y') { //_ShowSearchBox2(); var trackingProviderReal=isPrvdMediaPlex?trackingProvider.slice(0, -2):trackingProvider; _docWrite('
'); _docWrite(''+_spacer(4,8)+''); _docWrite('
'); } _docWrite('
'); //#EK Keyword } } //$EK Keyword _docWrite('
'); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + ''); _docWrite(''+ _spacer(5, 1)); _docWrite(''+ekTitle+''); _docWrite('' + _spacer(1, 1) + '
'); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); disClaimerHelper(); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + '' + _spacer(5, 1) + ''); /* _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(1, 1) + ''); _docWrite(''); _docWrite(''+ekTitle+''); _docWrite('' + _spacer(1, 1) + '
'); */ _docWrite(''); } function _footer(disClaimerHelper) { _docWrite('
'); _docWrite('
' + _spacer(5, 1) + '' + _spacer(1, 1) + '
' + _spacer(1, 1) + '' + _spacer("100%", 1) + '' + _spacer(1, 1) + '
' + _spacer("100%", 1) + '
'); } function _disclaimer(colSpan, disclaimer) { _docWrite('' + _spacer(1, 1) + ''); _docWrite(''); _docWrite(''); //_docWrite(''); if (errorCode > 0) { //_docWrite(''); } else { _docWrite(''); if (disclaimer && itemCount > 0) { _docWrite(''); } _docWrite(''); } _docWrite('
' + errorCode + '' + _spacer(10, 1) + ''); if (itemCount > 0) { _write(_genLink(false, escape(searchLink), eval(searchLinkString) )); } else { _write(_spacer(1, 1)); } _docWrite(''); _write(_genLink(false, escape(disclaimerDomain + "help/community/editorkitlegal.html"), '' + theDisclaimer + '')); _docWrite('' + _spacer(10, 1) + '
'); _docWrite(''); _docWrite('' + _spacer(1, 1) + ''); } function _worldMarketPlaceLink() { itemCount = 0; _docWrite("
" + _spacer(5,5) + "

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

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

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

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

"); } function _padNumber(theNumber) { if (theNumber < 10) return "0" + theNumber; return theNumber; } /*function _getTimeLeft(itemDate) { isEnding = false; //reset global for font color var offSetTime = itemDate.getTime() + eBayTimeOffset+3600000; //offset for pst. //var offSetTime = itemDate.getTime() ; var diffTime = offSetTime - eBayDate.getTime(); var seconds = Math.floor(diffTime / 1000) % 60; var minutes = Math.floor(diffTime / (60 * 1000)) % 60; var hours = Math.floor(diffTime / (60 * 60 * 1000)) % 24; var days = Math.floor(diffTime / (24 * 60 * 60 * 1000));*/ //if (diffTime < 3600000 /* msec */) /* isEnding = true; // set global for font color var timeLeft = _spacer(8, 1); if (days > 0) { timeLeft = timeLeft + days + dLabel + _padNumber(hours) + hLabel + _padNumber(minutes) + mLabel; } else if (hours > 0) { timeLeft = timeLeft + hours + hLabel + _padNumber(minutes) + mLabel; } else if (minutes > 0) { timeLeft = timeLeft + minutes + mLabel; } else { timeLeft = timeLeft + "<01" + mLabel; } return timeLeft; }*/ function _getTimeLeft(days,hours,minutes) { isEnding = false; //reset global for font color var timeLeft = _spacer(8, 1); if (days > 0) { timeLeft = timeLeft + days + dLabel + _padNumber(hours) + hLabel + _padNumber(minutes) + mLabel; } else if (hours > 0) { timeLeft = timeLeft + hours + hLabel + _padNumber(minutes) + mLabel; } else if (minutes > 0) { isEnding = true; timeLeft = timeLeft + minutes + mLabel; } else { isEnding = true; timeLeft = timeLeft + "<01" + mLabel; } return timeLeft; } function _genImg(imgInfo,itemId) { var str = ""; str += _spacer(5,1); if (imgInfo == 2) { //display Item image str += ''; } else if (imgInfo == 1) { // display camera icon str += ''; } else { // display spacer image str += ''; } str += _spacer(5,1); return _genItemLink(itemId,str); } function _writeWithColor2(str, textColor) { _docWrite('' + str + ''); } function _write2(str) { _docWrite('' + str + ''); } function _genHeaderLogo(ebayHome, logoAltText) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { str='
'+str+'
'; } _docWrite(str); } function _genHeaderLogoCustomized(ebayHome, logoAltText) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { str='
'+str+'
'; } _docWrite(str); } function _genHeaderLogo2(ebayHome, logoAltText, headerW) { var hi; str= ' '+logoAltText+' '; if(logoSize<=3) str=_spacer(5, 1)+str; str=_genLink(false, ebayHome, str); if(logoSize>3) { var hei; if(headerW==83) { str='
'+str+'
'; } else { str='
'+str+'
'; } } _docWrite(str); } function _replace_all(a,b,c) { var myRegExp = new RegExp(b,"g"); myString = a.replace(myRegExp,c); return myString; } function _text2html (s) { s=_replace_all(s,"&","&"); s=_replace_all(s,"\"","""); s=_replace_all(s,"<","<"); s=_replace_all(s,">",">"); s=_replace_all(s,"'","\'"); return s; } function _formatCorStr (s) { var pattern = /^([a-fA-F0-9]){6,6}$/; flag = pattern.test(s); if (flag) return "#"+s; else return s; } function _genImgEKStore(imgInfo,itemId) { var str = ""; if (imgInfo == 2) { oImg = new Image(); if (sekitemlayout==0) oImg.src = THUMB_PATH+''+itemId+'8080_0.jpg'; if (sekitemlayout==1) oImg.src = THUMB_PATH+''+itemId+'.jpg'; str += ''; } else if (imgInfo == 1) { // display camera icon str += ''; } else { // display spacer image str += ''; } if (imgInfo > 0) { return _genItemLink(itemId,str); } else { return str; } } function _headerStore() { _docWrite('
'); //only title if (sektitledisplay == 1&&ekTitle!=""){ _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite('
' + _spacer(10, 1) + _text2html(ekTitle) + '
'+ _spacer(1, 1) +'
'+ _spacer(7, 7) +'
'); } // no head if (sektitledisplay == 2){ _docWrite(''); _docWrite(''); _docWrite('
'+ _spacer(1, 1) +'
'); } //no head if (sektitledisplay == 0){} _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(''); if (sekfooterdisplay ==1){ _docWrite(''); } _docWrite('
'); _docWrite(''); } function _footerStore() { _docWrite('
'); _docWrite('
'+_spacer(12, 1)+visitMyeBayStoreFooter+ _spacer(12, 1)+'
'); _docWrite('
'); } function _bodyStore(arrItem) { //EKStore list view if (sekitemlayout==0){ for (var i=0;i'+_spacer(1, 10)+''); } else { _docWrite(''+_spacer(1, 16)+''); } _itemStoreList(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14]); if (i%2==1){ _docWrite(''+_spacer(1, 10)+''); if (i+1!=arrItem.length || sekfooterdisplay ==1) _docWrite(''+ _spacer(1, 1) +''); } } if (arrItem.length%2==1){ _docWrite(''+_spacer(1, 10)+''); if (sekfooterdisplay ==1) _docWrite(''+ _spacer(1, 1) +''); } } //EKStore gallery view if (sekitemlayout==1){ for (var i=0;i'+_spacer(1, 16)+''); _docWrite(''); } _itemStoreGallery(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14]); if (i%2==0){ _docWrite(''+_spacer(10, 1)+''); } if (i%2==1){ _docWrite(''+_spacer(30, 1)+''); _docWrite(''); _docWrite(''+_spacer(1, 16)+''); if (i+1!=arrItem.length || sekfooterdisplay ==1) _docWrite(''+ _spacer(1, 1) +''); } } if (arrItem.length%2==1){ _docWrite(''+_spacer(30, 1)+''); _docWrite(''); _docWrite(''+_spacer(20, 1)+''); _docWrite(''); _docWrite(''+_spacer(30, 1)+''); _docWrite(''); _docWrite(''+_spacer(1, 16)+''); if (sekfooterdisplay ==1) _docWrite(''+ _spacer(1, 1) +''); } } } function _itemStoreList(itemId, title, price, shipPrice,shippingType,bidCount, days,hours,minutes, imgInfo,pbpEligible,ppEligible,subtitle,binPrice,binIcon) { var endTime=_getTimeLeft(days,hours,minutes); var timeColor = (isEnding ? endColor : fontColor); _docWrite(''); _docWrite(''+_spacer(30, 1)+''); _docWrite(''); _docWrite(_genImgEKStore(imgInfo,itemId)); _docWrite(''); _docWrite(''); _docWrite(_spacer(20, 1)); _docWrite(''); _docWrite(''); _docWrite(''); _docWrite(_genItemLink(itemId, _cleanTitle(title))); _docWrite(_getPaypalInfo(pbpEligible,ppEligible)); _docWrite(''); if (subtitle!="") _docWrite('
'+''+subtitle+''); _docWrite(''+_spacer(10, 1)+''); if (binPrice!=price) { _write(''+_getShipPrice(price, shipPrice,shippingType)+''); _docWrite("
"); } if (binPrice) { _write(binPrice);} _docWrite(''+_spacer(10, 1)+''); if (binPrice!=price) { _write((bidCount > 1 ? bidCount+" "+binsLabel : (bidCount==0?"":bidCount+" "+binLabel))); _docWrite('
'); } if (binPrice) _docWrite(binIcon); _docWrite(''+_spacer(2, 1)+''); _writeWithColor(endTime, timeColor); _docWrite(''+_spacer(30, 1)+''); _docWrite(''); } function _itemStoreGallery(itemId, title, price, shipPrice,shippingType, bidCount,days,hours,minutes, imgInfo,pbpEligible,ppEligible,subtitle,binPrice,binIcon) { var endTime=_getTimeLeft(days,hours,minutes); var timeColor = (isEnding ? endColor : fontColor); _docWrite(''+_spacer(30, 1)+''); _docWrite(''+_genImgEKStore(imgInfo,itemId)+''); _docWrite(''+_spacer(20, 1)+''); _docWrite(''); _docWrite(''); _docWrite(_genItemLink(itemId, _cleanTitle(title))); _docWrite(''); _docWrite(_getPaypalInfo(pbpEligible,ppEligible)); _docWrite('
'); if (subtitle!="") _docWrite(''+subtitle+'
'); if (binPrice!=price){ _write(''+_getShipPrice(price, shipPrice,shippingType)+''); _write((bidCount > 1 ? ", "+bidCount+" "+binsLabel : (bidCount==0?"":", "+bidCount+" "+binLabel))); _docWrite('
'); } if (binPrice) _write(binPrice+binIcon+'
'); _write(timeLabel+":"); _writeWithColor(endTime, timeColor); _docWrite(''); } function _EKstoreNoResultBody() { _docWrite(''+ _spacer(1, 1) +''); _docWrite(''); _docWrite(''+ _spacer(5,5) + '

'); _docWrite(_spacer(10,1)+viewMyeBayStore+_spacer(10,1)); _docWrite('

'); _docWrite(''+ _spacer(1, 1) +''); } function _eBaySniplet() { _headerStore(); var arrItem = new Array( new Array("110370520732", "Collection of DanglyPierced Earrings ~ LOT OF 4 ~ L0131", "$15.75", "", "-1",0,2, 17, 54, 2 ,"","true","","$15.75", _genItemLink(110370520732, binIcon) ), new Array("110370522764", "Bold Funky 80's Pierced Earrings ~ Lot of 3 ~ L0032", "$15.97", "", "-1",0,2, 17, 58, 2 ,"","true","","$15.97", _genItemLink(110370522764, binIcon) ), new Array("360192784713", "Vintage Goldtone Pierced Earrings - Lot of 4 - L0009", "$15.75", "", "-1",0,2, 19, 21, 2 ,"","true","","$15.75", _genItemLink(360192784713, binIcon) ), new Array("110344127056", "Vintage Sheet Music - Killing Me Softly, Roberta Flack", "$7.50", "", "-1",0,2, 20, 57, 2 ,"","true","","$7.50", _genItemLink(110344127056, binIcon) ), new Array("110344163079", "Signed VENDOME Goldtone Hoops Clip Earrings - U3304", "$17.50", "", "-1",0,2, 22, 29, 2 ,"","true","","$17.50", _genItemLink(110344163079, binIcon) ), new Array("110344173366", "Vintage Rhinestone Necklace - RS1079", "$140.00", "", "-1",0,2, 23, 04, 2 ,"","true","","$140.00", _genItemLink(110344173366, binIcon) ), new Array("110344177361", "Vintage Dangly Glass Bead Pierced Earrings ~ U810", "$12.37", "", "-1",0,2, 23, 18, 2 ,"","true","","$12.37", _genItemLink(110344177361, binIcon) ), new Array("110344190932", "Vintage Rhinestone Bracelet - RS1431", "$46.75", "", "-1",0,3, 00, 02, 2 ,"","true","","$46.75", _genItemLink(110344190932, binIcon) ), new Array("360193114834", "SIGNED Damascene Man Carrying Buckets Brooch/Pin S1186", "$49.09", "", "-1",0,3, 22, 09, 2 ,"","true","","$49.09", _genItemLink(360193114834, binIcon) ), new Array("360193118964", "SIGNED Damascene Ship Brooch/Pin S1315", "$32.72", "", "-1",0,3, 22, 30, 2 ,"","true","","$32.72", _genItemLink(360193118964, binIcon) ), new Array("360193120575", "Vintage Damascene Dangle Screw Back Earrings U2231", "$63.75", "", "-1",0,3, 22, 39, 2 ,"","true","","$63.75", _genItemLink(360193120575, binIcon) ), new Array("360193128434", "Vintage Damascene Clip Earrings Signed SPAIN ~ S1314", "$38.25", "", "-1",0,3, 23, 26, 2 ,"","true","","$38.25", _genItemLink(360193128434, binIcon) ), new Array("360193129763", "Vintage Damascene Dangle Screw Back Earrings U2232", "$42.50", "", "-1",0,3, 23, 34, 2 ,"","true","","$42.50", _genItemLink(360193129763, binIcon) ), new Array("360193134764", "SIGNED SPAIN Damascene Ship Brooch/Pin S1188", "$32.72", "", "-1",0,4, 00, 02, 2 ,"","true","","$32.72", _genItemLink(360193134764, binIcon) ), new Array("360193143449", "Vintage Damascene Dangle Screw Back Earrings U2229", "$29.75", "", "-1",0,4, 00, 56, 2 ,"","true","","$29.75", _genItemLink(360193143449, binIcon) ), new Array("360193145002", "SIGNED SPAIN Damascene Flower Brooch/Pin U3657", "$42.50", "", "-1",0,4, 01, 05, 2 ,"","true","","$42.50", _genItemLink(360193145002, binIcon) ), new Array("360193152559", "SIGNED SPAIN Damascene Flower Brooch/Pin U3628", "$32.94", "", "-1",0,4, 01, 48, 2 ,"","true","","$32.94", _genItemLink(360193152559, binIcon) ), new Array("360193157272", "Vintage SIGNED TOLEDO Damascene Cat Brooch/Pin ~ S1313", "$36.12", "", "-1",0,4, 02, 17, 2 ,"","true","","$36.12", _genItemLink(360193157272, binIcon) ), new Array("360193269067", "Tiger Face Sequin Applique", "$7.50", "", "-1",0,4, 15, 06, 2 ,"","true","","$7.50", _genItemLink(360193269067, binIcon) ), new Array("360184235984", "Vintage SARAH COVENTRY Enamel Flower Brooch/Pin - S1235", "$40.38", "", "-1",0,5, 03, 50, 2 ,"","true","","$40.38", _genItemLink(360184235984, binIcon) ), new Array("360184236243", "Vintage Single Strand Rhinestone Necklace - RS1011", "$44.62", "", "-1",0,5, 03, 52, 2 ,"","true","","$44.62", _genItemLink(360184236243, binIcon) ), new Array("360193669806", "Vintage Clip Earrings - LOT OF 3 PAIR - Lot 125", "$7.50", "", "-1",0,5, 19, 28, 2 ,"","true","","$7.50", _genItemLink(360193669806, binIcon) ), new Array("360193707993", "Vintage Plastic Flower Screw Back Earrings - U2270", "$15.75", "", "-1",0,5, 21, 51, 2 ,"","true","","$15.75", _genItemLink(360193707993, binIcon) ), new Array("110346020871", "MONET Silvertone Dragonfly Pendant ~ S1300", "$10.00", "", "-1",0,7, 04, 17, 2 ,"","true","","$10.00", _genItemLink(110346020871, binIcon) ), new Array("110346027247", "CROWN TRIFARI Chunky Milk Glass Bracelet ~ S1322", "$63.75", "", "-1",0,7, 04, 40, 2 ,"","true","","$63.75", _genItemLink(110346027247, binIcon) ), new Array("110346032806", "CROWN TRIFARI Imitation Pearls Brooch/Pin - S1309", "$24.50", "", "-1",0,7, 05, 09, 2 ,"","true","","$24.50", _genItemLink(110346032806, binIcon) ), new Array("110346038708", "CROWN TRIFARI Plastic Drop Clip Earrings - S1335", "$17.75", "", "-1",0,7, 05, 42, 2 ,"","true","","$17.75", _genItemLink(110346038708, binIcon) ), new Array("110346043073", "MONET Enamel Brooch/Pin ~ U3593", "$15.75", "", "-1",0,7, 06, 13, 2 ,"","true","","$15.75", _genItemLink(110346043073, binIcon) ), new Array("110397725585", "MONET Goldtone Clip Earrings - S1194", "$22.50", "", "-1",0,7, 09, 43, 2 ,"","true","","$22.50", _genItemLink(110397725585, binIcon) ), new Array("110397726384", "MONET Goldtone Links Necklace - S777", "$24.75", "", "-1",0,7, 09, 48, 2 ,"","true","","$24.75", _genItemLink(110397726384, binIcon) ), new Array("360176176855", "MONET Goldtone Necklace ~ UNUSUAL LINKS ~ S1282", "$24.99", "", "-1",0,7, 13, 23, 2 ,"","true","","$24.99", _genItemLink(360176176855, binIcon) ), new Array("110346207392", "MONET Enamel Goldtone Hoop Pierced Earrings - U2988", "$18.75", "", "-1",0,7, 16, 51, 2 ,"","true","","$18.75", _genItemLink(110346207392, binIcon) ), new Array("110346342525", "GLAMOUROUS LARGE Deco Lady Sequin Applique", "$15.00", "", "-1",0,7, 21, 10, 2 ,"","true","","$15.00", _genItemLink(110346342525, binIcon) ), new Array("110346343655", "REBEL FLAG Sequin Appliques - Large and Small LOT OF 2", "$24.99", "", "-1",0,7, 21, 12, 2 ,"","true","","$24.99", _genItemLink(110346343655, binIcon) ), new Array("110346349491", "Vintage Ronald McDonald Happy Meal Toy with a bonus toy", "$9.99", "", "-1",0,7, 21, 23, 2 ,"","true","","$9.99", _genItemLink(110346349491, binIcon) ), new Array("110346376838", "Vintage Dangly Rhinestone GT Clip Earrings - RS1509", "$14.17", "", "-1",0,7, 22, 30, 2 ,"","true","","$14.17", _genItemLink(110346376838, binIcon) ), new Array("110346387959", "MONET Goldtone Links Necklace - U3600", "$17.75", "", "-1",0,7, 23, 09, 2 ,"","true","","$17.75", _genItemLink(110346387959, binIcon) ), new Array("110346457603", "Vintage Blue Rhinestone Clip Earrings - U3025", "$31.88", "", "-1",0,8, 03, 17, 2 ,"","true","","$31.88", _genItemLink(110346457603, binIcon) ), new Array("110346476668", "MONET Chunky Goldtone Links Bracelet - U3627", "$15.75", "", "-1",0,8, 04, 30, 2 ,"","true","","$15.75", _genItemLink(110346476668, binIcon) ), new Array("110346478740", "MONET Chunky Enamel Pierced Earrings - U3674", "$22.75", "", "-1",0,8, 04, 38, 2 ,"","true","","$22.75", _genItemLink(110346478740, binIcon) ), new Array("110372895948", "Vintage Dome Clip Earrings ~ LOT OF 2 ~ L0132", "$11.47", "", "-1",0,8, 14, 58, 2 ,"","true","","$11.47", _genItemLink(110372895948, binIcon) ), new Array("360176460979", "MONET Goldtone Links Necklace - S1224", "$20.75", "", "-1",0,8, 16, 21, 2 ,"","true","","$20.75", _genItemLink(360176460979, binIcon) ), new Array("110346807387", "MONET Imitation Pearls Brooch/Pin ~ U3636", "$17.75", "", "-1",0,8, 21, 35, 2 ,"","true","","$17.75", _genItemLink(110346807387, binIcon) ), new Array("110346827666", "Vintage Rhinestone Necklace and Pierced Earrings - ST2", "$14.17", "", "-1",0,8, 22, 23, 2 ,"","true","","$14.17", _genItemLink(110346827666, binIcon) ), new Array("110346833488", "BOLD CHUNKY Vintage Goldtone Rhinestone Necklace - N4", "$30.39", "", "-1",0,8, 22, 41, 2 ,"","true","","$30.39", _genItemLink(110346833488, binIcon) ), new Array("110346882245", "Signed Liz Claiborne Enamel Pierced Earrings - U3653", "$15.75", "", "-1",0,9, 01, 30, 2 ,"","true","","$15.75", _genItemLink(110346882245, binIcon) ), new Array("110346896201", "BEREBI Enamel Pierced Earrings - U3652", "$22.75", "", "-1",0,9, 02, 16, 2 ,"","true","","$22.75", _genItemLink(110346896201, binIcon) ), new Array("110346906164", "GORGEOUS Cloissone Glass Necklace - U3608", "$38.68", "", "-1",0,9, 02, 50, 2 ,"","true","","$38.68", _genItemLink(110346906164, binIcon) ), new Array("110346932573", "Vintage Enamel Butterfly Rhinestone Brooch/Pin - U3647", "$31.88", "", "-1",0,9, 04, 43, 2 ,"","true","","$31.88", _genItemLink(110346932573, binIcon) ), new Array("110346952891", "COLORFUL Beaded Enamel Fruit Pierced Earrings - U3685", "$17.50", "", "-1",0,9, 06, 46, 2 ,"","true","","$17.50", _genItemLink(110346952891, binIcon) )); _bodyStore(arrItem); _footerStore(); } if (EKSshowBlank!="true") { document.write(_getSniplet()); } document.write('');