jQuery(document).ready(function($){
$('input[title], textarea[title]').each(function() {if($(this).val() === '') {$(this).val($(this).attr('title'));}
  $(this).focus(function() {if($(this).val() == $(this).attr('title')) {$(this).val('').addClass('focused');	}});
  $(this).blur(function() {if($(this).val() === '') {$(this).val($(this).attr('title')).removeClass('focused');}});
});
}); // END

function addLink() {
	var body_element = document.getElementsByTagName('body')[0];
	var selection;
	selection = window.getSelection();
	var pagelink = "<br /><br />Lire la suite sur : <a href='"+document.location.href+"'>"+document.location.href+"</a>";
	var copytext = selection + pagelink;
	var newdiv = document.createElement('div');
	newdiv.style.position='absolute';
	newdiv.style.left='-99999px';
	body_element.appendChild(newdiv);
	newdiv.innerHTML = copytext;
	selection.selectAllChildren(newdiv);
	window.setTimeout(function() {
		body_element.removeChild(newdiv);
	},0);
}
document.oncopy = addLink;


Cufon.replace('#menu ul li', {fontFamily: 'franklin'});
Cufon.replace('#content h2, #content h3, #footer h4', {fontFamily: 'franklin'});
