function confirmSubmit()
{
    var agree=confirm("Are you sure you wish to delete?");
    if (agree)
        return true ;
    else
        return false ;
}

function confirmLogOut()
{
    var agree=confirm("Are you sure you wish to log out?");
    if (agree)
        return true ;
    else
        return false ;
}

function openwin(theURL, wi, he, sc)
{
    var s=",width="+wi+",height="+he+",scrollbars="+sc;
    var cwin = window.open(theURL, "winMaruniPict", "toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1"+s, true);
    cwin.focus();
    return true;
}


function toggleview(id)
{
	var itm = null ;

	if ( ! id ) return;

	if (document.getElementById)
	{
		itm = document.getElementById(id);
	}
	else if (document.all)
	{
		itm = document.all[id];
	}
	else if (document.layers)
	{
		itm = document.layers[id];
	}

	if ( itm )
	{
		if (itm.style.display == "none")
		{
			itm.style.display = "";
		}
		else
		{
			itm.style.display = "none";
		}
	}
}


function high(which2)
{
	theobject=which2;
	highlighting=setInterval("highlightit(theobject)",50);
}

function low(which2)
{
	clearInterval(highlighting)
	if (which2.filters)
		which2.filters.alpha.opacity=50
}



function highlightit(cur2)
{
	if (cur2.filters)
	{
		if (cur2.filters.alpha.opacity<100)
			cur2.filters.alpha.opacity+=5
		else if (window.highlighting)
			clearInterval(highlighting)
	}
}







