$(document).ready(function(){
    $("#slider").easySlider({
	auto: true,
	continuous: true,
	vertical:false,
	numeric: true,
	numericId:'controls',

	speed: 800,
	pause: 8000
    });

    $('.gallery a').prettyPhoto();

    $('.hidden').hide().parent().next().css({marginTop:'25px'});

    $('.show-hidden').click(function(){
	$(this).parent().find('.hidden').toggle('slow');
    }).toggle(function(){
	$(this).html($(this).attr('hide-text')).css({backgroundImage:"url('../images/website/bullet_arrow_up.png')"});
    },function(){
	$(this).html($(this).attr('show-text')).css({backgroundImage:"url('../images/website/bullet_arrow_down.png')"});
    });


    $('ul.list li').each(function(index,element){
	$(this).html($('<p></p>').html($(this).html()));
    });
    
});
