/*
JavaScript Module
Written by Daniel Blaschke
on December 15, 2003
for http://www.scm-pc-card.de
*/


/*
Function makepopup() for Popup Window on Startup
   Input:
	popupURL:	URL to File to Popup
	puwidth:	Width of Popup Window
	puheigth:	Heigth of Popup Window
	active:		Popup Window Active Flag -> Set to 1 to enable, to 0 to disable popup
   Created handlers:
   	F:		window.open handler
   Output:
	Returns True if popup window was created.
	Retunrs False if no popup window was created.
*/
function makepopup(popupURL,puwidth,puheight,active)
{
	if(active==1)
	{
		F = window.open(popupURL,"Popup","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+puwidth+",height="+puheight+",left=50,top=50");
		return true;
	}
	else{
	return false;
	}
}

