function externallink(){

	return confirm('This link is outside of Prime Mortgage\'s web site. By following this link you will enter a web site created, operated, and maintained by a private business or organization.\n\n Prime Mortgage provides this link as a courtesy to our web site visitors. We are not responsible for the content, views, or privacy policies of this site.');

}
function _classList(){

//	alert ('This is the classList2 message');

	  var newText, newValue;
	  newText = 'OPT';
	  newValue= 'OPTN';
      var sel = document.classForm.classList;
      sel.options[sel.length] = new Option(newText,newValue);   
//      sel.selectedIndex = sel.length - 1;   
//      sel.selectedIndex = 0;   

}   

function checkrequired(which) {
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,8)== "required")
{ if(((tempobj.type=="text"||tempobj.type==
"textarea")&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {
shortFieldName=tempobj.name.substring(8,30).toUpperCase();
alert("Please make sure the "+shortFieldName+" field was properly completed.");
return false;
}
else
return true;
}