// CODA-SLIDER  //é
		
 $().ready(function() {
       $('#coda-slider-1').codaSlider({
           dynamicArrows: false,
           dynamicTabs: false
    });
});

		

// HIDE THE STUFF MADE FOR JS DISABLED USERS  //
		
$(document).ready(function() {
		$(".hide-on-js").hide();
	});




// Qtip //

$(document).ready(function(){
$("ul#ico a[title]").qtip({
	show: { effect: { length: 830, type: 'fade' } },
	hide: { effect: { length: 830, type: 'fade' } },
   	style: { border: {width: 2, radius: 6, color: '#9CADB1'},
	textAlign: 'center',
	background: 'images/gray.jpg',
   	tip:'topLeft',
   	width:115}  
	});
});

$(document).ready(function(){
	
	$.post('lib/readFeed.php', {url:'http://feeds2.feedburner.com/YourInspirationWeb', lang:1}, function(data){
		$('#yiw').html(data);
	});
});	

if(!$.browser.msie)
	{
		Cufon.replace('#menu li a', { fontFamily: 'Quicksand Book', textShadow: '0px 1px 1px #fff', hover:true});
        Cufon.replace('#logo', { fontFamily: 'Quicksand Bold', textShadow: '0px 1px 1px #fff', hover:true});
	}
		

 getTwitters('twitter', {
        id: 'mtx_maurizio', 
        count: 1, 
        enableLinks: true, 
        ignoreReplies: false,
        template: '<span class="twitterPrefix"><span class="twitterStatus">%text% <em class="twitterTime"><a href="http://twitter.com/%user_screen_name%/statuses/%id%">- %time%<\/a><\/em><\/span> <br /><span class="username">@ <a href="http://twitter.com/%user_screen_name%/statuses/%id%">%user_screen_name%<\/a><\/span>',
        newwindow: true
    });


$(document).ready(function(){
			$("select#select1").selectmenu({
				style: 'dropdown',
				width: 95,
				change: function(event,ui){
					if(ui.value == 0)
					{
						window.location = "index.php";
					}
					else
					{
						window.location = "index_en.php";
					}
				},
				icons: [
					{find: '.ch'},
					{find: '.i'},
					{find: '.usa'}
				]

			});	
		});
