$(document).ready(function(){
	$.sifr({
		path: 'src/',
		save: true
	});
	$('h1').sifr({ font: 'helvetica' });
	
	$('#mainHeadlineImg').cycle({ 
		delay:  5000, 
		speed:  1000, 
		pause:  1,
		before: onBefore 
	}); 
	 
	function onBefore() { 
		$('#mainHeadlineTxt').html(this.alt); 
	}; 
	
	$('#playerButtons img').hover(
      function () {
		$(this).fadeTo("fast", 0.70);
        $('#playerButtons span').html(this.alt);
      }, 
      function () {
		$(this).fadeTo("fast", 1);
        $('#playerButtons span').html(" ");
      }
    );


});