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) {
 if (navigator.appVersion.indexOf('Chrome') > 0) window.open(path, 'FlashGallery', 'width=750,height=695,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no');  	
 else window.open(path, 'FlashGallery', 'width=750,height=690,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no'); 
}

function showCommentForm(path) {
 if (navigator.appVersion.indexOf('Chrome') > 0) window.open(path, 'PostComment', 'width=750,height=695,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no');  	
 else window.open(path, 'PostComment', 'width=750,height=690,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no'); 
}

function showContact(path) {
 if (navigator.appVersion.indexOf('Chrome') > 0) window.open(path, 'Contact', 'width=250,height=105,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no');  	
 else window.open(path, 'Contact', 'width=250,height=100,left=90,top=30,scrollbars=no,resizable=no,status=no,location=no'); 
}
