function openWindow(_url, _title, _width, _height) 
    {
        var astr = '';
        var param = '';
        
        param = 'width=' + _width + ',height=' + _height + ',toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no';
        NewWindow = window.open('','', param);
        ndoc = NewWindow.document;
        ndoc.close();
        ndoc.open();
        
        astr += '<html>\r\n';
        astr += '   <head><title>'+_title+'</title></head>\r\n';
        astr += '   <body style="margin: 0; padding: 0;">\r\n';
        astr += '       <a href="javascript: window.close();" onclick="window.close(); return false;"><img src="' + _url + '" width="' + _width + '" height="' + _height + '" border="0" alt="" hspace="0" vspace="0"></a>\r\n';
        astr += '   </body>\r\n';
        astr += '</html>';
        
        ndoc.write(astr);
        ndoc.close();
        
        self.win = NewWindow;
    }