function newWindow(winloc,winname,w,h)
{
	var winleft = (screen.width - w) / 2;
	var wintop = (screen.height - h) / 2;
	return window.open(winloc,winname,'width='+w+',height='+h+',left='+winleft+',top='+wintop);
}


function newWindowScroll(winloc,winname,w,h)
{
	var winleft = (screen.width - w) / 2;
	var wintop = (screen.height - h) / 2;
	return window.open(winloc,winname,'scrollbars,width='+w+',height='+h+',left='+winleft+',top='+wintop);
}

