// JavaScript Document
 
                                                     /*LASTFM FEED*/ 
 
jQuery(document).ready( function() {
  var _config = {username: 'hunson',                 // last.fm username
                 placeholder: 'lastfmrecords',       // id of the div in HTML to use for cd covers
                 defaultthumb: 'http://dl.getdropbox.com/u/598084/Calcium%20Theme/images/noimage.png',                                                     // image shown for no cd cover found
                 period: 'recenttracks',              // recenttracks, 7day, 3month, 6month, 12month, overall, topalbums and lovedtracks
                 count: 6,                           // number of images to show
                 refresh: 5,                        // when to get new data from last.fm (in minutes)
                 offset: 8                           // difference between your timezone and GMT.
                };

  lastFmRecords.debug();                             // log to console
  lastFmRecords.init(_config);
});

                                                     /*RETURN TO TOP*/

$(document).ready(function() {
	$('a.returntop').click(function(){
		$('html, body').animate({scrollTop:0}, 'slow');
	});
});



                                                     /*LIGHTBOX*/

$(function() {
	$('.feature a').lightBox();
});

                                                     /*SLIDER*/

$(document).ready(function(){	
	$("#slider").easySlider({
		auto: true,
		pause: 3000,
		continuous: true 
	});
});

                                                     /*FADE EFFECT*/

$(document).ready(function(){
	$("span.feature img, span.flickr_feed img").fadeTo("slow", 0.6);  
	$("span.feature img, span.flickr_feed img").hover(function(){
	$(this).fadeTo("slow", 1.0); 

		},function(){
			$(this).fadeTo("slow", 0.6);

	});
});

                                                     /*TOGGLE*/

 $(document).ready(function(){   
    $("a.contact").click(function () {
      $("#contact").toggle("normal");
    });
 }); 
 
