var sUrl="http://s0.la20.de/";var foId=new Object();function foa(c,g){var b=sd(c+","+g,"uih");var a=true;if(gid("foa").childNodes.length>0){if(b==gid("foa").getElementsByTagName("img")[0].getAttribute("src")){a=false}gid("foa").removeChild(gid("foa").firstChild)}foId="no";if(a){foId=g;var e=document.createElement("img");e.className="foi";e.setAttribute("src",b);gid("foa").appendChild(e,gid("foa"))}var f=gid("f5").getElementsByTagName("img");for(var d=0;d<f.length;d++){f[d].className="f5i"}if(a){gid("foa"+g).className="f5is"}}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 loadJS(a){if(heads==0){heads=document.getElementsByTagName("head")}if(script_element!=0){heads[0].removeChild(script_element);delete script_element}script_element=document.createElement("script");script_element.type="text/javascript";script_element.src=a;heads[0].appendChild(script_element)}function getPosition(a){var b={x:0,y:0};do{b.x+=a.offsetLeft;b.y+=a.offsetTop}while(a=a.offsetParent);return b}function mb(b,a,c){var e=getPosition(b);mbX=e.x-8;mbY=e.y-8;mbD=c;loadJS("/js/"+a+".js")}function hideBox(){gid("mBox").className="none";gid("overlay").className="none"}function mBoxClose(){gid("mBox").className="none"}function setC(a,b){gid(a).className=b}function getTs(b){var a=new Date();a=Math.round(a.getTime()/1000);a=a+b;return a}function getCookie(a){var b=new RegExp(a+"=[^;]+","i");if(document.cookie.match(b)){return document.cookie.match(b)[0].split("=")[1]}return""}function setCookie(b,d,a){var c=new Date();fixCookieDate(c);c.setTime(c.getTime()+(a*1000));document.cookie=b+"="+escape(d)+"; expires="+c.toGMTString()}function fixCookieDate(b){var c=new Date(0);var a=c.getTime();if(a>0){b.setTime(b.getTime()-a)}}function delCookie(a){document.cookie=a+"=''; expires=Thu, 01-Jan-70 00:00:01 GMT;"}function loadCookieAr(cookie){var str=getCookie(cookie);if(str.match(/family/)){document.location.href="/ie.html"}str=unescape(str);var temp=new Array();if(str!=""){str=str.replace(/,/g,'","');str='"'+str+'"';eval("temp = ["+str+"]")}var c=new Array();for(var i=0;i<temp.length;i+=2){c[temp[i]]=temp[i+1]}return c}function getCookieAr(b,a){var d=loadCookieAr(b);return d[a]}function saveCookieAr(d,a,g){var b=new Array();for(var f in g){b[b.length]=f;b[b.length]=g[f]}setCookie(d,b.toString(),a)}function setCookieAr(d,a,b,e){var f=loadCookieAr(d);f[b]=e;saveCookieAr(d,a,f)}function getURLParam(e){var d="";var c=window.location.href;if(c.indexOf("?")>-1){var a=c.substr(c.indexOf("?"));var f=a.split("&");for(var g=0;g<f.length;g++){if(f[g].indexOf(e+"=")>-1){var b=f[g].split("=");d=b[1];break}}}return unescape(d)}function setH(b){var a=gid("home");if(b==0){a.setAttribute("src",sUrl+"img/lablue.gif")}else{a.setAttribute("src",sUrl+"img/home.gif")}}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 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 drucken(){var a=window.open("/tp/drucken.php","Drucken","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=500,height=500")}var script_element=0,heads=0;

