Normal = new Image();
Normal.src = "img/blank11.gif";
Highlight = new Image();
Highlight.src = "img/pfeil.gif";

function Bildwechsel_1(Bildnr,Bildobjekt) {
        document.images[Bildnr].src = Bildobjekt.src;
}
/* ------------------------------------------------------------------------------------ */
HighlightO1 = new Image();
HighlightO1.src = "wuensche.jpg";

HighlightO2 = new Image();
HighlightO2.src = "brot.jpg";

HighlightO3 = new Image();
HighlightO3.src = "paar.jpg";

HighlightO4 = new Image();
HighlightO4.src = "frau_licht.jpg";

function BildwechselO1(Bildobjekt1, Bildobjekt2) {
		parent.document.getElementById("bildO1").src = Bildobjekt1.src;
		parent.document.getElementById("bildO2").src = Bildobjekt2.src;
}
/* ------------------------------------------------------------------------------------ */

function fl() {
	if (top.frames.length == 0) top.location.href="../index.php";
}

function show () {
  if (document.getElementById)
    document.getElementById("box1").style.visibility = "visible";
}
function layerclose () {
  if (document.getElementById)
    document.getElementById("box1").style.visibility = "hidden";
}
function menuJump(targ,selObj,restore){
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  //eval führt Operationen aus
    if (restore) {selObj.selectedIndex=0;}         //bei Aktualisieren Index=0, d.h. Element 0 wird ausgewählt
}
function newWindow(dateiN) {
 fenster = window.open("upload.php?var4="+dateiN, "Bilder", "width=450,height=500,scrollbars=no,top=40,left=80");
 fenster.focus();
}
function newWindow2(dateiH) {
 fenster = window.open(dateiH, "Bilder", "width=950,height=650,scrollbars=no,top=40,left=20");
 fenster.focus();
}
function newWindow3(bereich,bild,weit,hoch) {
 fenster = window.open("bild.php?ber="+bereich+"&bi="+bild, "Bilder", "width="+weit+",height="+hoch+",scrollbars=no,top=40,left=20");
 fenster.focus();
}
function newWindow4(id) {
 fenster = window.open("weit_bild.php?id="+id, "Bilder", "width=990,height=700,scrollbars=yes,top=10,left=10");
 fenster.focus();
}
function newWindow5(bild) {
 fenster = window.open("bild.php?bi="+bild, "Bilder", "width=900,height=630,top=10,left=10");
 fenster.focus();
}
function newWind(datei,weit,hoch) {
 fenster = window.open(datei, "Bilder", "width="+weit+",height="+hoch+",scrollbars=no,top=40,left=20");
 fenster.focus();
}

