function envoyer(type,che) {
	lien = che+'envoyer.php?type='+type;
	window.open (lien,'envoyer', config='height=450, width=800, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=yes, directories=no, status=no');
}
function newsletter(type,che) {
	lien = che+'newsletter.php?type='+type;
	window.open (lien,'newsletter', config='height=450, width=800, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=yes, directories=no, status=no');
}
function addToFavorites(clip) {	
	if (navigator.appName != 'Microsoft Internet Explorer' ) {
		window.sidebar.addPanel('Avec Téléfuté, j\'appelle sans me ruiner','http://www.telefute.com','');
	} else {
		window.external.AddFavorite('http://www.telefute.com','Avec Téléfuté, j\'appelle sans me ruiner');
	}
}
function open_facture(che) {
	window.open (che+'style/exemple_facture_grand.gif','facture', config='height=160, width=640, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=yes, directories=no, status=no');
}
function ap_dest(type) {
	c1 = document.getElementById('dest_phares');
	c2 = document.getElementById('dest_phares_liste');
	if(type=='on') {
		c1.style.color='#fff';
		c1.style.borderColor='#cccccc';
		c1.style.backgroundColor='#649949';
		c1.style.backgroundPosition='158px -15px';
		c2.style.display='block';
	} else {	
		c1.style.color='#333';
		c1.style.backgroundColor='#ffffff';
		c1.style.borderColor='#ffffff';
		c1.style.backgroundPosition='158px 5px';
		c2.style.display='none';
	}
}