function Go(x)
{
 if(x == "nothing")
 {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 
 else
  {
   top.frames.location.href = x;
  }
}


function Uebergabe()
  {
    window.open("uebergabe.htm","Bestätigung",
           "width=620,innerHeight=400,directories=0,location=0,menubar=0,resizeable=1,scrollbars=0,status=0,toolbar=0");
  }


function ZeigInfo(url)
   {
    Info=window.open(url,"",
           "width=650,innerHeight=400,Height=450,directories=0,location=0,menubar=1,resizeable=1,scrollbars=1,status=0,toolbar=0");
   }

function Uebergabe1()
  {
    window.open("uebergabe.htm","Bestätigung",
           "width=620,innerHeight=400,directories=0,location=0,menubar=0,resizeable=1,scrollbars=0,status=0,toolbar=1");
  }

function Langtext()
  {
    window.open("buchlang.htm","Titeldetails",
           "width=620,innerHeight=400,directories=0,location=0,menubar=0,resizeable=1,scrollbars=1,status=0,toolbar=1");
  }

function ZeigVitae(url)
   {
    Info=window.open(url,"Vitae",
           "width=620,innerHeight=400,directories=0,location=0,menubar=1,resizeable=1,scrollbars=1,status=0,toolbar=0");
   }

function openWindowFullscreen(url) {
	var w = screen.width;
	var h = screen.height;
	window.open(url, '', 'width='+w+',height='+h+',top=0,left=0');
}
function openWindowSameSize(url) {
	var w = f_clientWidth();
	var h = f_clientHeight();
	var left = (document.all)?window.screenLeft:window.screenX;
	var top = (document.all)?window.screenTop:window.screenY;
	window.open(url, '', 'width='+w+',height='+h+',top='+top+',left='+left+',directories=0,location=0,menubar=1,resizeable=1,scrollbars=1,status=0,toolbar=0');
}

function f_clientWidth() {
	return f_filterResults (
		window.outerWidth ? window.outerWidth : 0,
		document.documentElement ? document.documentElement.clientWidth : 0,
		document.body ? document.body.clientWidth : 0
	);
}
function f_clientHeight() {
	return window.outerHeight ? window.outerHeight : document.body.clientHeight;
	return f_filterResults (
		window.outerHeight ? window.outerHeight : 0,
		document.documentElement ? document.documentElement.clientHeight : 0,
		document.body ? document.body.clientHeight : 0
	);
}
