	
	$(function() {
		      
                $('#accordion > li').hover(

                    function () {
                        var $this = $(this);
                        $this.stop().animate({'width':'480px'},500);
                        $('.heading',$this).stop(true,true).fadeOut();
                        $('.bgDescription',$this).stop(true,true).slideDown(500);
                        $('.description',$this).stop(true,true).fadeIn();
                    },
                    function () {
                        var $this = $(this);
                        $this.stop().animate({'width':'100px'},1000);
                        $('.heading',$this).stop(true,true).fadeIn();
                        $('.description',$this).stop(true,true).fadeOut(500);
                        $('.bgDescription',$this).stop(true,true).slideUp(700);
                    }
                );
            });
			
			
				
$(document).ready(function() {
	
	
	$("#various4").fancybox();
	$("#poptv").fancybox();
	$("#popteatro").fancybox();
	$("#poppp").fancybox();
	$("#livro1").fancybox();
	$("#fvid").fancybox({
				'width'				: 1010,
				'height'			: 570,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
	$("#various3").fancybox();
			$("#various2").fancybox();
			$("#various1").fancybox();  
			$("#fbas").fancybox({
				'width'				: 1010,
				'height'			: 570,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			$("#fpp").fancybox({
				'width'				: 1010,
				'height'			: 570,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			$("#fvteatro").fancybox({
				'width'				: 640,
				'height'			: 300,
                'autoDimensions'        : false,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe',
				'titlePosition'		: 'inside'
			});
			$("#ftea").fancybox({
				'width'				: 1010,
				'height'			: 570,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			$("#ftv").fancybox({
				'width'				: 1010,
				'height'			: 570,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			$("#fcin").fancybox({
				'width'				: 1010,
				'height'			: 570,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
			
			$("#fvcin").fancybox({
				'width'				: 640,
				'height'			: 580,
                'autoDimensions'        : false,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe',
				'titlePosition'		: 'inside'
			});
			$("#parceiro").fancybox({
				'width'				: 630,
				'height'			: 440,
                'autoDimensions'    : false,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe',
				'titlePosition'		: 'inside'
			});
			$("#fvpp").fancybox({
				'width'				: 325,
				'height'			: 248,
                'autoDimensions'        : false,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe',
				'titlePosition'		: 'inside'
			});
                        $("#fcontc").fancybox({
				'width'				: 580,
				'height'			: 390,
                'autoDimensions'    : false,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe',
				'titlePosition'		: 'inside'
			});
			$("#fvtv").fancybox({
				'width'				: 640,
				'height'			: 580,
                'autoDimensions'    : false,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe',
				'titlePosition'		: 'inside'

			});
	
});
function ajaxdiv(conteu,arqv)
{
var xmlhttpe;
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttpe=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttpe=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttpe.onreadystatechange=function()
  {

   if (xmlhttpe.readyState==1 ){
	   document.getElementById(conteu).innerHTML = "Carregando...";
	   }
	   else
   if (xmlhttpe.readyState==4 && xmlhttpe.status==200)
    {
    document.getElementById(conteu).innerHTML=xmlhttpe.responseText;
    }
  }
xmlhttpe.open("GET",arqv,true);
xmlhttpe.send();	
}
