<!--physicalAddress Functions for WareFore Analysis
function mailingValidator(frmIN)
{
var Bdebug = false
var promptEnterBgn='Enter your '
var promptEnterEnd=', please'
if (Bdebug) alert('dV/bgn')
if (Bdebug) alert('dV/NameFirst=/'+frmIN.NameFirst.value+'/'+frmIN.NameFirst.value.length)
if (!personNameNOgud(frmIN.NameFirst,20,true))
	{
	frmIN.NameFirst.focus()
	return false
	}
if (Bdebug) alert('dV/NameLast=/'+frmIN.NameLast.value+'/'+frmIN.NameLast.value.length)
if (!personNameNOgud(frmIN.NameLast,40,true))
	{
	frmIN.NameLast.focus()
	return false
	}
if (Bdebug) alert('dV/eAddress=/'+frmIN.eAddress.value+'/'+frmIN.eAddress.value.length)
if (!eAddNOgud(frmIN.eAddress,false))
	{
	frmIN.eAddress.focus()
	return false
	}
valOFrb=chkRadioButton('TypeEMail','one of the Types of EMail');
if (!valOFrb) return false
if (valOFrb.length>0)
	{
	frmIN.TypeEMailchosen.value=valOFrb
	}
}
function selDrpDwnBYval(objD,lenD,valD) {
//19-Jul-01: added=unmatched valD gets added to dropdown, not put into @0
//10-Feb-02: blank unmatched valD does not get added, so remains unselected
var debug=false;
if (debug) alert('sDv/'+objD.name+': bgn w/len='+lenD);
var dit=false;
valCap=valD.toUpperCase();
if (debug) alert('sDv/'+objD.name+':valCap='+valCap);
if (valD.length>0)
{
	for (var i=0;i<lenD;i++)
	{
		if (debug) alert('sDv/'+objD.name+':loop@'+i);
		optCap=objD.options[i].value.toUpperCase();
		if (debug) alert('sDv/'+objD.name+':compare ['+optCap+']&['+valCap+']');
		if (optCap==valCap)
		{
			objD.options[i].selected=true;
			dit=true;
			if (debug) alert('sDv/'+objD.name+':matched on '+optCap);
			break;
		}
	}
}
if (debug) alert('sDv/'+objD.name+':after loop@'+i);
if ((!dit)&&(valD!=''))
{
	if (debug) alert('sDv/'+objD.name+':didnt match');
	objD.options[lenD+1]=new Option(valD,valD,false,false);
	objD.options[lenD+1].selected=true;
}
if (debug) alert('sDv/'+objD.name+':end');
}
// End-->