/* Fenster schließen */

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}


var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}



 /* PopUp Fenster  */

function winopen(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function more ( url, name , width, height, options)
{
	if (!width) width = 150;
	if (!height) height = 150;
	if (!options) options = "scrollbars=yes,menubar=no,toolbar=no,location=no,status=no,resizable=yes onload=window.focus";
	if (!name) name = "works";
	var newWin = window.open( url, name, "width=" + width + ",height=" + height + "," + options );
}


