function confirm_deletion() {
    var answer = confirm("Delete This Entry?")
     if (answer){
        return true;
     } else {
                return false;
         }
}

function confirm_reset() {
	var answer = confirm("Are you sure you want to reset the judging assignments for this round and contest year?  This action cannot be undone.")
	if (answer) { return true; } else { return false; }
}


function CheckAll(form) {
  for (var i = 0; i < form.elements.length; i++) {
    if(form.elements[i].type == 'checkbox'){
      form.elements[i].checked = !(form.elements[i].checked);
    }
  }
}

function popWin(URL,LEFT,TOP,WIDTH,HEIGHT) {
s = ",left="+LEFT+",top="+TOP+",width="+WIDTH+",height="+HEIGHT;
thisWindow = window.open(URL,"POPUP","location=no,scrollbars=yes,menubar=no,toolbar=no,resizable=yes"+s);
}
