function checkthisform(a) { z = a.elements.length; for(x=0;x-1 && a.elements[x].value=="") { feld = a.elements[x].name; alert(feld+" ist leer oder nicht korrekt eingetragen!"); return false; } } } browser = navigator.appName; version = navigator.appVersion; browser_version = navigator.userAgent.toLowerCase(); os = navigator.platform; ie = "Microsoft Internet Explorer"; nn = "Netscape"; if (browser_version.indexOf("mozilla/4.")>-1 && browser == nn) { document.write(''); } else {document.write(''); } function check() { var str = document.form.email.value if (document.form.email.value.indexOf ('@', 0) == -1 || str.length < 6 || str.length > 30 || document.form.email.value.indexOf ('.',0) == -1){ alert("\nBitte geben Sie eine gueltige e-Mail-Adresse ein!"); document.form.email.select(); document.form.email.focus(); return false; } } NS4 = (document.layers) ? true : false; IE4 = (document.all && !document.getElementById) ? true : false; IE5 = (document.all && document.getElementById) ? true : false; NS6 = (!document.all && document.getElementById) ? true : false; IE7 = ((version.indexOf("MSIE 7") > -1) && (document.getElementById)) ? true : false; var a; function show(a) { if(a == "true") { } else { if(document.layers) { elm = document.layers[a]; elm.visibility="visible"; } if(IE4) { elm = document.all[a]; elm.style.visibility = "visible"; } if(IE5||NS6) { elm = document.getElementById(a); elm.style.visibility= "visible"; } } } function initlay(){ if(NS4) { z= document.layers; xx= window.innerHeight; if(document.layers["bottom_menu1"]) { x= document.layers["bottom_menu1"].clip.top; h= document.layers["bottom_menu1"].clip.height; document.layers["bottom_menu1"].top = xx-h; if(z["bottom_menu2"]) { z["bottom_menu2"].top = xx-h; } if(z["bottom_menu3"]) { z["bottom_menu3"].top = xx-h; } if(z["bottom_menu4"]) { z["bottom_menu4"].top = xx-h; } if(z["bottom_menu5"]) { z["bottom_menu5"].top = xx-h; } if(z["bottom_menu6"]) { z["bottom_menu6"].top = xx-h; } if(z["bottom_u_menu1"]) { heigh1 = z["bottom_u_menu1"].clip.height z["bottom_u_menu1"].top = xx-h-heigh1; } if(z["bottom_u_menu2"]) { heigh2 = z["bottom_u_menu2"].clip.height z["bottom_u_menu2"].top = xx-h-heigh2; } if(z["bottom_u_menu3"]) { heigh3 = z["bottom_u_menu3"].clip.height z["bottom_u_menu3"].top = xx-h-heigh3; } if(z["bottom_u_menu4"]) { heigh4 = z["bottom_u_menu4"].clip.height z["bottom_u_menu4"].top = xx-h-heigh4; } if(z["bottom_u_menu5"]) { heigh5 = z["bottom_u_menu5"].clip.height z["bottom_u_menu5"].top = xx-h-heigh5; } if(z["bottom_u_menu6"]) { heigh6 = z["bottom_u_menu6"].clip.height z["bottom_u_menu6"].top = xx-h-heigh6; } } } if(IE4) { z= document.all; xx= document.body.clientHeight; if(z["bottom_menu1"]) { x= z["bottom_menu1"].offsetTop; h= z["bottom_menu1"].offsetHeight; z["bottom_menu1"].style.pixelTop = xx-h; if(z["bottom_menu2"]) { z["bottom_menu2"].style.pixelTop = xx-h; } if(z["bottom_menu3"]) { z["bottom_menu3"].style.pixelTop = xx-h; } if(z["bottom_menu4"]) { z["bottom_menu4"].style.pixelTop = xx-h; } if(z["bottom_menu5"]) { z["bottom_menu5"].style.pixelTop = xx-h; } if(z["bottom_menu6"]) { z["bottom_menu6"].style.pixelTop = xx-h; } if(z["bottom_u_menu1"]) { heigh1 = z["bottom_u_menu1"].offsetHeight z["bottom_u_menu1"].style.top = xx-h-heigh1; } if(z["bottom_u_menu2"]) { heigh2 = z["bottom_u_menu2"].offsetHeight z["bottom_u_menu2"].style.top = xx-h-heigh2; } if(z["bottom_u_menu3"]) { heigh3 = z["bottom_u_menu3"].offsetHeight z["bottom_u_menu3"].style.top = xx-h-heigh3; } if(z["bottom_u_menu4"]) { heigh4 = z["bottom_u_menu4"].offsetHeight z["bottom_u_menu4"].style.top = xx-h-heigh4; } if(z["bottom_u_menu5"]) { heigh5 = z["bottom_u_menu5"].offsetHeight z["bottom_u_menu5"].style.top = xx-h-heigh5; } if(z["bottom_u_menu6"]) { heigh6 = z["bottom_u_menu6"].offsetHeight z["bottom_u_menu6"].style.top = xx-h-heigh6; } } } if(IE5||NS6) { z= document.getElementById; xx= document.body.clientHeight; if(z("bottom_menu1")) { x= z("bottom_menu1").offsetTop; h= z("bottom_menu1").offsetHeight; z("bottom_menu1").style.top = xx-h; if(z("bottom_menu2")) { z("bottom_menu2").style.top = xx-h; } if(z("bottom_menu3")) { z("bottom_menu3").style.top = xx-h; } if(z("bottom_menu4")) { z("bottom_menu4").style.top = xx-h; } if(z("bottom_menu5")) { z("bottom_menu5").style.top = xx-h; } if(z("bottom_menu6")) { z("bottom_menu6").style.top = xx-h; } if(z("bottom_u_menu1")) { heigh1 = z("bottom_u_menu1").offsetHeight z("bottom_u_menu1").style.top = xx-h-heigh1; } if(z("bottom_u_menu2")) { heigh2 = z("bottom_u_menu2").offsetHeight z("bottom_u_menu2").style.top = xx-h-heigh2; } if(z("bottom_u_menu3")) { heigh3 = z("bottom_u_menu3").offsetHeight z("bottom_u_menu3").style.top = xx-h-heigh3; } if(z("bottom_u_menu4")) { heigh4 = z("bottom_u_menu4").offsetHeight z("bottom_u_menu4").style.top = xx-h-heigh4; } if(z("bottom_u_menu5")) { heigh5 = z("bottom_u_menu5").offsetHeight z("bottom_u_menu5").style.top = xx-h-heigh5; } if(z("bottom_u_menu6")) { heigh6 = z("bottom_u_menu6").offsetHeight z("bottom_u_menu6").style.top = xx-h-heigh6; } } } } function scroll() { g = document.getElementById("bottom_menu1"); z= g.offsetTop; hoehe_scroll = document.body.scrollHeight; unterschied = hoehe_scroll-xx; } function top_nurfiles(a,b) { if(IE4) { elm= document.all["nurfiles"]; xx= document.body.clientWidth; if(elm){ elm.style.pixelTop=a; if(xx<=850){ if(xx<=700){ elm.style.pixelLeft=xx/2-200; } else{ elm.style.pixelLeft=xx/2-280; } } else{ if(xx>=1000) { elm.style.pixelLeft=xx/2-340; } else{ elm.style.pixelLeft=xx/2-300;} } } } if(NS4) { elm= document.layers["nurfiles"]; xx= window.innerWidth; if(elm){ elm.top=a; if(xx<=850){ if(xx<=700){ elm.left=xx/2-200; } else{ elm.left=xx/2-280; } } else{ if(xx>=1000) { elm.left=xx/2-340; } else{ elm.left=xx/2-300;} } } } if(IE5||NS6) { z= document.getElementById; xx= document.body.clientWidth; if(z("nurfiles")){ z("nurfiles").style.top=a; if(xx<=850){ if(xx<=700){ z("nurfiles").style.left=xx/2-180; } else{ z("nurfiles").style.left=xx/2-280; } } else{ if(xx>=1000) { z("nurfiles").style.left=xx/2-340; } else{z("nurfiles").style.left=xx/2-300;} } } } } function mOver(cell,color,hoverClass){ if(IE5 || NS6){ cell.setAttribute("bgColor",color); cell.style.cursor = 'pointer'; if(NS6){ cell.setAttribute("class",hoverClass); if(cell.childNodes[0].tagName == "A"){ cell.childNodes[0].setAttribute("class",hoverClass); }else{ cell.childNodes[1].setAttribute("class",hoverClass); } }else{ cell.setAttribute("className",hoverClass); if(cell.childNodes[0].tagName == "A"){ cell.childNodes[0].setAttribute("className",hoverClass); }else{ cell.childNodes[1].setAttribute("className",hoverClass); } } } } function mOut(cell,color,outClass) { if(IE5 || NS6){ cell.setAttribute("bgColor",color); cell.style.cursor = 'default'; if(NS6){ cell.setAttribute("class",outClass); if(cell.childNodes[0].tagName == "A"){ cell.childNodes[0].setAttribute("class",outClass); }else{ cell.childNodes[1].setAttribute("class",outClass); } }else{ cell.setAttribute("className",outClass); if(cell.childNodes[0].tagName == "A"){ cell.childNodes[0].setAttribute("className",outClass); }else{ cell.childNodes[1].setAttribute("className",outClass); } } } } function mClick(cell,color){ if(IE5 || NS6){ tName = cell.tagName; if (tName=="TABLE"){ subcell = cell.rows[0].cells[0]; chillds = subcell.childNodes.length-1; if(subcell.childNodes[chillds].tagName == "A"){ hrefs = subcell.childNodes[chillds].href; } else{ subcell = cell.rows[0].cells[1]; chillds = subcell.childNodes.length-1; hrefs = subcell.childNodes[chillds].href; } targets = subcell.childNodes[chillds].target; if(targets!="" && targets!="_self"){ window.open(hrefs,''); }else{ window.location.href=hrefs; } } else{ chillds = cell.childNodes.length-1; hrefs = cell.childNodes[chillds].href; window.location.href=hrefs; } } } function logwin(){ x=screen.availHeight; y=screen.availWidth windo = window.open('','fenster','width=700,height=550,left=0,top=0,scrollbars=yes'); } function locMail(addr,subj){ addr = addr.replace("79","."); addr = addr.replace("89","@"); location.href= "mailto:"+addr+"?subject="+subj; } function mailer(s){ location.href=s; } function firmMail(message){ window.location.href= "mailto:?subject="+message; } function scroll(){ g = document.getElementById("bottom_menu1"); z= g.offsetTop; hoehe_scroll = document.body.scrollHeight; unterschied = hoehe_scroll-xx; } function timeri(s){ if(IE4){ elm = document.all[s];if(elm)elm.style.visibility="hidden"; } if(IE5 || NS6){ elm = document.getElementById(s);if(elm)elm.style.visibility="hidden"; if(elm2){ elm2.style.visibility = 'hidden'; } if(NS6){ document.body.style.overflow = "hidden"; }else{ document.body.scroll = 'auto'; } } } function showDisplay(s){ if(IE5 || NS6){ elm = document.getElementById(s); if(elm.style.display=="none"){ elm.style.display = "block"; } else{ elm.style.display ="none"; } } } function newWindow(href,name,settings){ window.open(href,name,settings); } function grossbild(t,u,v,y,x){ grossbild2(t,u,v,y,x); } function grossbildNew(t,u,v,y,x){ bild = "images/intelli/"+t; weite = parseInt(y); hoehe = parseInt(x); hoehe2 = hoehe-1; weite2 = weite+12; spacer = hoehe2; elm = document.getElementById("showImageLayer"); elm2 = document.getElementById("showBgLayer"); elm3 = document.getElementById("showHTMLayer"); if(u==""){u="Bild";} elm.style.visibility = 'hidden'; elm.style.height = '1px'; elm.style.width = '1px'; if(IE7 || NS6){ shad = ''; shad += ''; shad += ''; shad += ''; shad += ''; shad += ''; shad += ''; shad += ''; shad += ''; shad += ''; shad += ''; shad += '
'; shad += ''+u+''; shad += '
'; } elm.innerHTML = ''; elm3.innerHTML = shad; elm.onmousedown = doMove; elm.onmouseup = stopMove; elm3.onmousedown = doMove; elm3.onmouseup = stopMove; Left = elm.offsetLeft; Top = elm.offsetTop; elm2.style.visibility = 'visible'; elm2.style.height = document.body.scrollHeight; FirstPos; document.onmousemove = FirstPos; document.onclick = FirstPos; elm.style.height = ''+ hoehe +'px'; elm.style.width = ''+ weite +'px'; elm3.style.height = ''+ hoehe +'px'; elm3.style.width = ''+ weite +'px'; elm3.style.visibility = 'visible'; } nw=0; nh=0; function slideIt(){ if(IE5 || IE7){ if (typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') { scrollPos = document.documentElement.scrollTop; } else if (typeof document.body != 'undefined') { scrollPos = document.body.scrollTop; } if(elm.offsetHeight > document.body.offsetHeight){ elm.style.top = ''+ (scrollPos + 20) +'px'; elm3.style.top = ''+ scrollPos +'px'; } if(elm.offsetWidth > document.body.offsetWidth){ elm.style.left = ''+ (document.body.offsetWidth - elm.offsetWidth)+'px'; elm3.style.left = ''+ (document.body.offsetWidth - elm.offsetWidth)+'px'; } if(elm.offsetHeight < window.screen.availHeight && elm.offsetWidth < document.body.offsetWidth){ /*document.body.scroll = "no";*/ elm.style.top = '' + ((scrollPos + (window.screen.availHeight / 2) - (hoehe/2)) + 21)+ 'px'; elm.style.left = '' + (document.body.scrollLeft + (document.body.clientWidth / 2) - (weite/2))+ 'px'; elm3.style.top = '' + (scrollPos + (window.screen.availHeight / 2) - (hoehe/2))+ 'px'; elm3.style.left = '' + (document.body.scrollLeft + (document.body.clientWidth / 2) - (weite/2))+ 'px'; } elm2.style.height = scrollPos + document.body.clientHeight+15; elm2.style.width = document.body.clientWidth; } if(NS6){ if(elm.offsetHeight > window.innerHeight){ elm.style.top = '20px'; elm3.style.top = '20px'; } if(elm.offsetWidth > window.innerWidth){ elm.style.left = '' + (window.innerWidth - elm.offsetWidth) + 'px'; elm3.style.left = '' + (window.innerWidth - elm.offsetWidth) + 'px'; } if(elm.offsetHeight < window.innerHeight && elm.offsetWidth < window.innerWidth){ elm.style.top = ''+((parseFloat(window.innerHeight) + parseFloat(window.pageYOffset)) - (window.innerHeight/2) - (hoehe/2) + 21)+'px'; elm.style.left = ''+(parseFloat(window.innerWidth) + parseFloat(window.pageXOffset)) - (window.innerWidth/2) - (weite/2)+'px'; elm3.style.top = ''+((parseFloat(window.innerHeight) + parseFloat(window.pageYOffset)) - (window.innerHeight/2) - (hoehe/2))+'px'; elm3.style.left = ''+(parseFloat(window.innerWidth) + parseFloat(window.pageXOffset)) - (window.innerWidth/2) - (weite/2)+'px'; } elm2.style.height = ''+(parseFloat(window.innerHeight) + parseFloat(window.pageYOffset))+'px'; /*document.body.style.overflow = "hidden";*/ } noslide = "true"; if(nw >=weite && nh >= hoehe || noslide=="true"){ if(IE5 || IE7){ elm.style.width = ''+weite+'px'; elm.style.height = ''+hoehe+'px'; elm3.style.width = ''+weite+'px'; elm3.style.height= ''+(hoehe+3)+'px'; document.getElementById("closerGif").style.display='inline'; } if(NS6){ elm.style.width = ''+weite+'px'; elm.style.height = ''+hoehe+'px'; elm3.style.width = ''+weite+'px'; elm3.style.height= ''+(hoehe+3)+'px'; document.getElementById("closerGif").style.display='block'; } } } function FirstPos(evt){ document.onmousemove = ''; document.onclick = ''; elm.style.visibility = 'visible'; if(IE7 || IE5){ mouseTop = event.clientY; mouseLeft = event.clientX; } if(NS6){ mouseTop = evt.pageY; mouseLeft = evt.pageX; } slideIt(evt); } function makePos(evt){ if(IE5 || IE7){ if(elm.offsetLeft < document.body.clientWidth - elm.offsetWidth){ elm.style.left = ''+(event.clientX + Left - InitLeft)+'px'; elm.style.top = ''+(event.clientY + Top1 -InitTop)+'px'; elm3.style.left = ''+(event.clientX + Left - InitLeft)+'px'; elm3.style.top = ''+(event.clientY + Top -InitTop)+'px'; } else{ elm.style.left = ''+(document.body.clientWidth-elm.offsetWidth-1)+'px'; elm3.style.left = ''+(document.body.clientWidth-elm.offsetWidth-1)+'px'; } } if(NS6){ elm.style.left = ''+(evt.pageX + Left - InitLeft)+'px'; elm.style.top = ''+(evt.pageY + Top1 - InitTop) +'px'; elm3.style.left = ''+(evt.pageX + Left - InitLeft)+'px'; elm3.style.top = ''+(evt.pageY + Top - InitTop) +'px'; } } function stopMove(){ document.onmousemove = ''; } function doMove(evt){ document.onmousemove = makePos; if(IE5 || NS6){ elm.style.left = ''+ elm.offsetLeft +'px'; elm.style.top = ''+ elm.offsetTop +'px'; if(IE5 || IE4){ InitLeft = event.clientX; InitTop = event.clientY; } if(NS6){ InitLeft = evt.pageX; InitTop = evt.pageY; } Left = elm.offsetLeft; Top = elm3.offsetTop; Top1 = elm.offsetTop; makePos(evt); } } function grossbild2(t,u,v,y,x){ if(IE4 || NS4){ weite = parseInt(y)+8; hoehe = parseInt(x)+47; } else{ weite = parseInt(y)+8; hoehe = parseInt(x)+70; } w = window.open('','fenster','width='+ weite +',height='+ hoehe+',resizable=yes,statusbar=no'); w.resizeTo(weite,hoehe); if(u==""){u="Bild";} w.document.open(); w.document.write(''+u+''); w.document.write('
'+ u +''); w.document.write('
'); w.document.close(); } function go_url(theurl,ziel){ if(ziel=="1") {w = window.open();} if(ziel=="0") {top.location.href='theurl';} } function formchecking(form){ str = form.elements['search'].value; if(str==""){ alert("Bitte geben Sie einen Suchbegriff ein");return false; } } function tab_id(){} function tdd(){}