<!--
			var never = new Date()
			never.setTime(never.getTime() + 2000*24*60*60*1000);

			// name is a string of the name of your cookie
			// value is the value corresponding to name
			function SetCookieAmit(name, value) {
				var expString = "; expires=" + never.toGMTString();
				document.cookie = name + "=" + escape(value) + expString;
			}

			// returns value of cookie or null if cookie does not exist
			function GetCookie(name) {
				var result = null;
				var myCookie = " " + document.cookie + ";";
				var searchName = " " + name + "=";
				var startOfCookie = myCookie.indexOf(searchName);
				var endOfCookie;
				if (startOfCookie != -1) {
					startOfCookie += searchName.length; // skip past name of cookie
					endOfCookie = myCookie.indexOf(";", startOfCookie);
					result = unescape(myCookie.substring(startOfCookie, endOfCookie));
				}
				return result;
			}

			use_cookies = "unsure";

			function saveValue(element) {
				//if (document.images && use_cookies == "unsure") 
				//	use_cookies = (confirm("Will you allow the values you enter into this form to be stored as cookies so that those values will be pre-filled the next time you return to this page?") ? "yes":"no"); 
				//if (document.images && use_cookies == "yes") {
					if ((element.type == "text") || (element.type == "password") || (element.type == "textarea") || (element.type == "radio")) {
						val = element.value;
					} else if (element.type.indexOf("select") != -1) {
						val = "";
						for(k=0;k<element.length;k++)
							if (element.options[k].selected)
								val += k+ " ";
					} else if (element.type == "checkbox") {
						val = element.checked;
					}
					SetCookieAmit("memory_"+element.form.name+"_"+element.name,val);
				//}
			}

			function storedValues() {
				if (document.images) { // only do it in JavaScript 1.1 browsers
					for (i=0;i<document.forms.length;i++) {
						for (j=0;j<document.forms[i].elements.length; j++) {
							cookie_name = "memory_"+document.forms[i].name+"_"+document.forms[i].elements[j].name;
							val = GetCookie(cookie_name);
							if (val) {
								if ((document.forms[i].elements[j].type == "text") || (document.forms[i].elements[j].type == "password") || (document.forms[i].elements[j].type == "textarea")) {
									document.forms[i].elements[j].value = val;
								} else if (document.forms[i].elements[j].type.indexOf("select") != -1) {
									document.forms[i].elements[j].selectedIndex = -1;
									while (((pos = val.indexOf(" ")) != -1) && (val.length > 1)) {
										sel = parseInt(val.substring(0,pos));
										val = val.substring(pos+1,val.length);
										if (sel < document.forms[i].elements[j].length)
											document.forms[i].elements[j].options[sel].selected = true;
									}
								} else if (document.forms[i].elements[j].type == "checkbox") {
									document.forms[i].elements[j].checked = val;
								} else if (document.forms[i].elements[j].type == "radio") {
									if (document.forms[i].elements[j].value == val)
										document.forms[i].elements[j].checked = true;
								}
							}
						}
					}
				}
			}
			window.onload = storedValues;
// -->
		
		
		<!-- Begin
   var exit=true;
   function leave() {
      if (exit)
         window.open('/popup/popup.html','','toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,height=750,width=800');
   }
			function leave2() {
				exit=false;
			}
   // End -->
   
   
			<!-- Begin
			var submitcount=0;

			function checkSubmit() {
				if (submitcount == 0) {
					submitcount++;
					return true;
				} else {
					if (confirm("Your application has already been submitted.  If you have modified your information since you submitted it, select OK to resubmit, else CANCEL and your request will be processed as quickly as possible.  Thanks!")) {
						return true;
					} else {
						return false;
					}
				}
			}
//  End -->


function step ()
{
  
  document.stepone.submit() ;
}

function createWindow(cUrl) {
				var xWin=window.open(cUrl,'_new','directories,location,menubar,resizable,scrollbars,status,toolbar');
			}

       <!-- Begin
function check(thisobj)
{
		theform=thisobj.form;
        var path="";
        // location of selected option value for redirection
     if (theform.TypeofLoan.value == 'MobileHome|MobileHome' && theform.PropLocation.value != '')
   {
       // redirection path upon selection of option value
        path = "../../cgi-bin/findalender.cgi?LenderSearch="+theform.TypeofLoan.value+"&StateSearch="+theform.PropLocation.value;
        window.location = path;
       // stop popup launch upon selection of option value
        exit=false;
        return false;
	} else {
		return true;
	}
}
  // End -->
  		
			
			/* Adapted from a tutorial on mredkj.com - thanks guys! */
			
			// set up allowable characters
			var reg = /(\d|\x46|\x08|\x09)/; // digits, backspace, delete & tab chars
			var reg2 = /(\x46|\x08|\x09)/; // backspace, delete & tab chars

			// function to prevent anything but digits from being entered
			function noLetters(e) {
			
				// set up variables
				var key;
				if (window.event) {
					// for IE, e.keyCode or window.event.keyCode can be used
					key = e.keyCode; 
			
				} else if (e.which) {
					// netscape
					key = e.which; 
			
				} else {
					// no event, so pass through
					return true;
			
				}
			
				// return the boolean regex test results of the stringified character
				return reg.test( String.fromCharCode(key) );
			
			}
			
			function autoTab(field,nextInput,max,e) {
			
				// set up variables
				var key;
				if (window.event) {
					// for IE, e.keyCode or window.event.keyCode can be used
					key = e.keyCode; 
			
				} else if (e.which) {
					// netscape
					key = e.which; 
			
				} else {
					// no event, so pass through
					return true;
				}
			
				// if there's a target for the focus call and the field length is at max...
				if (nextInput && field.value.length == max) {
			
					// do the auto-tab unless the incoming character is backspace, delete, or tab
					if (!reg2.test( String.fromCharCode(key) )) {
						nextInput.focus();
					}
				}
				// return false just for the heck of it - doesn't make a difference
				return false;	
			}

