function popupHelp(href)
{
	if (typeof(helpWin) == 'object')
		helpWin.close()

	helpWin = window.open( href, 'helpWin','titlebar=no,toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=no,left=0,top=0,width=540,height=370') 
	var x = Math.round((screen.width-540)/2)
	var y = Math.round((screen.height-370)/2)
	helpWin.moveBy(x,y)
	helpWin.focus()
}

function popup(href, width, height, scroll)
{
	if (scroll == 0)
		var scrollbar = 'no'
	else
		var scrollbar = 'yes'

	if (typeof(popupWin) == 'object')
		popupWin.close()

	popupWin = window.open(href, 'popupWin','titlebar=no,toolbar=no,menubar=no,location=no,personalbar=no,scrollbars='+scrollbar+',directories=no,status=no,resizable=no,left=0,top=0,width='+width+',height='+height) 
	var x = Math.round((screen.width-width)/2)
	var y = Math.round((screen.height-height)/2)-15
	popupWin.moveBy(x,y)
	popupWin.focus()
}