function toggle(id){
	ul = "ul_" + id;
	ulElement = document.getElementById(ul);
	if (ulElement){
		if (ulElement.style.display == 'none'){
			ulElement.style.display = "block";
		} else {
			ulElement.style.display = "none";
		}
	}
}
function checkPw(form) {
	password = form.password.value;
	re_password = form.re_password.value;
	if (password != re_password) {
		alert ("\nYou did not enter the same password twice. Please re-enter your password.")
		return false;
	} else {
		return true;
	}
}
function confdel(name, path) {
	if (confirm("Delete '" + name + "'?")) {
		parent.location = path;
	}
}


function popupWindow(uri, width, height) {
    var popUp = window.open(uri, 'popup', 'width=' + width + ',height=' + height + ',scrollbars=yes,resizable=yes,menubar=no,toolbar=no');
    popUp.focus();
}

