//functions to be executed on page load
$(function(){
						   
	//Open all links with rel="external" in new window
	$('a[rel="external"]').click( function() {
			window.open( $(this).attr('href') );
			return false;
    });

//Easy Slider
	$("#slider").easySlider({
		auto: false,
		continuous: true 
	});


//Twitter
				$("#twitter").getTwitter({
					userName: "juleco",
					numTweets: 2,
					loaderText: "Loading tweets...",
					slideIn: true,
					slideDuration: 750,
					showHeading: true,
					headingText: "Latest Tweets",
					showProfileLink: true,
					showTimestamp: true
				});


	$('div#lastfm').lastFM({
		username: 'juleco_design',
		apikey: '28c1e7221be77fab576e81c7dd4c9997',
		number: 4,
		artSize: 'medium',
		noart: 'images/noartwork.gif',
		onComplete: function(){
			//Done
		}
	});



    });





//functions to be executed inline
var mylib =
{
	function_name :
	{
		init : function()
		{
			alert('First Function Initialized');
		}
	},
	another_function_name :
	{
		init : function()
		{
			alert('Second Function Initialized');
		}
	}
}