function make_popup(theURL,winName)
{
	var winwidth = 440;	var winheight = 500;	
	window.open(theURL,winName,'top=0,left=0,width='+ winwidth +',height='+ winheight +',toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
}

function make_popup_dim(theURL,winName,wid)
{
	var winwidth = 440;	var winheight = 500;
	if(wid!=''){winwidth=wid}
	newwindow=window.open(theURL,winName,'top=0,left=0,width='+ winwidth +',height='+ winheight +',toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
	if (window.focus) {newwindow.focus()}
}

function make_popup_custom(theURL,winName,wid,height,isMax)
{
	var winwidth = 440;	var winheight = 500;
	
	if(wid!=''){winwidth=wid}
	if(height!=''){winheight=height}
	newwindow=window.open(theURL,winName,'top=0,left=0,width='+ winwidth +',height='+ winheight +',toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
	if (window.focus) {newwindow.focus()}
}

function launch_enews(issueNumber){
	
	var winwidth = screen.availWidth;
	var winheight = screen.availHeight-50;
	var theURL,newwindow;
	theURL = 'enews\/'+issueNumber.toString()+'\/enews.html';
	
	//alert('launch enews issue: '+theURL);
	newwindow=window.open(theURL,'ENews','top=0,left=0,width='+ winwidth +',height='+ winheight +',toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
	
}
