google.load('search', '1', {language : 'fr'});
google.setOnLoadCallback(function(){
	var customSearchControl = new google.search.CustomSearchControl('004590768488280790043:ekzsq2fmrqq');
	customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
	var options = new google.search.DrawOptions();
	options.setSearchFormRoot('cse-search-form');
	customSearchControl.draw('cse', options);
	
	customSearchControl.setSearchCompleteCallback(this, addLabel_1);
}, true);

function addLabel_1() {
	if ( !document.getElementById('cse_head') ) {
		var nextEl = document.getElementById('cse');
		var newEl = document.createElement('h3');
		newEl.setAttribute('id', 'cse_head');
		newEl.style.borderBottom = '1px solid #e9e9e9';
		newEl.innerHTML = '<em>R&eacute;sultats de recherche</em>';
		newEl.style.margin = '0 0 1px 0';
		nextEl.parentNode.insertBefore(newEl, nextEl);
		document.getElementById('site_page_content').style.display = 'none';
	}
}