// JavaScript Document
$.fn.cycle.defaults.speed   = 900;
$.fn.cycle.defaults.timeout = 6000;
$(document).ready(function(){ 
						   
$("#buscador input").click(function(){
									$(this).val("");
									})
$("#buscador img").click(function(){
	window.formulari.submit();
									})   
    
	$.sifr({path:'js/swf/'});
	$('#menu li a').sifr({font:'optima'});

   $(".feature-image-list-container").jCarouselLite({vertical:true,auto:5000,visible:1,speed:0, btnNext: "#flechaSigu"});


	
/*	$("a").click(function(event){

     event.preventDefault();
	 var parametros="ajax=ok";
	 alert(parametros);
	 direccion=$(this).attr("href");
			$.ajax({
				   type: "POST",
				   url: direccion,
				   data: parametros,
				   success: function(datos){
					    $("#textocontenido").html(datos);
					    $("#textocontenido").css("visibility","visible");

											}	});
			
	
   });*/
	
   $('#slide_photos').cycle({random:1});
   $('.imagenesPase').cycle({random:1});
$(":submit").addClass('Butt');
}); 

$(function(){$(document).pngFix();});

Shadowbox.init({
    // let's skip the automatic setup because we don't have any
    // properly configured link elements on the page
   autoplayMovies:true,
    // include the html player because we want to display some html content
    players: ["img","iframe","html"]
});