// *************************************************************************************************
// **                                                                                             **
// **                          JavaScript Funktionen                                              **
// **                                                                                             **
// *************************************************************************************************

function winopen(url, param)
{
	var win;
	var url= url + param
	win=window.open(url, "win", "resizable=yes, screenX=0, screenY=0, scrollbars=yes, status=yes");
	var xpos=screen.width*0.05; 
	var ypos=screen.height*0.05;
	var pheight=screen.height*0.85;
	var pwidth=screen.width*0.9;
	//var xpos=0; 
	//var ypos=0;
	//var pheight=570;
	//var pwidth=770;
	
	
	
	win.moveTo(xpos,ypos);
	win.resizeTo(pwidth,pheight);
	// win.moveTo(200,200);
	return false;
}

function openinfo(url, param)
{
	var wininfo;
	var winwidth = 600;
	var winheight= 350;
	
	var url= url + param
	wininfo=window.open(url, "wininfo", "resizable=yes, screenX=0, screenY=0, scrollbars=yes, status=yes");
	var xpos=20; 
	var ypos=10;
	var pheight=winheight;
	var pwidth=winwidth;
	
	wininfo.moveTo(xpos,ypos);
	wininfo.resizeTo(pwidth,pheight);
	wininfo.focus();
	return false;
}

function fshow(File)
{
	document.form3.fold.value = File;
	document.form3.fnew.focus();
}

function imgshow(PBild)
{
	pwidth					= PBild.width;
	document.BildG.width 	= pwidth;
	pheight					= PBild.height;
	document.BildG.height	= pheight;
	document.BildG.src		= PBild.src;
	return false;
}

function suchen()
{
	document.Suchen.submit();
}
