var newwindow = '';
function popitup(url,height,width,scrollbars)
{
	if (!newwindow.closed && newwindow.location)
	{
		newwindow.location.href = url;
	}
	else
	{
		newwindow=window.open(url,'name','height=' + height +',width=' + width + ',scrollbars=' + scrollbars);
	}
	if (window.focus) {newwindow.focus()}
}