





var submitarmed = 0;

function submitfire(evt) {
	if (submitarmed == 0)
		return;

	var img = document.getElementById('submitbutton');
	if (img == null)
		return;



	if (img.src.toString() != '/images/send-2-fi.gif')
		img.src = '/images/send-2-fi.gif';
}

function submitdisarm() {
	submitarmed = 0;
	var img = document.getElementById('submitbutton');
	if (img != null) {
		img.src = '/images/send-fi.gif';
		img.onmousemove = null;
	}
}

function submitarm() {
	submitarmed = 1;
	var img = document.getElementById('submitbutton');
	if (img != null) {
		img.onmousemove = submitfire;
		var date = new Date();
		img.value = date.getFullYear() + "-" + (date.getMonth()+1) + "-" + date.getDate();
	}
}



