var regionLocations = new Array();
var deviceType = null;
var country = null;
var state = null;
var region = null;

deviceType = new Object();
deviceType.DeviceTypeID = "2";
deviceType.DeviceTypeName = "Garmin Navigation Devices";
deviceType.Countries = new Array();
			
country = new Object();
country.CountryID = "11";
country.CountryName = "Canada";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "55";
state.StateName = "Alberta";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "110";
region.RegionName = "Calgary";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "111";
region.RegionName = "Edmonton";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "56";
state.StateName = "British Columbia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "112";
region.RegionName = "Vancouver";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "113";
region.RegionName = "Victoria";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "124";
region.RegionName = "Whistler";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "58";
state.StateName = "Manitoba";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "114";
region.RegionName = "Winnipeg";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "59";
state.StateName = "Ontario";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "115";
region.RegionName = "Hamilton";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "116";
region.RegionName = "Kitchener";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "117";
region.RegionName = "London";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "118";
region.RegionName = "Ottawa";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "119";
region.RegionName = "Toronto";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "60";
state.StateName = "Quebec";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "120";
region.RegionName = "Montreal";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "121";
region.RegionName = "Quebec City";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[4] = state;
			
deviceType.Countries[0] = country;
		
country = new Object();
country.CountryID = "62";
country.CountryName = "United States";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "1";
state.StateName = "Alabama";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "20";
region.RegionName = "Birmingham";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "21";
region.RegionName = "Mobile";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "2";
state.StateName = "Alaska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "19";
region.RegionName = "Anchorage";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "3";
state.StateName = "Arizona";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "23";
region.RegionName = "Phoenix";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "24";
region.RegionName = "Tucson";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "4";
state.StateName = "Arkansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "22";
region.RegionName = "Little Rock";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "142";
region.RegionName = "Fayetteville";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "5";
state.StateName = "California";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "2";
region.RegionName = "San Francisco";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "5";
region.RegionName = "San Jose";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "25";
region.RegionName = "Bakersfield";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "26";
region.RegionName = "Fresno";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "27";
region.RegionName = "Los Angeles";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "28";
region.RegionName = "Monterey";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "29";
region.RegionName = "Riverside";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "30";
region.RegionName = "Sacramento";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "31";
region.RegionName = "San Diego";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "32";
region.RegionName = "Stockton";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
			
country.States[4] = state;
		
state = new Object();
state.StateID = "6";
state.StateName = "Colorado";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "33";
region.RegionName = "Colorado Springs";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "34";
region.RegionName = "Denver";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "135";
region.RegionName = "Fort Collins";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[5] = state;
		
state = new Object();
state.StateID = "7";
state.StateName = "Connecticut";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "35";
region.RegionName = "Hartford";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "133";
region.RegionName = "Bridgeport";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "141";
region.RegionName = "New London";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[6] = state;
		
state = new Object();
state.StateID = "8";
state.StateName = "Delaware";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "36";
region.RegionName = "Wilmington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[7] = state;
		
state = new Object();
state.StateID = "10";
state.StateName = "Florida";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "9";
region.RegionName = "Daytona Beach";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "10";
region.RegionName = "Ft. Myers";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "11";
region.RegionName = "Gainesville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "12";
region.RegionName = "Jacksonville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "13";
region.RegionName = "Melbourne";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "14";
region.RegionName = "Miami";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "15";
region.RegionName = "Orlando";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "16";
region.RegionName = "Sarasota";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "17";
region.RegionName = "Tampa";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "18";
region.RegionName = "West Palm Beach";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
		
region = new Object();
region.RegionID = "137";
region.RegionName = "Fort Pierce";
if (country.HasStates)
{
    state.Regions[10] = region;
}
else
{
    country.Regions[10] = region;
}
			
country.States[8] = state;
		
state = new Object();
state.StateID = "11";
state.StateName = "Georgia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "37";
region.RegionName = "Atlanta";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[9] = state;
		
state = new Object();
state.StateID = "13";
state.StateName = "Hawaii";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "38";
region.RegionName = "Honolulu";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[10] = state;
		
state = new Object();
state.StateID = "14";
state.StateName = "Idaho";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "40";
region.RegionName = "Boise";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[11] = state;
		
state = new Object();
state.StateID = "15";
state.StateName = "Illinois";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "41";
region.RegionName = "Chicago";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[12] = state;
		
state = new Object();
state.StateID = "16";
state.StateName = "Indiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "42";
region.RegionName = "Indianapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[13] = state;
		
state = new Object();
state.StateID = "17";
state.StateName = "Iowa";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "39";
region.RegionName = "Des Moines";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[14] = state;
		
state = new Object();
state.StateID = "18";
state.StateName = "Kansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "43";
region.RegionName = "Wichita";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[15] = state;
		
state = new Object();
state.StateID = "19";
state.StateName = "Kentucky";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "44";
region.RegionName = "Louisville";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[16] = state;
		
state = new Object();
state.StateID = "20";
state.StateName = "Louisiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "45";
region.RegionName = "Baton Rouge";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "46";
region.RegionName = "New Orleans";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "122";
region.RegionName = "Lafayette";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[17] = state;
		
state = new Object();
state.StateID = "21";
state.StateName = "Maine";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "50";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[18] = state;
		
state = new Object();
state.StateID = "22";
state.StateName = "Maryland";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "49";
region.RegionName = "Baltimore";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[19] = state;
		
state = new Object();
state.StateID = "23";
state.StateName = "Massachusetts";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "47";
region.RegionName = "Boston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "48";
region.RegionName = "Springfield";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "130";
region.RegionName = "Worcester";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "139";
region.RegionName = "Cape Cod";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[20] = state;
		
state = new Object();
state.StateID = "24";
state.StateName = "Michigan";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "51";
region.RegionName = "Detroit";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "52";
region.RegionName = "Grand Rapids";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "128";
region.RegionName = "Ann Arbor";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[21] = state;
		
state = new Object();
state.StateID = "25";
state.StateName = "Minnesota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "53";
region.RegionName = "Minneapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[22] = state;
		
state = new Object();
state.StateID = "26";
state.StateName = "Mississippi";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "56";
region.RegionName = "Jackson";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[23] = state;
		
state = new Object();
state.StateID = "27";
state.StateName = "Missouri";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "54";
region.RegionName = "Kansas City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "55";
region.RegionName = "St Louis";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[24] = state;
		
state = new Object();
state.StateID = "28";
state.StateName = "Montana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "57";
region.RegionName = "Billings";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[25] = state;
		
state = new Object();
state.StateID = "29";
state.StateName = "Nebraska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "63";
region.RegionName = "Omaha";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[26] = state;
		
state = new Object();
state.StateID = "30";
state.StateName = "Nevada";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "6";
region.RegionName = "Las Vegas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[27] = state;
		
state = new Object();
state.StateID = "31";
state.StateName = "New Hampshire";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "64";
region.RegionName = "Manchester";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[28] = state;
		
state = new Object();
state.StateID = "32";
state.StateName = "New Jersey";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "65";
region.RegionName = "Middlesex";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "66";
region.RegionName = "Monmouth";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "131";
region.RegionName = "Trenton";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[29] = state;
		
state = new Object();
state.StateID = "33";
state.StateName = "New Mexico";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "67";
region.RegionName = "Albuquerque";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[30] = state;
		
state = new Object();
state.StateID = "34";
state.StateName = "New York";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "3";
region.RegionName = "New York";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "68";
region.RegionName = "Albany";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "69";
region.RegionName = "Buffalo";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "70";
region.RegionName = "Long Island";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "71";
region.RegionName = "Rochester";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "72";
region.RegionName = "Syracuse";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "73";
region.RegionName = "Westchester";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
			
country.States[31] = state;
		
state = new Object();
state.StateID = "35";
state.StateName = "North Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "58";
region.RegionName = "Charlotte";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "59";
region.RegionName = "Greensboro";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "60";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "61";
region.RegionName = "Raleigh-Durham";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[32] = state;
		
state = new Object();
state.StateID = "36";
state.StateName = "North Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "62";
region.RegionName = "Fargo";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[33] = state;
		
state = new Object();
state.StateID = "37";
state.StateName = "Ohio";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "74";
region.RegionName = "Akron";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "75";
region.RegionName = "Cincinnati";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "76";
region.RegionName = "Cleveland";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "77";
region.RegionName = "Columbus";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "78";
region.RegionName = "Dayton";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "79";
region.RegionName = "Toledo";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[34] = state;
		
state = new Object();
state.StateID = "38";
state.StateName = "Oklahoma";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "80";
region.RegionName = "Oklahoma City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "81";
region.RegionName = "Tulsa";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[35] = state;
		
state = new Object();
state.StateID = "39";
state.StateName = "Oregon";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "82";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[36] = state;
		
state = new Object();
state.StateID = "40";
state.StateName = "Pennsylvania";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "8";
region.RegionName = "Philadelphia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "83";
region.RegionName = "Allentown";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "84";
region.RegionName = "Harrisburg";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "85";
region.RegionName = "Pittsburgh";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "86";
region.RegionName = "Wilkes Barre";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[37] = state;
		
state = new Object();
state.StateID = "42";
state.StateName = "Rhode Island";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "87";
region.RegionName = "Providence";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[38] = state;
		
state = new Object();
state.StateID = "43";
state.StateName = "South Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "88";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "89";
region.RegionName = "Columbia";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "90";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[39] = state;
		
state = new Object();
state.StateID = "44";
state.StateName = "South Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "91";
region.RegionName = "Sioux Falls";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[40] = state;
		
state = new Object();
state.StateID = "45";
state.StateName = "Tennessee";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "92";
region.RegionName = "Johnson City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "93";
region.RegionName = "Knoxville";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "94";
region.RegionName = "Memphis";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "95";
region.RegionName = "Nashville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[41] = state;
		
state = new Object();
state.StateID = "46";
state.StateName = "Texas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "4";
region.RegionName = "Dallas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "96";
region.RegionName = "Austin";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "97";
region.RegionName = "Brownsville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "98";
region.RegionName = "El Paso";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "99";
region.RegionName = "Houston";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "100";
region.RegionName = "San Antonio";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[42] = state;
		
state = new Object();
state.StateID = "47";
state.StateName = "Utah";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "101";
region.RegionName = "Salt Lake City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[43] = state;
		
state = new Object();
state.StateID = "48";
state.StateName = "Vermont";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "104";
region.RegionName = "Burlington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[44] = state;
		
state = new Object();
state.StateID = "50";
state.StateName = "Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "102";
region.RegionName = "Norfolk";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "103";
region.RegionName = "Richmond";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[45] = state;
		
state = new Object();
state.StateID = "51";
state.StateName = "Washington";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "1";
region.RegionName = "Seattle";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "105";
region.RegionName = "Spokane";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[46] = state;
		
state = new Object();
state.StateID = "9";
state.StateName = "Washington DC";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "7";
region.RegionName = "Dist. of Columbia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[47] = state;
		
state = new Object();
state.StateID = "52";
state.StateName = "West Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "108";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[48] = state;
		
state = new Object();
state.StateID = "53";
state.StateName = "Wisconsin";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "106";
region.RegionName = "Madison";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "107";
region.RegionName = "Milwaukee";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[49] = state;
		
state = new Object();
state.StateID = "54";
state.StateName = "Wyoming";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "109";
region.RegionName = "Cheyenne";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[50] = state;
			
deviceType.Countries[1] = country;
			
regionLocations[0] = deviceType;
		
deviceType = new Object();
deviceType.DeviceTypeID = "3";
deviceType.DeviceTypeName = "Microsoft Streets & Trips";
deviceType.Countries = new Array();
			
country = new Object();
country.CountryID = "11";
country.CountryName = "Canada";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "55";
state.StateName = "Alberta";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "110";
region.RegionName = "Calgary";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "111";
region.RegionName = "Edmonton";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "56";
state.StateName = "British Columbia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "112";
region.RegionName = "Vancouver";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "113";
region.RegionName = "Victoria";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "124";
region.RegionName = "Whistler";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "58";
state.StateName = "Manitoba";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "114";
region.RegionName = "Winnipeg";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "59";
state.StateName = "Ontario";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "115";
region.RegionName = "Hamilton";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "116";
region.RegionName = "Kitchener";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "117";
region.RegionName = "London";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "118";
region.RegionName = "Ottawa";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "119";
region.RegionName = "Toronto";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "60";
state.StateName = "Quebec";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "120";
region.RegionName = "Montreal";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "121";
region.RegionName = "Quebec City";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[4] = state;
			
deviceType.Countries[0] = country;
		
country = new Object();
country.CountryID = "62";
country.CountryName = "United States";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "1";
state.StateName = "Alabama";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "20";
region.RegionName = "Birmingham";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "21";
region.RegionName = "Mobile";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "2";
state.StateName = "Alaska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "19";
region.RegionName = "Anchorage";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "3";
state.StateName = "Arizona";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "23";
region.RegionName = "Phoenix";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "24";
region.RegionName = "Tucson";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "4";
state.StateName = "Arkansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "22";
region.RegionName = "Little Rock";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "142";
region.RegionName = "Fayetteville";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "5";
state.StateName = "California";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "2";
region.RegionName = "San Francisco";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "5";
region.RegionName = "San Jose";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "25";
region.RegionName = "Bakersfield";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "26";
region.RegionName = "Fresno";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "27";
region.RegionName = "Los Angeles";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "28";
region.RegionName = "Monterey";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "29";
region.RegionName = "Riverside";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "30";
region.RegionName = "Sacramento";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "31";
region.RegionName = "San Diego";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "32";
region.RegionName = "Stockton";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
			
country.States[4] = state;
		
state = new Object();
state.StateID = "6";
state.StateName = "Colorado";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "33";
region.RegionName = "Colorado Springs";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "34";
region.RegionName = "Denver";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "135";
region.RegionName = "Fort Collins";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[5] = state;
		
state = new Object();
state.StateID = "7";
state.StateName = "Connecticut";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "35";
region.RegionName = "Hartford";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "133";
region.RegionName = "Bridgeport";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "141";
region.RegionName = "New London";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[6] = state;
		
state = new Object();
state.StateID = "8";
state.StateName = "Delaware";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "36";
region.RegionName = "Wilmington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[7] = state;
		
state = new Object();
state.StateID = "10";
state.StateName = "Florida";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "9";
region.RegionName = "Daytona Beach";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "10";
region.RegionName = "Ft. Myers";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "11";
region.RegionName = "Gainesville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "12";
region.RegionName = "Jacksonville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "13";
region.RegionName = "Melbourne";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "14";
region.RegionName = "Miami";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "15";
region.RegionName = "Orlando";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "16";
region.RegionName = "Sarasota";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "17";
region.RegionName = "Tampa";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "18";
region.RegionName = "West Palm Beach";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
		
region = new Object();
region.RegionID = "137";
region.RegionName = "Fort Pierce";
if (country.HasStates)
{
    state.Regions[10] = region;
}
else
{
    country.Regions[10] = region;
}
			
country.States[8] = state;
		
state = new Object();
state.StateID = "11";
state.StateName = "Georgia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "37";
region.RegionName = "Atlanta";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[9] = state;
		
state = new Object();
state.StateID = "13";
state.StateName = "Hawaii";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "38";
region.RegionName = "Honolulu";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[10] = state;
		
state = new Object();
state.StateID = "14";
state.StateName = "Idaho";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "40";
region.RegionName = "Boise";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[11] = state;
		
state = new Object();
state.StateID = "15";
state.StateName = "Illinois";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "41";
region.RegionName = "Chicago";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[12] = state;
		
state = new Object();
state.StateID = "16";
state.StateName = "Indiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "42";
region.RegionName = "Indianapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[13] = state;
		
state = new Object();
state.StateID = "17";
state.StateName = "Iowa";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "39";
region.RegionName = "Des Moines";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[14] = state;
		
state = new Object();
state.StateID = "18";
state.StateName = "Kansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "43";
region.RegionName = "Wichita";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[15] = state;
		
state = new Object();
state.StateID = "19";
state.StateName = "Kentucky";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "44";
region.RegionName = "Louisville";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[16] = state;
		
state = new Object();
state.StateID = "20";
state.StateName = "Louisiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "45";
region.RegionName = "Baton Rouge";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "46";
region.RegionName = "New Orleans";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "122";
region.RegionName = "Lafayette";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[17] = state;
		
state = new Object();
state.StateID = "21";
state.StateName = "Maine";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "50";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[18] = state;
		
state = new Object();
state.StateID = "22";
state.StateName = "Maryland";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "49";
region.RegionName = "Baltimore";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[19] = state;
		
state = new Object();
state.StateID = "23";
state.StateName = "Massachusetts";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "47";
region.RegionName = "Boston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "48";
region.RegionName = "Springfield";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "130";
region.RegionName = "Worcester";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "139";
region.RegionName = "Cape Cod";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[20] = state;
		
state = new Object();
state.StateID = "24";
state.StateName = "Michigan";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "51";
region.RegionName = "Detroit";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "52";
region.RegionName = "Grand Rapids";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "128";
region.RegionName = "Ann Arbor";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[21] = state;
		
state = new Object();
state.StateID = "25";
state.StateName = "Minnesota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "53";
region.RegionName = "Minneapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[22] = state;
		
state = new Object();
state.StateID = "26";
state.StateName = "Mississippi";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "56";
region.RegionName = "Jackson";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[23] = state;
		
state = new Object();
state.StateID = "27";
state.StateName = "Missouri";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "54";
region.RegionName = "Kansas City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "55";
region.RegionName = "St Louis";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[24] = state;
		
state = new Object();
state.StateID = "28";
state.StateName = "Montana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "57";
region.RegionName = "Billings";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[25] = state;
		
state = new Object();
state.StateID = "29";
state.StateName = "Nebraska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "63";
region.RegionName = "Omaha";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[26] = state;
		
state = new Object();
state.StateID = "30";
state.StateName = "Nevada";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "6";
region.RegionName = "Las Vegas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[27] = state;
		
state = new Object();
state.StateID = "31";
state.StateName = "New Hampshire";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "64";
region.RegionName = "Manchester";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[28] = state;
		
state = new Object();
state.StateID = "32";
state.StateName = "New Jersey";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "65";
region.RegionName = "Middlesex";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "66";
region.RegionName = "Monmouth";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "131";
region.RegionName = "Trenton";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[29] = state;
		
state = new Object();
state.StateID = "33";
state.StateName = "New Mexico";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "67";
region.RegionName = "Albuquerque";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[30] = state;
		
state = new Object();
state.StateID = "34";
state.StateName = "New York";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "3";
region.RegionName = "New York";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "68";
region.RegionName = "Albany";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "69";
region.RegionName = "Buffalo";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "70";
region.RegionName = "Long Island";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "71";
region.RegionName = "Rochester";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "72";
region.RegionName = "Syracuse";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "73";
region.RegionName = "Westchester";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
			
country.States[31] = state;
		
state = new Object();
state.StateID = "35";
state.StateName = "North Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "58";
region.RegionName = "Charlotte";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "59";
region.RegionName = "Greensboro";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "60";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "61";
region.RegionName = "Raleigh-Durham";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[32] = state;
		
state = new Object();
state.StateID = "36";
state.StateName = "North Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "62";
region.RegionName = "Fargo";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[33] = state;
		
state = new Object();
state.StateID = "37";
state.StateName = "Ohio";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "74";
region.RegionName = "Akron";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "75";
region.RegionName = "Cincinnati";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "76";
region.RegionName = "Cleveland";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "77";
region.RegionName = "Columbus";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "78";
region.RegionName = "Dayton";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "79";
region.RegionName = "Toledo";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[34] = state;
		
state = new Object();
state.StateID = "38";
state.StateName = "Oklahoma";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "80";
region.RegionName = "Oklahoma City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "81";
region.RegionName = "Tulsa";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[35] = state;
		
state = new Object();
state.StateID = "39";
state.StateName = "Oregon";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "82";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[36] = state;
		
state = new Object();
state.StateID = "40";
state.StateName = "Pennsylvania";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "8";
region.RegionName = "Philadelphia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "83";
region.RegionName = "Allentown";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "84";
region.RegionName = "Harrisburg";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "85";
region.RegionName = "Pittsburgh";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "86";
region.RegionName = "Wilkes Barre";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[37] = state;
		
state = new Object();
state.StateID = "42";
state.StateName = "Rhode Island";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "87";
region.RegionName = "Providence";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[38] = state;
		
state = new Object();
state.StateID = "43";
state.StateName = "South Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "88";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "89";
region.RegionName = "Columbia";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "90";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[39] = state;
		
state = new Object();
state.StateID = "44";
state.StateName = "South Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "91";
region.RegionName = "Sioux Falls";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[40] = state;
		
state = new Object();
state.StateID = "45";
state.StateName = "Tennessee";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "92";
region.RegionName = "Johnson City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "93";
region.RegionName = "Knoxville";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "94";
region.RegionName = "Memphis";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "95";
region.RegionName = "Nashville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[41] = state;
		
state = new Object();
state.StateID = "46";
state.StateName = "Texas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "4";
region.RegionName = "Dallas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "96";
region.RegionName = "Austin";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "97";
region.RegionName = "Brownsville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "98";
region.RegionName = "El Paso";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "99";
region.RegionName = "Houston";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "100";
region.RegionName = "San Antonio";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[42] = state;
		
state = new Object();
state.StateID = "47";
state.StateName = "Utah";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "101";
region.RegionName = "Salt Lake City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[43] = state;
		
state = new Object();
state.StateID = "48";
state.StateName = "Vermont";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "104";
region.RegionName = "Burlington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[44] = state;
		
state = new Object();
state.StateID = "50";
state.StateName = "Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "102";
region.RegionName = "Norfolk";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "103";
region.RegionName = "Richmond";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[45] = state;
		
state = new Object();
state.StateID = "51";
state.StateName = "Washington";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "1";
region.RegionName = "Seattle";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "105";
region.RegionName = "Spokane";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[46] = state;
		
state = new Object();
state.StateID = "9";
state.StateName = "Washington DC";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "7";
region.RegionName = "Dist. of Columbia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[47] = state;
		
state = new Object();
state.StateID = "52";
state.StateName = "West Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "108";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[48] = state;
		
state = new Object();
state.StateID = "53";
state.StateName = "Wisconsin";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "106";
region.RegionName = "Madison";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "107";
region.RegionName = "Milwaukee";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[49] = state;
		
state = new Object();
state.StateID = "54";
state.StateName = "Wyoming";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "109";
region.RegionName = "Cheyenne";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[50] = state;
			
deviceType.Countries[1] = country;
			
regionLocations[1] = deviceType;
		
deviceType = new Object();
deviceType.DeviceTypeID = "0";
deviceType.DeviceTypeName = "Smart Watch";
deviceType.Countries = new Array();
			
country = new Object();
country.CountryID = "11";
country.CountryName = "Canada";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "55";
state.StateName = "Alberta";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "110";
region.RegionName = "Calgary";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "111";
region.RegionName = "Edmonton";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "56";
state.StateName = "British Columbia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "112";
region.RegionName = "Vancouver";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "113";
region.RegionName = "Victoria";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "124";
region.RegionName = "Whistler";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "58";
state.StateName = "Manitoba";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "114";
region.RegionName = "Winnipeg";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "59";
state.StateName = "Ontario";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "115";
region.RegionName = "Hamilton";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "116";
region.RegionName = "Kitchener";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "117";
region.RegionName = "London";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "118";
region.RegionName = "Ottawa";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "119";
region.RegionName = "Toronto";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "60";
state.StateName = "Quebec";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "120";
region.RegionName = "Montreal";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "121";
region.RegionName = "Quebec City";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[4] = state;
			
deviceType.Countries[0] = country;
		
country = new Object();
country.CountryID = "62";
country.CountryName = "United States";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "1";
state.StateName = "Alabama";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "20";
region.RegionName = "Birmingham";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "21";
region.RegionName = "Mobile";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "2";
state.StateName = "Alaska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "19";
region.RegionName = "Anchorage";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "3";
state.StateName = "Arizona";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "23";
region.RegionName = "Phoenix";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "24";
region.RegionName = "Tucson";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "4";
state.StateName = "Arkansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "22";
region.RegionName = "Little Rock";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "5";
state.StateName = "California";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "2";
region.RegionName = "San Francisco";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "5";
region.RegionName = "San Jose";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "25";
region.RegionName = "Bakersfield";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "26";
region.RegionName = "Fresno";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "27";
region.RegionName = "Los Angeles";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "28";
region.RegionName = "Monterey";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "29";
region.RegionName = "Riverside";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "30";
region.RegionName = "Sacramento";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "31";
region.RegionName = "San Diego";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "32";
region.RegionName = "Stockton";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
			
country.States[4] = state;
		
state = new Object();
state.StateID = "6";
state.StateName = "Colorado";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "33";
region.RegionName = "Colorado Springs";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "34";
region.RegionName = "Denver";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[5] = state;
		
state = new Object();
state.StateID = "7";
state.StateName = "Connecticut";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "35";
region.RegionName = "Hartford";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[6] = state;
		
state = new Object();
state.StateID = "8";
state.StateName = "Delaware";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "36";
region.RegionName = "Wilmington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[7] = state;
		
state = new Object();
state.StateID = "10";
state.StateName = "Florida";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "9";
region.RegionName = "Daytona Beach";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "10";
region.RegionName = "Ft. Myers";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "11";
region.RegionName = "Gainesville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "12";
region.RegionName = "Jacksonville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "13";
region.RegionName = "Melbourne";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "14";
region.RegionName = "Miami";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "15";
region.RegionName = "Orlando";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "16";
region.RegionName = "Sarasota";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "17";
region.RegionName = "Tampa";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "18";
region.RegionName = "West Palm Beach";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
			
country.States[8] = state;
		
state = new Object();
state.StateID = "11";
state.StateName = "Georgia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "37";
region.RegionName = "Atlanta";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[9] = state;
		
state = new Object();
state.StateID = "13";
state.StateName = "Hawaii";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "38";
region.RegionName = "Honolulu";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[10] = state;
		
state = new Object();
state.StateID = "14";
state.StateName = "Idaho";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "40";
region.RegionName = "Boise";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[11] = state;
		
state = new Object();
state.StateID = "15";
state.StateName = "Illinois";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "41";
region.RegionName = "Chicago";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[12] = state;
		
state = new Object();
state.StateID = "16";
state.StateName = "Indiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "42";
region.RegionName = "Indianapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[13] = state;
		
state = new Object();
state.StateID = "17";
state.StateName = "Iowa";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "39";
region.RegionName = "Des Moines";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[14] = state;
		
state = new Object();
state.StateID = "18";
state.StateName = "Kansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "43";
region.RegionName = "Wichita";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[15] = state;
		
state = new Object();
state.StateID = "19";
state.StateName = "Kentucky";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "44";
region.RegionName = "Louisville";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[16] = state;
		
state = new Object();
state.StateID = "20";
state.StateName = "Louisiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "45";
region.RegionName = "Baton Rouge";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "46";
region.RegionName = "New Orleans";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "122";
region.RegionName = "Lafayette";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[17] = state;
		
state = new Object();
state.StateID = "21";
state.StateName = "Maine";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "50";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[18] = state;
		
state = new Object();
state.StateID = "22";
state.StateName = "Maryland";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "49";
region.RegionName = "Baltimore";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[19] = state;
		
state = new Object();
state.StateID = "23";
state.StateName = "Massachusetts";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "47";
region.RegionName = "Boston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "48";
region.RegionName = "Springfield";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "130";
region.RegionName = "Worcester";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[20] = state;
		
state = new Object();
state.StateID = "24";
state.StateName = "Michigan";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "51";
region.RegionName = "Detroit";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "52";
region.RegionName = "Grand Rapids";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "128";
region.RegionName = "Ann Arbor";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[21] = state;
		
state = new Object();
state.StateID = "25";
state.StateName = "Minnesota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "53";
region.RegionName = "Minneapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[22] = state;
		
state = new Object();
state.StateID = "26";
state.StateName = "Mississippi";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "56";
region.RegionName = "Jackson";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[23] = state;
		
state = new Object();
state.StateID = "27";
state.StateName = "Missouri";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "54";
region.RegionName = "Kansas City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "55";
region.RegionName = "St Louis";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[24] = state;
		
state = new Object();
state.StateID = "28";
state.StateName = "Montana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "57";
region.RegionName = "Billings";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[25] = state;
		
state = new Object();
state.StateID = "29";
state.StateName = "Nebraska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "63";
region.RegionName = "Omaha";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[26] = state;
		
state = new Object();
state.StateID = "30";
state.StateName = "Nevada";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "6";
region.RegionName = "Las Vegas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[27] = state;
		
state = new Object();
state.StateID = "31";
state.StateName = "New Hampshire";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "64";
region.RegionName = "Manchester";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[28] = state;
		
state = new Object();
state.StateID = "32";
state.StateName = "New Jersey";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "65";
region.RegionName = "Middlesex";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "66";
region.RegionName = "Monmouth";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "131";
region.RegionName = "Trenton";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[29] = state;
		
state = new Object();
state.StateID = "33";
state.StateName = "New Mexico";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "67";
region.RegionName = "Albuquerque";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[30] = state;
		
state = new Object();
state.StateID = "34";
state.StateName = "New York";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "3";
region.RegionName = "New York";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "68";
region.RegionName = "Albany";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "69";
region.RegionName = "Buffalo";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "70";
region.RegionName = "Long Island";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "71";
region.RegionName = "Rochester";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "72";
region.RegionName = "Syracuse";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "73";
region.RegionName = "Westchester";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
			
country.States[31] = state;
		
state = new Object();
state.StateID = "35";
state.StateName = "North Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "58";
region.RegionName = "Charlotte";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "59";
region.RegionName = "Greensboro";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "60";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "61";
region.RegionName = "Raleigh-Durham";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[32] = state;
		
state = new Object();
state.StateID = "36";
state.StateName = "North Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "62";
region.RegionName = "Fargo";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[33] = state;
		
state = new Object();
state.StateID = "37";
state.StateName = "Ohio";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "74";
region.RegionName = "Akron";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "75";
region.RegionName = "Cincinnati";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "76";
region.RegionName = "Cleveland";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "77";
region.RegionName = "Columbus";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "78";
region.RegionName = "Dayton";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "79";
region.RegionName = "Toledo";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[34] = state;
		
state = new Object();
state.StateID = "38";
state.StateName = "Oklahoma";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "80";
region.RegionName = "Oklahoma City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "81";
region.RegionName = "Tulsa";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[35] = state;
		
state = new Object();
state.StateID = "39";
state.StateName = "Oregon";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "82";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[36] = state;
		
state = new Object();
state.StateID = "40";
state.StateName = "Pennsylvania";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "8";
region.RegionName = "Philadelphia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "83";
region.RegionName = "Allentown";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "84";
region.RegionName = "Harrisburg";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "85";
region.RegionName = "Pittsburgh";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "86";
region.RegionName = "Wilkes Barre";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[37] = state;
		
state = new Object();
state.StateID = "42";
state.StateName = "Rhode Island";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "87";
region.RegionName = "Providence";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[38] = state;
		
state = new Object();
state.StateID = "43";
state.StateName = "South Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "88";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "89";
region.RegionName = "Columbia";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "90";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[39] = state;
		
state = new Object();
state.StateID = "44";
state.StateName = "South Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "91";
region.RegionName = "Sioux Falls";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[40] = state;
		
state = new Object();
state.StateID = "45";
state.StateName = "Tennessee";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "92";
region.RegionName = "Johnson City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "93";
region.RegionName = "Knoxville";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "94";
region.RegionName = "Memphis";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "95";
region.RegionName = "Nashville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[41] = state;
		
state = new Object();
state.StateID = "46";
state.StateName = "Texas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "4";
region.RegionName = "Dallas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "96";
region.RegionName = "Austin";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "97";
region.RegionName = "Brownsville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "98";
region.RegionName = "El Paso";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "99";
region.RegionName = "Houston";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "100";
region.RegionName = "San Antonio";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[42] = state;
		
state = new Object();
state.StateID = "47";
state.StateName = "Utah";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "101";
region.RegionName = "Salt Lake City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[43] = state;
		
state = new Object();
state.StateID = "48";
state.StateName = "Vermont";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "104";
region.RegionName = "Burlington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[44] = state;
		
state = new Object();
state.StateID = "50";
state.StateName = "Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "102";
region.RegionName = "Norfolk";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "103";
region.RegionName = "Richmond";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[45] = state;
		
state = new Object();
state.StateID = "51";
state.StateName = "Washington";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "1";
region.RegionName = "Seattle";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "105";
region.RegionName = "Spokane";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[46] = state;
		
state = new Object();
state.StateID = "9";
state.StateName = "Washington DC";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "7";
region.RegionName = "Dist. of Columbia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[47] = state;
		
state = new Object();
state.StateID = "52";
state.StateName = "West Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "108";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[48] = state;
		
state = new Object();
state.StateID = "53";
state.StateName = "Wisconsin";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "106";
region.RegionName = "Madison";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "107";
region.RegionName = "Milwaukee";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[49] = state;
		
state = new Object();
state.StateID = "54";
state.StateName = "Wyoming";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "109";
region.RegionName = "Cheyenne";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[50] = state;
			
deviceType.Countries[1] = country;
			
regionLocations[2] = deviceType;
		
deviceType = new Object();
deviceType.DeviceTypeID = "1";
deviceType.DeviceTypeName = "Weather Station";
deviceType.Countries = new Array();
			
country = new Object();
country.CountryID = "11";
country.CountryName = "Canada";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "55";
state.StateName = "Alberta";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "110";
region.RegionName = "Calgary";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "111";
region.RegionName = "Edmonton";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "56";
state.StateName = "British Columbia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "112";
region.RegionName = "Vancouver";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "113";
region.RegionName = "Victoria";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "124";
region.RegionName = "Whistler";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "58";
state.StateName = "Manitoba";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "114";
region.RegionName = "Winnipeg";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "59";
state.StateName = "Ontario";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "115";
region.RegionName = "Hamilton";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "116";
region.RegionName = "Kitchener";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "117";
region.RegionName = "London";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "118";
region.RegionName = "Ottawa";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "119";
region.RegionName = "Toronto";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "60";
state.StateName = "Quebec";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "120";
region.RegionName = "Montreal";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "121";
region.RegionName = "Quebec City";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[4] = state;
			
deviceType.Countries[0] = country;
		
country = new Object();
country.CountryID = "62";
country.CountryName = "United States";
country.HasStates = true;
country.States = new Array();
country.Regions = new Array();
			
state = new Object();
state.StateID = "1";
state.StateName = "Alabama";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "20";
region.RegionName = "Birmingham";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "21";
region.RegionName = "Mobile";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[0] = state;
		
state = new Object();
state.StateID = "2";
state.StateName = "Alaska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "19";
region.RegionName = "Anchorage";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[1] = state;
		
state = new Object();
state.StateID = "3";
state.StateName = "Arizona";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "23";
region.RegionName = "Phoenix";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "24";
region.RegionName = "Tucson";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[2] = state;
		
state = new Object();
state.StateID = "4";
state.StateName = "Arkansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "22";
region.RegionName = "Little Rock";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "142";
region.RegionName = "Fayetteville";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[3] = state;
		
state = new Object();
state.StateID = "5";
state.StateName = "California";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "2";
region.RegionName = "San Francisco";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "5";
region.RegionName = "San Jose";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "25";
region.RegionName = "Bakersfield";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "26";
region.RegionName = "Fresno";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "27";
region.RegionName = "Los Angeles";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "28";
region.RegionName = "Monterey";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "29";
region.RegionName = "Riverside";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "30";
region.RegionName = "Sacramento";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "31";
region.RegionName = "San Diego";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "32";
region.RegionName = "Stockton";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
			
country.States[4] = state;
		
state = new Object();
state.StateID = "6";
state.StateName = "Colorado";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "33";
region.RegionName = "Colorado Springs";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "34";
region.RegionName = "Denver";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "135";
region.RegionName = "Fort Collins";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[5] = state;
		
state = new Object();
state.StateID = "7";
state.StateName = "Connecticut";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "35";
region.RegionName = "Hartford";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "133";
region.RegionName = "Bridgeport";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "141";
region.RegionName = "New London";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[6] = state;
		
state = new Object();
state.StateID = "8";
state.StateName = "Delaware";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "36";
region.RegionName = "Wilmington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[7] = state;
		
state = new Object();
state.StateID = "10";
state.StateName = "Florida";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "9";
region.RegionName = "Daytona Beach";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "10";
region.RegionName = "Ft. Myers";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "11";
region.RegionName = "Gainesville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "12";
region.RegionName = "Jacksonville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "13";
region.RegionName = "Melbourne";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "14";
region.RegionName = "Miami";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "15";
region.RegionName = "Orlando";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
		
region = new Object();
region.RegionID = "16";
region.RegionName = "Sarasota";
if (country.HasStates)
{
    state.Regions[7] = region;
}
else
{
    country.Regions[7] = region;
}
		
region = new Object();
region.RegionID = "17";
region.RegionName = "Tampa";
if (country.HasStates)
{
    state.Regions[8] = region;
}
else
{
    country.Regions[8] = region;
}
		
region = new Object();
region.RegionID = "18";
region.RegionName = "West Palm Beach";
if (country.HasStates)
{
    state.Regions[9] = region;
}
else
{
    country.Regions[9] = region;
}
		
region = new Object();
region.RegionID = "137";
region.RegionName = "Fort Pierce";
if (country.HasStates)
{
    state.Regions[10] = region;
}
else
{
    country.Regions[10] = region;
}
			
country.States[8] = state;
		
state = new Object();
state.StateID = "11";
state.StateName = "Georgia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "37";
region.RegionName = "Atlanta";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[9] = state;
		
state = new Object();
state.StateID = "13";
state.StateName = "Hawaii";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "38";
region.RegionName = "Honolulu";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[10] = state;
		
state = new Object();
state.StateID = "14";
state.StateName = "Idaho";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "40";
region.RegionName = "Boise";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[11] = state;
		
state = new Object();
state.StateID = "15";
state.StateName = "Illinois";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "41";
region.RegionName = "Chicago";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[12] = state;
		
state = new Object();
state.StateID = "16";
state.StateName = "Indiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "42";
region.RegionName = "Indianapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[13] = state;
		
state = new Object();
state.StateID = "17";
state.StateName = "Iowa";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "39";
region.RegionName = "Des Moines";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[14] = state;
		
state = new Object();
state.StateID = "18";
state.StateName = "Kansas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "43";
region.RegionName = "Wichita";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[15] = state;
		
state = new Object();
state.StateID = "19";
state.StateName = "Kentucky";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "44";
region.RegionName = "Louisville";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[16] = state;
		
state = new Object();
state.StateID = "20";
state.StateName = "Louisiana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "45";
region.RegionName = "Baton Rouge";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "46";
region.RegionName = "New Orleans";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "122";
region.RegionName = "Lafayette";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[17] = state;
		
state = new Object();
state.StateID = "21";
state.StateName = "Maine";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "50";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[18] = state;
		
state = new Object();
state.StateID = "22";
state.StateName = "Maryland";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "49";
region.RegionName = "Baltimore";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[19] = state;
		
state = new Object();
state.StateID = "23";
state.StateName = "Massachusetts";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "47";
region.RegionName = "Boston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "48";
region.RegionName = "Springfield";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "130";
region.RegionName = "Worcester";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "139";
region.RegionName = "Cape Cod";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[20] = state;
		
state = new Object();
state.StateID = "24";
state.StateName = "Michigan";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "51";
region.RegionName = "Detroit";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "52";
region.RegionName = "Grand Rapids";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "128";
region.RegionName = "Ann Arbor";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[21] = state;
		
state = new Object();
state.StateID = "25";
state.StateName = "Minnesota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "53";
region.RegionName = "Minneapolis";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[22] = state;
		
state = new Object();
state.StateID = "26";
state.StateName = "Mississippi";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "56";
region.RegionName = "Jackson";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[23] = state;
		
state = new Object();
state.StateID = "27";
state.StateName = "Missouri";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "54";
region.RegionName = "Kansas City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "55";
region.RegionName = "St Louis";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[24] = state;
		
state = new Object();
state.StateID = "28";
state.StateName = "Montana";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "57";
region.RegionName = "Billings";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[25] = state;
		
state = new Object();
state.StateID = "29";
state.StateName = "Nebraska";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "63";
region.RegionName = "Omaha";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[26] = state;
		
state = new Object();
state.StateID = "30";
state.StateName = "Nevada";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "6";
region.RegionName = "Las Vegas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[27] = state;
		
state = new Object();
state.StateID = "31";
state.StateName = "New Hampshire";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "64";
region.RegionName = "Manchester";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[28] = state;
		
state = new Object();
state.StateID = "32";
state.StateName = "New Jersey";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "65";
region.RegionName = "Middlesex";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "66";
region.RegionName = "Monmouth";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "131";
region.RegionName = "Trenton";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[29] = state;
		
state = new Object();
state.StateID = "33";
state.StateName = "New Mexico";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "67";
region.RegionName = "Albuquerque";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[30] = state;
		
state = new Object();
state.StateID = "34";
state.StateName = "New York";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "3";
region.RegionName = "New York";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "68";
region.RegionName = "Albany";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "69";
region.RegionName = "Buffalo";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "70";
region.RegionName = "Long Island";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "71";
region.RegionName = "Rochester";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "72";
region.RegionName = "Syracuse";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
		
region = new Object();
region.RegionID = "73";
region.RegionName = "Westchester";
if (country.HasStates)
{
    state.Regions[6] = region;
}
else
{
    country.Regions[6] = region;
}
			
country.States[31] = state;
		
state = new Object();
state.StateID = "35";
state.StateName = "North Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "58";
region.RegionName = "Charlotte";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "59";
region.RegionName = "Greensboro";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "60";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "61";
region.RegionName = "Raleigh-Durham";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[32] = state;
		
state = new Object();
state.StateID = "36";
state.StateName = "North Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "62";
region.RegionName = "Fargo";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[33] = state;
		
state = new Object();
state.StateID = "37";
state.StateName = "Ohio";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "74";
region.RegionName = "Akron";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "75";
region.RegionName = "Cincinnati";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "76";
region.RegionName = "Cleveland";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "77";
region.RegionName = "Columbus";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "78";
region.RegionName = "Dayton";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "79";
region.RegionName = "Toledo";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[34] = state;
		
state = new Object();
state.StateID = "38";
state.StateName = "Oklahoma";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "80";
region.RegionName = "Oklahoma City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "81";
region.RegionName = "Tulsa";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[35] = state;
		
state = new Object();
state.StateID = "39";
state.StateName = "Oregon";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "82";
region.RegionName = "Portland";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[36] = state;
		
state = new Object();
state.StateID = "40";
state.StateName = "Pennsylvania";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "8";
region.RegionName = "Philadelphia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "83";
region.RegionName = "Allentown";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "84";
region.RegionName = "Harrisburg";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "85";
region.RegionName = "Pittsburgh";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "86";
region.RegionName = "Wilkes Barre";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
			
country.States[37] = state;
		
state = new Object();
state.StateID = "42";
state.StateName = "Rhode Island";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "87";
region.RegionName = "Providence";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[38] = state;
		
state = new Object();
state.StateID = "43";
state.StateName = "South Carolina";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "88";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "89";
region.RegionName = "Columbia";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "90";
region.RegionName = "Greenville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
			
country.States[39] = state;
		
state = new Object();
state.StateID = "44";
state.StateName = "South Dakota";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "91";
region.RegionName = "Sioux Falls";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[40] = state;
		
state = new Object();
state.StateID = "45";
state.StateName = "Tennessee";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "92";
region.RegionName = "Johnson City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "93";
region.RegionName = "Knoxville";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "94";
region.RegionName = "Memphis";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "95";
region.RegionName = "Nashville";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
			
country.States[41] = state;
		
state = new Object();
state.StateID = "46";
state.StateName = "Texas";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "4";
region.RegionName = "Dallas";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "96";
region.RegionName = "Austin";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
		
region = new Object();
region.RegionID = "97";
region.RegionName = "Brownsville";
if (country.HasStates)
{
    state.Regions[2] = region;
}
else
{
    country.Regions[2] = region;
}
		
region = new Object();
region.RegionID = "98";
region.RegionName = "El Paso";
if (country.HasStates)
{
    state.Regions[3] = region;
}
else
{
    country.Regions[3] = region;
}
		
region = new Object();
region.RegionID = "99";
region.RegionName = "Houston";
if (country.HasStates)
{
    state.Regions[4] = region;
}
else
{
    country.Regions[4] = region;
}
		
region = new Object();
region.RegionID = "100";
region.RegionName = "San Antonio";
if (country.HasStates)
{
    state.Regions[5] = region;
}
else
{
    country.Regions[5] = region;
}
			
country.States[42] = state;
		
state = new Object();
state.StateID = "47";
state.StateName = "Utah";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "101";
region.RegionName = "Salt Lake City";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[43] = state;
		
state = new Object();
state.StateID = "48";
state.StateName = "Vermont";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "104";
region.RegionName = "Burlington";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[44] = state;
		
state = new Object();
state.StateID = "50";
state.StateName = "Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "102";
region.RegionName = "Norfolk";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "103";
region.RegionName = "Richmond";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[45] = state;
		
state = new Object();
state.StateID = "51";
state.StateName = "Washington";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "1";
region.RegionName = "Seattle";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "105";
region.RegionName = "Spokane";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[46] = state;
		
state = new Object();
state.StateID = "9";
state.StateName = "Washington DC";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "7";
region.RegionName = "Dist. of Columbia";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[47] = state;
		
state = new Object();
state.StateID = "52";
state.StateName = "West Virginia";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "108";
region.RegionName = "Charleston";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[48] = state;
		
state = new Object();
state.StateID = "53";
state.StateName = "Wisconsin";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "106";
region.RegionName = "Madison";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
		
region = new Object();
region.RegionID = "107";
region.RegionName = "Milwaukee";
if (country.HasStates)
{
    state.Regions[1] = region;
}
else
{
    country.Regions[1] = region;
}
			
country.States[49] = state;
		
state = new Object();
state.StateID = "54";
state.StateName = "Wyoming";
state.Regions = new Array();
			
region = new Object();
region.RegionID = "109";
region.RegionName = "Cheyenne";
if (country.HasStates)
{
    state.Regions[0] = region;
}
else
{
    country.Regions[0] = region;
}
			
country.States[50] = state;
			
deviceType.Countries[1] = country;
			
regionLocations[3] = deviceType;
		