<!--
function showText(id) {
//swaps out divs on sub pages
 Element.siblings(id).each( function(element) { //find visible div and hide it

  if(element.visible() &&  element != $('intro') && element != $('print_address')) {
    element.hide();
    navelement = 'n'+ Element.identify(element);
    if ($(navelement) != null ) {$(navelement).removeClassName('selected')};
    headlineelement = Element.identify(element) + 'head';
    extraelement = Element.identify(element) + 'extra';
    if ($(headlineelement) != null && $(headlineelement).visible()) {$(headlineelement).hide()};
    if ($(extraelement) != null && $(extraelement).visible()) {$(extraelement).hide()};
    //Effect.Fade(element);
  }
 }); 
$('text').classNames().each( function(element) {
    $('text').removeClassName(element);
 })
 $('text').addClassName(id.toLowerCase());
 Effect.Appear(id, { duration: 1.0 });
 $('n'+id).addClassName('selected');
if ($(id+ 'img') != null) $(id+ 'img').appear();
if ($(id+ 'extra') != null) $(id+ 'extra').appear();
if ($(id+ 'head') != null) $(id+ 'head').appear();
}

function swapPhoto(id) {
 Element.siblings(id).each( function(element) { //find visible div and hide it
  if(element.visible() &&  element != $('address')) {
    element.hide();
  }
 });  
Effect.Appear(id, { duration: 1.0 });
}

function showSelectedAnchor() {
 if (self.document.location.hash != null && $(self.document.location.hash.substring(1))) {
   showText(self.document.location.hash.substring(1));
 }

}

//-->

