function open_image(path_image,name_image) {
    i1 = new Image;
    i1.src = path_image;
    html = '<HTML>\n<HEAD>\n<TITLE>' + name_image + '</TITLE>\n</HEAD>\n<BODY BGCOLOR="#faf7e9" LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>\n<CENTER><IMG SRC="'+path_image+'" BORDER=0 NAME=imageTest onClick="self.close()" onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+32)"></CENTER>\n</BODY>\n</HTML>';
    popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
    popupImage.document.open();
    popupImage.document.write(html);
    popupImage.document.close()
};
