function initArray() {
 for (var i = 0; i < initArray.arguments.length; i++)
  this[i] = initArray.arguments[i];
 this.length = initArray.arguments.length;
}

var chrome = new initArray(
 "resizable,scrollbars",
 "");

var popUpWin

function makePopUpWin(pic,high,wide,text,features) {
 var tall = high + 300  
 var side = wide + 350  
 var describeIt = text
 var picture = eval("pic")
 var winFeatures = features
 if (!popUpWin || popUpWin.closed) {
   popUpWin = eval("window.open('','','"+chrome[winFeatures]+",height="+tall+",width="+side+"')")
   if (!popUpWin.opener) {
     popUpWin.opener = window
   }

   var popUpContent = "<html><head><title>Conchology - The Art & Science of Nature at worldwideconchology.com</title></head>"
   popUpContent += "<body><center><strong>" + describeIt + "</strong><p>" 
   popUpContent += "<img src="+picture+"><br><br>"
   popUpContent += "Unless otherwise noted all photos by Richard L. Goldberg &copy;2004<br>"
   popUpContent += "Return to shell images - " 
   popUpContent += "<a href='#' onClick='self.close()'>&nbsp;" 
   popUpContent += "Close Window</a></center></body></html>"
   popUpWin.document.write(popUpContent) 
   popUpWin.document.close()
 } else {
   popUpWin.focus()
 }
}

function closePopUpWin() {
 if (popUpWin && !popUpWin.closed)
  popUpWin.close();
}
