function SetCounty(val)
{
    document.all['County'].value = val;
}

function Tab_OnMouseEvent(intTab, boolMouseOver)
{
	var i;
	eval("var arrTemp = arrTab" + intTab + ";");
	for (i = 0; i < arrTemp.length; i++) {
		if (boolMouseOver) {
			eval("document.getElementById(arrTemp[i][0])." + arrTemp[i][1] + ";");
		} else {
			eval("document.getElementById(arrTemp[i][0])." + arrTemp[i][2] + ";");
		}
	}
}

function OpenPupup()
{
	javascript:window.open("ZipSearch.aspx","IPC","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,location=no,status=no,width=460,height=520");
	return false;
}

function Array_MultiDimensional(intFirstSize, intSecondSize)
{ 
	var i, j;
	var arrTemp = new Array(intFirstSize); 
	
	for (i = 0; i < intFirstSize; i++) {
		arrTemp[i] = new Array(intSecondSize);
		for (j = 0; j < intSecondSize; j++) {
			arrTemp[i][j] = "";
		} 
	} 
	
	return(arrTemp); 
}

function ClickToSubmit(){
	return confirm("I intend to use the information ONLY for either:\n\nA) A commonly recognized business use whereby the business for which I seek the information has a pre-existing business relationship with the subject of the inquiry;\n\nB) A use which will clearly cause no emotional or physical harm to a reasonable person who is a subject of the inquiry;\n\nC) A use that is relevant to the subject matter of a documented civil or criminal action;\n\nD) A legitimate business purpose in the ordinary course of business.  \n\nFURTHERMORE, I will not, either personally or through my company, employer or anyone else, use this information for credit granting, credit monitoring, account review, insurance underwriting, employment or any other purpose covered by the Fair Credit Reporting Act, 15 U.S.C. Sec. 1681 et seq, state statutes.")
}

function ReplaceAmp(sMessage)
{
	return sMessage.replace('&amp;', '&', 'g')
}