//-------------------------------------------------------------------------
function Search_Listings()
{
 	document.TheNextPage.action="http://listings.nytimes.com/SmallInnsAndLodges/List_listings.asp"
	document.TheNextPage.submit();
}
//-------------------------------------------------------------------------
function getRegions() {
	groupPick = document.TheNextPage.GroupId.options[document.TheNextPage.GroupId.selectedIndex].value;
	var countNew = 1;
	document.TheNextPage.RegionId.length = 99;
	for (i=0;i<myRegionsAll.length;i++) {
		if (myRegionsAll[i][0] == groupPick ) {
			document.TheNextPage.RegionId.options[countNew].value = myRegionsAll[i][2];
			document.TheNextPage.RegionId.options[countNew].text = myRegionsAll[i][3];
			countNew++;
		} 	
	}
	document.TheNextPage.RegionId.length = countNew;
	document.TheNextPage.RegionId.selectedIndex = 1;
}
//-------------------------------------------------------------------------
myRegionsAll = new Array();
myRegionsAll[0] = new Array('50','Other','50','All Other');
myRegionsAll[1] = new Array('100','Europe','2002','All France');
myRegionsAll[2] = new Array('100','Europe','10610','     Paris');
myRegionsAll[3] = new Array('100','Europe','2008','All Great Britan/England');
myRegionsAll[4] = new Array('100','Europe','12820','     London');
myRegionsAll[5] = new Array('100','Europe','12830','     Other England');
myRegionsAll[6] = new Array('100','Europe','2004','All Greece');
myRegionsAll[7] = new Array('100','Europe','10810','     Athens');
myRegionsAll[8] = new Array('100','Europe','2006','All Italy');
myRegionsAll[9] = new Array('100','Europe','12010','     Rome');
myRegionsAll[10] = new Array('100','Europe','12020','     Venice');
myRegionsAll[11] = new Array('100','Europe','100','All Europe');
myRegionsAll[12] = new Array('100','Europe','10200','Austria');
myRegionsAll[13] = new Array('100','Europe','10300','Belgium');
myRegionsAll[14] = new Array('100','Europe','10400','Denmark');
myRegionsAll[15] = new Array('100','Europe','10500','Finland');
myRegionsAll[16] = new Array('100','Europe','10700','Germany');
myRegionsAll[17] = new Array('100','Europe','10900','Ireland');
myRegionsAll[18] = new Array('100','Europe','12100','Norway');
myRegionsAll[19] = new Array('100','Europe','10100','Other Europe');
myRegionsAll[20] = new Array('100','Europe','12200','Portugal');
myRegionsAll[21] = new Array('100','Europe','12300','Russia');
myRegionsAll[22] = new Array('100','Europe','12900','Scotland');
myRegionsAll[23] = new Array('100','Europe','12400','Spain');
myRegionsAll[24] = new Array('100','Europe','12500','Sweden');
myRegionsAll[25] = new Array('100','Europe','12600','Switzerland');
myRegionsAll[26] = new Array('100','Europe','12700','Turkey');
myRegionsAll[27] = new Array('150','Carribbean','150','All Carribbean');
myRegionsAll[28] = new Array('150','Carribbean','14200','Bahamas');
myRegionsAll[29] = new Array('150','Carribbean','14500','Bermuda');
myRegionsAll[30] = new Array('150','Carribbean','14400','Puerto Rico');
myRegionsAll[31] = new Array('150','Carribbean','14300','Other Carribbean');
myRegionsAll[32] = new Array('200','Mexico','200','All Mexico');
myRegionsAll[33] = new Array('200','Mexico','15020','Cancun');
myRegionsAll[34] = new Array('200','Mexico','15010','Mexico City');
myRegionsAll[35] = new Array('200','Mexico','15030','Other Mexico');
myRegionsAll[36] = new Array('250','Canada','250','All Canada');
myRegionsAll[37] = new Array('250','Canada','15110','British Columbia');
myRegionsAll[38] = new Array('250','Canada','15130','Montreal');
myRegionsAll[39] = new Array('250','Canada','15120','Quebec');
myRegionsAll[40] = new Array('250','Canada','15140','Other Canada');
myRegionsAll[41] = new Array('300','Asia','300','All Asia');
myRegionsAll[42] = new Array('300','Asia','18300','Japan');
myRegionsAll[43] = new Array('300','Asia','18800','Other Asia');
myRegionsAll[44] = new Array('350','Australia & Pacific','350','All Australia & Pacific');
myRegionsAll[45] = new Array('350','Australia & Pacific','19100','Australia');
myRegionsAll[46] = new Array('350','Australia & Pacific','19300','New Zealand');
myRegionsAll[47] = new Array('350','Australia & Pacific','19200','South Pacific');
myRegionsAll[48] = new Array('350','Australia & Pacific','19400','Other Australia & Pacific');
myRegionsAll[49] = new Array('400','Central America','400','All Central America');
myRegionsAll[50] = new Array('400','Central America','15100','Belize');
myRegionsAll[51] = new Array('400','Central America','15200','Costa Rica');
myRegionsAll[52] = new Array('400','Central America','15300','Guatemala');
myRegionsAll[53] = new Array('400','Central America','15400','Panama');
myRegionsAll[54] = new Array('400','Central America','15500','Other Central America');
myRegionsAll[55] = new Array('450','South America','450','All South America');
myRegionsAll[56] = new Array('450','South America','20100','Argentina');
myRegionsAll[57] = new Array('450','South America','20200','Brazil');
myRegionsAll[58] = new Array('450','South America','20300','Peru');
myRegionsAll[59] = new Array('450','South America','20400','Other South America');
myRegionsAll[60] = new Array('500','Middle East','500','All Middle East');
myRegionsAll[61] = new Array('500','Middle East','30100','Israel');
myRegionsAll[62] = new Array('500','Middle East','30200','Other Middle East');
myRegionsAll[63] = new Array('550','Africa','550','All Africa');
myRegionsAll[64] = new Array('1000','Mid-Atlantic','2020','All New Jersey');
myRegionsAll[65] = new Array('1000','Mid-Atlantic','80100','     New Jersey Shore');
myRegionsAll[66] = new Array('1000','Mid-Atlantic','80200','     Other New Jersey');
myRegionsAll[67] = new Array('1000','Mid-Atlantic','2022','All New York');
myRegionsAll[68] = new Array('1000','Mid-Atlantic','82100','     Adirondacks');
myRegionsAll[69] = new Array('1000','Mid-Atlantic','82200','     Catskills');
myRegionsAll[70] = new Array('1000','Mid-Atlantic','82300','     Hudson Valley Region');
myRegionsAll[71] = new Array('1000','Mid-Atlantic','82400','     New York City');
myRegionsAll[72] = new Array('1000','Mid-Atlantic','82500','     The Hamptons');
myRegionsAll[73] = new Array('1000','Mid-Atlantic','82600','     Other New York');
myRegionsAll[74] = new Array('1000','Mid-Atlantic','57000','Delaware');
myRegionsAll[75] = new Array('1000','Mid-Atlantic','70000','Maryland');
myRegionsAll[76] = new Array('1000','Mid-Atlantic','88000','Pennsylvania');
myRegionsAll[77] = new Array('1000','Mid-Atlantic','58000','Washington D.C.');
myRegionsAll[78] = new Array('1000','Mid-Atlantic','98000','West Virginia');
myRegionsAll[79] = new Array('1100','Midwest','63000','Illinois');
myRegionsAll[80] = new Array('1100','Midwest','64000','Indiana');
myRegionsAll[81] = new Array('1100','Midwest','65000','Iowa');
myRegionsAll[82] = new Array('1100','Midwest','66000','Kansas');
myRegionsAll[83] = new Array('1100','Midwest','72000','Michigan');
myRegionsAll[84] = new Array('1100','Midwest','73000','Minnesota');
myRegionsAll[85] = new Array('1100','Midwest','75000','Missouri');
myRegionsAll[86] = new Array('1100','Midwest','77000','Nebraska');
myRegionsAll[87] = new Array('1100','Midwest','84000','North Datoka');
myRegionsAll[88] = new Array('1100','Midwest','85000','Ohio');
myRegionsAll[89] = new Array('1100','Midwest','86000','Oklahoma');
myRegionsAll[90] = new Array('1100','Midwest','91000','South Dakota');
myRegionsAll[91] = new Array('1100','Midwest','99000','Wisconsin');
myRegionsAll[92] = new Array('1200','New England','2016','All Massachusettes');
myRegionsAll[93] = new Array('1200','New England','71100','     Berkshires');
myRegionsAll[94] = new Array('1200','New England','71200','     Boston');
myRegionsAll[95] = new Array('1200','New England','71300','     Cape Cod');
myRegionsAll[96] = new Array('1200','New England','71400','     Other Massachusetts');
myRegionsAll[97] = new Array('1200','New England','56000','Connecticut');
myRegionsAll[98] = new Array('1200','New England','69000','Maine');
myRegionsAll[99] = new Array('1200','New England','79000','New Hampshire');
myRegionsAll[100] = new Array('1200','New England','89000','Rhode Island');
myRegionsAll[101] = new Array('1200','New England','95000','Vermont');
myRegionsAll[102] = new Array('1300','Northwest','51000','Alaska');
myRegionsAll[103] = new Array('1300','Northwest','62000','Idaho');
myRegionsAll[104] = new Array('1300','Northwest','87000','Oregon');
myRegionsAll[105] = new Array('1300','Northwest','97000','Washington');
myRegionsAll[106] = new Array('1500','Rockies','55000','Colorado');
myRegionsAll[107] = new Array('1500','Rockies','76000','Montana');
myRegionsAll[108] = new Array('1500','Rockies','94000','Utah');
myRegionsAll[109] = new Array('1500','Rockies','100000','Wyoming');
myRegionsAll[110] = new Array('1600','South','2012','All Florida');
myRegionsAll[111] = new Array('1600','South','59100','     Miami');
myRegionsAll[112] = new Array('1600','South','59200','     Other Florida');
myRegionsAll[113] = new Array('1600','South','2014','All Louisiana');
myRegionsAll[114] = new Array('1600','South','68100','     New Orleans');
myRegionsAll[115] = new Array('1600','South','68200','     Other Lousiana');
myRegionsAll[116] = new Array('1600','South','50000','Alabama');
myRegionsAll[117] = new Array('1600','South','53000','Arkansas');
myRegionsAll[118] = new Array('1600','South','60000','Georgia');
myRegionsAll[119] = new Array('1600','South','67000','Kentucky');
myRegionsAll[120] = new Array('1600','South','74000','Mississippi');
myRegionsAll[121] = new Array('1600','South','83000','North Carolina');
myRegionsAll[122] = new Array('1600','South','90000','South Carolina');
myRegionsAll[123] = new Array('1600','South','92000','Tennessee');
myRegionsAll[124] = new Array('1600','South','96000','Virginia');
myRegionsAll[125] = new Array('1700','Southwest','52000','Arizona');
myRegionsAll[126] = new Array('1700','Southwest','81000','New Mexico');
myRegionsAll[127] = new Array('1700','Southwest','93000','Texas');
myRegionsAll[128] = new Array('1800','West','2010','All California');
myRegionsAll[129] = new Array('1800','West','54100','     Los Angeles');
myRegionsAll[130] = new Array('1800','West','54200','     San Francisco');
myRegionsAll[131] = new Array('1800','West','54300','     Other California');
myRegionsAll[132] = new Array('1800','West','2018','All Nevada');
myRegionsAll[133] = new Array('1800','West','78100','     Las Vegas');
myRegionsAll[134] = new Array('1800','West','78200','     Other Nevada');
myRegionsAll[135] = new Array('1800','West','61000','Hawaii');
//-------------------------------------------------------------------------