function check_details(selectlist,last){
        var stored = null;var loop = 0;
		if (last == "") {
          alert("Please select an option before continuing");
		} else {
	      while (stored == null)
		  {
			if(selectlist[loop].checked == true)
				stored = selectlist[loop].value;
			loop ++;
		  }
		
		  if (last == "parent") {parent.location.href = stored;}
		  if (last == "blank") {window.open(stored,'','height=500px,width=700px,resizable=yes,left=100px,top=100px,scrollbars=yes');}
		  if (last == "normal") {document.location.href = stored;}
		}
}

