<!--
var ns4 = (document.layers)? true:false;         //NS 4
var ie4 = (document.all)? true:false;         //IE 4
var dom = (document.getElementById)? true:false;   //NS 6 ou IE 5

function SetDiv(ID,Content) {
      if (dom) {
//	alert(ID+',content'+Content);
      var d1 = document.getElementById(ID);
	  d1.innerHTML = Content;
         return;
      }
      if (ie4) {
          document.all[ID].innerHTML = Content;
          document.all[ID].flush();
         return;
      }
      if (ns4) {
          with (eval('document.'+ID+'.document')) {
             open();
             write(Content);
             close();
         }
         return;
      }
   }
   
function ShowDiv(ID) {
	if (dom) {
		
	var d1 = document.getElementById(ID);
	d1.style.display=d1.style.display=="none"?"block":"none";
	return;
	}
	 if (ie4) {
     document.all[ID].style.display = document.all[ID].style.display=="none"?"block":"none";
     return;
    }
	
}

function popUp(URL) 
	{
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=100,height=100');");
	}
	
function maximize()
	{
	window.moveTo(0,0);
	if (document.getElementById || document.all) 
	  {
	  window.resizeTo(screen.availWidth, screen.availHeight);
	  }
	else if (document.layers) 
	  {
	  if (window.outerHeight<screen.availHeight || window.outerWidth<screen.availWidth)
		{
		window.outerHeight = screen.availHeight;
		window.outerWidth = screen.availWidth;
		}
	  }
	}
-->