function AbreVentana(URL_Ventana, OpcionesVentana, Ancho, Alto, Centrada, PosX, PosY) {
if (Centrada) {
PosX = (screen.availWidth - Ancho)/2;
PosY = (screen.availHeight - Alto)/2;
}
if (OpcionesVentana == '')
OpcionesVentana = 'width=' + Ancho;
else
OpcionesVentana += ',width=' + Ancho;
OpcionesVentana += ',height=' + Alto + ',left=' + PosX + ',top=' + PosY;
window.open(URL_Ventana, "", OpcionesVentana);
}
function AbreVentanaCSB(URL_Ventana, Ancho, Alto) {
AbreVentana(URL_Ventana, "scrollbars=1", Ancho, Alto, true);
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}