<!-- 

function formHandler(){
var URL = document.isearch_form.site.options[document.isearch_form.site.selectedIndex].value;
window.location.href = URL; }

function formHandlerParsifal(){
var URL = document.form.parsifal.options[document.form.parsifal.selectedIndex].value;
window.location.href = URL; }

// 	Quicknav Arbeiten
function formHandler2(){
var URL = document.isearch_form.quicknav.options[document.isearch_form.quicknav.selectedIndex].value;
window.location.href = URL; }

// Quicknav Bildergalerie
function formHandler3(){
var URL = document.form.quicknav.options[document.form.quicknav.selectedIndex].value;
medienfenster(URL); return false; }

d = document;
p = "images/";

function swap(imgName,imgSrc) {
	d.images[imgName].src = p + imgSrc;
}

function kontakt() {
kontakt_window=window.open("kontakt_eng.php","kontaktfenster2","screenX="+65+",left="+65+",screenY="+65+",top="+65+",width=510,height=445,toolbar=no,status=no,menubar=no,scrollbars=no,location=no,directories=no");kontakt_window.focus();
}

function kontaktpopup(doc_id) {
kontaktfenster=window.open("kontaktpopup.php?id=" + doc_id,"kontaktfenster","screenX="+45+",left="+45+",screenY="+45+",top="+45+",width=360,height=165,toolbar=no,status=no,menubar=no,scrollbars=yes,location=no,directories=no");kontaktfenster.focus();
}

function gb() {
guestbook_window=window.open("guestbook.php","guestbookfenster","screenX="+55+",left="+55+",screenY="+45+",top="+45+",width=560,height=488,toolbar=no,status=no,menubar=no,scrollbars=yes,location=no,directories=no");guestbook_window.focus();
}

function delcookie() {
delcookie_window=window.open("delcookie_eng.php","delcookiefenster","screenX="+155+",left="+155+",screenY="+145+",top="+145+",width=460,height=345,toolbar=no,status=no,menubar=no,scrollbars=no,location=no,directories=no");delcookie_window.focus();
}

function impressum() {
impressum_window=window.open("impressum_eng.php","impressumfenster","screenX="+75+",left="+75+",screenY="+95+",top="+95+",width=460,height=520,toolbar=no,status=no,menubar=no,scrollbars=yes,location=no,directories=no");impressum_window.focus();
}

function flashvideo(doc_id){
var sbreite = screen.width;
var shoehe = screen.height;
var pos_x = (sbreite/2)-160;
var pos_y = (shoehe/2)-128;
flashvideowindow=window.open("flashvideo.php?id="+doc_id+"","flashvideofenster","screenX="+pos_x+",left="+pos_x+",screenY="+pos_y+",top="+pos_y+",width=320,height=256,scrollbar=no,toolbar=no,status=no,menubar=no,location=no,directories=no");flashvideowindow.focus();
}

function dynflashvideof4v(doc_id,breite,hoehe,type){
var fensterhoehe = (hoehe + 20);
var sbreite = screen.width;
var shoehe = screen.height;
var pos_x = (sbreite/2)-(breite/2);
var pos_y = (shoehe/2)-(fensterhoehe/2);
flashvideowindow=window.open("mediathek/flashvideo2.php?type=" + type + "&b=" + breite + "&h=" + hoehe + "&id="+doc_id+"","flashvideofenster","screenX="+pos_x+",left="+pos_x+",screenY="+pos_y+",top="+pos_y+",width="+breite+",height="+fensterhoehe+",scrollbar=no,toolbar=no,status=no,menubar=no,location=no,directories=no");flashvideowindow.focus();
}

function dynflashvideo(doc_id,breite,hoehe){
var sbreite = screen.width;
var shoehe = screen.height;
var pos_x = (sbreite/2)-(breite/2);
var pos_y = (shoehe/2)-(hoehe/2);
flashvideowindow=window.open("flashvideo.php?b=" + breite + "&h=" + hoehe + "&id="+doc_id+"","flashvideofenster","screenX="+pos_x+",left="+pos_x+",screenY="+pos_y+",top="+pos_y+",width="+breite+",height="+hoehe+",scrollbar=no,toolbar=no,status=no,menubar=no,location=no,directories=no");flashvideowindow.focus();
}


function medienfenster(doc_id,bild_id){
medienwindow=window.open("bildergalerie_eng.php?id="+doc_id+"&bild_id="+bild_id+"","medienfenster","screenX="+15+",left="+15+",screenY="+15+",top="+15+",width=550,height=474,toolbar=no,scrollbars=yes,status=no,menubar=no,location=no,directories=no,resizable=1;");medienwindow.focus();
}

function medienfenster_xl(doc_id,bild_id){
medienwindow=window.open("bildergalerie_eng.php?size=big&resize=0&id="+doc_id+"&bild_id="+bild_id+"","medienfenster","screenX="+15+",left="+15+",screenY="+15+",top="+15+",width=762,height=627,toolbar=no,scrollbars=yes,status=no,menubar=no,location=no,directories=no,resizable=1;");medienwindow.focus();
}

function medienfenster_ws(doc_id,bild_id){
medienwindow=window.open("bildergalerie_eng.php?size=ws&resize=0&id="+doc_id+"&bild_id="+bild_id+"","medienfenster","screenX="+15+",left="+15+",screenY="+15+",top="+15+",width=1006,height=632,toolbar=no,scrollbars=yes,status=no,menubar=no,location=no,directories=no,resizable=1;");medienwindow.focus();
}

function playerdownload() {
mmdownload=window.open("multimedia_downloads_eng.html","mmdownload","screenX="+120+",left="+120+",screenY="+120+",top="+120+",width=350,height=200,toolbar=no,status=no,menubar=no,scrollbars=yes,location=no,directories=no");mmdownload.focus();
}

function panorama(doc_id,pan_breite,pan_hoehe){
pan_hoehe_win = pan_hoehe + 28;
panoramawindow=window.open("arbeiten/t054/panorama.php?id="+doc_id+"&pan_breite="+pan_breite+"&pan_hoehe="+pan_hoehe,"panoramafenster","screenX="+35+",left="+35+",screenY="+35+",top="+35+",width=600,height="+pan_hoehe_win+",scrollbars=yes,toolbar=no,status=no,menubar=no,location=no,directories=no");panoramawindow.focus();
}

function videofenster(clip,vbreite,vhoehe,vformat,vqual){
breite = "660";
hoehe = "396"; 
// Position berechnen
var ns6 = (!document.all && document.getElementById);
var ie4 = (document.all);
var ns4 = (document.layers);
if(ns6||ns4) {
sbreite = innerWidth;
shoehe = innerHeight;
}
else if(ie4) {
sbreite = document.body.clientWidth;
shoehe = document.body.clientHeight;
}
posx = (sbreite-breite)/2;
posy = (shoehe-hoehe)/2;
posy = 160;
videowindow=window.open("video.php?clip="+clip+"&vbreite="+vbreite+"&vhoehe="+vhoehe+"&vformat="+vformat+"&vqual="+vqual,"videofenster","screenX="+posx+",left="+posx+",screenY="+posy+",top="+posy+",width="+breite+",height="+hoehe+",scrollbar=no,toolbar=no,status=no,menubar=no,location=no,directories=no");videowindow.focus();
}

// Text ändern bei Mouseover Script
function changeCaption(text, className) { 
if(document.getElementById) { 
document.getElementById("caption").innerHTML=text; 
document.getElementById("caption").className=className; 
} 
} 

//-->