<!--
function abrejanela(prhtml,prtitle,prwidth,prheight)
{
  window.open(prhtml,prtitle,"width="+prwidth+",height="+prheight)
}

function centerwindow(prurl,prtitle,prwidth,prheight)
{
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - prwidth / 2;
var toppos = height / 2 - prheight / 2;
window.open(prurl,prtitle,'scrollbars=no,status=no,toolbar=no,resizable=0,location=no,menu=no,width=' + prwidth + ',height=' + prheight +',left=' + leftpos + ',top=' + toppos);
}

function centerwindow2(prurl,prtitle,prwidth,prheight)
{
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - prwidth / 2;
var toppos = height / 2 - prheight / 2;
window.open(prurl,prtitle,'scrollbars=yes,status=no,toolbar=yes,resizable=1,location=no,menu=no,width=' + prwidth + ',height=' + prheight +',left=' + leftpos + ',top=' + toppos);
}

function centerwindow3(prurl,prtitle,prwidth,prheight)
{
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - prwidth / 2;
var toppos = height / 2 - prheight / 2;
window.open(prurl,prtitle,'scrollbars=yes,status=no,toolbar=no,resizable=1,location=no,menu=no,width=' + prwidth + ',height=' + prheight +',left=' + leftpos + ',top=' + toppos);
}



function JanelaFilha(prwidth,prheight,prsFile) {
var win;
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - prwidth / 2;
var toppos = height / 2 - prheight / 2;

win = window.open('','','scrollbars=no,status=no,toolbar=no,resizable=0,location=no,menu=no,width=' + prwidth + ',height=' + prheight +',left=' + leftpos + ',top=' + toppos);
win.document.open();
win.document.write("<html>");
win.document.write("<head>");
win.document.write("<title>http://www.hostmw.com</title>");
win.document.write("</head>");
win.document.write('<body bgcolor="#FFFFFF" onBlur=this.close();>');
win.document.write("<p>&nbsp;</p>");
win.document.write('<table border="0">');
win.document.write("    <tr>");
win.document.write("        <td>&nbsp;</td>");
win.document.write("        <td><img");
win.document.write('        src= ' + prsFile );
win.document.write('        width="480" height="360"></td>');
win.document.write("        <td>&nbsp;</td>");
win.document.write("    </tr>");
win.document.write("    <tr>");
win.document.write("        <td>&nbsp;</td>");
win.document.write("        <td>&nbsp;</td>");
win.document.write("        <td>&nbsp;</td>");
win.document.write("    </tr>");
win.document.write("</table>");
win.document.write('<a href="javascript:parent.close()"><p align="center"><strong>Fechar</strong> </p></a>');
win.document.write("<br");
win.document.write("</body>");
win.document.write("</html>");
win.document.close();
}

function JanelaFilhaImagem(prwidth,prheight,prsFile,prsLang) {
var win;
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - prwidth / 2;
var toppos = height / 2 - prheight / 2;

win = window.open('','','scrollbars=yes,status=no,toolbar=no,resizable=0,location=no,menu=no,width=' + prwidth + ',height=' + prheight +',left=' + leftpos + ',top=' + toppos);
win.document.open();
win.document.write("<html>");
win.document.write("<head>");
win.document.write("<title>http://www.hostmw.com</title>");
win.document.write("</head>");
win.document.write('<body bgcolor="#FFFFFF" onBlur=this.close();>');
win.document.write("<p>&nbsp;</p>");
win.document.write('<table border="1">');
win.document.write("    <tr>");
win.document.write("        <td><img");
win.document.write('        src= ' + prsFile );
win.document.write('                       ></td>');
win.document.write("    </tr>");
win.document.write("</table>");
if(prsLang == 'br'){
  win.document.write('<a href="javascript:parent.close()"><p align="center"><strong>Fechar</strong> </p></a>');
}
else if(prsLang == 'us'){
  win.document.write('<a href="javascript:parent.close()"><p align="center"><strong>Close</strong> </p></a>');
}
else if(prsLang == 'es'){
  win.document.write('<a href="javascript:parent.close()"><p align="center"><strong>Cierre</strong> </p></a>');
}
win.document.write("<br");
win.document.write("</body>");
win.document.write("</html>");
win.document.close();
}

// -->

