// dhtml library by rod.o2theory.com | soloplay@msn.com
// keep these two lines and you're free to use this code

// last updated: 06.16.2003

// fixed and added with functionality by Leo Tsvaigboim 18.03.2005

//open window
var Opened = false;
function ow(PageSrc,Width,Height)
{
Features="top=5,left=200,width="+Width+",height="+Height+",toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,resizable=yes";
if ((!Opened) || (NewWin.closed))
{
	Opened = true;
	NewWin = window.open(PageSrc,"NewWindow",Features);
	NewWin.focus();
	var w = (window.document.body.offsetWidth)?window.document.body.offsetWidth - 4:window.document.innerWidth;
	var h = (window.document.body.offsetHeight)?window.document.body.offsetHeight - 4:window.document.innerHeight;
	if ((w != Width) || (h != Height)) {NewWin.resizeTo(Width + 10, Height + 29);}
}
else
{
	if ((Opened) || (!NewWin.closed))
	{
		NewWin.location=PageSrc;
		NewWin.focus();
	}
}
}