
			/*
			$(document).ready(function() {			
				//$("#divIntro").css("visibility","hidden");			
			});
							
			function iniciar_intro(){			
				$("body").css("overflow", "hidden");
				$("#divIntro").css("visibility","visible");				
			}
			*/
		
			function terminar_intro(){							
				
				$("#divIntro").fadeOut("slow", function(){
					$("body").css("overflow", "visible");
				});
			}
		
			$("#swfobject_flashIntro").ready(function() {
				
		var flashvars={};
		
		var params={};
		params.wmode = "transparent";params.menu = "false";
		var attributes={};
					  
			    swfobject.embedSWF("imagenes/intro.swf", "swfobject_flashIntro", "1024", "500", "5", "", flashvars, params, attributes);
			});
		
					$(document).ready(correct_height_boxFotosIntro);
					$(window).resize(correct_height_boxFotosIntro);
					function correct_height_boxFotosIntro(){
						height_px=$("#boxFotosIntro").height();
						height_px2=height_px-150;
						$("#boxFotosIntroInner").height(height_px2);
					};
				
			$(document).ready(function() {
				$("#id4").cycle({
					
				});
			});			
		
  $(function(){
    $("#id9").buildMenu(
    {
      template:"menuVoices.php",
      additionalData:"pippo=1",
      menuSelector: ".menu",
      menuWidth:240,
      openOnRight:false,
      iconPath:"",
      hasImages:true,
      fadeInTime:0,
      fadeOutTime:0,
      menuTop:0,
      menuLeft:-2,
      submenuTop:5,
      submenuLeft:5,
      opacity:1,
      shadow:true,
      shadowColor:"black",
      shadowOpacity:0.2,
      openOnClick:false,
      closeOnMouseOut:true,
      closeAfter:500,
      minZindex:"auto",
      hoverInted:0
    });

  });
  
  //this function get the id of the element that fires the context menu.	
  function testForContextMenu(el){
    if (!el) el= $.mbMenu.lastContextMenuEl;
    alert("the ID of the element is:   "+$(el).attr("id"))
  }

					$(document).ready(correct_height_boxCabecera);
					$(window).resize(correct_height_boxCabecera);
					function correct_height_boxCabecera(){
						height_px=$("#boxCabecera").height();
						height_px2=height_px-0;
						$("#boxCabeceraInner").height(height_px2);
					};
				
			$(document).ready(function() {
				$("#id38").cycle({
					fx: "scrollVert",
speed: 3000,
timeout: 5000,
next: "#jcycleCabeceraNext",
prev: "#jcycleCabeceraPrev"
				});
			});			
		
					$(document).ready(correct_height_id49);
					$(window).resize(correct_height_id49);
					function correct_height_id49(){
						height_px=$("#id49").height();
						height_px2=height_px-0;
						$("#id49Inner").height(height_px2);
					};
				
			$(document).ready(function() {
				$("#id50").cycle({
					fx: "scrollHorz",
shuffle: {top: 110, left:-20},
pager: "#nav_21"
				});
			});			
		
					$(document).ready(correct_height_id116);
					$(window).resize(correct_height_id116);
					function correct_height_id116(){
						height_px=$("#id116").height();
						height_px2=height_px-0;
						$("#id116Inner").height(height_px2);
					};
				
			$(document).ready(function() {
				$("#id117").cycle({
					fx: "scrollHorz",
delay: 300,
shuffle: {top: 110, left:-20},
pager: "#nav_23"
				});
			});			
		
					$(document).ready(correct_height_id147);
					$(window).resize(correct_height_id147);
					function correct_height_id147(){
						height_px=$("#id147").height();
						height_px2=height_px-14;
						$("#id147Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id149);
					$(window).resize(correct_height_id149);
					function correct_height_id149(){
						height_px=$("#id149").height();
						height_px2=height_px-14;
						$("#id149Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id154);
					$(window).resize(correct_height_id154);
					function correct_height_id154(){
						height_px=$("#id154").height();
						height_px2=height_px-14;
						$("#id154Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id156);
					$(window).resize(correct_height_id156);
					function correct_height_id156(){
						height_px=$("#id156").height();
						height_px2=height_px-14;
						$("#id156Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id158);
					$(window).resize(correct_height_id158);
					function correct_height_id158(){
						height_px=$("#id158").height();
						height_px2=height_px-14;
						$("#id158Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id160);
					$(window).resize(correct_height_id160);
					function correct_height_id160(){
						height_px=$("#id160").height();
						height_px2=height_px-14;
						$("#id160Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id165);
					$(window).resize(correct_height_id165);
					function correct_height_id165(){
						height_px=$("#id165").height();
						height_px2=height_px-14;
						$("#id165Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id167);
					$(window).resize(correct_height_id167);
					function correct_height_id167(){
						height_px=$("#id167").height();
						height_px2=height_px-14;
						$("#id167Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id172);
					$(window).resize(correct_height_id172);
					function correct_height_id172(){
						height_px=$("#id172").height();
						height_px2=height_px-14;
						$("#id172Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id174);
					$(window).resize(correct_height_id174);
					function correct_height_id174(){
						height_px=$("#id174").height();
						height_px2=height_px-14;
						$("#id174Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id176);
					$(window).resize(correct_height_id176);
					function correct_height_id176(){
						height_px=$("#id176").height();
						height_px2=height_px-14;
						$("#id176Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id180);
					$(window).resize(correct_height_id180);
					function correct_height_id180(){
						height_px=$("#id180").height();
						height_px2=height_px-14;
						$("#id180Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id182);
					$(window).resize(correct_height_id182);
					function correct_height_id182(){
						height_px=$("#id182").height();
						height_px2=height_px-14;
						$("#id182Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id184);
					$(window).resize(correct_height_id184);
					function correct_height_id184(){
						height_px=$("#id184").height();
						height_px2=height_px-14;
						$("#id184Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id186);
					$(window).resize(correct_height_id186);
					function correct_height_id186(){
						height_px=$("#id186").height();
						height_px2=height_px-14;
						$("#id186Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id189);
					$(window).resize(correct_height_id189);
					function correct_height_id189(){
						height_px=$("#id189").height();
						height_px2=height_px-0;
						$("#id189Inner").height(height_px2);
					};
				
					$(document).ready(correct_height_id193);
					$(window).resize(correct_height_id193);
					function correct_height_id193(){
						height_px=$("#id193").height();
						height_px2=height_px-0;
						$("#id193Inner").height(height_px2);
					};
				
