function testBrowser() {
var browser=navigator.appName
	if(browser=="Microsoft Internet Explorer") {
		document.getElementById('inner_container').style.display="block";
		document.getElementById('inner_container').style.styleFloat="none";
	} 
}

function testBrowserWithMap() {
	testBrowser();
	loadMap();
}

function testBrowserWithSlideshow() {
	testBrowser();
	runSlideShow();
}

function testBrowserWithMap() {
	testBrowser();
	runSlideShow();
}

function loadMap() {
	if (GBrowserIsCompatible()) {
 		var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
		map.setCenter(new GLatLng(47.608876,-122.331959), 13);

		// Create marker icon
		var icon = new GIcon();
		icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";
		icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
		icon.iconSize = new GSize(12, 20);
		icon.shadowSize = new GSize(22, 20);
		icon.iconAnchor = new GPoint(6, 20);
		icon.infoWindowAnchor = new GPoint(5, 1);

		var point = new GLatLng(47.608876,-122.331959);
                       					
	  map.addOverlay(new GMarker(point, icon));
	}
}

function getIntro() {
	 document.write('<object type="application/x-shockwave-flash" data="flash/shell.swf" width="800" height="625">\n');
   document.write('<param name="movie" value="flash/shell.swf" />');
   document.write('<param name="bgcolor" value="C3C3E5"/>');
   document.write('</object>\n');
}

function getMenu(which) {
	 document.write('<object type="application/x-shockwave-flash" data="flash/menu.swf?which='+which+'" width="165" height="135">\n');
   document.write('<param name="movie" value="flash/menu.swf?which='+which+'" />');
   document.write('<param name="bgcolor" value="C3C3E5"/>');
   document.write('</object>\n');
}
