
<!-- function to confirm deletion of an item -->
function confirm_delete(year, section, url) {
 	input_box = confirm('Are you sure you want to delete this image?');
 	if (input_box == true) 
 			window.location = url;
 	
 }
//-->

<!-- script to insert help links against form fields -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function explain(name, output, msg) {
newwin = window.open('','','top=150,left=150,width=325,height=300');
if (!newwin.opener) newwin.opener = self;
with (newwin.document)
{
open();
write('<html>');
write('<head><link rel=stylesheet href=styles/ikebana.css type=text/css></head>');
write('<body class=help_pop onLoad="document.mainpages.box.focus()"><form name=helpform>' + msg + '<br>');
write('<p>Enter the appropriate information for the ' + name + ' here and it will be copied into the form for you.');
write('<p><center>' + name + ':  <input type=text name=box size=10 onKeyUp=' + output + '=this.value>');
write('<p><input type=button class=form_but value="Click to close when finished" onClick=window.close()>');
write('</center></form></body></html>');
close();
   }
}
//  End -->

<!-- Begin for form name = update_events
function explain2(name, output, msg) {
newwin = window.open('','','top=150,left=150,width=325,height=300');
if (!newwin.opener) newwin.opener = self;
with (newwin.document)
{
open();
write('<html>');
write('<head><link rel=stylesheet href=styles/ikebana.css type=text/css></head>');
write('<body class=help_pop onLoad="document.update_events.box.focus()"><form name=form>' + msg + '<br>');
write('<p>Enter the appropriate information for the ' + name + ' here and it will be copied into the form for you.');
write('<p><center>' + name + ':  <input type=text name=box size=10 onKeyUp=' + output + '=this.value>');
write('<p><input type=button class=form_but value="Click to close when finished" onClick=window.close()>');
write('</center></form></body></html>');
close();
   }
}
//  End -->

<!-- Begin for form name = insert_event
function explain3(name, output, msg) {
newwin = window.open('','','top=150,left=150,width=325,height=300');
if (!newwin.opener) newwin.opener = self;
with (newwin.document)
{
open();
write('<html>');
write('<head><link rel=stylesheet href=styles/ikebana.css type=text/css></head>');
write('<body class=help_pop onLoad="document.insert_event.box.focus()"><form name=form>' + msg + '<br>');
write('<p>Enter the appropriate information for the ' + name + ' here and it will be copied into the form for you.');
write('<p><center>' + name + ':  <input type=text name=box size=10 onKeyUp=' + output + '=this.value>');
write('<p><input type=button class=form_but value="Click to close when finished" onClick=window.close()>');
write('</center></form></body></html>');
close();
   }
}
//  End -->


function autoTransfer()
{
document.events.evtExp.value=document.events.evtTo.value;
}

