function hideFooter()
{
	document.getElementById('footertext1').style.visibility = 'hidden';

	for (var i = 1; i <= 6; i++){
		document.getElementById('globalfootertext' + i).style.visibility = 'hidden';
	}		


	for (var j = 1; j <= numGroups; j++){
		document.getElementById('groupfootertext' + j).style.visibility = 'hidden';
	}		

}

function showFooter(el_id)
{
	hideFooter();
	document.getElementById(el_id).style.visibility = 'visible';
}



var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;

if (checkIt('konqueror'))
{
	browser = "Konqueror";
	OS = "Linux";
}
else if (checkIt('safari')) browser = "Safari"
else if (checkIt('omniweb')) browser = "OmniWeb"
else if (checkIt('opera')) browser = "Opera"
else if (checkIt('webtv')) browser = "WebTV";
else if (checkIt('icab')) browser = "iCab"
else if (checkIt('msie')) browser = "Internet Explorer"
else if (checkIt('netscape')) browser = "Mozilla"
else if (!checkIt('compatible'))
{
	browser = "Netscape Navigator"
	version = detect.charAt(8);
}
else browser = "An unknown browser";

if (!version) version = detect.charAt(place + thestring.length);

if (!OS)
{
	if (checkIt('linux')) OS = "Linux";
	else if (checkIt('x11')) OS = "Unix";
	else if (checkIt('mac')) OS = "Mac";
	else if (checkIt('win')) OS = "Windows"
	else OS = "an unknown operating system";
}

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}


  if (browser=="Mozilla"){  	  
	
	
			function BodyCarico() {
		     
		     document.getElementById('divFade').style.visibility='visible';
		     
				}
    	
   } 

else if (browser=="Netscape Navigator"){  	  
	
	
			function BodyCarico() {
		     
		     document.getElementById('divFade').style.visibility='visible';
		     
				}
    	
   } 


  else if (OS=="Mac"){  	  
	
	
			function BodyCarico() {
		     
		     document.getElementById('divFade').style.visibility='visible';
		     
				}
    	
   } 
     
     
     
   else {
		var iConto = 0;
      var iOpacity;

		function BodyCarico() {
		     imgFade.filters.alpha.opacity = 0;
		     document.getElementById('divFade').style.visibility='visible';
		     setTimeout("SbiadireTitolo()", 100);
		}
		
		function SbiadireTitolo() {
		     if (iConto <= 100) {
		          iConto = iConto + 5;
		          iOpacity = 100 * Math.sin(iConto/100 * 3.1415926/2);
		          imgFade.filters.alpha.opacity =iOpacity;
		          setTimeout("SbiadireTitolo()", 100);
		     }
      }


}