
//
//  JavaScript 
//  GENERATED by cron.venue.js.htm
//  No editing of this file.
//


function changeType (tIn) {
	for(var i=0; i < document.theForm.M3.length; i++) {
		if(document.theForm.M4.options[i].value == tIn) {
			document.theForm.M4.selectedIndex = i;
			return;
			}
		}
	}

function changeCity (cIn) {
	for(var i=0; i < document.theForm.M3.length; i++) {
		if(document.theForm.M3.options[i].value == cIn) {
			document.theForm.M3.selectedIndex = i;
			return;
			}
		}
	}

function changeState (sIn) {
	for(var i=0; i < document.theForm.M2.length; i++) {
		if(document.theForm.M2.options[i].value == sIn) {
			document.theForm.M2.selectedIndex = i;
			return;
			}
		}
	}


function cityChange (stateCode, cityCode) {
			if (stateCode == 'AL') { 
		if (cityCode == 'MOBILE') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'ORANGE BEACH') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		} 
	if (stateCode == 'CA') { 
		if (cityCode == 'ALBION ') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'BOONVILLE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'LA JOLLA') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'LAJOLLA') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'MENDOCINO') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'SAN DIEGO') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'SAN FRANCISCO') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'SAN PEDRO') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'SOLANA BEACH') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'W. HOLLYWOOD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			} 
		} 
	if (stateCode == 'CO') { 
		if (cityCode == 'GRAND JUNCTION') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		} 
	if (stateCode == 'CT') { 
		if (cityCode == 'FAIRFIELD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'GREENWICH') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'HARTFORD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'MASHANTUCKET') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'NORWALK') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'SOUTH NORWALK') { 
			document.theForm.M4.length = 0 + 4;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar";
			document.theForm.M4.options[1].value = "BAR";
			document.theForm.M4.options[2].text = "Nightclub";
			document.theForm.M4.options[2].value = "NIGHTCLUB";
			document.theForm.M4.options[3].text = "Restaurant";
			document.theForm.M4.options[3].value = "RESTAURANT";
			} 
		if (cityCode == 'STAMFORD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'STRATFORD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'DC') { 
		if (cityCode == 'WASHINGTON') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'FL') { 
		if (cityCode == 'CLEARWATER') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'CORAL GABLES') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'DELRAY BEACH') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'EVERGLADES CITY') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'FORT LAUDERDALE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'FT. MYERS') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'KEY WEST') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'MIAMI') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'NAPLES') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'ORLANDO') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'PALM BAY') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'PALM HARBOR') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'TAMPA') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'GA') { 
		if (cityCode == 'ATLANTA') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		} 
	if (stateCode == 'IL') { 
		if (cityCode == 'CHICAGO') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'LA') { 
		if (cityCode == 'NEW ORLEANS') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			} 
		} 
	if (stateCode == 'MA') { 
		if (cityCode == 'BOSTON') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'CAMBRIDGE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'ME') { 
		if (cityCode == 'BERNARD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'CAMDEN') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'DEER ISLE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'GEORGETOWN') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'KENNEBUNKPORT') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'PORTLAND') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'ROCKLAND ') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'MI') { 
		if (cityCode == 'GROSSE POINTE WOODS') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		} 
	if (stateCode == 'MO') { 
		if (cityCode == 'ST. LOUIS') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'NH') { 
		if (cityCode == 'HANOVER') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'NASHUA') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'PORTSMOUTH') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		} 
	if (stateCode == 'NJ') { 
		if (cityCode == 'ATLANTIC CITY') { 
			document.theForm.M4.length = 0 + 4;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Nightclub";
			document.theForm.M4.options[2].value = "NIGHTCLUB";
			document.theForm.M4.options[3].text = "Restaurant";
			document.theForm.M4.options[3].value = "RESTAURANT";
			} 
		if (cityCode == 'BOONTON') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Retail Store";
			document.theForm.M4.options[1].value = "RETAIL STORE";
			} 
		if (cityCode == 'HOBOKEN') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'LYNDHURST') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			} 
		if (cityCode == 'PENNSAUKEN') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Retail Store";
			document.theForm.M4.options[1].value = "RETAIL STORE";
			} 
		if (cityCode == 'WEST MILFORD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'WEST PATERSON') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		} 
	if (stateCode == 'NV') { 
		if (cityCode == 'LAS VEGAS') { 
			document.theForm.M4.length = 0 + 4;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Nightclub";
			document.theForm.M4.options[2].value = "NIGHTCLUB";
			document.theForm.M4.options[3].text = "Restaurant";
			document.theForm.M4.options[3].value = "RESTAURANT";
			} 
		if (cityCode == 'SUMMERLIN') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			} 
		} 
	if (stateCode == 'NY') { 
		if (cityCode == 'BAY SIDE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'BRIARCLIFF MANOR') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'BRONXVILLE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Retail Store";
			document.theForm.M4.options[1].value = "RETAIL STORE";
			} 
		if (cityCode == 'BROOKLYN') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'CHAPPAQUA') { 
			document.theForm.M4.length = 0 + 4;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			document.theForm.M4.options[3].text = "Retail Store";
			document.theForm.M4.options[3].value = "RETAIL STORE";
			} 
		if (cityCode == 'HARTSDALE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Retail Store";
			document.theForm.M4.options[1].value = "RETAIL STORE";
			} 
		if (cityCode == 'MT. KISCO') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			document.theForm.M4.options[2].text = "Retail Store";
			document.theForm.M4.options[2].value = "RETAIL STORE";
			} 
		if (cityCode == 'MT. VERNON') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'NEW ROCHELLE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'NEW YORK') { 
			document.theForm.M4.length = 0 + 6;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar";
			document.theForm.M4.options[1].value = "BAR";
			document.theForm.M4.options[2].text = "Bar / Tavern";
			document.theForm.M4.options[2].value = "BAR / TAVERN";
			document.theForm.M4.options[3].text = "Nightclub";
			document.theForm.M4.options[3].value = "NIGHTCLUB";
			document.theForm.M4.options[4].text = "Restaurant";
			document.theForm.M4.options[4].value = "RESTAURANT";
			document.theForm.M4.options[5].text = "Retail Store";
			document.theForm.M4.options[5].value = "RETAIL STORE";
			} 
		if (cityCode == 'NEW YORK ') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'PLEASANTVILLE') { 
			document.theForm.M4.length = 0 + 4;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			document.theForm.M4.options[3].text = "Retail Store";
			document.theForm.M4.options[3].value = "RETAIL STORE";
			} 
		if (cityCode == 'SCARSDALE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Retail Store";
			document.theForm.M4.options[1].value = "RETAIL STORE";
			} 
		if (cityCode == 'SLATERVILLE SPRINGS') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'SOMERS') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Retail Store";
			document.theForm.M4.options[1].value = "RETAIL STORE";
			} 
		if (cityCode == 'WHITE PLAINS') { 
			document.theForm.M4.length = 0 + 4;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar";
			document.theForm.M4.options[1].value = "BAR";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			document.theForm.M4.options[3].text = "Retail Store";
			document.theForm.M4.options[3].value = "RETAIL STORE";
			} 
		if (cityCode == 'YONKERS') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		} 
	if (stateCode == 'OH') { 
		if (cityCode == 'CINCINNATI') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Retail Store";
			document.theForm.M4.options[1].value = "RETAIL STORE";
			} 
		if (cityCode == 'PEPPER PIKE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'RI') { 
		if (cityCode == 'BLOCK ISLAND') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'CHEPACHET') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'CRANSTON') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'EAST GREENWICH') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'EAST PROVIDENCE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'GLENDALE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'LITTLE COMPTON') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'NARRAGANSETT') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'NEWPORT') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'PAWTUCKET') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'PROVIDENCE') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'WAKEFIELD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'WARREN') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'WESTERLY') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'WOONSOCKET') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'SC') { 
		if (cityCode == 'HILTON HEAD') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'TX') { 
		if (cityCode == 'AUSTIN') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Nightclub";
			document.theForm.M4.options[2].value = "NIGHTCLUB";
			} 
		if (cityCode == 'DALLAS') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'HOUSTON') { 
			document.theForm.M4.length = 0 + 4;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Nightclub";
			document.theForm.M4.options[2].value = "NIGHTCLUB";
			document.theForm.M4.options[3].text = "Restaurant";
			document.theForm.M4.options[3].value = "RESTAURANT";
			} 
		} 
	if (stateCode == 'VT') { 
		if (cityCode == 'BENNINGTON') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'BRATTLEBORO') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'KILLINGTON') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'MANCHESTER VILLAGE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'MONTPELIER') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'NEWFANE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'PAWLET') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			} 
		if (cityCode == 'QUEECHE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'STOWE') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Nightclub";
			document.theForm.M4.options[1].value = "NIGHTCLUB";
			} 
		if (cityCode == 'W. DOVER') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'WARREN') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		if (cityCode == 'WILMINGTON') { 
			document.theForm.M4.length = 0 + 3;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Bar / Tavern";
			document.theForm.M4.options[1].value = "BAR / TAVERN";
			document.theForm.M4.options[2].text = "Restaurant";
			document.theForm.M4.options[2].value = "RESTAURANT";
			} 
		if (cityCode == 'WOODSTOCK') { 
			document.theForm.M4.length = 0 + 2;
			document.theForm.M4.options[0].text = "Any type";
			document.theForm.M4.options[0].value = "-1";
			document.theForm.M4.options[1].text = "Restaurant";
			document.theForm.M4.options[1].value = "RESTAURANT";
			} 
		} 
	}

function stateChange (stateCode) {
			if (stateCode == 'AL') { 
		
			document.theForm.M3.length = 0 + 4;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Mobile";
			document.theForm.M3.options[1].value = "MOBILE";
			
			document.theForm.M3.options[2].text = "Orange Beach";
			document.theForm.M3.options[2].value = "ORANGE BEACH";
				}

	if (stateCode == 'CA') { 
		
			document.theForm.M3.length = 0 + 12;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Albion ";
			document.theForm.M3.options[1].value = "ALBION ";
			
			document.theForm.M3.options[2].text = "Boonville";
			document.theForm.M3.options[2].value = "BOONVILLE";
			
			document.theForm.M3.options[3].text = "La Jolla";
			document.theForm.M3.options[3].value = "LA JOLLA";
			
			document.theForm.M3.options[4].text = "LaJolla";
			document.theForm.M3.options[4].value = "LAJOLLA";
			
			document.theForm.M3.options[5].text = "Mendocino";
			document.theForm.M3.options[5].value = "MENDOCINO";
			
			document.theForm.M3.options[6].text = "San Diego";
			document.theForm.M3.options[6].value = "SAN DIEGO";
			
			document.theForm.M3.options[7].text = "San Francisco";
			document.theForm.M3.options[7].value = "SAN FRANCISCO";
			
			document.theForm.M3.options[8].text = "San Pedro";
			document.theForm.M3.options[8].value = "SAN PEDRO";
			
			document.theForm.M3.options[9].text = "Solana Beach";
			document.theForm.M3.options[9].value = "SOLANA BEACH";
			
			document.theForm.M3.options[10].text = "W. Hollywood";
			document.theForm.M3.options[10].value = "W. HOLLYWOOD";
				}

	if (stateCode == 'CO') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Grand Junction";
			document.theForm.M3.options[1].value = "GRAND JUNCTION";
				}

	if (stateCode == 'CT') { 
		
			document.theForm.M3.length = 0 + 10;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Fairfield";
			document.theForm.M3.options[1].value = "FAIRFIELD";
			
			document.theForm.M3.options[2].text = "Greenwich";
			document.theForm.M3.options[2].value = "GREENWICH";
			
			document.theForm.M3.options[3].text = "Hartford";
			document.theForm.M3.options[3].value = "HARTFORD";
			
			document.theForm.M3.options[4].text = "Mashantucket";
			document.theForm.M3.options[4].value = "MASHANTUCKET";
			
			document.theForm.M3.options[5].text = "Norwalk";
			document.theForm.M3.options[5].value = "NORWALK";
			
			document.theForm.M3.options[6].text = "South Norwalk";
			document.theForm.M3.options[6].value = "SOUTH NORWALK";
			
			document.theForm.M3.options[7].text = "Stamford";
			document.theForm.M3.options[7].value = "STAMFORD";
			
			document.theForm.M3.options[8].text = "Stratford";
			document.theForm.M3.options[8].value = "STRATFORD";
				}

	if (stateCode == 'DC') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Washington";
			document.theForm.M3.options[1].value = "WASHINGTON";
				}

	if (stateCode == 'FL') { 
		
			document.theForm.M3.length = 0 + 15;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Clearwater";
			document.theForm.M3.options[1].value = "CLEARWATER";
			
			document.theForm.M3.options[2].text = "Coral Gables";
			document.theForm.M3.options[2].value = "CORAL GABLES";
			
			document.theForm.M3.options[3].text = "Delray Beach";
			document.theForm.M3.options[3].value = "DELRAY BEACH";
			
			document.theForm.M3.options[4].text = "Everglades City";
			document.theForm.M3.options[4].value = "EVERGLADES CITY";
			
			document.theForm.M3.options[5].text = "Fort Lauderdale";
			document.theForm.M3.options[5].value = "FORT LAUDERDALE";
			
			document.theForm.M3.options[6].text = "Ft. Myers";
			document.theForm.M3.options[6].value = "FT. MYERS";
			
			document.theForm.M3.options[7].text = "Key West";
			document.theForm.M3.options[7].value = "KEY WEST";
			
			document.theForm.M3.options[8].text = "Miami";
			document.theForm.M3.options[8].value = "MIAMI";
			
			document.theForm.M3.options[9].text = "Naples";
			document.theForm.M3.options[9].value = "NAPLES";
			
			document.theForm.M3.options[10].text = "Orlando";
			document.theForm.M3.options[10].value = "ORLANDO";
			
			document.theForm.M3.options[11].text = "Palm Bay";
			document.theForm.M3.options[11].value = "PALM BAY";
			
			document.theForm.M3.options[12].text = "Palm Harbor";
			document.theForm.M3.options[12].value = "PALM HARBOR";
			
			document.theForm.M3.options[13].text = "Tampa";
			document.theForm.M3.options[13].value = "TAMPA";
				}

	if (stateCode == 'GA') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Atlanta";
			document.theForm.M3.options[1].value = "ATLANTA";
				}

	if (stateCode == 'IL') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Chicago";
			document.theForm.M3.options[1].value = "CHICAGO";
				}

	if (stateCode == 'LA') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "New Orleans";
			document.theForm.M3.options[1].value = "NEW ORLEANS";
				}

	if (stateCode == 'MA') { 
		
			document.theForm.M3.length = 0 + 4;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Boston";
			document.theForm.M3.options[1].value = "BOSTON";
			
			document.theForm.M3.options[2].text = "Cambridge";
			document.theForm.M3.options[2].value = "CAMBRIDGE";
				}

	if (stateCode == 'ME') { 
		
			document.theForm.M3.length = 0 + 9;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Bernard";
			document.theForm.M3.options[1].value = "BERNARD";
			
			document.theForm.M3.options[2].text = "Camden";
			document.theForm.M3.options[2].value = "CAMDEN";
			
			document.theForm.M3.options[3].text = "Deer Isle";
			document.theForm.M3.options[3].value = "DEER ISLE";
			
			document.theForm.M3.options[4].text = "Georgetown";
			document.theForm.M3.options[4].value = "GEORGETOWN";
			
			document.theForm.M3.options[5].text = "Kennebunkport";
			document.theForm.M3.options[5].value = "KENNEBUNKPORT";
			
			document.theForm.M3.options[6].text = "Portland";
			document.theForm.M3.options[6].value = "PORTLAND";
			
			document.theForm.M3.options[7].text = "Rockland ";
			document.theForm.M3.options[7].value = "ROCKLAND ";
				}

	if (stateCode == 'MI') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Grosse Pointe Woods";
			document.theForm.M3.options[1].value = "GROSSE POINTE WOODS";
				}

	if (stateCode == 'MO') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "St. Louis";
			document.theForm.M3.options[1].value = "ST. LOUIS";
				}

	if (stateCode == 'NH') { 
		
			document.theForm.M3.length = 0 + 5;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Hanover";
			document.theForm.M3.options[1].value = "HANOVER";
			
			document.theForm.M3.options[2].text = "Nashua";
			document.theForm.M3.options[2].value = "NASHUA";
			
			document.theForm.M3.options[3].text = "Portsmouth";
			document.theForm.M3.options[3].value = "PORTSMOUTH";
				}

	if (stateCode == 'NJ') { 
		
			document.theForm.M3.length = 0 + 9;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Atlantic City";
			document.theForm.M3.options[1].value = "ATLANTIC CITY";
			
			document.theForm.M3.options[2].text = "Boonton";
			document.theForm.M3.options[2].value = "BOONTON";
			
			document.theForm.M3.options[3].text = "Hoboken";
			document.theForm.M3.options[3].value = "HOBOKEN";
			
			document.theForm.M3.options[4].text = "Lyndhurst";
			document.theForm.M3.options[4].value = "LYNDHURST";
			
			document.theForm.M3.options[5].text = "Pennsauken";
			document.theForm.M3.options[5].value = "PENNSAUKEN";
			
			document.theForm.M3.options[6].text = "West Milford";
			document.theForm.M3.options[6].value = "WEST MILFORD";
			
			document.theForm.M3.options[7].text = "West Paterson";
			document.theForm.M3.options[7].value = "WEST PATERSON";
				}

	if (stateCode == 'NV') { 
		
			document.theForm.M3.length = 0 + 4;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Las Vegas";
			document.theForm.M3.options[1].value = "LAS VEGAS";
			
			document.theForm.M3.options[2].text = "Summerlin";
			document.theForm.M3.options[2].value = "SUMMERLIN";
				}

	if (stateCode == 'NY') { 
		
			document.theForm.M3.length = 0 + 19;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Bay Side";
			document.theForm.M3.options[1].value = "BAY SIDE";
			
			document.theForm.M3.options[2].text = "Briarcliff Manor";
			document.theForm.M3.options[2].value = "BRIARCLIFF MANOR";
			
			document.theForm.M3.options[3].text = "Bronxville";
			document.theForm.M3.options[3].value = "BRONXVILLE";
			
			document.theForm.M3.options[4].text = "Brooklyn";
			document.theForm.M3.options[4].value = "BROOKLYN";
			
			document.theForm.M3.options[5].text = "Chappaqua";
			document.theForm.M3.options[5].value = "CHAPPAQUA";
			
			document.theForm.M3.options[6].text = "Hartsdale";
			document.theForm.M3.options[6].value = "HARTSDALE";
			
			document.theForm.M3.options[7].text = "Mt. Kisco";
			document.theForm.M3.options[7].value = "MT. KISCO";
			
			document.theForm.M3.options[8].text = "Mt. Vernon";
			document.theForm.M3.options[8].value = "MT. VERNON";
			
			document.theForm.M3.options[9].text = "New Rochelle";
			document.theForm.M3.options[9].value = "NEW ROCHELLE";
			
			document.theForm.M3.options[10].text = "New York";
			document.theForm.M3.options[10].value = "NEW YORK";
			
			document.theForm.M3.options[11].text = "New York ";
			document.theForm.M3.options[11].value = "NEW YORK ";
			
			document.theForm.M3.options[12].text = "Pleasantville";
			document.theForm.M3.options[12].value = "PLEASANTVILLE";
			
			document.theForm.M3.options[13].text = "Scarsdale";
			document.theForm.M3.options[13].value = "SCARSDALE";
			
			document.theForm.M3.options[14].text = "Slaterville Springs";
			document.theForm.M3.options[14].value = "SLATERVILLE SPRINGS";
			
			document.theForm.M3.options[15].text = "Somers";
			document.theForm.M3.options[15].value = "SOMERS";
			
			document.theForm.M3.options[16].text = "White Plains";
			document.theForm.M3.options[16].value = "WHITE PLAINS";
			
			document.theForm.M3.options[17].text = "Yonkers";
			document.theForm.M3.options[17].value = "YONKERS";
				}

	if (stateCode == 'OH') { 
		
			document.theForm.M3.length = 0 + 4;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Cincinnati";
			document.theForm.M3.options[1].value = "CINCINNATI";
			
			document.theForm.M3.options[2].text = "Pepper Pike";
			document.theForm.M3.options[2].value = "PEPPER PIKE";
				}

	if (stateCode == 'RI') { 
		
			document.theForm.M3.length = 0 + 17;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Block Island";
			document.theForm.M3.options[1].value = "BLOCK ISLAND";
			
			document.theForm.M3.options[2].text = "Chepachet";
			document.theForm.M3.options[2].value = "CHEPACHET";
			
			document.theForm.M3.options[3].text = "Cranston";
			document.theForm.M3.options[3].value = "CRANSTON";
			
			document.theForm.M3.options[4].text = "East Greenwich";
			document.theForm.M3.options[4].value = "EAST GREENWICH";
			
			document.theForm.M3.options[5].text = "East Providence";
			document.theForm.M3.options[5].value = "EAST PROVIDENCE";
			
			document.theForm.M3.options[6].text = "Glendale";
			document.theForm.M3.options[6].value = "GLENDALE";
			
			document.theForm.M3.options[7].text = "Little Compton";
			document.theForm.M3.options[7].value = "LITTLE COMPTON";
			
			document.theForm.M3.options[8].text = "Narragansett";
			document.theForm.M3.options[8].value = "NARRAGANSETT";
			
			document.theForm.M3.options[9].text = "Newport";
			document.theForm.M3.options[9].value = "NEWPORT";
			
			document.theForm.M3.options[10].text = "Pawtucket";
			document.theForm.M3.options[10].value = "PAWTUCKET";
			
			document.theForm.M3.options[11].text = "Providence";
			document.theForm.M3.options[11].value = "PROVIDENCE";
			
			document.theForm.M3.options[12].text = "Wakefield";
			document.theForm.M3.options[12].value = "WAKEFIELD";
			
			document.theForm.M3.options[13].text = "Warren";
			document.theForm.M3.options[13].value = "WARREN";
			
			document.theForm.M3.options[14].text = "Westerly";
			document.theForm.M3.options[14].value = "WESTERLY";
			
			document.theForm.M3.options[15].text = "Woonsocket";
			document.theForm.M3.options[15].value = "WOONSOCKET";
				}

	if (stateCode == 'SC') { 
		
			document.theForm.M3.length = 0 + 3;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Hilton Head";
			document.theForm.M3.options[1].value = "HILTON HEAD";
				}

	if (stateCode == 'TX') { 
		
			document.theForm.M3.length = 0 + 5;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Austin";
			document.theForm.M3.options[1].value = "AUSTIN";
			
			document.theForm.M3.options[2].text = "Dallas";
			document.theForm.M3.options[2].value = "DALLAS";
			
			document.theForm.M3.options[3].text = "Houston";
			document.theForm.M3.options[3].value = "HOUSTON";
				}

	if (stateCode == 'VT') { 
		
			document.theForm.M3.length = 0 + 15;
			document.theForm.M3.options[0].text = "Any city/area";
			document.theForm.M3.options[0].value = "-1";
		
			document.theForm.M3.options[1].text = "Bennington";
			document.theForm.M3.options[1].value = "BENNINGTON";
			
			document.theForm.M3.options[2].text = "Brattleboro";
			document.theForm.M3.options[2].value = "BRATTLEBORO";
			
			document.theForm.M3.options[3].text = "Killington";
			document.theForm.M3.options[3].value = "KILLINGTON";
			
			document.theForm.M3.options[4].text = "Manchester Village";
			document.theForm.M3.options[4].value = "MANCHESTER VILLAGE";
			
			document.theForm.M3.options[5].text = "Montpelier";
			document.theForm.M3.options[5].value = "MONTPELIER";
			
			document.theForm.M3.options[6].text = "Newfane";
			document.theForm.M3.options[6].value = "NEWFANE";
			
			document.theForm.M3.options[7].text = "Pawlet";
			document.theForm.M3.options[7].value = "PAWLET";
			
			document.theForm.M3.options[8].text = "Queeche";
			document.theForm.M3.options[8].value = "QUEECHE";
			
			document.theForm.M3.options[9].text = "Stowe";
			document.theForm.M3.options[9].value = "STOWE";
			
			document.theForm.M3.options[10].text = "W. Dover";
			document.theForm.M3.options[10].value = "W. DOVER";
			
			document.theForm.M3.options[11].text = "Warren";
			document.theForm.M3.options[11].value = "WARREN";
			
			document.theForm.M3.options[12].text = "Wilmington";
			document.theForm.M3.options[12].value = "WILMINGTON";
			
			document.theForm.M3.options[13].text = "Woodstock";
			document.theForm.M3.options[13].value = "WOODSTOCK";
				}


	if(stateCode == '') {
		document.theForm.M3.length = 2;
		document.theForm.M3.options[0].text = "2. Select a City/Area";
		document.theForm.M3.options[0].value = "";
		}
	document.theForm.M3.options[document.theForm.M3.length - 1].text = "__________________";
	document.theForm.M3.options[document.theForm.M3.length - 1].value = "";

//	if(stateCode == '') {
		//No matter what, always reset thingy type.
		document.theForm.M4.length = 2;
		document.theForm.M4.options[0].text = "3. Select a type";
		document.theForm.M4.options[0].value = "";
//		}
	document.theForm.M4.options[document.theForm.M4.length - 1].text = "__________________";
	document.theForm.M4.options[document.theForm.M4.length - 1].value = "";
	}


function fillState () {
		document.theForm.M2.options[0].text = "1. Select a State";
		document.theForm.M2.options[0].value = "";
		document.theForm.M2.length = 22 + 2;
					document.theForm.M2.options[1].text = "Alabama"; 
		document.theForm.M2.options[1].value = "AL";
		document.theForm.M2.options[2].text = "California"; 
		document.theForm.M2.options[2].value = "CA";
		document.theForm.M2.options[3].text = "Colorado"; 
		document.theForm.M2.options[3].value = "CO";
		document.theForm.M2.options[4].text = "Connecticut"; 
		document.theForm.M2.options[4].value = "CT";
		document.theForm.M2.options[5].text = "Washington D.C."; 
		document.theForm.M2.options[5].value = "DC";
		document.theForm.M2.options[6].text = "Florida"; 
		document.theForm.M2.options[6].value = "FL";
		document.theForm.M2.options[7].text = "Georgia"; 
		document.theForm.M2.options[7].value = "GA";
		document.theForm.M2.options[8].text = "Illinois"; 
		document.theForm.M2.options[8].value = "IL";
		document.theForm.M2.options[9].text = "Louisiana"; 
		document.theForm.M2.options[9].value = "LA";
		document.theForm.M2.options[10].text = "Massachusetts"; 
		document.theForm.M2.options[10].value = "MA";
		document.theForm.M2.options[11].text = "Maine"; 
		document.theForm.M2.options[11].value = "ME";
		document.theForm.M2.options[12].text = "Michigan"; 
		document.theForm.M2.options[12].value = "MI";
		document.theForm.M2.options[13].text = "Missouri"; 
		document.theForm.M2.options[13].value = "MO";
		document.theForm.M2.options[14].text = "New Hampshire"; 
		document.theForm.M2.options[14].value = "NH";
		document.theForm.M2.options[15].text = "New Jersey"; 
		document.theForm.M2.options[15].value = "NJ";
		document.theForm.M2.options[16].text = "Nevada"; 
		document.theForm.M2.options[16].value = "NV";
		document.theForm.M2.options[17].text = "New York"; 
		document.theForm.M2.options[17].value = "NY";
		document.theForm.M2.options[18].text = "Ohio"; 
		document.theForm.M2.options[18].value = "OH";
		document.theForm.M2.options[19].text = "Rhode Island"; 
		document.theForm.M2.options[19].value = "RI";
		document.theForm.M2.options[20].text = "South Carolina"; 
		document.theForm.M2.options[20].value = "SC";
		document.theForm.M2.options[21].text = "Texas"; 
		document.theForm.M2.options[21].value = "TX";
		document.theForm.M2.options[22].text = "Vermont"; 
		document.theForm.M2.options[22].value = "VT";
		document.theForm.M2.options[document.theForm.M2.length - 1].text = "__________________";
		document.theForm.M2.options[document.theForm.M2.length - 1].value = "";
		}
	