$(function(){
	
	
	$('.fadein').hide();
	$('.fadein').hover().fadeIn(1500);	 /** $('#message').append("<img id='checkmark' src='../images/check.png' />"); ***/
	
	$(".titol-seccio").click(function() {
		var id = $(this).attr("id")+"_section";
		var effect = 'blind';
		var options = {};
		$("#"+id).toggle(effect,'','1000');
		return false;
	});


});
	
	/**
	
		
	
	
	/***
	$("#login-wraper").hide();	   
	$("#loginFormLink").click(function(){
		$("#login-wraper").fadeIn("Slow");
	});
	
	//Slider...
	$("#slider").easySlider({
		nextId:'next-img',
		prevId:'prev-img',
		controlsShow: true,
		nextText:'',
		prevText:'',
		orientation: 'horitzontal'
	});
	//input search
	$('#search').focus(function(){
		$(this).css({backgroundColor:"#FFF"});
		$(this).css({color:"#aaa"});
		document.getElementById('search').value="";
	});
	$('#search').blur(function(){
		$(this).css({background: "url('http://localhost:8888/cooltura/styles/images/bg-transparent.png') repeat"});
		$(this).css({color:"#CCC"});
		document.getElementById('search').value="Buscar events...";
	});
   // Dialog
			$('#dialog').dialog({
                    autoOpen: false,
                    width: 300,
                    resizable: false,
                    modal:true,
                    buttons: {
                            "Ok": function() {
                                    $(this).dialog("close");
                            },
                            "Cancel": function() {
                                    $(this).dialog("close");
                            }
                    }
            });

            // Dialog Link
            $('#dialog_link').click(function(){
                    $('#dialog').dialog('open');
                    return false;
            });
***/
       
