function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function deleteSomething( what, id, message ) {
	what.replace('-', ' ');
	if (!message) message = 'Are you sure you want to delete this ' + what + '?';
	if ( confirm(message) ) {
		return true;
	} else {
		return false;
	}
}

function checkAll(form)
{
	for (i = 0, n = form.elements.length; i < n; i++) {
		if(form.elements[i].type == "checkbox") {
			if(form.elements[i].checked == true)
				form.elements[i].checked = false;
			else
				form.elements[i].checked = true;
		}
	}
}