// Browserabfragen var macie = false; if (navigator.userAgent.indexOf("Mac") != -1 && navigator.userAgent.indexOf("MSIE") != -1) macie = true; var nn6 = false; if (navigator.userAgent.indexOf("Netscape6") != -1) nn6 = true; var mozilla = false; if (navigator.userAgent.indexOf("Mozilla") != -1 && navigator.appVersion.substring(0,1) >= 5) mozilla = true; // Button-Preload bt_home_pas = new Image; bt_home_pas.src = "../_gfx/menu/bt_home_p.gif"; bt_home_ovr = new Image; bt_home_ovr.src = "../_gfx/menu/bt_home_o.gif"; bt_kompetenzen_pas = new Image; bt_kompetenzen_pas.src = "../_gfx/menu/bt_kompetenzen_p.gif"; bt_kompetenzen_ovr = new Image; bt_kompetenzen_ovr.src = "../_gfx/menu/bt_kompetenzen_o.gif"; bt_impressionen_pas = new Image; bt_impressionen_pas.src = "../_gfx/menu/bt_impressionen_p.gif"; bt_impressionen_ovr = new Image; bt_impressionen_ovr.src = "../_gfx/menu/bt_impressionen_o.gif"; bt_bform_pas = new Image; bt_bform_pas.src = "../_gfx/menu/bt_bform_p.gif"; bt_bform_ovr = new Image; bt_bform_ovr.src = "../_gfx/menu/bt_bform_o.gif"; bt_kontakt_pas = new Image; bt_kontakt_pas.src = "../_gfx/menu/bt_kontakt_p.gif"; bt_kontakt_ovr = new Image; bt_kontakt_ovr.src = "../_gfx/menu/bt_kontakt_o.gif"; bt_seminarecoaching_pas = new Image; bt_seminarecoaching_pas.src = "../_gfx/menu/bt_seminare-coaching_p.gif"; bt_seminarecoaching_ovr = new Image; bt_seminarecoaching_ovr.src = "../_gfx/menu/bt_seminare-coaching_o.gif"; bt_team2_pas = new Image; bt_team2_pas.src = "../_gfx/menu/bt_team2_p.gif"; bt_team2_ovr = new Image; bt_team2_ovr.src = "../_gfx/menu/bt_team2_o.gif"; bt_team_pas = new Image; bt_team_pas.src = "../_gfx/menu/bt_team_p.gif"; bt_team_ovr = new Image; bt_team_ovr.src = "../_gfx/menu/bt_team_o.gif"; bt_kloster_pas = new Image; bt_kloster_pas.src = "../_gfx/menu/bt_kloster_p.gif"; bt_kloster_ovr = new Image; bt_kloster_ovr.src = "../_gfx/menu/bt_kloster_o.gif"; bt_referenzen_pas = new Image; bt_referenzen_pas.src = "../_gfx/menu/bt_referenzen_p.gif"; bt_referenzen_ovr = new Image; bt_referenzen_ovr.src = "../_gfx/menu/bt_referenzen_o.gif"; // Funktionen zum Umschalten der Buttons function ovr(imgName,ebene) { if (imgName != 'bt_' && imgName != 'bt_team' && imgName != 'bt_team') { if (document.all || nn6 == true) { document.all[imgName].src = eval(imgName + "_ovr.src"); } else { if (mozilla == true) { document[imgName].src = eval(imgName + "_ovr.src"); } else { document.layers[ebene].document.images[imgName].src = eval(imgName + "_ovr.src"); } } } } function pas(imgName,ebene) { if (imgName != 'bt_' && imgName != 'bt_team' && imgName != 'bt_team') { if (document.all || nn6 == true) { document.all[imgName].src = eval(imgName + "_pas.src"); } else { if (mozilla == true) { document[imgName].src = eval(imgName + "_pas.src"); } else { document.layers[ebene].document.images[imgName].src = eval(imgName + "_pas.src"); } } } } // Statusanzeige window.defaultStatus = ":: Benedikt for Management ::"; function statustext(text) { window.status = ":: Benedikt for Management - " + text + " ::"; } // Funktion fuer die Input-Felder und das Texteingabefeld function inputField(name,value,optional,opttxt,title,laenge,nnlaenge,maxlaenge) { if (optional==2) optMeldung = ' onfocus="if (document.formular.'+name+'.value==\''+opttxt+'\') {document.formular.'+name+'.value=\'\'}" onblur="if (document.formular.'+name+'.value==\'\') {document.formular.'+name+'.value=\''+opttxt+'\'}"'; if (optional==1) optMeldung = ' onfocus="if (document.formular.'+name+'.value==\'(optional)\') {document.formular.'+name+'.value=\'\'}" onblur="if (document.formular.'+name+'.value==\'\') {document.formular.'+name+'.value=\'(optional)\'}"'; if (optional==0) optMeldung = ''; if (macie == true) { document.write ('') } else { if (nn6 == true) { document.write ('') } else { if (mozilla) { document.write ('') } else { if (document.all) { document.write ('') } else { document.write ('') } } } } } function textArea() { if (macie == true) { document.write ('') } else { if (mozilla) { document.write ('') } else { if (document.all) { document.write ('') } else { document.write ('') } } } } /****************************************** * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html) * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code * Last updated Nov 9th, 05' by DD. This notice must stay intact for use ******************************************/ var d1 = new Date(); var d2 = new Date('2019-01-03'); if (d1.getTime() <= d2.getTime()) { //Configure below to change URL path to the snow image var snowsrc="../_gfx/snowflake-icon.png" // Configure below to change number of snow to render var no = 20; // Configure whether snow should disappear after x seconds (0=never): var hidesnowtime = 0; // Configure how much snow should drop down before fading ("windowheight" or "pageheight") var snowdistance = "pageheight"; ///////////Stop Config////////////////////////////////// var ie4up = (document.all) ? 1 : 0; var ns6up = (document.getElementById&&!document.all) ? 1 : 0; function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600; if (ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = iecompattest().clientWidth; doc_height = iecompattest().clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrc for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width-50); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ie4up||ns6up) { document.write("