function openPictureWindow(viewerFile,firstPic) {
    myPath = viewerFile+"?p=" + firstPic;
    myWindow = window.open(myPath, "myPopUp", "width=595,height=450");
    myWindow.focus();
}
