function openWindow(url, name, width, height, scrollbars) {
	var leftOffset = (screen.width - width) / 2, topOffset = (screen.height - height) / 2
	popup = window.open(url, name,'width='+width+',height='+height+',top='+topOffset+',left='+leftOffset+',menubar=0,alwaysRaised=yes,resizable=no,scrollbars='+scrollbars+',status=0')
}