function openWindow(url,width,height,noresize,noscroll)
//	DESCRIPTION: opens a centered window
//	url = website address
//	width = width of new window
//	height = height of new window
//	noresize = disables resizing if set to 1
//	noscroll = disables scrollbars if set to 1
{
	var top=( height ? ",top=" : "" )+( height ? (screen.height-height)/2 : '' );
	var left=( width ? ",left=" : "" )+( width ? (screen.width-width)/2 : '' );
	width=( width ? "width="+width : '' );
	height=( height ? ",height="+height : '' );

	return window.open(url,"_blank",width+height+top+left+",resizable="+( noresize ? "no" : "yes" )+",scrollbars="+( noscroll ? "no" : "yes" ));
}