/* Display given text onMouseOver of whatever */
function mOver(txt)
{
    window.status=txt;
    return true;
}

/* Clear whatever text displayed onMouseOut of whatever */
function mOut()
{
	window.status="";
}

/* Display previous window */
function goback()
{
	window.history.back()
}

/* Open a new window of the specified size. However, we're not going to open one that  */
/* is larger than will fit on the users screen so we check for the available width and */
/* and height. Don't ask me why I need to subtract the extra 10/30 pixels, you just    */
/* seem to need to, to get it to display correctly!                                    */
/* The new window is positioned top, left of the screen. The left and top arguments    */
/* are strictly IE only, but Netscape doesn't complain, so it'll do for the moment.    */
function newWindow(url, x, y)
{
	//w = Math.min( x, (screen.availWidth-10) );
	//h = Math.min( y, (screen.availHeight-30) );
	//options = "scrollbars,resizable,width=" + w + ",height=" + h + ",left=0,top=0";
	//window.open(url, "_blank", options);
	//return false;
	newWindow(url, x, y, 0, 0);
}

function newWindow(url, x, y, off1, off2)
{
	w = Math.min( x, (screen.availWidth-10) );
	h = Math.min( y, (screen.availHeight-30) );
	options = "scrollbars,resizable,width=" + w + ",height=" + h + ",left=" + off1 + ",top=" + off2;
	window.open(url, "_blank", options);
	return false;
}