function cellOver(cell) 
{
    cell.style.backgroundColor = '#FFFFFF';
}

function cellOut(cell) 
{
    cell.style.backgroundColor = '#FAFAFA';
}

function cellOutApp(cell) 
{
    cell.style.backgroundColor = '';
}

function delInput(field) 
{
    if (field.defaultValue == field.value) field.value = "";
}

function popupPage(site, name, w, h, scroll) 
{
    var l = screen.width / 2 - w / 2;
    var t = screen.height / 2 - h / 2;
    var windowprops = "location=no,scrollbars=" + scroll + ",menubar=no,toolbar=no,resizable=no,width=" + w + ",height=" + h + ",left=" + l + ",top=" + t;
    popup = window.open(site, name, windowprops);
}

function gotoPage(site)
{
	top.window.opener.top.location.href = site;
}
