function ipOpen(url, windowname, width, height, clean, scrollbar)
{
	if (clean)
		extra = "width=" + width + ",height=" + height + ",toolbar=no,scrollbar=" + (scrollbar ? "yes" : "no") + ",statusbar=no,menubar=no";
	else
		extra = "width=" + width + ",height=" + height + ",scrollbar=" + (scrollbar ? "yes" : "no");

	window.open(url, windowname, extra);
}

function ipOpenAt(url, windowname, x, y, width, height, clean, scrollbar)
{
	if (clean)
		extra = "x=" + y +",y=" + x + ",top=" + y +",left=" + x + ",width=" + width + ",height=" + height + ",toolbar=no,scrollbar=" + (scrollbar ? "yes" : "no") + ",statusbar=no,menubar=no";
	else
		extra = "x=" + y +",y=" + x + ",top=" + y +",left=" + x + ",width=" + width + ",height=" + height + ",scrollbar=" + (scrollbar ? "yes" : "no");

	window.open(url, windowname, extra);
}

function dispdiv(name)
{
	eval('document.all.' + name + '.style.visibility = "visible"');
}

function hidediv(name)
{
	eval('document.all.' + name + '.style.visibility = "hidden"');
}
