function drawBorder(c,a,b){$("td1"+b+c).className="borderTopTD"}function Email2Phone(){if($("divsubCellnumber").style.display=="none"){$("divsubCellnumber").style.display="";$("divsubEmail").style.display="none";$("aEorM").innerHTML="Subscribe to get mail on your e-Mail";$("EorM").innerHTML="Your Cellphone:";$("sendType").value="M"}else{$("divsubCellnumber").style.display="none";$("divsubEmail").style.display="";$("aEorM").innerHTML="Subscribe to get SMS on your phone";$("EorM").innerHTML="Your Email:";$("sendType").value="E"}}function navsort(a){if($("categores")){ajax.call("content",a,$("categores").value)}else{ajax.call("content",a)}}function hover(a,b){if(a==1){$("tdl"+b).style.background="url(/i/frontend/lt_h.png) no-repeat";$("tdm"+b).style.background="url(/i/frontend/mt_h.gif) repeat-x";$("tdr"+b).style.background="url(/i/frontend/rt_h.png) no-repeat"}else{$("tdl"+b).style.background="url(/i/frontend/lt.png) no-repeat";$("tdm"+b).style.background="url(/i/frontend/mt.gif) repeat-x";$("tdr"+b).style.background="url(/i/frontend/rt.png) no-repeat"}}function setClass(a,b){for($i=1;$i<=$(b).value;$i++){if(a.substring(a.indexOf("_",0)+1,a.length)==$i){$("mb_"+$i).className="bottom_menu_li_cur"}else{$("mb_"+$i).className="bottom_menu_li"}}}function moreRelated(b,a){for(i=b;i<=a;i++){if($("a"+i)){$("a"+i).style.display=""}}}function showMessageJS(c,b,a){if(c=="show"){$(b).innerHTML=a}else{$(b).innerHTML=""}}function hideSubMenu(a,b){for(i=0;i<=a;i++){if(i==b){continue}if($("sm"+i)){$("sm"+i).addClass("hidden")}}}function setMainImageBorder(a){if(!$("BoxDUserImage")){return}if(a==0){$("BoxDUserImage").style.borderStyle="none";$("BoxDUserImage").style.borderWidth="0px"}if(a==1){$("BoxDUserImage").style.borderStyle="solid";$("BoxDUserImage").style.borderWidth="1px"}if(a==2){$("BoxDUserImage").style.borderStyle="solid";$("BoxDUserImage").style.borderWidth="2px"}if(a==3){$("BoxDUserImage").style.borderStyle="outset";$("BoxDUserImage").style.borderWidth="2px"}if(a==4){$("BoxDUserImage").style.borderStyle="dashed";$("BoxDUserImage").style.borderWidth="2px"}if(a==5){$("BoxDUserImage").style.borderStyle="dotted";$("BoxDUserImage").style.borderWidth="1px"}if(a==6){$("BoxDUserImage").style.borderStyle="dotted";$("BoxDUserImage").style.borderWidth="2px"}}function setMinWidth(a,c){if(!$(a)||!$(c)){return}sWidth=$(a).offsetWidth;$(c).removeClass("hidden");tWidth=$(c).offsetWidth;var b=navigator.userAgent.toLowerCase();if(tWidth<sWidth){if(b.indexOf("msie")!=-1&&b.indexOf("opera")==-1&&b.indexOf("webtv")==-1){$(c).setStyle("width",sWidth+50+"px")}else{$(c).setStyle("min-width",sWidth+50+"px")}}else{if(b.indexOf("msie")!=-1&&b.indexOf("opera")==-1&&b.indexOf("webtv")==-1){$$("div#"+c+" a.forIE").each(function(d){$(d).setStyle("width",tWidth+"px")})}}$(c).addClass("hidden")}function getHeadZonesMaxHeight(){adv12Height=($("headerAdvZones1")?$("headerAdvZones1").offsetHeight:0);adv13Height=($("headerAdvZones2")?$("headerAdvZones2").offsetHeight:0);adv14Height=($("headerAdvZones3")?$("headerAdvZones3").offsetHeight:0);topLogoAboveHeight=($("topLogoAbove")?$("topLogoAbove").offsetHeight:0);max=adv12Height+topLogoAboveHeight;if(adv13Height>max&&adv13Height>adv14Height){max=adv13Height}if(adv14Height>max&&adv14Height>adv13Height){max=adv14Height}return max}function setHeaderHeight(a){advHeight=getHeadZonesMaxHeight();maxHeight=(a?a:120);if($("headerSubContainer")&&(maxHeight<advHeight)){maxHeight=advHeight}if($("headerSubContainer")){$("headerSubContainer").style.height=maxHeight+"px"}if($("headerAdvZones1")&&$("td1")){$("td1").style.height=maxHeight+"px"}if($("headerAdvZones2")&&$("td2")){$("td2").style.height=maxHeight+"px"}if($("headerAdvZones3")&&$("td3")){$("td3").style.height=maxHeight+"px"}};
