﻿// JScript File
    var width = 640;
    var height = 480;
    if (screen.width > 800) {
        width = 800;
        height = 600;
    }
    
    function ImageWindow(imgURL) {
        //bypass norton internet security popup blocker
        if (typeof SymRealWinOpen != 'undefined') {
            if(navigator.appVersion.indexOf("MSIE")!=-1) { /* ie */
                window.open = SymRealWinOpen;
            } else {
                alert('Norton Internet Security may block this popup.\nPlease disable your popup blocker if you experience any problems.');
            }
        }
        // pop appropriately sized window
        if (screen.width > 800)
            w=window.open(imgURL,'ImageWindow','menubar=no,toolbar=no,status=no,width='+(width+60)+',height='+(height)+',resizable=yes,scrollbars=yes');
        else
            w=window.open(imgURL,'ImageWindow','menubar=no,toolbar=no,status=no,width='+(width+40)+',height='+(height+80)+',resizable=yes,scrollbars=yes');
        w.focus();
    }
