var win1Open = null

var win2Open = null

 

function displayImage(picName, windowName, windowWidth, windowHeight){

  return window.open(picName,windowName,"toolbar=no,scrollbars=no,resizable=no,width=" + (parseInt(windowWidth)+20)  + ",height=" + (parseInt(windowHeight)+15)) 

  }

 

function winClose(){    // close all open pop-up windows   

  if(win1Open != null) win1Open.close() 

  if(win2Open != null) win2Open.close() 

  }

 

function doNothing(){}  // does nothing but required by JavaScript in this case
