function winOpen(url,winname,h,w,resizable,scrollable,status,toolbar,menubar,location)
{
	var windowpram = "height=" + h + ",width=" + w + ",status=" + status + ",toolbar=" + toolbar + ",menubar=" + menubar + ",location=" + location + ",resizable=" + resizable + ",scrollbars=" + scrollable;

	var winOpenWin = window.open(url,winname,windowpram);

	winOpenWin.focus();
}

/* include old site window popup function so we don't have to update all the js calls */
function n_window(theurl)
{
 // set the width and height
 var the_width=300;
 var the_height=200;
 // set window position
 var from_top=20;
 var from_left=20;
 // set other attributes
 var has_scrollbars='yes';
 var is_resizable='yes';
 // attributes put together
 var 
 the_atts='width='+the_width+',height='+the_height+',top='+from_top+',screenY='+from_top+',left='+from_left+',screenX='+from_left;
 the_atts+=',scrollbars='+has_scrollbars+',resizable='+is_resizable;
 // open window
 window.open(theurl,'',the_atts);
}
