// funçoes que define style em divisão

function checkBrowser(){
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5);
	return this;
}
bw=new checkBrowser()
//Hides the div
function hideIt(nome){
  div=nome;
  obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?document[div]:0; 
  obj.visibility='hidden';
}
//Show the div
function ShowIt(nome){
  div=nome;
  obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?document[div]:0; 
  obj.visibility='visible';
}

//top the div
function topIt(nome){
  div=nome;
  obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?document[div]:0; 
  obj.visibility='visible';
  obj.position='absolute';
  obj.top=1;
}
