hilfe_on = new Image();
hilfe_on.src = "images/medienfenster/hilfe2.gif";
hilfe_off = new Image();
hilfe_off.src = "images/medienfenster/hilfe1.gif";
schliessen_on = new Image();
schliessen_on.src = "images/medienfenster/schliessen2.gif";
schliessen_off = new Image();
schliessen_off.src = "images/medienfenster/schliessen1.gif";


function overAct(location, image)
{

document[location].src = eval(image + ".src");
}


function popitup(destination,win_name,width,height, withScrollbar, toolBar) {

	if (popitup.arguments.length < 5) withScrollbar = true;			// default ist mit scrollbars
	if (width==0 ||  height == 0)
	{
		fs = window.open (destination,win_name);
	} else {
		if (withScrollbar){
			fs = window.open (destination,win_name,'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=YES,toolbar=' +toolBar + ',status=no,directories=no,menubar=no,location=no');
		} else {
			fs = window.open (destination,win_name,'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=no,toolbar=' +toolBar + ',status=no,directories=no,menubar=no,location=no');
		}
		fs.resizeTo(width,height);

	}
	fs.focus();
}

function fenster(wohin,url,name,breit,hoch)
{
  var breit;
  var hoch;
  var wohin;
  if
  (wohin=='oben')
  {
  var x=(screen.width - screen.width);
  var y=(screen.height - screen.height);
  }
  else if
  (wohin=='center')
  {
  var x=((screen.width - breit) / 2);
  var y=((screen.height - hoch) /2);
  }
  window.open(url,name,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+breit+',height='+hoch+',left='+x+',top='+y);
}



