


$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'cover',
		speed:   300, 
  		timeout: 3000, 
    		next:   '#s3', 
    		pause:   1 
});
});





$(function () {
	$('#couche2').hover(function() {
		$('#couche1').fadeTo("fast", 0.5);
	}, function() {
		$('#couche1').fadeTo("fast", 1);
	});
});



/* here are two different ways to do this */
//using jquery:
$(document).ready(function(){
  $('.tweet a').attr('target', '_blank');
});

// not using jquery
window.onload = function(){
  var anchors = document.getElementById('tweet').getElementsByTagName('a');
  for (var i=0; i<anchors.length; i++){
    anchors[i].setAttribute('target', '_blank');
  }
}
// jquery is prettier. :-)



