bb=-1; function changePic() { if(bb-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"; 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') > -1 && version.indexOf('MSIE 5') < 0 && version.indexOf('MSIE 6') < 0) && (document.getElementById)) ? true : false; is_firefox = (browser_version.indexOf('firefox') > -1 && (document.getElementById)) ? true : false; is_chrome = (browser_version.indexOf('chrome') > -1 && (document.getElementById)) ? true : false; is_safari = (browser_version.indexOf('safari') > -1 && browser_version.indexOf('chrome') < 0 && (document.getElementById)) ? true : false; is_opera = (browser_version.indexOf('opera') > -1 && (document.getElementById)) ? true : false; var a; function mOver(cell,color){ if(IE5 || NS6){ cell.setAttribute("bgColor",color); cell.style.cursor = 'pointer'; } } function mOut(cell,color) { if(IE5 || NS6){ cell.setAttribute("bgColor",color); cell.style.cursor = 'default'; } } function mClick(cell,color){ if(IE5 || NS6){ tName = cell.tagName; if (tName=="TABLE"){ subcell = cell.rows[0].cells[0]; chillds = subcell.childNodes.length-1; hrefs = subcell.childNodes[chillds].href; if(hrefs.indexOf("images") > -1){ 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) { location.href= "mailto:contact@art-of-mind.ch?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";} } function startlay(){ if(NS4) { z= document.layers; xx= window.innerWidth; laenge = 128; left = xx/100*5+193; if(z["menu1"]) { z["menu1"].left = left; left = left+laenge; if(z["menu2"]) { z["menu2"].left = left+1; left = left+laenge; } if(z["menu3"]) { z["menu3"].left = left+2; left = left+laenge; } if(z["menu4"]) { z["menu4"].left = left+3; left = left+laenge; } if(z["menu5"]) { z["menu5"].left = left+2; left = left+laenge; } if(z["menu6"]) { z["menu6"].left = left+1; } laenge = 128; left = xx/100*5+193; if(z["u_menu1"]) { z["u_menu1"].left = left; left = left+laenge; } if(z["u_menu2"]) { z["u_menu2"].left = left+1; left = left+laenge; } if(z["u_menu3"]) { z["u_menu3"].left = left+2; left = left+laenge; } if(z["u_menu4"]) { z["u_menu4"].left = left+3; left = left+laenge; } if(z["u_menu5"]) { z["u_menu5"].left = left+2; left = left+laenge; } if(z["u_menu6"]) { z["u_menu6"].left = left+2; } } } if(IE4) { z= document.all; xx= document.body.clientWidth; laenge = 128; left = xx/100*5+193; if(z["menu1"]) { z["menu1"].pixelLeft = left; left = left+laenge; if(z["menu2"]) { z["menu2"].pixelLeft = left+1; left = left+laenge; } if(z["menu3"]) { z["menu3"].pixelLeft = left+2; left = left+laenge; } if(z["menu4"]) { z["menu4"].pixelLeft = left+3; left = left+laenge; } if(z["menu5"]) { z["menu5"].pixelLeft = left+2; left = left+laenge; } if(z["menu6"]) { z["menu6"].pixelLeft = left+2; } laenge = 128; left = xx/100*5+193; if(z["u_menu1"]) { z["u_menu1"].pixelLeft = left+1; left = left+laenge; } if(z["u_menu2"]) { z["u_menu2"].pixelLeft = left+1; left = left+laenge; } if(z["u_menu3"]) { z["u_menu3"].pixelLeft = left+2; left = left+laenge; } if(z["u_menu4"]) { z["u_menu4"].pixelLeft = left+2; left = left+laenge; } if(z["u_menu5"]) { z["u_menu5"].pixelLeft = left+3; left = left+laenge; } if(z["u_menu6"]) { z["u_menu6"].pixelLeft = left+2; } } } if(IE5||NS6) { z= document.getElementById; xx= document.body.clientWidth; laenge = 128; left = xx/100*5+250; if(z("menu1")) { z("menu1").style.left = left; left = left+laenge; if(z("menu2")) { z("menu2").style.left = left+1; left = left+laenge; } if(z("menu3")) { z("menu3").style.left = left+2; left = left+laenge; } if(z("menu4")) { z("menu4").style.left = left+3; left = left+laenge; } if(z("menu5")) { z("menu5").style.left = left+1; left = left+laenge; } if(z("menu6")) { z("menu6").style.left = left+1; } laenge = 128; left = xx/100*5+193; if(z("u_menu1")) { z("u_menu1").style.left = left; left = left+laenge; } if(z("u_menu2")) { z("u_menu2").style.left = left; left = left+laenge; } if(z("u_menu3")) { z("u_menu3").style.left = left+1; left = left+laenge; } if(z("u_menu4")) { z("u_menu4").style.left = left+2; left = left+laenge; } if(z("u_menu5")) { z("u_menu5").style.left = left+2; left = left+laenge; } if(z("u_menu6")) { z("u_menu6").style.left = left+2; } } } } 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 newWindow(href,name,settings) { window.open(href,name,settings); } function grossbild(t,u,v,y,x) { if(IE4 || IE5) { weite = parseInt(y)+6; hoehe = parseInt(x)+47; } else { weite = parseInt(y)+10; hoehe = parseInt(x)+30; } 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(){}