﻿function openPhotoViewer(keyID, startIndex) {
    var key = keyID.toString();
    var start = startIndex.toString();
    var newWindow = window.open("/Portfolio/PhotoViewer.aspx?key=" + key + "&start=" + startIndex, "photoWindow", "scrollbars=yes,menubar=no,height=675,width=850,resizable=yes,toolbar=no,location=no,status=no");
    if (newWindow.focus) {
        newWindow.focus();
    }
}
