// BROWSERTEST var DHTML = 0, DOM = 0, MS = 0, NS = 0, OP = 0; top.nofeedback = false; if(document.getElementById) { DHTML = 1; DOM = 1; } if (window.opera) { OP = 1; } if(document.all && !OP) { DHTML = 1; MS = 1; } if(document.layers && !OP) { DHTML = 1; NS = 1; } function hideAdresse() { if (this.document.images['adresse']) this.document.images['adresse'].src = "images//adresse_ohne.gif"; } function showAdresse() { if (this.document.images['adresse']) this.document.images['adresse'].src = "images//adresse.gif"; } // Hauptmenue main_aktuell_over = null; main_aktuell_on = null; function mainMenuOver(name) { if (name == top.main_aktuell_on) return; if (!name) name = name; if (main_aktuell_over) mainMenuOut(main_aktuell_over); if (top.main_aktuell_on) mainMenuOut(top.main_aktuell_on); this.document.images[name].src = "images/de/"+name+"_on.gif"; main_aktuell_over = name; } function mainMenuOut(name) { if (!name) name = name; if (name == main_aktuell_over) main_aktuell_over = null; if (name != top.main_aktuell_on) { this.document.images[name].src = "images/de/"+name+".gif"; } } function mainMenuOn(name,cat,id) { tmp = top.main_aktuell_on; top.main_aktuell_on = name; this.document.images[name].src = "images/de/"+name+"_on.gif"; if (tmp) mainMenuOut(tmp); //parent.frames['content'].location.href = "content.php?cat="+cat+"&id="+id; //parent.frames['unten'].location.href = "unten.php?cat="+cat+"&id="+id; } // Untermenues sub_aktuell_over = null; sub_aktuell_on = null; function subMenuOver(name) { if (name == sub_aktuell_on) return; if (sub_aktuell_over) subMenuOut(sub_aktuell_over); if (sub_aktuell_on) subMenuOut(sub_aktuell_on); if (this.document.images[name]) this.document.images[name].src = "images/de/"+name+"_on.gif"; sub_aktuell_over = name; } function subMenuOut(name) { if (name == sub_aktuell_over) sub_aktuell_over = null; if (name != sub_aktuell_on && this.document.images[name]) this.document.images[name].src = "images/de/"+name+".gif"; } function subMenuOn(name) { if (sub_aktuell_over && sub_aktuell_over != name) subMenuOut(sub_aktuell_over); if (sub_aktuell_on && sub_aktuell_on != name && this.document.images[sub_aktuell_on]) this.document.images[sub_aktuell_on].src = "images//"+sub_aktuell_on+".gif"; this.document.images[name].src = "images/de/"+name+"_on.gif"; sub_aktuell_on = name; } var lastLink = null; function activeLink(id) { if (lastLink) getElement(lastLink).style.color = "#F8981D"; if (getElement(id)) { getElement(id).style.color = "#000000"; lastLink = id; } } function getElement(id, doc) { if (!doc) doc = document; if(DOM) return doc.getElementById(id); else if(MS) return doc[id]; else if(NS) return doc[id]; else return void(0); } function writeElement(id, text, top) { var x; if (DOM){ x = document.getElementById(id); x.innerHTML = text; } else if (MS) { x = document.all[id]; x.innerHTML = text; } else if (NS) { x = document.layers[id]; text2 = '

' + text + '

'; x.document.open(); x.document.write(text2); x.document.close(); } if (top) x.style.top = top; } var content_top = 238; var scrollTimer = null; function verScroll(element, dir, spd, my, del) { miny = 0; delay = 1; direction = dir; speed = parseInt(spd); if (del) delay = parseInt(del); if (my) miny = parseInt(my); scrollTimer = null; page = getElement(element).style; var y_pos = parseInt(page.top); if (direction == "dn") { page.top = (y_pos - (speed)); } else if (direction == "up" && y_pos < content_top) { page.top = (y_pos + (speed)); } scrollTimer = setTimeout("verScroll(element,direction,speed,miny,delay)", delay); } function stopScroll() { if (scrollTimer) clearTimeout(scrollTimer); scrollTimer = null; } // Aufruf: changeFrames(url, frame, url, frame, url, frame, ...) function changeFrames() { for (i = 0; i < changeFrames.arguments.length; i++){ dsturl = changeFrames.arguments[i++]; dstframe = changeFrames.arguments[i]; if (parent.frames[dstframe]) { if (parent.frames[dstframe].location.href.indexOf(dsturl) < 0) parent.frames[dstframe].location.href = dsturl; } if (top.frames[dstframe]) { if (top.frames[dstframe].location.href.indexOf(dsturl) < 0) top.frames[dstframe].location.href = dsturl; } } } var searchWindow = null; function print(cat, id) { if (searchWindow) searchWindow.close(); searchWindow = window.open('print.php?cat='+cat+'<ext=fup&id='+id,'Unterlagen','width=672,height=600,status=no,scrollbars=yes,resizable=yes'); searchWindow.focus(); }