
// photos descriptions
var yardview = 'You not only have a beautiful lawn to stroll on, but you also will see deer, turkeys, rabbits, squirls, and many species of birds.';
var aerialwide = 'This wide aerial view shows the nearby Chippewa River and downtown Chippewa Falls in the upper left corner. Summit Park Condominiums are located within the city limits and have all city amenities including quick response to fire, ambulance, and police services.';
var condoaerial = 'This aerial view shows the park setting of the grounds and the surrounding woods.';
var satelliteview = 'This satellite view shows the country area within the city.';
var frontview = 'As you first enter the property you see the elegant brick construction and beautiful landscaping.';
var masterbath = 'Master bathroom with 5 foot tub and a wide bright counter.';
var upperbath = 'Second bathroom with 4 foot sit-down shower and a wide bright counter. Great handicapped accessability.';
var laundryroom = 'The laundry room with deep laundry tub. The dirt stops here!';
var masterbedroom = 'The master bedroom is spacious with a beautiful view from the large window.';
var dinette = 'The second bedroom area on the main level can also be used as a dinette, home office, or study.';
var greatroom = 'The central area of the lower level can be finished in a variety of ways. The area has a large patio door and can have a fireplace.';
var guestroom = 'Many options are avialable when finishing the lower level. Here you see one room finished as a bedroom.';
var controlpanel = 'Central control panel in the lower level. Here you see the controls for the 200 amp electrical panel, door answering system, and the telephone and cable connections.';
var kitchen = 'This kitchen was finished with raised cabinet panels and Amtico flooring.';

// pans descriptions
var livingroompano = 'This panorama shows one way to furnish the livingroom and dining area in a right-hand unit.';
var lowerunfinishedpano = 'This shows an unfinished lower level with the rough-in for the bathroom. It allows for two bedrooms, a large great room, and much storage.';
var emptylivingroompano = 'This shows the spacious area that provides much flexability for layout of the livingroom and dining area. You can also see the light-filled interior area with the large windows.';
var grounds_01 = 'The park setting within the city limits offers beauty and tranquility. The grass around the central area is all irrigated.';
var grounds_02 = 'The park setting within the city limits offers beauty and tranquility. The grass around the central area is all irrigated.';
var grounds_03 = 'The park setting within the city limits offers beauty and tranquility. The grass around the central area is all irrigated.';
var grounds_05 = 'The park setting within the city limits offers beauty and tranquility. The grass around the central area is all irrigated.';
var grounds_06 = 'The park setting within the city limits offers beauty and tranquility. The grass around the central area is all irrigated.';

function swapMyImage(myImage){
	switch(myImage){
		case 'yardview': document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/yardview.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/east_side_grounds.gif" width="170" height="265"/></div><div id="sub1b">'+yardview+'</div>';
						break;
		case 'aerialwide': document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/aerialwide.jpg">';
						document.getElementById("sub1").innerHTML = aerialwide;
						break;
		case 'condoaerial':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/condoaerial.jpg">';
						document.getElementById("sub1").innerHTML = condoaerial;
						break;
	case 'satelliteview':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/satelliteview.jpg">';
						document.getElementById("sub1").innerHTML = satelliteview;
						break;					
						
						
						
		case 'frontview':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/frontview.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/entrancephotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+frontview+'</div>';
						break;
		case 'masterbath':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/masterbath.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/masterbathphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+masterbath+'</div>';
						break;
		case 'upperbath':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/upperbath.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/upperbathphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+upperbath+'</div>';
						break;
		case 'laundryroom':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/laundryroom.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/laundryroomphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+laundryroom+'</div>';
						break;
		case 'masterbedroom':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/masterbedroom.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/masterbedroomphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+masterbedroom+'</div>';
						break;
		case 'dinette':	document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/dinette.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/dinettephotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+dinette+'</div>';
						break;
		case 'greatroom': document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/greatroom.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/greatroomphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+greatroom+'</div>';
						break;
		case 'guestroom':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/guestroom.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/guestroomphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+guestroom+'</div>';
						break;
		case 'controlpanel':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/controlpanel.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/controlpanelphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+controlpanel+'</div>';
						break;
		case 'kitchen':document.getElementById("mainimage").innerHTML = '<img width="355" height="265" src="photos/kitchen_small.jpg">';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/kitchenphotoplan.gif" width="170" height="265"/></div><div id="sub1b">'+kitchen+'</div>';
						break;
	}
}

function swapMyPano(myPano){
	switch(myPano){
		case 'livingroom':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=livingroompano.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/livingroompanplan.gif" width="170" height="265"/></div><div id="sub1b">'+livingroompano+'</div>';
						break;
		case 'lowerunfinished':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=lowerunfinishedpano.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/unfinishedlowerpanplan.gif" width="170" height="265"/></div><div id="sub1b">'+lowerunfinishedpano+'</div>';
						break;
		case 'emptylivingroom':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=emptylivingroompano.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/emptylivingroompanplan.gif" width="170" height="265"/></div><div id="sub1b">'+emptylivingroompano+'</div>';
						break;
		case 'grounds_01':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=grounds_01.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/grounds_01_pan.gif" width="170" height="265"/></div><div id="sub1b">'+grounds_01+'</div>';
						break;
		case 'grounds_02':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=grounds_02.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/grounds_02_pan.gif" width="170" height="265"/></div><div id="sub1b">'+grounds_02+'</div>';
						break;
		case 'grounds_03':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=grounds_03.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/grounds_03_pan.gif" width="170" height="265"/></div><div id="sub1b">'+grounds_03+'</div>';
						break;
		case 'grounds_05':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=grounds_05.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/grounds_05_pan.gif" width="170" height="265"/></div><div id="sub1b">'+grounds_05+'</div>';
						break;
		case 'grounds_06':document.getElementById("mainimage").innerHTML = '<applet archive=panoapplet.jar code=panoapplet width=355 height=265><param name=file value=grounds_06.ivr><param name=initialView value="0.000000, 180.000005, 50.000001"><param name="autospin" value="50"></applet>';
						document.getElementById("sub1").innerHTML = '<div id="sub1a"><img src="img/grounds_06_pan.gif" width="170" height="265"/></div><div id="sub1b">'+grounds_06+'</div>';
						break;
	}

}

