<!--
var newWindow = null
function Text(html,nombreventana,ancho,largo)
{        newWindow=window.open(html,nombreventana,"width="+ ancho +",height="+ largo +",status,scrollbars,resizable");
}

function TextBild(html,nombreventana,ancho,largo)
{        newWindow=window.open(html,nombreventana,"width="+ ancho +",height="+ largo +",nostatus,noscrollbars,noresizable");
}

function Bild(NombreVentana,Imagen,AltText,Ancho,Alto)
{        //alert(NombreVentana+'-'+Imagen+'-'+AltText+'-'+Ancho+'-'+Alto)
        if (Ancho<=0)        Ancho=600;
        if (Alto<=0)        Alto=400;

        newWindow = window.open("",NombreVentana,"width="+ Ancho +",height="+ Alto +",status,noscrollbars");
        if (newWindow != null)
        {
                var newContent = '';
                newContent += '<html><head><title>'+ AltText +'.</title>';
                //newContent += '<link rel="stylesheet" href="css/est.css" type="text/css">';        // Si pongi esto, en Netscape sale en blanco (bgcolor) la ventana
                newContent += '</head>';

                newContent += '<body bgcolor="#777e91" text="#dddddd" link="#ffffff" vlink="#eeeeee" alink="#ff0000" marginheight=0 topmargin=0 marginwidth=0 leftmargin=0>';
                newContent += '<img src="'+ Imagen +'" width='+ Ancho +' height='+ Alto +' border="0" alt="'  +AltText+ '">';

                newContent += '<div id="AreaTexto" style="position: absolute; left: 0px; top: 0px; width: '+ Ancho +'; height: '+ Alto +'; padding: 0; visibility: visible; z-index: 2; text-align: right; vertical-align: bottom; ">';
                newContent += '<table border="0" width="'+ Ancho +'" height="'+ Alto +'" cellspacing="2" cellpadding="2">';
                newContent += '<tr><td valign="bottom" align="right">';
                newContent += '<p style="font-family: Arial,Helvetica; font-size: 10pt; color: #eeeeee; font-weight: bold; background-image: url(../img/tx-fondo-ray.gif);">&nbsp;'+ AltText +'&nbsp; </p></td>';
                newContent += '<form>'
                newContent += '<td width="1%" valign="bottom" align="right"><font face="Arial" size="1"><b><input type="button" value=" x " onClick="self.close()"></b></font></td>'
                newContent += '</tr>'
                newContent += '</form>'
                newContent += '</table>';
                newContent += '</div>';


                newContent += '</body></html>'
                newWindow.document.write(newContent)
        }
}
function Film(pag)
{        window.open(pag,"","width=320,height=325,noscrollbars,resizable,");
}

//-->

