var mapa =
{
	current:'matogrosso',
	show:function( target )
	{
		target = $( target ).attr( 'class' );
		if( target == mapa.current ) return;
		
		var func = function()
		{
			$( '.interna-view div.mapa p.' + mapa.current ).css( { opacity:'1', display:'none' } );
			mapa.current = target;
			$( '.interna-view div.mapa p.' + mapa.current ).stop().animate( { opacity:'show' }, 300 );
		}
		
		$( '.interna-view div.mapa p.' + mapa.current ).stop().animate( { opacity:'0' }, 300, func );
	}
}

var menu =
{
	show:function( target )
	{
		$( "#" + target ).stop().css( { display:"block", opacity:0 } ).
			animate( { opacity:'1' }, 300 ).mouseleave( menu.hide );
	},
	
	hide:function()
	{
		var t = $( this );
		var func = function()
		{
			t.css( { display:"none", opacity:1 } );
		}
		
		t.stop().animate( { opacity:'0' }, 300, func );
	}
}

