function check_submit() 
{
if (confirm('DELETE ENTRY?'))
   { return true;}
	 return false;
}

function check_CD() 
{
if (confirm('DELETE CD COVER?'))
   { return true;}
	 return false;
}

function check_submit1() 
{
if (confirm('Are you sure you want to increment fiscal year?\nAll the values from CY Paid amount will automatically be transferred to LY Paid amount column.'))
   { return true;}
	 return false;
}

function check_submit2() 
{
if (confirm('Are you sure you want to clear the detailed statistics?'))
   { return true;}
	 return false;
}

function check_submit3() 
{
if (confirm('Are you sure you want to delete the selected sections?'))
   { return true;}
	 return false;
}

function check_submit4() 
{
if (confirm('Are you sure you want to delete the selected group?\nAll the photos within that group will also be deleted!'))
   { return true;}
	 return false;
}


function check_submit5() 
{
if (confirm('Are you sure you want to increment fiscal year?\nAll the values of Years paid and Total sum will be adjusted respectively'))
   { return true;}
	 return false;
}

function check_submit6() 
{
if (confirm('You have requested to change the general site password.\nThis will change the password for all users of the site.\nAre you sure you want to do this?'))
   { return true;}
	 return false;
}

function check_submit7() 
{
if (confirm('Are you sure you want to clear the PayPal transaction history?'))
   { return true;}
	 return false;
}

function dec () 
{ 
var index = document.report.type.selectedIndex;
if (index != 4) { document.report.years.disabled=true;}
	else { document.report.years.disabled=false;document.report.years.focus();document.report.years.value=1; }
}


function initStopwatch() 
{ 
 var myTime = new Date(); 
        var timeNow = myTime.getTime();  
        var timeDiff = timeNow - clockStart; 
        this.diffSecs = timeDiff/1000; 
        return(this.diffSecs); 
}

function getSecs() 
{ 
        var mySecs = initStopwatch();
        var mySecs1 = ""+mySecs; 
        mySecs1= mySecs1.substring(0,mySecs1.indexOf(".")) + " secs."; 
        document.tim.timespent.value = mySecs1 
        window.setTimeout('getSecs()',1000); 
}

function times() 
{ 

startday = new Date();
clockStart = startday.getTime();

var x,y;
	if ( navigator.appName == "Netscape" ) {
		x=glX;
		y=glY;
	} else {
		x=window.event.x;
		y=window.event.y;
	}
y=y-100;
x=x-100;
document.getElementById("fotos").style.top=document.body.scrollTop+y;
document.getElementById("fotos").style.left=document.body.scrollLeft+x;
document.getElementById("fotos").style.visibility = "visible";	
getSecs();

}