/*function preventMe(e) {
	if(!e) e=window.event; 
	if(e.returnValue) 
		e.returnValue = false; 
	if(e.preventDefault) 
		e.preventDefault();
	alert('Désolé, l\'action sur click droit est bloquée.');
	return false; 
}; 
document.oncontextmenu = preventMe; 
*/
function favoris(bookmarkurl, bookmarktitle) { 
	if ( navigator.appName != 'Microsoft Internet Explorer' ) 
		{ window.sidebar.addPanel(bookmarktitle,bookmarkurl,""); } 
	else 
		{ window.external.AddFavorite(bookmarkurl,bookmarktitle); } 
} 

function trt_lien(fct_cpt)
{
	window.open(fct_cpt,'site_client','');
	bir_js_roi('Lien');
}


function traiter_balise(str)
{
	var head = document.getElementsByTagName("head")[0];
	if ( head != undefined ) {
		var base = head.getElementsByTagName("base")[0];
		if ( (base != undefined) && (base.href != "") && (typeof(str) == 'string') && (str.value != "") ) {
			var recherchehttp = /http/i;
			if (recherchehttp.test(str) == false) {
				document.location.href = base.href+str;
			} else {
				document.location.href = str;
			}
		}
	}
	return false;
}

