// add script as you please

//Generic pop-up window function, in which you specify the size of the window to be opened when calling the function
function openImage(page, pwidth, pheight) {
var features =
        'width='        + pwidth +
        ',height='      + pheight +
        "dependent=1,menubar=0,toolbar=0,scrollbars=0,location=0,statusbar=0,resizable=1"
    window.open(page, "newWindow", features);

}