function sd(a,f){var e="s4",b=".jpg";var c=a.toLowerCase().slice(0,3);switch(a.length){case 2:e="s5";c="000";b=".gif";break;case 6:e="s1";break;case 7:e="s1";break;case 9:e="s2";break;case 11:e="s2";break;case 10:e="s3";break;case 12:e="s3";break}e="http://"+e+".la20.de/"+f+"/"+c+"/"+a+b;return e}function tbInfoChange(a){for(i=1;i<=6;i++){gid("tbInfo"+i).style.display="none"}gid("tbInfo"+a).style.display="";tds=gid("tbInfo").getElementsByTagName("td");var b=tds.length;for(i=0;i<b;i++){if(tds[i].className=="active menu"){tds[i].className="menu"}}gid("tab"+a).className="active menu";if(a>1){if(a==6){var c="?"+Math.floor(Math.random()*999)}else{var c=""}request=createRequest();request.onreadystatechange=function(){responseLaInfo(a)};request.open("GET","/tp/laInfoho"+a+".php"+c,true);request.send(null)}if(a==6){gid("tbInfoEmpty").className="tbInfo340"}else{gid("tbInfoEmpty").className="tbInfo145"}}function responseLaInfo(a){if(request.readyState==4){gid("tbInfo"+a).innerHTML=request.responseText}}var t=new Object();window.onload=function(){responseOnline()};function responseOnline(){var b=ou.split(";");t=b.length;var c=gid("uhr").firstChild;c.data=ot+" Uhr";if(t>6){for(var a=0;a<6;++a){gid(getId("u",a)).setAttribute("src",sd(b[a+1],"uil"));gid(getId("u",a)).setAttribute("alt",b[a+1]);gid(getId("a",a)).setAttribute("href","/"+b[a+1]+".html")}rp(7)}}function rp(c){var b=ou.split(";");p=Math.floor(Math.random()*6);if(c+1==t){c=1}if(b.length>=c){if(ir==1){gid(getId("u",p)).setAttribute("src",sd(b[c],"uil"));gid(getId("u",p)).setAttribute("alt",b[c]);gid(getId("a",p)).setAttribute("href","/"+b[c]+".html");var a=Math.floor(Math.random()*100);if(a<20){if(p==0){uih(document.u0)}if(p==1){uih(document.u1)}if(p==2){uih(document.u2)}if(p==3){uih(document.u3)}if(p==4){uih(document.u4)}if(p==5){uih(document.u5)}setTimeout("uila("+p+")",500)}c++}setTimeout("rp("+c+")",1000)}}function getId(a,c){var b=a+c;return b}function uila(a){if(a==0){uil(document.u0)}if(a==1){uil(document.u1)}if(a==2){uil(document.u2)}if(a==3){uil(document.u3)}if(a==4){uil(document.u4)}if(a==5){uil(document.u5)}}ie5=(document.getElementById&&document.all)?1:0;ns6=(document.getElementById&&navigator.appName.indexOf("Netscape")>=0)?1:0;w3c=(document.getElementById)?1:0;wid=(ie5)?window.document.body.clientWidth-20:window.innerWidth-36;document.write('<div id="di1" style="position:absolute;z-index:100"></div>');outd="";if(w3c){div1=document.getElementById("di1")}function move_div(a,b){if(isNaN(a+b)){return}div1.style.left=a+"px";div1.style.top=b+"px"}function write_div(a){div1.innerHTML=a}function big(a){ondiv=a;write_div("<a href=javascript:void(0) onmouseout='big_hide()' onmouseover='ondiv=1'><img src="+a+"></a>");move_div(x,y)}function big_hide(){ondiv=0;t3=window.setTimeout("big_hide2()",100)}function big_hide2(){if(ondiv==0){write_div("");move_div(-1000,-1000)}}y=x=0;function dragIt(a){if(ie5){x=window.event.clientX+document.body.scrollLeft;y=window.event.clientY+document.body.scrollTop}else{x=a.pageX;y=a.pageY}}document.onmousemove=dragIt;setTimeout("tbInfoChange(tab);",100);function uih2(a){ir=0;uih(a)}function uil2(a){ir=1;uil(a)}function createRequest(){try{var b=new XMLHttpRequest()}catch(a){try{var b=new ActiveXObject("MSXML2.XMLHTTP")}catch(a){var b=new ActiveXObject("Microsoft.XMLHTTP")}}return b}function gid(a){return document.getElementById(a)}function setZoom(b,d,e,a,f,g,c){setTimeout(function(){if(b.dir==d){b.style.width=e;b.style.height=a;b.style.margin=f;b.style.zIndex=g;b.parentNode.parentNode.style.zIndex=g}},c)}function uih(b){var c=125,a=125;b.dir="rtl";b.setAttribute("src",sd(b.getAttribute("alt"),"uih"));now=parseInt(b.style.zIndex);for(i=now+1;i<=10;i++){w=(c*(10+i))/20+"px";h=(a*(10+i))/20+"px";m=(-i)-36+"px 0 0 "+(-c*i/27)+"px";setZoom(b,"rtl",w,h,m,i,10*(i-now))}}function uil(b){var c=80,a=80;b.dir="ltr";b.setAttribute("src",sd(b.getAttribute("alt"),"uil"));now=parseInt(b.style.zIndex);for(i=now-1;i>=0;i--){w=(c*(10+i))/20+"px";h=(a*(10+i))/20+"px";m=(-i)+"px 0 0 "+(-c*i/27)+"px";setZoom(b,"ltr",w,h,m,i,10*(now-i))}}function li(){if(gid("username").value==""){gid("le").innerHTML="<b style='background-color:#FA9119; color:#fff; padding:2px;'>Bitte ausfüllen!</b>";document.login.username.style.background="#FA9119";document.login.username.focus();return false}if(gid("password").value==""){gid("le").innerHTML="<b style='background-color:#FA9119; color:#fff; padding:2px;'>Bitte ausfüllen!</b>";document.login.password.style.background="#FA9119";document.login.password.focus();return false}gid("lf").className="none";gid("ls").innerHTML='<div style="background-color:#FA9119; color:#fff; padding:2px; margin:0px; width:60px;">&nbsp;&nbsp;Laden...</div>'}function sf(){document.login.username.focus()}sf();


