function slideshow(url)
 {
  satWidth = 900;
  satHeight = 700;
  new_window=window.open(url,'dia','toolbar=no,scrollbars=no,resizable=yes,status=no,menubar=no,location=no,fullscreen=yes,screenX=0,screenY=0,left=0,top=0,width=' + satWidth + ',height=' + satHeight + '');
  new_window.focus();
  return false;
 }

function hide_comment_form()
 {
  document.getElementById('commentform').style.display='none';
  document.getElementById('show_commentform').style.display='block';
 }
 
function show_comment_form()
 {
  document.getElementById('commentform').style.display='block';
  document.getElementById('show_commentform').style.display='none';
  location.hash='commentform';
  document.getElementById('comment_text').focus();
 }
 
function show_comments()
 {
  document.getElementById('commentcontainer').style.display='block';
  document.getElementById('commentlink').style.display='none';
  location.hash='comments';
 }   

img1 = new Image();
img1.src ="templates/img/next_mo.gif";
img2 = new Image();
img2.src ="templates/img/prev_mo.gif";
img3 = new Image();
img3.src ="templates/img/magnifier_plus.gif";
img4 = new Image();
img4.src ="templates/img/magnifier_minus.gif";

