function enlargeimage(path, optWidth, optHeight){ //function to enlarge image. Change as desired.
var actualWidth=typeof optWidth!="undefined" ? optWidth : "400px" //set 400px to default width
var actualHeight=typeof optHeight!="undefined" ? optHeight : "300px" //set 300px to  default height
var winattributes="width="+actualWidth+",height="+actualHeight+",toolbar=no,location=no,scrollbars=no,resizable=no"
window.open(path,"", winattributes)
}