function hideAll(){var F=new Array("up","down");for(var D=0;D<F.length;D++){var E=document.getElementById("ttip"+F[D]);if(E!=null){E.style.display="none"}}}function findPosX(D){var C=0;if(D.offsetParent){while(D.offsetParent){C+=D.offsetLeft;D=D.offsetParent}}else{if(D.x){C+=D.x}}return C}function findPosY(D){var C=0;if(D.offsetParent){while(D.offsetParent){C+=D.offsetTop;D=D.offsetParent}}else{if(D.y){C+=D.y}}return C}function showHLP(G,H,J){hideAll();obj=document.getElementById("ttip"+J);document.getElementById("ttipText"+J).innerHTML=H;obj.style.visibility="hidden";obj.style.display="block";var I=findPosY(G);var F=findPosX(G);if(J=="up"){I=I-obj.offsetHeight+5;F=F+G.offsetWidth-50}else{if(J=="down"){I=I+G.offsetHeight-5;F=F+G.offsetWidth-50}}obj.style.top=I+"px";obj.style.left=F+"px";obj.style.zIndex="99";obj.style.visibility="visible";obj.style.display="block"}function closeToolTip(){if(document.getElementById("SortNav")!=null&&IE6){document.getElementById("SortNav").style.display="block";document.getElementById("currency_section").style.display="block"}hideAll()}function showFilterToolTip(I){if(filterToolTips==null){return }if(IsRebranded&&document.getElementById("blc"+(I+1)).src.indexOf("/OverBrand/")<0){document.getElementById("blc"+(I+1)).src=document.getElementById("blc"+(I+1)).src.replace("SearchResults/","SearchResults/OverBrand/");document.getElementById("trc"+(I+1)).src=document.getElementById("trc"+(I+1)).src.replace("SearchResults/","SearchResults/OverBrand/");document.getElementById("tlc"+(I+1)).src=document.getElementById("tlc"+(I+1)).src.replace("SearchResults/","SearchResults/OverBrand/");document.getElementById("brc"+(I+1)).src=document.getElementById("brc"+(I+1)).src.replace("SearchResults/","SearchResults/OverBrand/")}if(document.getElementById("SortNav")!=null&&IE6){document.getElementById("SortNav").style.display="none";document.getElementById("currency_section").style.display="none"}if(typeof I=="undefined"){I=0}var F=filterToolTips[I];var H=document.getElementById("callbar_"+F.filtername);if(H==null){return }if((PreviousTipText.length>15)||(NextTipText.length>15)){PreviousTipText=PreviousTipText.replace(" ","<br>");NextTipText=NextTipText.replace(" ","<br>")}var G="<table width='410' border='0' class='filterTipsControls' cellpadding='0' cellspacing='0'><tr><td width='100'>&nbsp;</td><td>&nbsp;</td><td><div class='counter'><span>"+TipsText+"</span>"+(I+1)+" "+OfText+" "+filterToolTips.length+"</div></td></tr><tr><td width='400' class='closeBl' align='left'><a href='javascript: hideAll()'>"+CloseAllTipsText+"</a></td><td class='backBtn' align='left' width='150'><button "+((I==0)?"style='visibility: hidden'":"")+" onclick='showFilterToolTip("+(I-1)+")'>&laquo; "+PreviousTipText+"</button></td><td width='120' align='right'><button "+(((I-0+1)<filterToolTips.length)?"":"style='visibility: hidden'")+" onclick='showFilterToolTip("+(I-0+1)+")'>"+NextTipText+" &raquo;</button></td></tr></table>";showHLP(H,document.getElementById(F.msgid).innerHTML+G,F.position);try{if(F.position=="up"){H.scrollIntoView(false)}else{H.scrollIntoView(true)}}catch(J){}}function opacity(H,I,J,K){var L=Math.round(K/100);var G=0;if(I>J){for(i=I;i>=J;i--){setTimeout("changeOpac("+i+",'"+H+"')",(G*L));G++}}else{if(I<J){for(i=I;i<=J;i++){setTimeout("changeOpac("+i+",'"+H+"')",(G*L));G++}}}}function changeOpac(E,F){var D=document.getElementById(F).style;D.opacity=(E/101);D.MozOpacity=(E/100);D.KhtmlOpacity=(E/100);D.visibility="visible"};
