// Browserabfragen
var macie = false;
if (navigator.userAgent.indexOf("Mac") != -1 && navigator.userAgent.indexOf("MSIE") != -1) macie = true;
var macie = false;
if (navigator.userAgent.indexOf("Mac") != -1 && navigator.userAgent.indexOf("MSIE") != -1) macie = true;
var safari = false;
if (navigator.userAgent.indexOf("Safari") != -1) safari = 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;
// Button-Preload
bt_portrait_pas = new Image; bt_portrait_pas.src = "_gfx/bt_portrait_p.gif";
bt_portrait_ovr = new Image; bt_portrait_ovr.src = "_gfx/bt_portrait_a.gif";
bt_galerie_pas = new Image; bt_galerie_pas.src = "_gfx/bt_galerie_p.gif";
bt_galerie_ovr = new Image; bt_galerie_ovr.src = "_gfx/bt_galerie_a.gif";
bt_ausstellungen_pas = new Image; bt_ausstellungen_pas.src = "_gfx/bt_ausstellungen_p.gif";
bt_ausstellungen_ovr = new Image; bt_ausstellungen_ovr.src = "_gfx/bt_ausstellungen_a.gif";
bt_events_pas = new Image; bt_events_pas.src = "_gfx/bt_events_p.gif";
bt_events_ovr = new Image; bt_events_ovr.src = "_gfx/bt_events_a.gif";
bt_verantwortung_pas = new Image; bt_verantwortung_pas.src = "_gfx/bt_verantwortung_p.gif";
bt_verantwortung_ovr = new Image; bt_verantwortung_ovr.src = "_gfx/bt_verantwortung_a.gif";
bt_links_pas = new Image; bt_links_pas.src = "_gfx/bt_links_p.gif";
bt_links_ovr = new Image; bt_links_ovr.src = "_gfx/bt_links_a.gif";
bt_kontakt_pas = new Image; bt_kontakt_pas.src = "_gfx/bt_kontakt_p.gif";
bt_kontakt_ovr = new Image; bt_kontakt_ovr.src = "_gfx/bt_kontakt_a.gif";
bt_impressum_pas = new Image; bt_impressum_pas.src = "_gfx/bt_impressum_p.gif";
bt_impressum_ovr = new Image; bt_impressum_ovr.src = "_gfx/bt_impressum_a.gif";
bt_portal1_pas = new Image; bt_portal1_pas.src = "_gfx/bt_portal1_p.jpg";
bt_portal1_ovr = new Image; bt_portal1_ovr.src = "_gfx/bt_portal1_a.jpg";
bt_portal2_pas = new Image; bt_portal2_pas.src = "_gfx/bt_portal2_p.jpg";
bt_portal2_ovr = new Image; bt_portal2_ovr.src = "_gfx/bt_portal2_a.jpg";
bt_portal3_pas = new Image; bt_portal3_pas.src = "_gfx/bt_portal3_p.jpg";
bt_portal3_ovr = new Image; bt_portal3_ovr.src = "_gfx/bt_portal3_a.jpg";
bt_portal4_pas = new Image; bt_portal4_pas.src = "_gfx/bt_portal4_p.jpg";
bt_portal4_ovr = new Image; bt_portal4_ovr.src = "_gfx/bt_portal4_a.jpg";
bt_portal5_pas = new Image; bt_portal5_pas.src = "_gfx/bt_portal5_p.jpg";
bt_portal5_ovr = new Image; bt_portal5_ovr.src = "_gfx/bt_portal5_a.jpg";
bt_vita_pas = new Image; bt_vita_pas.src = "_gfx/bt_vita_p.gif";
bt_vita_ovr = new Image; bt_vita_ovr.src = "_gfx/bt_vita_a.gif";
bt_referenzen_pas = new Image; bt_referenzen_pas.src = "_gfx/bt_referenzen_p.gif";
bt_referenzen_ovr = new Image; bt_referenzen_ovr.src = "_gfx/bt_referenzen_a.gif";
bt_auszeichnungen_pas = new Image; bt_auszeichnungen_pas.src = "_gfx/bt_auszeichnungen_p.gif";
bt_auszeichnungen_ovr = new Image; bt_auszeichnungen_ovr.src = "_gfx/bt_auszeichnungen_a.gif";
bt_presse_pas = new Image; bt_presse_pas.src = "_gfx/bt_presse_p.gif";
bt_presse_ovr = new Image; bt_presse_ovr.src = "_gfx/bt_presse_a.gif";
bt_skulpturen_pas = new Image; bt_skulpturen_pas.src = "_gfx/bt_skulpturen_p.gif";
bt_skulpturen_ovr = new Image; bt_skulpturen_ovr.src = "_gfx/bt_skulpturen_a.gif";
bt_grabmale_pas = new Image; bt_grabmale_pas.src = "_gfx/bt_grabmale_p.gif";
bt_grabmale_ovr = new Image; bt_grabmale_ovr.src = "_gfx/bt_grabmale_a.gif";
bt_sakral_pas = new Image; bt_sakral_pas.src = "_gfx/bt_sakral_p.gif";
bt_sakral_ovr = new Image; bt_sakral_ovr.src = "_gfx/bt_sakral_a.gif";
bt_malerei_pas = new Image; bt_malerei_pas.src = "_gfx/bt_malerei_p.gif";
bt_malerei_ovr = new Image; bt_malerei_ovr.src = "_gfx/bt_malerei_a.gif";
bt_moebel_pas = new Image; bt_moebel_pas.src = "_gfx/bt_moebel_p.gif";
bt_moebel_ovr = new Image; bt_moebel_ovr.src = "_gfx/bt_moebel_a.gif";
bt_1_pas = new Image; bt_1_pas.src = "_gfx/bt_1_p.gif";
bt_1_ovr = new Image; bt_1_ovr.src = "_gfx/bt_1_a.gif";
bt_2_pas = new Image; bt_2_pas.src = "_gfx/bt_2_p.gif";
bt_2_ovr = new Image; bt_2_ovr.src = "_gfx/bt_2_a.gif";
bt_3_pas = new Image; bt_3_pas.src = "_gfx/bt_3_p.gif";
bt_3_ovr = new Image; bt_3_ovr.src = "_gfx/bt_3_a.gif";
bt_4_pas = new Image; bt_4_pas.src = "_gfx/bt_4_p.gif";
bt_4_ovr = new Image; bt_4_ovr.src = "_gfx/bt_4_a.gif";
bt_bundh_pas = new Image; bt_bundh_pas.src = "_gfx/bt_bundh_p.gif";
bt_bundh_ovr = new Image; bt_bundh_ovr.src = "_gfx/bt_bundh_a.gif";
bt_pfeilfw_pas = new Image; bt_pfeilfw_pas.src = "_gfx/bt_pfeilfw_p.gif";
bt_pfeilfw_ovr = new Image; bt_pfeilfw_ovr.src = "_gfx/bt_pfeilfw_a.gif";
bt_pfeilbw_pas = new Image; bt_pfeilbw_pas.src = "_gfx/bt_pfeilbw_p.gif";
bt_pfeilbw_ovr = new Image; bt_pfeilbw_ovr.src = "_gfx/bt_pfeilbw_a.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 = "Karl Imfeld";
function statustext(text) {
window.status = "Karl Imfeld - " + 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 (safari == 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(areaName)
{
if (macie == true) { document.write ('