// JavaScript Document
/*var maxVal=80,delay=1,step=10,timer;

function init(){
	document.getElementById("banner").onmouseover=open;
	document.getElementById("banner").onmouseout=close;
}
function open(){
	clearTimeout(timer);
	var e=document.getElementById("banner");
	if (e.offsetTop<0)
	e.style.top=e.offsetTop+step+"px";
	timer=setTimeout("open()",delay);
}
function close(){
	clearTimeout(timer);
	var e=document.getElementById("banner");
	if (e.offsetTop>-maxVal)
  e.style.top=e.offsetTop-step+"px";
	timer=setTimeout("close()",delay);
}
function img_over(bild_name, bild_src)	{
	window.document.images[bild_name].src = bild_src;
}*/

function det_window(URL)	{
	detWindow = window.open(URL, 'detWindow', 'width=540,height=640,dependent=yes,menubar=no,resizable=yes,scrollbars=auto,status=no,toolbar=no');
}

function print_window(URL)	{
	printWindow = window.open(URL, 'printWindow', 'width=700,height=550,dependent=yes,menubar=yes,resizable=no,scrollbars=yes,status=yes,toolbar=yes,location=yes');
}

function kal_window(URL)	{
	kalWindow = window.open(URL, 'kalWindow', 'width=800,height=400,dependent=yes,menubar=no,resizable=yes,scrollbars=auto,status=no,toolbar=no');
}

function change_window(URL)	{
	window.opener.location.href = URL;
	this.window.close();
}
