var old="li2_1"; var active_global="li1"; var active_global_hnav_old=""; var navi_over=0; function CheckInput1 () {return true; var felder_ok="1"; for (i = 0; i < document.getElementById("form_mailer").elements.length; ++i) if (document.getElementById("form_mailer").elements[i].value == "") { if (felder_ok=="1") document.getElementById("form_mailer").elements[i].focus(); document.getElementById("form_mailer").elements[i].style.backgroundColor="#faf0be";/*#ffd570";*/ felder_ok="0"; } else {document.getElementById("form_mailer").elements[i].style.backgroundColor="#FFFFFF";} if (felder_ok=="1") {return true;} else {return false;} } function breite (b,h) { window.outerWidth=b; window.outerHeight=h; } function fenster (path) { hoehe=650; breite=750; path=path+'&breite='+breite+'&hoehe='+hoehe; fenster1=window.open(path,'bildfenster','width='+(breite+20)+',height='+(hoehe+20)+',location=no,screenX=100,screenY=160,scrollbars=yes'); } function ausgewaehlt (aktiv) { var zu_oeffnen=""; var aktivsplit=new Array(); aktivsplit=aktiv.split("_"); for (i=0;i<(aktivsplit.length);i++) { zu_oeffnen=""; for (n=0;n<i+1;n++) { zu_oeffnen=zu_oeffnen+'_'+aktivsplit[n]; } zu_oeffnen=zu_oeffnen.replace("_",""); zu_oeffnen=zu_oeffnen+'_0'; if (document.getElementById(zu_oeffnen)) {document.getElementById(zu_oeffnen).style.display="block";} } var li_zu_a=""; li_zu_a=active_global.replace("li","a"); document.getElementById(li_zu_a).style.backgroundColor="#4a4a70"; old=aktiv; active_global=aktiv; } function link_content (aktiv) { if (active_global_hnav_old!="") { document.getElementById(active_global_hnav_old).style.fontStyle="normal"; document.getElementById(active_global_hnav_old).style.textDecoration="underline"; } document.getElementById(aktiv).style.textDecoration="none"; document.getElementById(aktiv).style.fontStyle="italic"; active_global_hnav_old=aktiv; } function navigation_out (aktuell_fkt) { if (navi_over==1) { var aktuell="0"; aktuell=aktuell_fkt; var oldsplit=new Array(); var aktuellsplit=new Array(); oldsplit = old.split("_"); aktuellsplit = aktuell.split("_"); var amlaengsten=""; if (aktuellsplit.length>oldsplit.length) amlaengsten=aktuellsplit.length; if (aktuellsplit.length==oldsplit.length) amlaengsten=aktuellsplit.length; if (aktuellsplit.length<oldsplit.length) amlaengsten=oldsplit.length; var a=-1; for (i=0;i<amlaengsten;i++) { if (aktuellsplit[i]!=oldsplit[i]) { a=i; break; } } var zu_loeschen=""; if (a!=-1) { for (i=a;i<(oldsplit.length);i++) { zu_loeschen=""; for (n=0;n<i+1;n++) { zu_loeschen=zu_loeschen+'_'+oldsplit[n]; } zu_loeschen=zu_loeschen.replace("_",""); zu_loeschen=zu_loeschen+'_0'; if (document.getElementById(zu_loeschen)) {document.getElementById(zu_loeschen).style.display="none";} } } old=aktuell; } if (aktuell_fkt==0) {ausgewaehlt(active_global);} } function navigation_over (aktuell) { navi_over=1; navigation_out(aktuell); var oeffnen=""; oeffnen=aktuell+'_0'; if (document.getElementById(oeffnen)) {document.getElementById(oeffnen).style.display="block";} } function navigation_verstecken () { var punkte="3"; var zu_loeschen=""; for (i=0;i<punkte+1;i++) { zu_loeschen='li'+i+'_0'; if (document.getElementById(zu_loeschen)) {document.getElementById(zu_loeschen).style.display="none";} } } function box(width_user,head_text,inhalt) { document.write( '<div class="box" style="width:' + width_user + 'px;">'+ '<div class="top" style="color:#FFFFFF;width:' + width_user + 'px; background-image: url(design/box_rand_top_' + width_user + '.gif);">'+head_text+'</div>'+ '<div class="inhalt" style="width:' + width_user + 'px; background-image: url(design/box_filler_' + width_user + '.gif);">'+ inhalt+ '<div style="line-height:0.47em"><br /></div>'+ '</div>'+ '<div class="bottom" style="width:' + width_user + 'px; background-image: url(design/box_rand_bottom_' + width_user + '.gif);"></div>'+ '</div>'); }