// OnmouseOver-Effekt 

var out="";
var limg="";

function off() {
  if (out=="") { return; }

  if (document.images) {
    document.images[limg].src=out;
    out="";
  }
}

function on(img,o1,o2) {
  if (document.images) {

  if (out != "") { off(); }

    document.images[img].src=o1;
    out=o2;
    limg=img;
  }
}


// Öffnet PopUp-Fenster Girgawi-Mainpopup

function mainwindow1(wintype)
{
  var nwl = (screen.width-800)/2;
  var nwh = (screen.height-600)/2;
  mainwindow=window.open(wintype, 'Main', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600,left='+nwl+',top='+nwh+''); 
  mainwindow.window.focus(); 
}

// Öffnet PopUp-Fenster Bilder

function popUp1(wintype)
{
  var nwl = (screen.width-500)/2;
  var nwh = (screen.height-600)/2;
  popUp=window.open(wintype, 'Zoom', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=600,left='+nwl+',top='+nwh+''); 
  popUp.window.focus(); 
}



// Schließt PopUp-Fenster

function closewindow()
{
	window.close();
}

// Ändert 2 Frames
function Frames(top_url,main_url)
{
parent.Top.location.href = top_url;
parent.Main.location.href = main_url;
}


