<!--

/*This script was made by Ray Stott. http://www.crays.com/jsc/. A great script if you want to make a picture album where the images pop up in a new window. It took me almost 14 days to find something that could help me make this excact function, and suddenly thee it was - the whole script... :))*/

// Use this function to control placement of pop-up window
// in Netscape 4+ and Internet Explorer 4+
function openPopImgWin(imgWinName, windowWidth, windowHeight){
  var leftX = 100  // distance of window's left side from left of screen
  var topY = 150   // distance of window's top side from top of screen
  var winFeatures = "toolbar=0,scrollbars=0,resizable=0,width=" 
    + windowWidth + ",height=" + windowHeight
  if (leftX>0){
    winFeatures += ",screenX=" + leftX + ",left=" + leftX	
                + ",screenY=" + topY + ",top=" + topY
    }
  return window.open("pimg.htm", imgWinName, winFeatures)
  }
//-->