//<!--
//\include\js\search\sale_search01.js@@\main\20

var Column=new Array();var Subtitle=new Array();var Gcs=new Array();var Sale=new Array();var ALT=new Object();var STR=new Object();var SVR=new Object();var FNT=new Object();var ENV=new Object();var CLR=defaultClr();var OUTPUT="";var ATTR_COUNT=0;var VALIGN={picture:"top",itemNumber:"top",title:"top",price:"top",bids:"top",time:"top",attr:"top"};var ALIGN={picture:"center",itemNumber:"center",title:"center",price:"center",bids:"center",time:"center",attr:"center"};var CELL_ALIGN={picture:"center",itemNumber:"center",title:"left",price:"right",bids:"center",time:"right",attr:"right"};var WIDTH={picture:"12%",itemNumber:"12%",title:null,price:"12%",bids:"10%",time:"14%",attr:"12%"};var isWebTV=(navigator.appVersion.indexOf("WebTV")!=-1)?true:false;function wrt(str){OUTPUT+=str;}
function txt(str,fc,sz){font(sz,fc);wrt(str);wrt('</font>');}
function table(cs,cp,w,b){wrt('<table bgcolor="#ffffff" ');if(b!=null)wrt('border="'+b+'" ');if(cs!=null)wrt('cellspacing="'+cs+'" ');if(w!=null)wrt('width="'+w+'" ');if(cp!=null)wrt('cellpadding="'+cp+'" ');wrt('>');}
function img(src,h,w,b,alt){wrt('<img ');if(h!=null)wrt('height="'+h+'" ');if(w!=null)wrt('width="'+w+'" ');if(src!=null)wrt('src="'+src+'" ');if(alt!=null)wrt('alt="'+alt+'" title="'+alt+'" ');if(b!=null)wrt('border="'+b+'" ');wrt('>');}
function td(valign,align,width,bgcolor,height,rowspan,colspan){wrt('<td ');if(valign!=null)wrt('valign="'+valign+'" ');if(align!=null)wrt('align="'+align+'" ');if(width!=null)wrt('width="'+width+'" ');if(bgcolor!=null)wrt('bgcolor="'+bgcolor+'" ');if(height!=null)wrt('height="'+height+'" ');if(rowspan!=null)wrt('rowspan="'+rowspan+'" ');if(colspan!=null)wrt('colspan="'+colspan+'" ');wrt('>');}
function tr(bgcolor,valign){wrt('<tr ');if(bgcolor!=null)wrt('bgcolor="'+bgcolor+'" ');if(valign!=null)wrt('valign="'+valign+'" ');wrt('>');}
function a(href,name,target,onclick){wrt('<a ');if(href!=null)wrt('href="'+href+'" ');if(name!=null)wrt('name="'+name+'" ');if(target!=null)wrt('target="'+target+'" ');if(onclick!=null)wrt('onclick="'+onclick+'" ');wrt('>');}
function font(size,face){wrt('<font ');if(size!=null)wrt('size="'+size+'" ');if(face!=null)wrt('face="'+face+'" ');wrt('>');}
function dC(id,type,showPictureLink,showBin,showAuction,highlight,sortIcon,subtype,converted,URL,maxLen,timeZone,page,label){var col=new Object();col.id=id;col.type=type;col.showPictureLink=showPictureLink;col.showBin=showBin;col.showAuction=showAuction;col.highlight=highlight;col.sortIcon=sortIcon;col.subtype=subtype;col.converted=converted;col.URL=URL;col.maxLen=maxLen;col.timeZone=timeZone;col.maxLen=maxLen;col.page=page;col.label=label;Column[Column.length]=col;}
function dS(id,showLabel,separator,label,maxLen){var subtitle=new Object();subtitle.id=id;subtitle.showLabel=showLabel;subtitle.separator=separator;subtitle.label=label;subtitle.maxLen=maxLen;Subtitle[Subtitle.length]=subtitle;}
function dSI(featured,galleryType,giftIconType,siteId,saleType,IsHighlightSearch,IsBoldSearch,IsPicturePackItem,IsNewItem,IsHomesDirect,IsSothebys,offerCount,ItemId,ItemTitle,CatId,ConvertedPriceMoneyStandard,CurrentPriceMoneyStandard,ConvertedBinPriceMoneyStandard,BinPriceMoneyStandard,IsTimeInMinutes,TimeLeftInMinutes,TimeLeft,TimeInMinutes,EndTimeDateMedium,EndTimeTimeLong,StartTimeDateMedium,StartTimeTimeLong,Attr){sale=new Object();sale.featured=featured;sale.galleryType=galleryType;sale.giftIconType=giftIconType;sale.siteId=siteId;sale.saleType=saleType;sale.IsHighlightSearch=IsHighlightSearch;sale.IsBoldSearch=IsBoldSearch;sale.IsPicturePackItem=IsPicturePackItem;sale.IsNewItem=IsNewItem;sale.IsHomesDirect=IsHomesDirect;sale.IsSothebys=IsSothebys;sale.offerCount=offerCount;sale.ItemId=ItemId;sale.ItemTitle=ItemTitle;sale.CatId=CatId;sale.ConvertedPriceMoneyStandard=checkPriceFormat(ConvertedPriceMoneyStandard);sale.CurrentPriceMoneyStandard=checkPriceFormat(CurrentPriceMoneyStandard);sale.ConvertedBinPriceMoneyStandard=checkPriceFormat(ConvertedBinPriceMoneyStandard);sale.BinPriceMoneyStandard=checkPriceFormat(BinPriceMoneyStandard);sale.TimeLeft=TimeLeft;sale.IsTimeInMinutes=IsTimeInMinutes;sale.TimeLeftInMinutes=TimeLeftInMinutes;sale.TimeInMinutes=TimeInMinutes;sale.EndTimeDateMedium=EndTimeDateMedium;sale.EndTimeTimeLong=EndTimeTimeLong;sale.StartTimeDateMedium=StartTimeDateMedium;sale.StartTimeTimeLong=StartTimeTimeLong;sale.Attr=Attr;var isLoaded=0;if(!isWebTV){for(var i in Attr){if(Attr[i]!="")isLoaded=1;break;}}else isLoaded=1;sale.Attr.isLoaded=isLoaded;sale.showingSubtitle=0;if(!isWebTV){ss:for(var i in sale.Attr){for(var j=0;j<Subtitle.length;j++){var id=i.substring(i.indexOf("a")+1);if(id==Subtitle[j].id){sale.showingSubtitle=1;break ss;}}}}else if(Subtitle.length>0)sale.showingSubtitle=1;Sale[Sale.length]=sale;}
function drawResults(){for(i=0;i<Column.length;i++)if(Column[i].type=="attr")ATTR_COUNT++;w=WIDTH.attr.substring(0,WIDTH.attr.length-1);WIDTH.attr=(new Number(w)/ATTR_COUNT)+"%";var tw=100;var cw=0;for(var w=0;w<Column.length;w++){cw=(WIDTH[Column[w].type]!=null)?WIDTH[Column[w].type]:"0%";tw-=new Number(cw.substring(0,cw.length-1));}
WIDTH.title=tw+"%";table(0,3,'100%',0,'#FFFFFF');if(ENV.showFeaturedSection){count=countFeatures();if(count>0){tr(CLR.header,'middle');drawColumns(1);wrt('</tr>');drawRows(1);drawFooter(1);}}
ENV.bg=1;tr(CLR.header,'middle');drawColumns(0);wrt('</tr>');drawRows(0);wrt('</table>');document.write(OUTPUT);}
function drawColumns(featured){for(var i=0;i<Column.length;i++){bgcolor=searchColumnHighlight(Column[i],featured);var align=ALIGN[Column[i].type];if(Column[i].showPictureLink=="true")align="left";td(VALIGN[Column[i].type],align,WIDTH[Column[i].type],bgcolor,null,null,null);if(Column[i].type=='picture'){drawPictureHeader(Column[i],featured);}else if(Column[i].type=='itemNumber'){drawItemNumberHeader(Column[i]);}else if(Column[i].type=='title'){drawTitleHeader(Column[i],featured);}else if(Column[i].type=='price'){drawPriceHeader(Column[i]);}else if(Column[i].type=='bids'){drawBidsHeader(Column[i]);}else if(Column[i].type=='time'){drawTimeHeader(Column[i]);}else if(Column[i].type=='attr'){drawAttrHeader(Column[i]);}
wrt('</td>');}}
function drawPictureHeader(col,featured){searchHeaderText(STR.Picture);if(displayHeaderUILinks(featured)){wrt(STR.no_break);a(col.URL,null,null,null);txt(STR.Hide,FNT.face1,FNT.size1);wrt('</a>');}}
function drawItemNumberHeader(col){searchColumnHeader(col,STR.ItemNum);}
function drawTitleHeader(col,featured){str=STR.ItemTitle;if(featured==1)str=STR.FeaturedItemTitle;if(col.showPictureLink=="true"&&displayHeaderUILinks(featured)){a(col.URL,null,null,null);wrt('<b>');txt(STR.ShowPicture,FNT.face3,FNT.size1);wrt('</a></b>'+STR.no_break+STR.no_break+STR.no_break+STR.no_break+STR.no_break);}
searchColumnHeader(col,str);}
function drawPriceHeader(col){searchColumnHeader(col,STR.Price);}
function drawBidsHeader(col){if(col.showAuction=='true'){searchColumnHeader(col,STR.Bids);}else{wrt(STR.no_break);}}
function drawTimeHeader(col){if(col.subtype=='timeLeft'){searchColumnHeader(col,STR.TimeLeft);}else if(col.subtype=='listed'){searchColumnHeader(col,STR.Listed);}else if(col.subtype=='startTime'){searchColumnHeader(col,STR.StartTime+" "+col.timeZone);}else if(col.subtype=='ends'){searchColumnHeader(col,STR.Ends+" "+col.timeZone);}}
function drawAttrHeader(col){searchColumnHeader(col,col.label);}
function searchColumnHighlight(col,featured){if(featured==1&&col.highlight=='true'){return CLR.feature_hiheader;}else if(featured==1){return CLR.feature_header;}else if(col.highlight=='true'){return CLR.header_highlight;}else{return CLR.header;}}
function searchColumnHeader(col,str){if(col.URL.length>1&&col.type!='title'){a(col.URL,null,null,null);searchHeaderText(str);wrt('</a>');}else{searchHeaderText(str);}
if(col.converted=='true')wrt('<b>'+STR.Asterik+'</b>');searchColumnSort(col);}
function searchColumnSort(col){if(col.sortIcon=='up'){img(SVR.image_core+"motors/arrowUp_14x8.gif",8,14,0,'');}else if(col.sortIcon=='down'){img(SVR.image_core+"motors/arrowDown_14x8.gif",8,14,0,'');}}
function searchHeaderText(str){wrt('<b>');txt(str,FNT.face2,FNT.size2);wrt('</b>');}
function displayHeaderUILinks(featured){var showingFeatured=false;if(countFeatures()>0)showingFeatured=true;var showLink=((showingFeatured==true&&featured==true)||(showingFeatured==false&&featured==false))?true:false;if(ENV.page=='store'){return false;}else{return showLink;}}
function countFeatures(){count=0;for(i=0;i<Sale.length;i++)if(Sale[i].featured==1)count++;return count;}
function drawRows(featured){title_col=Column[1];for(var c=0;c<Column.length;c++){if(Column[c].type=="title")title_col=Column[c];}
for(i=0;i<Sale.length;i++){if((featured==1&&Sale[i].featured==1)||featured==0){if(ENV.bg==0){ENV.bg=1;}else{ENV.bg=0;}
var clr=(Sale[i].IsHighlightSearch==1)?CLR.highlight:CLR.bgcolor[ENV.bg];tr(clr,null);for(j=0;j<Column.length;j++){drawCells(Sale[i],Column[j],featured,Sale[i].showingSubtitle);if(Column[j].type=='title')title_col=Column[j];}
wrt('</tr>');if(Sale[i].showingSubtitle==1){tr(clr,null);td(VALIGN[title_col.type],CELL_ALIGN[title_col.type],WIDTH[title_col.type],null,null,null,ATTR_COUNT+1);drawTitleCell(Sale[i],title_col);wrt('</td></tr>');}
document.write(OUTPUT);OUTPUT="";}}}
function drawCells(sale,col,featured,attributes){rs=cs=null;if(attributes==1&&col.type!='title'&&col.type!='attr')rs=2;td(VALIGN[col.type],CELL_ALIGN[col.type],WIDTH[col.type],null,null,rs,cs);if(col.type=='picture'){drawPictureCell(sale,col);}else if(col.type=='itemNumber'){drawItemNumberCell(sale,col);}else if(col.type=='title'){if(attributes==1){drawSubtitleCell(sale,col);}else{drawTitleCell(sale,col);}}else if(col.type=='price'){drawPriceCell(sale,col);}else if(col.type=='bids'){drawBidsCell(sale,col);}else if(col.type=='time'){drawTimeCell(sale,col);}else if(col.type=='attr'){drawAttrCell(sale,col);}
wrt('</td>');}
function drawFooter(featured){var footer_color=(featured==1)?CLR.feature_header:CLR.header_highlight;if(featured==1){wrt('<tr>');td(null,null,null,null,null,null,Column.length);font(FNT.size1,FNT.face4);wrt(STR.FeaturedText);a("http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?Featured",null,null,null);wrt(STR.FeaturedAuctions);wrt('</a>');wrt('</font>');wrt('</td></tr>');}
wrt('<tr>');td(null,null,null,null,null,null,Column.length);table(0,0,'100%',0);tr(footer_color,null);h=1;if(featured==1)h=2;td(null,null,null,null,h,null,null);img(SVR.image+"s.gif",1,1,null,null);wrt('</td>');wrt('</tr>');if(featured==1){tr('#FFFFFF',null);td(null,null,null,null,10,null,null);img(SVR.image+"s.gif",2,1,null,null);wrt('</td>');wrt('</tr>');}
wrt('</table>');wrt('</td></tr>');}
function drawPictureCell(sale,col){if(sale.galleryType!=0){a(SVR.itemURL+sale.ItemId+"&category="+sale.CatId,null,null,null);img(SVR.thumb+sale.ItemId+".jpg",64,64,0,null);wrt('</a>');}else if(sale.IsPicturePackItem==1){a(SVR.itemURL+sale.ItemId+"&category="+sale.CatId,null,null,null);img(SVR.image+"lst/_p__64x15.gif",15,64,0,ALT.Picture);wrt('</a>');}else{img(SVR.image+"lst/____64x15.gif",15,64,0,null);}}
function drawItemNumberCell(sale,col){txt(sale.ItemId,null,FNT.size3);}
function drawTitleCell(sale,col){if(sale.IsNewItem==1&&ENV.page!='completed'){a(SVR.app+'help/basics/g-new.html',null,null,null);img(SVR.image+'lst/new.gif',null,null,0,ALT.New);wrt('</a> ');}
var f=(ENV.siteId!="196")?FNT.size3:FNT.size2;font(f,null);a(SVR.itemURL+sale.ItemId+"&category="+sale.CatId,null,null,null);if(sale.IsBoldSearch==1){wrt('<b>');wrt(sale.ItemTitle);wrt('</b>');}else{wrt(sale.ItemTitle);}
wrt('</a>');wrt('</font>');if(col.showPictureLink=="true"&&ENV.page!="store"){if(sale.galleryType!=0){wrt(STR.no_break);a(SVR.app+"help/basics/g-gallery.html",null,null,null);img(SVR.image+"lst/gal.gif",15,16,0,ALT.Gallery);wrt('</a>');}
if(sale.IsPicturePackItem==1){wrt(STR.no_break);a(SVR.itemURL+sale.ItemId+"&category="+sale.CatId,null,null,null);img(SVR.image+"lst/pic.gif",15,16,0,ALT.Picture);wrt('</a>');}}
if(sale.giftIconType!=0){wrt(STR.no_break);a(SVR.app+"help/sell/gift_icon.html",null,"helpwin","return openHelpWindow(this.href);");if(sale.siteId==100){img(SVR.image+"gift-vday.gif",16,16,0,ALT.GiftsAndServices);}else{img(SVR.image+"gift/gift.gif",16,16,0,ALT.GiftsAndServices);}
wrt('</a>');}
if(sale.IsHomesDirect!=0&&sale.saleType!=6){wrt(STR.no_break);a(SVR.app+"help/community/fcexplain.html",null,null,null);img(SVR.image+"icons/fc_icon_16x15.gif",16,15,0,ALT.HomesDirect);wrt('</a>');}
if(sale.saleType==5){wrt(STR.no_break);a("http://pages.liveauctions.ebay.com/help/welcome/overview.html",null,null,null);img(SVR.image+"LiveAuctions/icons/paddle_noflash_16x15.gif",16,15,0,ALT.LiveAuctions);wrt('</a>');}
if(sale.IsSothebys!=0){wrt(STR.no_break);a(SVR.sotheby+"help/index.html",null,null,null);img(SVR.image+"sothebys/icon.gif",null,null,0,ALT.Sothebys);wrt('</a>');}
wrt('<br />');img(SVR.image+"s.gif",1,200,0,null);}
function drawPriceCell(sale,col){if(col.showAuction=='true'){if(sale.saleType==9){if(ENV.page=='completed'){displayCurrentPrice(sale);}}else if(sale.saleType==7){}else if(col.showBin=='true'){wrt('<b>');displayCurrentPrice(sale);wrt('</b>');if(sale.BinPriceMoneyStandard!=''){wrt('<br />');img(SVR.image+'binspacer.gif',1,null,0,null);}}else{wrt('<b>');displayCurrentPrice(sale);wrt('</b>');}}
if(col.showBin=='true'){if((sale.saleType==9||sale.saleType==7)&&col.showAuction=='true'){displayCurrentPrice(sale);}else if(col.showAuction=='true'){displayBinPrice(sale);}else{wrt('<b>');displayBinPrice(sale);wrt('</b>');}}}
function drawBidsCell(sale,col){var fixedPriceItem=eval((sale.saleType==9||sale.saleType==7)&&sale.CurrentPriceMoneyStandard!='');var binItem=eval(sale.BinPriceMoneyStandard!='');var showBinIcon=eval(col.showBin=='true'&&(fixedPriceItem==true||binItem==true));var showRealestateIcon=eval(sale.saleType==6);var showOfferCount=eval(col.showAuction=='true'&&sale.saleType!=7&&sale.saleType!=6&&sale.CurrentPriceMoneyStandard!='');if(showOfferCount==true){if(ENV.page=='completed'&&sale.saleType==9){txt('-',FNT.face2,FNT.size2);if(showRealestateIcon==true||showBinIcon==true)wrt('<br />');}else if(sale.offerCount!=0){txt(sale.offerCount,FNT.face2,FNT.size2);if(showRealestateIcon==true||showBinIcon==true)wrt('<br />');}else if(sale.saleType!=9){txt('-',FNT.face2,FNT.size2);if(showRealestateIcon==true||showBinIcon==true)wrt('<br />');}}
if(showRealestateIcon==true){if(sale.IsHomesDirect==1){a(SVR.app+"help/community/fcexplain.html",null,null,null);img(SVR.image+"icons/fc_icon_16x15.gif",16,15,0,ALT.HomesDirect);wrt('</a>');}else{a(SVR.app+"help/basics/adformat-listing.html",null,null,null);img(SVR.image+"realestate/classifiedAd_16x15.gif",16,15,0,ALT.RealEstateAd);wrt('</a>');}}else if(showBinIcon==true){a(SVR.itemURL+sale.ItemId+"&category="+sale.CatId,null,null,null);img(SVR.image+"bin_15x54.gif",15,54,0,ALT.BuyItNow);wrt('</a>');}}
function drawTimeCell(sale,col){font(null,FNT.size3);wrt('<nobr>');if(col.subtype=='timeLeft'){displayTimeLeft(sale);}else if(col.subtype=='listed'){displayTimeListed(sale);}else if(col.subtype=='startTime'){displayTimeStarted(sale,col);}else if(col.subtype=='ends'){displayTimeEnds(sale);}
wrt('</nobr>');wrt('</font>');}
function drawAttrCell(sale,col){var attr_val=getAttr(sale.Attr,new Array(col.id),false);if(attr_val.length<=col.maxLen||col.maxLen==0){txt(attr_val,FNT.face2,FNT.size2);}else{truncateString(attr_val,col.maxLen-2);}}
function drawSubtitleCell(sale,col){for(var s=0;s<Subtitle.length;s++){var sub=getAttr(sale.Attr,new Array(Subtitle[s].id),false);if(sub.length>0){if(Subtitle[s].showLabel=='true')sub=Subtitle[s].label+" "+sub;if(sub.length<=Subtitle[s].maxLen||Subtitle[s].maxLen==0){txt(sub,FNT.face2,FNT.size2);}else{truncateString(sub,Subtitle[s].maxLen-2);}
if(checkIfSeparatorIsNeeded(s+1,sale)){txt(Subtitle[s].separator,FNT.face2,FNT.size2);}}}}
function checkIfSeparatorIsNeeded(s,sale){var check=false;for(var i=s;i<Subtitle.length;i++){var sub=getAttr(sale.Attr,new Array(Subtitle[i].id),false);if(sub.length>0){check=true;break;}}
return check;}
function truncateString(str,len){txt(str.substring(0,len)+"...",FNT.face2,FNT.size2);}
function getAttr(attr,id,get_all){var str="";if(attr.isLoaded==1){for(var i=0;i<Gcs.length;i++){for(var j=0;j<id.length;j++){var key="g"+Gcs[i]+"a"+id[j];if(attr[key]){if(get_all)str+=attr[key];else return attr[key];}}}}else{str+=STR.no_break;}
return str;}
function displayCurrentPrice(sale){if(sale.ConvertedPriceMoneyStandard!=''){wrt('<i>');wrt(sale.ConvertedPriceMoneyStandard);wrt('</i>');}else if(sale.CurrentPriceMoneyStandard!=''){wrt(sale.CurrentPriceMoneyStandard);}else{wrt(STR.no_break);}}
function displayBinPrice(sale){if(sale.ConvertedBinPriceMoneyStandard!=''){wrt('<i>');wrt(sale.ConvertedBinPriceMoneyStandard);wrt('</i>');}else if(sale.BinPriceMoneyStandard!=''){wrt(sale.BinPriceMoneyStandard);}else if(sale.saleType==9||sale.saleType==7){displayCurrentPrice(sale);}else{wrt(STR.no_break);}}
function checkPriceFormat(price){if(price.indexOf('font')<0){nbsp=String.fromCharCode(160);space=" ";i=price.indexOf(space);j=price.indexOf(nbsp);if(i>-1){symbol=price.substring(0,i);money=price.substring(i);symbol="<font size='-1' color='#666666'>"+symbol+"</font>";price=symbol+money;}else if(j>-1){symbol=price.substring(0,j);money=price.substring(j);symbol="<font size='-1' color='#666666'>"+symbol+"</font>";price=symbol+money;}}
return price;}
function displayTimeLeft(sale){if(sale.IsTimeInMinutes==1){wrt('<font color="red">');wrt(sale.TimeLeftInMinutes);wrt('</font>');}else{wrt(sale.TimeLeft);}}
function displayTimeListed(sale){wrt(sale.StartTimeDateMedium);wrt(STR.no_break);wrt(sale.StartTimeTimeLong);}
function displayTimeEnds(sale){if(sale.saleType!=7&&ENV.fp!=2&&ENV.fp!=3&&!(sale.saleType==9&&ENV.fp==4)){if(ENV.page=='completed'||sale.IsTimeInMinutes==0){wrt(sale.EndTimeDateMedium);wrt(STR.no_break);wrt(sale.EndTimeTimeLong);}else{wrt('<font color="red">');wrt(sale.TimeInMinutes);wrt('</font>');}}else{wrt(STR.no_break);}}
function displayTimeStarted(sale,col){if(sale.saleType!=7&&!(sale.saleType==9&&ENV.page=='store')){wrt(sale.StartTimeDateMedium);wrt(STR.no_break);wrt(sale.StartTimeTimeLong);}}
function iSvr(IMAGE_SERVER,APP_SERVER,SOTHEBYS_PATH,itemURLPath,thumbPath,IMAGE_SERVER_CORE){SVR.image=IMAGE_SERVER;SVR.app=APP_SERVER;SVR.sotheby=SOTHEBYS_PATH;SVR.thumb=thumbPath;SVR.itemURL=itemURLPath;SVR.image_core=IMAGE_SERVER_CORE;}
function iFnt(FontSizeN1,FontSizeN2,FontSize1,FontSize2,FontSize3,FontSize4,FontSize5,FontFace1,FontFace2,FontFace3,FontFace4){FNT.sizeN1=FontSizeN1;FNT.sizeN2=FontSizeN2;FNT.size1=FontSize1;FNT.size2=FontSize2;FNT.size3=FontSize3;FNT.size4=FontSize4;FNT.size5=FontSize5;FNT.face1=FontFace1;FNT.face2=FontFace2;FNT.face3=FontFace3;FNT.face4=FontFace4;}
function iEnv(currencyEnabled,isSortByNewlyListed,highlightTimeCol,highlightPriceCol,isBIN,isALLITEMS,isAUCTION,siteId){ENV.currencyEnabled=currencyEnabled;ENV.sortByNewlyListed=isSortByNewlyListed;ENV.highlightTimeCol=highlightTimeCol;ENV.highlightPriceCol=highlightPriceCol;ENV.bin=isBIN;ENV.allItems=isALLITEMS;ENV.auction=isAUCTION;ENV.showFeaturedSection=true;ENV.bg=1;ENV.fp=0;ENV.page="search";ENV.siteId=siteId;}
function iStr(NO_BREAK,strItemNum,strPicture,strHide,strShowPicture,strFeaturedItemTitle,strShow,strItemTitle,strPrice,strAsterik,strBids,strListed,strTimeLeft,strEnds,strBidPrice,strFeaturedText,strFeaturedAuctions,strStartTime){STR.ItemNum=strItemNum;STR.Picture=strPicture;STR.Hide=strHide;STR.ShowPicture=strShowPicture;STR.FeaturedItemTitle=strFeaturedItemTitle;STR.Show=strShow;STR.ItemTitle=strItemTitle;STR.Price=strPrice;STR.Asterik=strAsterik;STR.Bids=strBids;STR.Listed=strListed;STR.TimeLeft=strTimeLeft;STR.Ends=strEnds;STR.BidPrice=strBidPrice;STR.FeaturedText=strFeaturedText;STR.FeaturedAuctions=strFeaturedAuctions;STR.StartTime=strStartTime;STR.no_break=NO_BREAK;}
function iAlt(altBuyItNow,altPicture,altNew,altGallery,altGiftsAndServices,altHomesDirect,altLiveAuctions,altRealEstateAd,altSothebys){ALT.BuyItNow=altBuyItNow;ALT.Picture=altPicture;ALT.New=altNew;ALT.Gallery=altGallery;ALT.GiftsAndServices=altGiftsAndServices;ALT.HomesDirect=altHomesDirect;ALT.LiveAuctions=altLiveAuctions;ALT.RealEstateAd=altRealEstateAd;ALT.Sothebys=altSothebys;}
function iClr(header,header_highlight,feature,highlight,bgcolor){CLR.header=header;CLR.header_highlight=header_highlight;CLR.feature_header=CLR.header;CLR.feature_hiheader=CLR.header_highlight;CLR.feature=feature;CLR.highlight=highlight;CLR.bgcolor=new Array(bgcolor,"#FFFFFF");}
function defaultClr(){var CLR=new Object();CLR.header="#ffe680";CLR.header_highlight="#ffcc00";CLR.feature_header=CLR.header;CLR.feature_hiheader=CLR.header_highlight;CLR.feature="#E6CCFF";CLR.highlight="#E6CCFF";CLR.bgcolor=new Array("#EEEEEE","#FFFFFF");return CLR;}
// -->
