var zip = new Array();zip[0] = "../loansrates/nozip.html";zip[1] = new Array("../loansrates/rates_m.html","47464","47429","47460","47401","47403","47404","47405","47406","47408", "47402", "47407", "47490","47458");zip[2] = new Array("../loansrates/rates_h.html","46123","46112","46168","46122","46113","46167","46220","46149","46158");zip[3] = new Array("../loansrates/rates_jl.html","47446","47421");zip[4] = new Array("../loansrates/rates_jl.html","47220","47281","47235","47274");function checkZip(zcode) {	if(isNaN(zcode*1)) {		return zip[0];	}	for(i=1;i<zip.length;i++) {		for(j=1;j<zip[i].length;j++) {			if(matches(zcode,zip[i][j])) {				return zip[i][0];			}		}	}	return zip[0];}function matches(zcode,format) {	for (k=0;k<5;k++) {		if(format.charAt(k)=="*") {			zcode = zcode.substring(0,k)+"*"+zcode.substring(k+1);		}	}	if(zcode==format) {		return true;	}	else	{		return false;	}}var lzip = new Array();lzip[0] = "../contact/nozip.html";lzip[1] = new Array("../contact/monroe_county.html","47464","47429","47460","47401","47403","47404","47405","47406","47408", "47402", "47407", "47490","47458");lzip[2] = new Array("../contact/hendricks_county.html","46123","46112","46168","46122","46113","46220","46167","46149","46158");lzip[3] = new Array("../contact/lawrence_county.html","47446","47421");lzip[4] = new Array("../contact/jackson_county.html","47220","47281","47235","47274");function checklZip(lcode) {	if(isNaN(lcode*1)) {		return lzip[0];	}		for(i=1;i<lzip.length;i++) {		for(j=1;j<lzip[i].length;j++) {			if(matches(lcode,lzip[i][j])) {				return lzip[i][0];			}		}	}	return lzip[0];}function matches(lcode,format) {	for (k=0;k<5;k++) {		if(format.charAt(k)=="*") {			lcode = lcode.substring(0,k)+"*"+lcode.substring(k+1);		}	}	if(lcode==format) {		return true;	}	else	{		return false;	}}function rand(num){	return (Math.floor(Math.random() *num));}