function makeNewWindow(imgsrc,wintitle,w,h) {
        var output = ""
        newWindow = window.open("","",
                "HEIGHT="+h+",WIDTH="+w+",status,scrollbars,resizable")

        output += '<TITLE>' + wintitle + '</TITLE>'
        output += '<IMG SRC="' + imgsrc + '">'

        newWindow.document.write(output)
        newWindow.document.close()
                
}

function closeNewWindow() {
        if (newWindow) {
                newWindow.close()
        }
}

function hardReload() {
        location.reload(true)
}

