<!--
function nightPop(url)
{
	var newwindow;
	newwindow=window.open(url, '_night' ,'right=0,top=20,height=500,width=451,scrollbars=no,toolbar=no');
	if (window.focus) {newwindow.focus()}
}

function adminPop(url)
{
	var newwindow;
	newwindow=window.open(url, '_admin' ,'right=10,top=10,height=500,width=502,scrollbars=yes,toolbar=no');
	if (window.focus) {newwindow.focus()}
}

function photoPop(url)
{
	var newwindow;
	newwindow=window.open(url, '_image' ,'right=0,top=20,height=410,width=502,scrollbars=no');
	if (window.focus) {newwindow.focus()}
}

function mapPop(url)
{
	var newwindow;
	newwindow=window.open(url, '_map' ,'right=0,top=20,height=382,width=510,scrollbars=no');
	if (window.focus) {newwindow.focus()}
}

function resizeWindow(picWidth, picHeight)
{
	var winW = picWidth + 12;
	var winH = picHeight + 98;
	window.resizeTo(winW, winH);
}

function removeToolbars()
{
    window.open('','_top','menubar=no,location=0,toolbar=no,personalbar=no,status=1,scrollbars=no');
}

function resizeWindowFromTable(tableID)
{
	var tableWidth = document.getElementById(tableID).offsetWidth + 12;
    var tableHeight = document.getElementById(tableID).offsetHeight + 59;
	window.resizeTo(tableWidth, tableHeight);
}

function resizeWindowFromTableWithScrollbar(tableID)
{
	var tableWidth = document.getElementById(tableID).offsetWidth + 60;
    var tableHeight = document.getElementById(tableID).offsetHeight + 57;
	if(tableHeight > 750) tableHeight = 750;
	window.resizeTo(tableWidth, tableHeight);
}
//-->
