	function isIE6(){
		var reg = /MSIE 6.0/i;
		return reg.test(navigator.appVersion);
	}

	function imageIE6(){
		if( ! isIE6() ) return false;
		var elmt = document.getElementById('entete');
		var elements = elmt.getElementsByTagName('div');
		var l = elements.length;
		for( i = 0; i < l ; i++){
			changeImage( elements[i] , 'url(image/ovale.png)', 'url(image/ovale.gif)' );
		}
	}

	function afficheEvenement( i_id , i_sousID , s_module ){
		var myAjax = new Ajax("pages/ajax_programme.php",
								{ 	method: 'post',
									data: "ID=" + i_id + "&SOUS_ID=" + i_sousID + "&MODULE=" + s_module,
									onComplete: function(msg){
										$('programme').innerHTML = "";
										$('programme').innerHTML = msg;
									}
								}
							).request();

	}
	function changeImage( element , image  , imageIE ){
		element.style.backgroundImage = isIE6()?imageIE:image;
	}

	function afficheImage(img)
	{
		document.getElementById('zoom').src=img;
	}

	function centrage(page,widths,heights,widtttt,heighttt){
		larg=(screen.width/2);
		haut=(screen.height/2);
		left=(larg-larg/2)+parseInt(heighttt);
		test=((haut-(haut/2))+parseInt(widtttt));
		window.open(page,"_blank","resizable=no, location=no, width="+widths+", height="+heights+", menubar=no, status=no, scrollbars=no, top="+test+", left="+left+"");
	}