// Browsercheck var macie = false; if (navigator.userAgent.indexOf("Mac") != -1 && navigator.userAgent.indexOf("MSIE") != -1) macie = true; var nn4 = false; if (navigator.appName.indexOf("Netscape") != -1 && navigator.appVersion.substring(0,1) < 5) nn4 = 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; var counter = 1; // Workaround for IE6-multiple-pic-error blindGif = new Image; blindGif.src = " _gfx/1px.gif"; // Button-Preload bt_kurzportrait_pas = new Image; bt_kurzportrait_pas.src = " _gfx/menu/bt_kurzportrait_p.gif"; bt_kurzportrait_ovr = new Image; bt_kurzportrait_ovr.src = " _gfx/menu/bt_kurzportrait_o.gif"; bt_leistungsspektrum_pas = new Image; bt_leistungsspektrum_pas.src = " _gfx/menu/bt_leistungsspektrum_p.gif"; bt_leistungsspektrum_ovr = new Image; bt_leistungsspektrum_ovr.src = " _gfx/menu/bt_leistungsspektrum_o.gif"; bt_projekte_pas = new Image; bt_projekte_pas.src = " _gfx/menu/bt_projekte_p.gif"; bt_projekte_ovr = new Image; bt_projekte_ovr.src = " _gfx/menu/bt_projekte_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_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_faq_pas = new Image; bt_faq_pas.src = " _gfx/menu/bt_faq_p.gif"; bt_faq_ovr = new Image; bt_faq_ovr.src = " _gfx/menu/bt_faq_o.gif"; bt_sitemap_pas = new Image; bt_sitemap_pas.src = " _gfx/menu/bt_sitemap_p.gif"; bt_sitemap_ovr = new Image; bt_sitemap_ovr.src = " _gfx/menu/bt_sitemap_o.gif"; bt_english_pas = new Image; bt_english_pas.src = " _gfx/menu/bt_english_p.gif"; bt_english_ovr = new Image; bt_english_ovr.src = " _gfx/menu/bt_english_o.gif"; bt_newsletter_pas = new Image; bt_newsletter_pas.src = " _gfx/menu/bt_newsletter_p.gif"; bt_newsletter_ovr = new Image; bt_newsletter_ovr.src = " _gfx/menu/bt_newsletter_o.gif"; bt_suche_pas = new Image; bt_suche_pas.src = " _gfx/menu/bt_suche_p.gif"; bt_suche_ovr = new Image; bt_suche_ovr.src = " _gfx/menu/bt_suche_o.gif"; bt_impressum_pas = new Image; bt_impressum_pas.src = " _gfx/menu/bt_impressum_p.gif"; bt_impressum_ovr = new Image; bt_impressum_ovr.src = " _gfx/menu/bt_impressum_o.gif"; bt_disclaimer_pas = new Image; bt_disclaimer_pas.src = " _gfx/menu/bt_disclaimer_p.gif"; bt_disclaimer_ovr = new Image; bt_disclaimer_ovr.src = " _gfx/menu/bt_disclaimer_o.gif"; // Funktionen zum Umschalten der Buttons function ovr(imgName,ebene) { if (document.all || nn6 == true || mozilla == true) { document[imgName].src = eval(imgName + "_ovr.src"); } else { if (ebene) { document.layers[ebene].document.images[imgName].src = eval(imgName + "_ovr.src"); } else { document.images[imgName].src = eval(imgName + "_ovr.src"); } } } function pas(imgName,ebene) { if (document.all || nn6 == true || mozilla == true) { document[imgName].src = eval(imgName + "_pas.src"); } else { if (ebene) { document.layers[ebene].document.images[imgName].src = eval(imgName + "_pas.src"); } else { document.images[imgName].src = eval(imgName + "_pas.src"); } } } // Statusanzeige window.defaultStatus = "Jung:Crossmedia"; function statustext(text) { window.status = "Jung:Crossmedia - " + text; } // Funktion fuer die Input-Felder und das Texteingabefeld function inputField(name,value,optional,opttxt,title,laenge,nnlaenge,maxlaenge) { if (optional==3) optMeldung = ' onfocus="if (document.searchform.'+name+'.value==\''+opttxt+'\') {document.searchform.'+name+'.value=\'\'}" onblur="if (document.searchform.'+name+'.value==\'\') {document.searchform.'+name+'.value=\''+opttxt+'\'}"'; 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 ('