var topTexts  = new Object();
topTexts['hillBeitKenesset'] = "The Beit Knesset upstairs is the essence of Torah V'avodah in machaneh. Both sides of the mechitza were painted beautifully by chanichim of the past ten years. The Gazebo containing the Aron Kodesh has newly installed floors and painted walls, both from summer 2008.";
topTexts['hillBeitMidrash'] = "Built for the summer of 2002, the Beit Midrash upstairs is one of the most utilized building on The Hill. Besides the daily shiurim and sichot, chanichim on Machal/Mach Hach gather in the beit midrash nightly for voluntarily learning with salty snacks and soda.";
topTexts['hillChadarOchel'] = "The chadar ochel upstairs is much more than just a place to eat three meals a day. Mounted on the walls are shlatim (signs) dating all the way back to the 1970s. The chadar ochel is a great place to get out of the rain or bake a cake late at night.";
topTexts['hillBasketball'] = " Built by Shevet Dror, the hill basketball court is home to many fun night tochniot and competitive basketball games against Avodah.";
topTexts['hillWhiffle'] = "Home to our wiffleball games, Moishie's Backyard is something that makes The Hill very special and unique. Unlike baseball, wiffleball is played with a plastic bat and ball and the game is made more challenging with the fences set up at different distances and dimensions.";
topTexts['hillRayli'] = "Rayli's Playpen is The Hill's flickerball field. Built together by our maintenance staff and the chanichim of Machal Shevet Dvir during summer '08, Rayli's Playpen stands on a beautiful sanded landscape next to all of the other sports fields on The Hill.";
topTexts['hillAmpitheater'] = "The amphitheater upstairs has hosted more night tochniot than the rest of the places on The Hill combined. Be it 'nervous numbers' or 'make me laugh,' the amphitheater is a great place to gather for a guaranteed good time. ";
topTexts['hillBoys'] = "Built for the summer of 2011 our state of the art Yurts located on the boys and girls migrashim sleep 12-16 chanichim in a water-proof, weather-tight and insulated structure.";
topTexts['hillGirls'] = "Built for the summer of 2011 our state of the art Yurts located on the boys and girls migrashim sleep 12-16 chanichim in a water-proof, weather-tight and insulated structure.";
topTexts['hillMoadon'] = "The moadon upstairs is the center of fun for all of our Machal/Mach Hach chanichim. Located adjacent to Rayli's Playpen, the moadon is a great place to kick back and relax, after a long day of exercise on The Hill. The lounge chairs, foosball and ping-pong tables were donated for summer 2010.";


function highlight(building) {
	document.getElementById(building).style.backgroundColor = '#ffffff';
	document.getElementById('image').src = building + ".jpg";
}

function unhighlight(building) {
	document.getElementById(building).style.backgroundColor = 'rgb(119,173,209)';
	document.getElementById('image').src = "hillMap.jpg";
}

function hidediv() {
	document.getElementById('flash').style.visibility = 'hidden';
}

function showdiv(building) {
	document.getElementById('topText').innerHTML = topTexts[building];
	document.getElementById('flash').style.visibility = 'visible';
	fo.addVariable("xmlDataPath", building + 'Gallery.xml');
	fo.write("flashcontent");
}

