var _config = { username: 'nikozz',
                    placeholder: 'lastfmrecords',
                    defaultthumb: 'http://cdn.last.fm/depth/catalogue/noimage/cover_85px.gif',
                    count: 6,
                    period: '7day',
                    refresh: 1,
                    offset: +0                  };
    jQuery(document).ready( function() {

      lastFmRecords.init(_config);
    });


$(document).ready(function(){
    
    $("a.viewonmap").click(function () {
      if ($("#geo").is(":hidden")) {
        $("#geo").slideDown("slow");
      } else {
        $("#geo").slideUp("fast");
      }
    });
    
     $("a#headernav").click(function () {
      if ($("#headerintro").is(":hidden")) {
        $("#headerintro").slideDown("fast");
      } else {
        $("#headerintro").slideUp("fast");
      }
    });


  });

    $(document).ready(function(){
        $(".tweet").tweet({
            username: "nikozz",
            join_text: "auto",
            avatar_size: 0,
            count: 6,
            auto_join_text_default: "",
            auto_join_text_ed: "",
            auto_join_text_ing: "",
            auto_join_text_reply: "",
            auto_join_text_url: "",
            loading_text: "Tweets laden..."
        });
    });
	



$(document).ready(function(){
	// Via http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/
	$('.boxgrid.captionfull').hover(function(){
		$(".cover", this).stop().animate({top:'150px'},{queue:false,duration:160});
	}, function() {
		$(".cover", this).stop().animate({top:'210px'},{queue:false,duration:160});
	});
});

$(document).ready(function(){

$('#folionav li').hover(function() {
  $(this).addClass('folionav-darker');
}, function() {
  $(this).removeClass('folionav-darker');
});
});


$(document).ready(function(){

setTimeout(function() {
    $('#thankyou').fadeOut('fast');
}, 5000); // fade commentform thankyou
});

$(document).ready(function() {
	$('ul.gallery li').append('<span class="thumbcornerstop"></span>');
	$('ul.gallery li').append('<span class="thumbcornersbottom"></span>');

	$('.preview-image').append('<span class="corners"></span>').hover(function () {
	 $("img", this).stop().animate({top:"-50px"},{queue:false,duration:200});
		 }, function() {
     $("img", this).stop().animate({top:"0px"},{queue:false,duration:200});
	 
	});
});



