
function delevent(id){
	if(confirm("Are you sure you want to remove this Event Entry FOREVER?")){location.replace("edit_event.php?del="+id);}
}

function dellocation(id){
	if(confirm("Are you sure you want to remove this Location Entry FOREVER?")){location.replace("edit_location.php?del="+id);}
}

function delclass(id){
	if(confirm("Are you sure you want to remove this Class Entry FOREVER?")){location.replace("edit_class.php?del="+id);}
}

function delschedule(id){
	if(confirm("Are you sure you want to remove this Entry FOREVER?")){location.replace("edit_avail.php?del="+id);}
}


function SaveThis(){
if(document.form1.date2.value != ""){document.form1.submit();}
else{alert ("You cannot have leave a field enpty - some ponies perhaps?");}
}

