//
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);




var pgLoaded = false;
var wndo = new Array();	// "window(s)" for scrollable content

function initScrLyr() {
	pgLoaded=true;	
	// creat scrollable content area
	// arg: id of div containing scrollable div(s)
	wndo[0] = new dynObj('wn');	
	// load scrolling content
	// arg's: array number of wndo, id of scroll div, id of table
	loadScrLyr(0,'lyr1','t1');	
}

//window.onload = initScrLyr;

//
function remote (lugar, largura, altura) {
  var floater= null
window.open(lugar,'vjanela','width='+largura+',height='+altura+',resizable=0,status=0,scrollbars=0,directories=no')
  if (floater !=null) {
    if (floater.opener == null) {
	  floater.opener = self
	}
	floater.location.href = lugar
  }
}
//
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
