function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

<!--

var NS = (navigator.appName=="Netscape")?true:false;


function popupImage(imgageSrc)
{  
    image = new Image(); 
    image.src =(imgageSrc); 
    imageCheck(imgageSrc); 
}

function imageCheck(imgageSrc)
{  
    if( (image.width!=0) && (image.height!=0) )   { 
        openPopupWindow(imgageSrc); 
    } else {
        funzione="imageCheck('"+imgageSrc+"')"; 
        intervallo=setTimeout(funzione,50); 
    }
}

function openPopupWindow(imgageSrc)
{  
      
        iWidth = image.width; 
        iHeight = image.height; 
    
        var args= "height=" + iHeight + ",innerHeight=" + iHeight;
        args += ",width=" + iWidth + ",innerWidth=" + iWidth;

 if (window.screen) { 
         var aHeight = screen.availHeight; 
         var aWidth = screen.availWidth;
         var xcen = (aHeight - iWidth) / 2; 
         var ycen = (aWidth - iHeight) / 2;
         var ycen = 0;
         args += ",left=" + xcen + ",screenX=" + xcen;
         args += ",top=" + ycen + ",screenY=" + ycen + ",resizable=0, scrollbars=0";  
 }
 args += ",resizable=0, scrollbars=0";
 //return window.open(imgageSrc, '', 'width=120, height=123, resizable=0, scrollbars=0'); 
 //alert(args);
 popwin=window.open("","_blank",args);
 popwin.document.clear();
 popwin.document.open();
 popwin.document.write("<html><head><title>Image<\/title><\/head><body topmargin=0 leftmargin=0 rightmargin=0 bottomargin=0 marginheight=0 marginwidth=0><a href=\"javascript:void(0);\" onClick=\"window.close()\"><img src=\""+imgageSrc+"\" width=\""+iWidth+"\" height=\""+iHeight+"\" border=0><\/a><\/body><\/html>");
 popwin.document.close(); 
 iWidth2 = (NS)?popwin.innerWidth:popwin.document.body.clientWidth; 
 iHeight2 = (NS)?popwin.innerHeight-4:popwin.document.body.clientHeight; 
 iWidth2 = image.width - iWidth2; 
 iHeight2 = image.height - iHeight2; 
 popwin.resizeBy(iWidth2, iHeight2); 

}

//-->
