


function simplepopup(url, name, width, height)
{
	advancedpopup(url, name, width, height, 0, 0, 0, 0, 0, 0);
}

function advancedpopup(url, name, width, height, resizable, scrollbars, toolbar, location, status, menubar)
{
	var advpopwin = window.open(url, name, "width=" + width + ",height=" + height + ",resizable=" + resizable + ",scrollbars=" + scrollbars + ",toolbar=" + toolbar + ",location=" + location + ",status=" + status + ",menubar=" + menubar);
}

function advancedpopup2(url, name, width, height, resizable, scrollbars, toolbar, location, status, menubar,top,left)
{
	var advpopwin = window.open(url, name, "width=" + width + ",height=" + height + ",resizable=" + resizable + ",scrollbars=" + scrollbars + ",toolbar=" + toolbar + ",location=" + location + ",status=" + status + ",menubar=" + menubar + ",top=" + top + ",left=" + left);
}

function moveScreen ()
	{	
		zleva=(screen.width-595)/2;
		zhora=(screen.height-580)/2;
		self.moveTo(zleva,zhora);
		//DZ commenting out below 10/15/2007
		/*self.scrollbars.visible = false;*/
		if (self != top) top.location = self.location;
	}