function check_form(){	var ffield = new Array('FULLNAME','DAYNUMBER','NIGHTPHONE','TIME','CUSTCITY','STATE','CUSTEMAIL','DEBT','CREDITOR');	var fname = new Array('Your Full Name','Your Day Number','Your Nght Number','Your Contact Time','Your City','Your State','Your Email Address','Debt Amount','A Creditor');	for (var i=0;i<9;i++){		var thisfield = 'document.joinform.'+ffield[i];		if (!eval(thisfield + '.value')){			alert("Please enter "+fname[i]+".");			eval(thisfield+'.focus()');			return false;		}	}	if (document.joinform.STATE.selectedIndex == 0){		alert('Please enter the state you live in.');		return false;	}	if (document.joinform.TIME.selectedIndex == 0){        alert("Please enter contact time.");        return false;	}	if (document.joinform.DEBT.selectedIndex == 0){        alert("Please enter debt amount.");        return false;	}    return true;}function terms() {        window.open('agterms2995.html','terms','width=640,height=480,scrollbars=yes');        document.joinform.agree.checked = true;}