// JavaScript Document

function clearField(theText) {
     if (theText.value == theText.defaultValue) {
         theText.value = ""
     }
}

function confirmActionGo(url){
	action = confirm('Are you sure?')
	if (action==true)
		parent.self.location.href = url;
}

function confirmSubmit() {
	input_box = confirm("Are you sure?");
	if (input_box == true) {
	  document.deletephotos.submit();
	} else {
	  return false;
	}
}