function SwitchContent(DivID,DivNr,NrofDivs) {
 if (document.getElementById) {
  var Property;  
  for (i = 1; i <= NrofDivs; i++) { 
   if (i == DivNr) {
    Property = 'block';
   }
   else {
    Property = 'none';
   }
   document.getElementById(DivID+i).style.display = Property;
  }
 }
}

function showGallery(path) {
 window.open(path, 'FlashGallery', 'width=750,height=690,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no'); 
}

function showCommentForm(path) {
 window.open(path, 'PostComment', 'width=750,height=690,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no'); 
}

function showContact(path) {
 window.open(path, 'Contact', 'width=250,height=100,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no'); 
}