/***************************************
****************************************
    GENERAL SCRIPTS
****************************************
***************************************/


/***************************************
    ON DOCUMENT LOAD
    ------------------------------------
    Any code between this function
    executs when the page had loaded
    fully.
***************************************/

Cufon.replace('h2,h3')
Cufon.now();



	




$(document).ready(function() {
	$('nav ul a').hover(function() { //mouse in
		$(this).animate({ marginRight: '5px' }, 200);
	}, function() { //mouse out
		$(this).animate({ marginRight: 0 }, 200);
	});

		
});


$(document).ready(function() {
	$('#beardtip').hover(function() { //mouse in
		$('#bubble').animate({ opacity: '1.5' },300);
		$('#beardtip').animate({ paddingTop: '2px' },10);
		
	}, function() { //mouse out
		$('#bubble').animate({ opacity: '0' }, 300);
		$('#beardtip').animate({ paddingTop: '0px' },10);
		
	});
});




$(function(){
    $('#flickr a').click(function(){
        window.open(this.href);
        return false;
    });
});

$(document).ready(function() {

			//display heading and caption
			$('#printhang', this).animate({top:10},{duration:200}); 
			
		}, 

	
$(document).ready(function () {

	// transition effect
	style = 'easeOutQuart';

	// if the mouse hover the image
	$('.scrollable li').hover(
		function() {
			//display heading and caption
			$('span', this).animate({top:10},{duration:200, easing: style, queue: false}); 
			
		}, 
	
		function() {
			//hide heading and caption
			$('span', this).animate({top:-215},{duration:200, easing: style, queue: false});
			
		}
	);

});




$(function() {		
		
	// initialize scrollable 
	$("div.scrollable").scrollable({
		size: 1,
		items: '#thumbs',  
		hoverClass: ''
		
	});	
	
});

 $(document).ready(function(){
    $('div#lastfm').lastFM({
        username: 'axecore',
        apikey: 'ca69857a2b6a4be2a5b5188d6552547b',
        number: 8,
        artSize: 'large',
        noart: 'Images/blank_cd.jpg',
        onComplete: function(){
            //Done
        }
    });
});
    
	


     
    

	 



