function ResetForm(which){
var pass=true
var first=-1
if (document.images){
for (i=0;i<which.length;i++){
var tempobj=which.elements[i]
 if (tempobj.type=="text"){
  eval(tempobj.value="")
  if (first==-1) {first=i}
 }
 else if (tempobj.type=="radiobutton") {
  eval(tempobj.checked=0)
  if (first==-1) {first=i}
 }
 else if (tempobj.col!="") {
  eval(tempobj.value="")
  if (first==-1) {first=i}
 }
}
}
which.elements[first].focus()
return false
}


function gotoAddForm(sharedNameOfTheButtons,theForm) {
	// define the radio group of interest
	var radioGroup = eval("document.forms." + theForm.name + "." + sharedNameOfTheButtons);
	// now cycle through and figure out which radio button is checked
	var buttonNumChecked = -1;
	for (r=0;r<radioGroup.length;r++) {
		if (radioGroup[r].checked==true) {
		 	buttonNumChecked = r;
		}	
	}
	// now go to the page or pop an alert if they didn't check anything
	if (buttonNumChecked==-1) {
		alert("Please choose a type of account to add.");
	} else {
		window.location.href = radioGroup[buttonNumChecked].value;
	}
}//-->