function confirmation(message) {
	var answer = confirm(message)
	if (answer){
		return true;
	}
	else {
		return false;
	}
}

function confirmationLink(message, location) {
	var answer = confirm(message)
	if (answer){
		window.location = location;
	}
}

function disable(button) {
	document.getElementById(button).value = "Please wait..";
	document.getElementById(button).disabled = true;
}

function openNewWindow(URLtoOpen, windowName, windowFeatures) {
	newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}

function goto(form) {
	var index=form.select.selectedIndex
	location=form.select.options[index].value;
}