<!---
// A simple javascript to pop-up windows...
  
function popup(newURL, newWidth, newHeight, resize, modal)
{
	var returnValue;
	
  	// Declare and initialize top and left variables
  	var calcLeft = 100;
  	var calcTop = 100;
        
  	// Update properties if comp. browser
  	if (parseInt(navigator.appVersion) >= 4) {
		calcTop = screen.availHeight /2 - newHeight / 2;
		calcLeft = screen.availWidth / 2 - newWidth / 2;
	}
	
	if(modal)
	{
		if (window.showModalDialog) {
			returnValue = window.showModalDialog(newURL,"name","dialogWidth:"+newWidth+"px;dialogHeight:"+newHeight+"px;resizable:"+resize+";dialogLeft:"+calcLeft+"px;dialogTop:"+calcTop+"px");
		} else {
			//alert("Warnung: Dieser Internet-Browser ist veraltet!");
			returnValue = window.open(newURL,'name','height='+newHeight+',width='+newWidth+',toolbar=no,directories=no,menubar=no,location=no,status=no,continued from previous linemenubar=no,scrollbars=yes,resizable='+resize+',modal=yes,left=' + calcLeft + ',top=' + calcTop);
		}
	} else {
		if(resize=='yes')
	  	{
			mywindow = window.open(newURL, 'remote', 'status=no,toolbar=no,menubar=no,location=no,scrollbars=' + resize + ',width=' + newWidth + ',height=' + newHeight + ',left=' + calcLeft + ',top=' + calcTop + ',resizable=' + resize);
			mywindow.focus();
	  	}
	  	else
	  	{
			mywindow = window.open(newURL, 'remote', 'status=no,directories=no,toolbar=no,menubar=no,location=no,scrollbars=yes,width=' + newWidth + ',height=' + newHeight + ',left=' + calcLeft + ',top=' + calcTop + ',resizable=yes');
			mywindow.focus();
	 	}
	}
	return returnValue;
}
//-->
