// JavaScript Document
$(document).ready(function(){
		
		$("dd:not(.selected)").hide();
		$("dt a").click(function(){					 
			$("dd:visible").slideUp("slow");
				if($(this).parent().next().attr("class")=="sousmenu"){
					$(this).parent().next().slideDown("slow");
					return false;
				}
		});
		
		$('img[@src$=.png]').ifixpng(); 
		$('img[@src$=.png], #body').ifixpng().iunfixpng().ifixpng(); 
		$('img[@src$=.png], div#logo').ifixpng().iunfixpng().ifixpng();		
		$('img[@src$=.png], div.mG').ifixpng().iunfixpng().ifixpng();
		$('img[@src$=.png], div.mD').ifixpng().iunfixpng().ifixpng();
		$('img[@src$=.png], .adresse').ifixpng().iunfixpng().ifixpng();
						   
 });



function getElementsByClass(maClass) {
       var tabRetour = new Array();
      var tabTmp = new Array();
      tabTmp = document.getElementsByTagName("*");
      j=0;
       for (i=0; i<tabTmp.length; i++) {
           if (tabTmp[i].className==maClass) {
             tabRetour[j]=tabTmp[i];
         j++;
           }
       }
       return tabRetour;
}

 