function logo(){
 document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0' width='220' height='140'>");
       document.write(" <param name='movie' value='images_geral/logo.swf' />");
       document.write(" <param name='quality' value='high' />");
	    document.write(" <param name='wmode' value='transparent' />");
		document.write(" <param name='menu' value='false' />");
      document.write("<embed src='images_geral/logo.swf' quality='high' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='220' height='140' wmode='transparent'></embed>");
   document.write("</object>");
	  }
	 
	 
	 //function popup(){
//document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0' width='319' height='250'>")
// document.write(" <param name='movie' value='televisao.swf'>")
 //document.write(" <param name='quality' value='high'>")
// document.write(" <param name='wmode' value='transparent'>")
// document.write(" <embed src='televisao.swf' quality='high' wmode='transparent' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='319' height='250'></embed>")
//document.write("</object>")
		 
	 //}
	 
function popup(){
 document.write("<img src='images_geral/aviso1.gif'>");
	  }
	  
//
// addLoadEvent()
// Adds event to window.onload without overwriting currently assigned onload functions.
// Function found at Simon Willison's weblog - http://simon.incutio.com/
//


//balão tooltip
var obj;
var tagname = new Array('img', 'address');

var tooltip = {
    
    init: function(){
                
        obj = document.createElement('div');
        obj.setAttribute('id', 'tooltip');
        
        document.body.appendChild(obj);
        
        window.document.onmousemove = this.move;
        
        for(var i = 0; i < tagname.length; i++){
            
            var ancora = document.getElementsByTagName(tagname[i]);
            
            for(var j = 0; j < ancora.length; j++){
                
                var a = ancora[j];
                texttitle = a.getAttribute('title');
                
                if(texttitle){
                    
                    a.setAttribute('sTitle', texttitle);
                    a.removeAttribute('title');
                    
                    a.onmouseover = function(){
                        
                        t = this.getAttribute('sTitle');
                        
                        obj.innerHTML = t;
                        obj.style.display = 'block';
                        
                    };// end function
                    
                    a.onmouseout = function(){
                        
                        obj.innerHTML = '';
                        obj.style.display = 'none';
                        
                    };// end function
                    
                }//end if
                
            }//end for
            
        }//end for
        
    },
    
    move: function(e){
        
        e = e || window.event;
        
        if(e.pageX || e.pageY){
            
            x = e.pageX;
            y = e.pageY;
            
        }else{
            
            x = e.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft) - document.documentElement.clientLeft;
            y = e.clientY + (document.documentElement.scrollTop ||  document.body.scrollTop) -  document.documentElement.clientTop;
            
        }//end if
        
        obj.style.left = (x+5)+'px';
        obj.style.top = (y-35)+'px';
        obj.style.position = 'absolute';
        
        return true;
        }
        
        }