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'] = "The most unique part of the Machal/Mach Hach experience is the opportunity to sleep in large army tents. Consistent with The Hill's overall goal of teaching independence to the chanichim, the chanichim are in separate sleeping quarters than their madrichim. Unfourtinately there are no photos available at this time of the tents. Check back soon!";
topTexts['hillGirls'] = "The most unique part of the Machal/Mach Hach experience is the opportunity to sleep in large army tents. Consistent with The Hill's overall goal of teaching independence to the chanichim, the chanichim are in separate sleeping quarters than their madrichim. Unfourtinately there are no photos available at this time of the tents. Check back soon!";


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");
}
