<!--
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)
}
function abrir_ventana(url,largo,ancho,barras){ //pws - v1.0
//ej: onClick="abrir_ventana('ventana.asp',300,400,'no')"
topPos = (screen.availHeight-ancho)/2;
leftPos = (screen.availWidth-largo)/2;
window.open(url,'ShowPictures',"status=no,resizable=no,toolbar=no,location=no,scrollbars="+barras+",menubar=0,width="+largo+",height="+ancho+",top="+topPos+",left="+leftPos);
}
function mensaje(msg) { //pws - v1.0
  alert(msg);
}
function GP_popupConfirmMsg(msg) {
  document.MM_returnValue = confirm(msg);
}
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function Gourl(texto) {
MM_goToURL('parent',texto);return document.MM_returnValue
}
function Gourl2(texto) {
MM_goToURL('parent.frames[\'mainFrame\']',texto);return document.MM_returnValue
}
//-->
