// JavaScript Document

var cityInfo = new Array();
for (var i = 0; i <= 16; i++) cityInfo[i] = new Array();

cityInfo[0][0] = "Dubuque, IA";
cityInfo[0][1] = 0;
cityInfo[0][2] = "dubuque";
cityInfo[0][3] = "Take a stroll along Dubuque's bustling Port of Dubuque riverfront.";
cityInfo[0][4] = "<p>Take a look at your next vacation in a whole new way! Experience a community that offers a little bit of everything - including lively culture, natural beauty, exciting gaming and genuine relaxation all in a historic river town setting.</p><p>With the overhaul of Iowa's oldest city from one of mining, industry and water transport to a gleaming new vision of modernity and innovation, Dubuque extends an open invitation to even the most discerning tourist. Spend a week with the family indulging in all the area has to offer; enjoy the bustling $400 million Port of Dubuque riverfront; Iowa's number one attraction, the National Mississippi River Museum & Aquarium; the shortest steepest railroad tracks in the world, the Fenelon Place Elevator; sophisticated dining; quaint bed & breakfasts; and national chain hotels.</p><p>Rethink and rediscover Dubuque. It's the ultimate vacation, reinvented.</p><p class='bigText'><a href='http://www.traveldubuque.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[0][5] = 0;

cityInfo[14][0] = "Galena/Jo Daviess County, IL";
cityInfo[14][1] = 0;
cityInfo[14][2] = "galena";
cityInfo[14][3] = "Galena and Jo Daviess County serves as the perfect place to relax your way.";
cityInfo[14][4] = "<p>Experience the vintage charm and contemporary spirit of Galena and Jo Daviess County... the region's natural beauty, charming farmsteads, well-preserved historic sites, first-class skiing, regional cuisines, eclectic shops and tranquil spas. Reserve a cozy B&B housed in an historic mansion, a spacious vacation rental home, a comfortable family-style motel or inn, or a full-service resort complete with spas and restaurants.</p><p>Discover the 19th-century history and architecture by which much of the destination was named to the National Register of Historic Places. Take in magnificent views as you drive our hills and valleys. Browse antiques and collectibles shops and specialty stores along the way for just the right gifts. Visit art galleries and studios throughout the county to see a local potter, sculptor or jewelry maker at work. Take a hands-on cooking class or walk-in beading workshop. See the sun rise or set from a hot air balloon. Join a group for a casual country bike ride up and down our breathtaking hills and valleys. Indulge yourself with a range of culinary options... from fine dining to comfort food. Make your plans now and pack your bags for northwest Illinois.</p><p class='bigText'><a href='http://www.galena.org' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[14][5] = 0;

cityInfo[15][0] = "Bellevue, IA";
cityInfo[15][1] = 40;
cityInfo[15][2] = "generic";
cityInfo[15][3] = "This destination does not have a photo available.";
cityInfo[15][4] = "<p>This destination does not have a description available.</p><p class='bigText'><a href='http://www.bellevueia.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[15][5] = 0;

cityInfo[1][0] = "Savanna, IL";
cityInfo[1][1] = 60;
cityInfo[1][2] = "savanna";
cityInfo[1][3] = "Savanna is known for the natural beauty of its surroundings, great outdoor activities and incredible bird-watching.";
cityInfo[1][4] = "<p>Along the banks of the Mississippi River, in a landscape of rugged limestone bluffs, lies the City of Savanna, Illinois. Savanna is known for the natural beauty of its surroundings and for the wide variety of outdoor activities that the area offers for boaters, canoeists and anglers. Hikers can enjoy challenging trails, groomed paths, or even a stroll along the banks of the Mississippi. Located on the Mississippi flyway, Savanna has second-to-none bird watching. We hope you enjoy Savanna, whether you come for a visit or stay for a lifetime.</p><p class='bigText'><a href='http://www.savannail.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[1][5] = 47;

cityInfo[2][0] = "Fulton, IL";
cityInfo[2][1] = 110;
cityInfo[2][2] = "fulton";
cityInfo[2][3] = "Visit the authentic Dutch windmill in the city of Fulton.";
cityInfo[2][4] = "<p>The City of Fulton, Illinois is a quaint community, rich in heritage and charm, located along the banks of the Mississippi River.  The citizens of Fulton, Illinois are committed to volunteering their time and effort in making Fulton a good place to live, do business, and visit.  Our city has many things to offer, such as our authentic Dutch windmill, Windmill Cultural Center, historic downtown area, Heritage Canyon, Lock and Dam 13, two National Scenic By-ways, Great River Bike Trail, and the Mississippi River. We are dedicated to preserving our past and enthusiastic about planning our future. We look forward to seeing you here.</p><p class='bigText'><a href='http://www.cityoffulton.us' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[2][5] = 66;

cityInfo[3][0] = "Clinton, IA";
cityInfo[3][1] = 130;
cityInfo[3][2] = "clinton";
cityInfo[3][3] = "Clinton, Iowa has one of the most beautiful riverfronts on the Mississippi River.";
cityInfo[3][4] = "<p>The East Coast of Iowa is a perfect place to relax and play, hold a meeting or convention or spend time exploring the Mississippi River.</p><p>Clinton offers you many things to do with a river view.  We have one of the most beautiful riverfronts on the entire River.  Within a 65-acre park-like setting, you can play in our aquatic center, attend a Class 1A baseball game, enjoy a game of tennis, listen to a live performance in the band shell, attend a professional theater production aboard a renovated paddle wheeler, camp in our R/V park, take a walk or run along the Discovery Recreational Trail, have a picnic and visit our historical museum.  All of this and you haven't even hit the town yet!</p>Located just 30 minutes from I-80 and 20 minutes from I-88, Clinton sits on the eastern most section of Iowa along the banks of the majestic Mississippi River. So visit Clinton, the city on the Mississippi River with so many things to do... with a river view!</p><p class='bigText'><a href='http://www.clintoniowatourism.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[3][5] = 69;

cityInfo[5][0] = "LeClaire, IA";
cityInfo[5][1] = 172;
cityInfo[5][2] = "leclaire";
cityInfo[5][3] = "LeClaire is one of the most unique shopping destinations along the Mississippi River.";
cityInfo[5][4] = "<p>LeClaire is a quaint river town full of historic surprises. LeClaire offers riverboat adventures, a museum, unique shopping and wonderful restaurants, which make LeClaire the must visit town in the Quad Cities area.</p><p>LeClaire is filled with antiques and unique shops to satisfy any shopping adventure. Chocolates, pastries, gourmet popcorn, wine, clothing, purses, home decor and even a little novelty will bring a smile to your face during your visit to LeClaire.</p><p>LeClaire boasts two golf courses, a picturesque levee used for boat launching and special events such as weddings, festivals and more. A highlight of the year is the annual World Famous Tug Fest. Tug Fest is what the name implies – a festival with a real tug-of-war across the mighty Mississippi River!</p><p class='bigText'><a href='http://www.visitleclaire.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[5][5] = 93;

cityInfo[4][0] = "Port Byron, IL";
cityInfo[4][1] = 172;
cityInfo[4][2] = "portbyron";
cityInfo[4][3] = "Visit the Port Byron riverfront to see the latest 'green' efforts, including a community garden, farmer's market and Earth Day events.";
cityInfo[4][4] = "<p>The village of Port Byron was founded in the spring of 1828; initially called Canaan, the name was changed to Port Byron in honor of the British romantic poet Lord Byron. The village played an important role in the early lumber trade, as wood was sold to passing steamships, or loaded onto trains to bypass the Mississippi rapids, just south of town. Many original buildings still remain, a testament to the strength of the people who have called Port Byron home.</p><p>Now the village is home to about 1600 residents, and is widely known for its annual Tug Fest with the Iowa town of LeClaire. The August weekend festivities include a tug-of-war across the river, vendors, parties, and a spectacular fireworks display. More recent village endeavors include efforts to go green by enhancing the riverfront, offering a community garden and farmers' market, and holding an Earth Day event to promote sustainability and stewardship. The Mississippi River view is unique every day, with the eagles in the winter, the migrating birds in the spring, the vibrant shades of sunset, and the shifting blue hues of the water.</p><p class='bigText'><a href='http://www.portbyronil.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[4][5] = 93;

cityInfo[6][0] = "Quad Cities, IL/IA";
cityInfo[6][1] = 190;
cityInfo[6][2] = "qc";
cityInfo[6][3] = "The Quad Cities is known for its annual festivals and fantastic events.";
cityInfo[6][4] = "<p>The Quad Cities area consists of Davenport and Bettendorf in Iowa, and Moline, East Moline and Rock Island in Illinois. With a combined population of 400,000, the Quad Cities is the largest metropolitan area on the Mississippi River between Minneapolis and St. Louis. Our award-winning museums and cultural centers, internationally-recognized festivals, beautiful riverfront, scrumptious dining and vibrant nightlife bring you all the excitement of a big city with all the hospitality of a small town.</p><p>The Quad Cities has lots to do, whether you're looking for family activities, theatre, museums, picturesque riverfront trails, nightlife, and much more. With thousands of hotel rooms spanning every class of price and amenities, the QC area makes for a fantastic starting point when planning your tour of the Upper Mississippi Valley region.</p><p class='bigText'><a href='http://www.visitquadcities.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[6][5] = 105;

cityInfo[7][0] = "Muscatine, IA";
cityInfo[7][1] = 230;
cityInfo[7][2] = "muscatine";
cityInfo[7][3] = "Muscatine is a bustling community of approximately 24,000 with lively commercial areas and spectacular river views.";
cityInfo[7][4] = "<p>Welcome to Muscatine!</p><p>Muscatine is situated on the banks of the Mississippi River in East Central Iowa.  Visitors first notice Muscatine's spectacular river views, but then find there is so much more to see and do.  Muscatine is a bustling community of approximately 24,000 with lively commercial areas, interesting attractions, and warm Midwestern hospitality.</p><p>We suggest that you visit local attractions like the Muscatine History and Industry Center, the Muscatine Art Center, the Environmental Learning Center and the Pine Creek Grist Mill.  If you have the time, play a round of golf at Muscatine's Municipal Golf Course or walk along the Running River Trail along the bank of the Mississippi.</p><p>The Muscatine Convention and Visitors Bureau invites you to \"Meet Muscatine\" and discover for yourself why this \"Pearl of the Mississippi\" is a real gem!</p><p class='bigText'><a href='http://www.meetmuscatine.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[7][5] = 133;

cityInfo[16][0] = "Louisa County, IA";
cityInfo[16][1] = 260;
cityInfo[16][2] = "generic";
cityInfo[16][3] = "This destination does not have a photo available.";
cityInfo[16][4] = "<p>This destination does not have a description available.</p><p class='bigText'><a href='http://www.lccb.org' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[16][5] = 0;

cityInfo[9][0] = "Burlington, IA";
cityInfo[9][1] = 355;
cityInfo[9][2] = "burlington";
cityInfo[9][3] = "The Great River Bridge is just one of the many wonders that Burlington has to offer.";
cityInfo[9][4] = "<p>Greater Burlington, Iowa is the perfect destination to experience relaxation and excitement at the same time.  Four seasons grace the community, with each providing its own beauty, charm and activities.  From ice skating in beautiful Crapo Park to a spring evening at Community Field watching minor league baseball, to a summer day at the waterpark, there is something for everyone.  Three eighteen-hole golf courses, each utilizing a beautiful setting, are available for enjoyment and challenge.</p><p>Civic Music on the river provides a full array of programs throughout the year from broadway shows to string quartets.  Steamboat Days rocks the riverfront with acts ranging from rock and roll to contemporary country and more.</p><p>Take time to experience great shopping or taste the many flavors of the unique restaurants the community has to offer.  Test your luck at the casino or spend a relaxing day at the spa.  Greater Burlington is a place you can choose your experience.</p><p class='bigText'><a href='http://www.visitburlingtoniowa.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[9][5] = 208;

cityInfo[8][0] = "Henderson County, IL";
cityInfo[8][1] = 320;
cityInfo[8][2] = "henderson";
cityInfo[8][3] = "Henderson County has a number of unique historical sites to see.";
cityInfo[8][4] = "<p>Henderson County abounds with opportunities for people looking for a place to visit, live or operate a business. Located in the heart of the corn belt, this Mississippi River County has a quality of life second to none. The county has a relatively small population with only one stop light. There are several small towns and villages that host a variety of businesses that serve the needs of residents and tourists.</p><p>Corn, soybeans and livestock farms dominate the more productive soils. Surplus production is shipped by barge from the nation's largest privately owned grain terminal which is visited by people from around the world. The small cemetaries and museums are popular for people digging into the county's history. Visitors can stay in a historic hotel and visit several sites on the national register. The three day heritage celebration is but one of many special events. Cabins and campgrounds are near hunting, fishing and boating lcoations.</p><p class='bigText'><a href='http://www.hendersoncountyedc.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[8][5] = 190;

cityInfo[10][0] = "Ft. Madison, IA";
cityInfo[10][1] = 375;
cityInfo[10][2] = "ftmadison";
cityInfo[10][3] = "The Fort Madison Santa Fe bridge is the longest double decker swingspan bridge in the world!";
cityInfo[10][4] = "<p>Where Iowa began. History lives on at Fort Madison. Established in 1808 to protect a trading post, it was the first fort built on the upper Mississippi. In 1813 the fort was abandoned and burned. The town was founded in 1838 and named after the current President James Madison. In 1880 the Santa Fe Railroad partnered with the community and opened rail traffic in all directions, thus ensuring its survival. Fort Madison has one of the most beautiful riverfronts along the Mississippi, and is one of the few places where the river runs east and west. Fort Madison is also home to beautiful Victorian architechture, quaint downtown shops, award winning restaurants and so much more.</p><p class='bigText'><a href='http://www.visitfortmadison.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[10][5] = 229;

cityInfo[12][0] = "Keokuk, IA";
cityInfo[12][1] = 440;
cityInfo[12][2] = "keokuk";
cityInfo[12][3] = "Discover how Keokuk and United States history intertwine in the comfortable town of Keokuk, Iowa.";
cityInfo[12][4] = "<p>Enjoy visiting this Mississippi River town in Iowa's southeastern corner.  Witness the awesome water power flowing through Lock and Dam Number 19 at the Keokuk Power Plant.  Discover how Keokuk and United States history intertwine.  If your interests include American Indians, the Civil War, industrial development, literature, natural wonders, Samuel \"Mark Twain\" Clemens, or Victorian architecture, add Keokuk to your travel plans.  Keokuk has a designated Cultural and Entertainment District.  For more information, contact the Keokuk Area Convention and Tourism Bureau, 329 Main St., Keokuk, Iowa 52632, or call 319-524-5599 or 800-383-1219.  Visit the web site at <a href='http://www.keokukiowatourism.org'>keokukiowatourism.org</a>, or send email to <a href='mailto:info@keokukiowatourism.org' target='_blank'>info@keokukiowatourism.org</a></p><p class='bigText'><a href='http://www.keokukiowatourism.org'>Visit this destination &raquo;</a></p>";
cityInfo[12][5] = 261;

cityInfo[13][0] = "Quincy, IL";
cityInfo[13][1] = 560;
cityInfo[13][2] = "quincy";
cityInfo[13][3] = "Situated on a bluff overlooking the Mississippi River, Quincy is a national and historical treasure.";
cityInfo[13][4] = "<p>The city of Quincy, Illinois is a national treasure with over 2,000 buildings on the National Register of Historic Places.  Situated on an Illinois bluff overlooking the Mississippi River, with the state's largest collection of significant architecture outside of Chicago, Quincy is known as the Gem City.  Visitors may utilize the complimentary Upass to experience all nine of the city's museums.   For travel information contact the Quincy Area Convention & Visitors Bureau at 800-978-4748 or <a href='http://www.seequincy.com' target='_blank'>seequincy.com</a>.</p><p class='bigText'><a href='http://www.seequincy.com'>Visit this destination &raquo;</a></p>";
cityInfo[13][5] = 309;

cityInfo[11][0] = "Nauvoo, IL";
cityInfo[11][1] = 405;
cityInfo[11][2] = "nauvoo";
cityInfo[11][3] = "Enjoy a horse-drawn wagon ride or experience a multitude of colorful cultures in Nauvoo's incredible architecture and historical remnants.";
cityInfo[11][4] = "<p>Nauvoo, a National Historic Landmark, was one of the largest cosmopolitan city's  in Illinois in the 1840's.  Today, Nauvoo is home to more than 60 restored historic sites, 4 visitor’s centers and museums which all come together to tell the story of Joseph Smith and his followers; of the Icarian's who founded Baxter's Winery & Vineyards, which is today Illinois Oldest Winery.  All of these stories told  bring the past to life in historic Nauvoo, Illinois. Nauvoo offers world class entertainment, live shows, wagon tours, beautiful gardens, birding trails, fishing, cycling, geocaching, great food, fine wine and unique top notch accommodations.  Annual events include the 73rd Annual Grape Festival, Festival on Wheels, Bootiful Nauvoo Halloween Festival, and the Nauvoo Pageant.</p><p>Nestled along the Mississippi River and part of the Great River Road, Nauvoo's history has been painted by colorful cultures that remain evident today in the architecture and the historical remnants. Tour the historic sites, see the past  and see Nauvoo through the pictures painted and the stories told.</p><p class='bigText'><a href='http://www.beautifulnauvoo.com' target='_blank'>Visit this destination &raquo;</a></p>";
cityInfo[11][5] = 243;

function newCity(id) {
  $('#imgCap').fadeOut(500);
  $('#fb-box').fadeOut(500);
  $('#titleDescrip').slideUp(500,function() {
	for (var i = 0; i <= 13; i++) if(document.getElementById("span"+i)) $('#span'+i).addClass('hidden');
	document.getElementById('cityImg').src = "images/mainImgs/"+cityInfo[id][2]+".jpg";
	document.getElementById('imgCaption').innerHTML = cityInfo[id][3];
	document.getElementById('cityName').innerHTML = cityInfo[id][0];
	document.getElementById('cityText').innerHTML = cityInfo[id][4];
	$('#arrow').animate({ top:cityInfo[id][1]+"px" }, 500, function() {
	  $('#imgCap').fadeIn(500);
	  $('#titleDescrip').slideDown(500);
	  for (var i = 0; i <= 13; i++) if(document.getElementById("span"+i)) {
		var tempInt = Math.abs(cityInfo[id][5] - cityInfo[i][5]);
		document.getElementById("span"+i).innerHTML = tempInt;
		$('#span'+i).removeClass('hidden');
		$('#miles').removeClass('hidden');
		//if (tempInt == 24 || tempInt == 27) $('#span'+i).addClass('hidden');
	  }
	  var ajax = startAJAX();
	  ajax.open("GET", "ajax.php?city="+id, true);
	  ajax.send(null); 
	});
  });
}

function expand(id) { $('#div'+id).slideDown(1000); }
function expandAll() {
  for (var i = 0; i <= 13; i++) {
	if (document.getElementById("div"+i)) $('#div'+i).slideDown(1000);
  }
}
