function blowup( imgName, title, orientation ) {
    if (orientation == 'L')  { // no scrollbars for landscapes
        scrollbars = 'scrollbars="no"';
    } else {
        scrollbars = 'scrollbars';
    }
    w = window.open('','IMG','toolbar="no",location="no",directories="no",status="no",' + scrollbars + ',resizable,copyhistory="no",width=1,height=1');
    w.document.write( "<html><head><title>"+title+"</title>\n" );
    w.document.write ('<meta http-equiv="Page-Enter" content="BlendTrans(Duration=1.0)" />' + "\n");
    w.document.write ('<meta http-equiv="imagetoolbar" content="no" />' + "\n");
    w.document.write( "<script language='JavaScript'>\n" );
    w.document.write( "function autoSize() {\n" );
    w.document.write( "imgWidth=document.images[0].width\n" );
    w.document.write( "imgHeight=document.images[0].height\n" );
    w.document.write( "if (imgWidth > imgHeight) { x=25; y=20  } else { x=30, y=15 }\n" );
    w.document.write( "self.resizeTo (x+imgWidth, y+imgHeight > 750 ? 750 : y+imgHeight);\n" );
    w.document.write( "self.focus()\n" );
    w.document.write( "}\n</script>\n" );
    w.document.write( "</head><body onLoad='javascript:autoSize();'>\n" );
    w.document.write( "<div align='center'><img src='"+imgName+"' border='0' alt='"+title+"'></div>\n" );
    w.document.write( "</body></html>" );
    w.document.close();
}
