/*
    This script implements popup image window 
    Author: Ondrej Balaz <ondra@blami.net>
    Aubergray
 */

function popup(filename, width, height)
{
    var win1;
    win1 = window.open('', "_blank", "status=0, toolbar=0, menubar=0, location=0, resizable=false, scrollbars=false, width="+width+", height="+height+ "");
    win1.document.write("<head><style type='text/css' media='all'>* { margin: 0; padding: 0; }</style></head>");
    win1.document.write("<img src='"+filename+"' />");
    return false;
}

