UA=navigator.userAgent.toLowerCase();is_gecko=/gecko/i.test(UA);is_opera=/opera/i.test(UA);is_ie=/msie/i.test(UA)&& !is_opera && !(/mac_powerpc/i.test(UA));animate={expand : function(e,speed,length){if(e.timer_reduce)clearInterval(e.timer_reduce);if(!e.init_size)e.init_size=e.offsetWidth-10;e.state=e.init_size;e.timer_expd=setInterval(function(){animate.expand_anim(e,speed,length)},20)},expand_anim : function(e,speed,length,state_anim){if(e.state<(e.init_size+length*2)&& state_anim==null){e.state+=speed;e.style.width=e.state+"px";e.style.paddingLeft=(e.state-e.init_size+10)+"px"}else if(state_anim==null){clearInterval(e.timer_expd);e.timer_expd=setInterval(function(){animate.expand_anim(e,speed,length,1)},20)}else if(state_anim && e.state>e.init_size+length){e.state-=speed;e.style.width=e.state+"px";e.style.paddingLeft=(e.state-e.init_size+10)+"px"}else if(state_anim && e.state<=e.init_size+length)clearInterval(e.timer_expd)},reduce : function(e,speed,length){if(e.timer_expd)clearInterval(e.timer_expd);e.style.paddingLeft=(e.state-e.init_size+10)+"px";e.timer_reduce=setInterval(function(){animate.reduce_anim(e,speed,length)},20)},reduce_anim : function(e,speed,length){if(e.state>=e.init_size){e.style.width=e.state+"px";e.style.paddingLeft=(e.state-e.init_size+10)+"px";e.state-=speed}else{e.style.width=e.init_size-1+"px";e.style.paddingLeft="10px";clearInterval(e.timer_reduce)}},fade_color_in : function(table_color,e){if(e.color_step==null)e.color_step=0;if(e.color_table==null)e.color_table=table_color;if(e.timer_color_out!=null)clearInterval(e.timer_color_out);e.timer_color_in=setInterval(function(){if(e.color_step<e.color_table.length)(e.getElementsByTagName("a").length>0 ? e.getElementsByTagName("a")[0] : e).style.color="#"+e.color_table[e.color_step++];else if(e.timer_color_in)clearInterval(e.timer_color_in)},20)},fade_color_out : function(table_color,e){if(e.timer_color_in!=null)clearInterval(e.timer_color_in);e.timer_color_out=setInterval(function(){if(e.color_step>0)(e.getElementsByTagName("a").length>0 ? e.getElementsByTagName("a")[0] : e).style.color="#"+e.color_table[--e.color_step];else if(e.timer_color_out!=null)clearInterval(e.timer_color_out)},20)},return_fade : function(sr,sg,sb,er,eg,eb,step){var hexa2=new Array();for(i=0;i<10;i++)eval("hexa2[i]='"+i+"'");hexa2[10]="a";hexa2[11]="b";hexa2[12]="c";hexa2[13]="d";hexa2[14]="e";hexa2[15]="f";var cou2=new Array();if(animate.return_fade.arguments.length==3){var coldeg1=sr.toLowerCase();var coldeg2=sg.toLowerCase();var step=sb;var hexadecimal="0123456789abcdef";var sr=parseInt((hexadecimal.indexOf(coldeg1.charAt(0)))*16+hexadecimal.indexOf(coldeg1.charAt(1)));var sg=parseInt((hexadecimal.indexOf(coldeg1.charAt(2)))*16+hexadecimal.indexOf(coldeg1.charAt(3)));var sb=parseInt((hexadecimal.indexOf(coldeg1.charAt(4)))*16+hexadecimal.indexOf(coldeg1.charAt(5)));var er=parseInt((hexadecimal.indexOf(coldeg2.charAt(0)))*16+hexadecimal.indexOf(coldeg2.charAt(1)));var eg=parseInt((hexadecimal.indexOf(coldeg2.charAt(2)))*16+hexadecimal.indexOf(coldeg2.charAt(3)));var eb=parseInt((hexadecimal.indexOf(coldeg2.charAt(4)))*16+hexadecimal.indexOf(coldeg2.charAt(5)))}for(var i=0;i<=step;i++)eval("cou2["+i+"]='"+(hexa2[(hexa2.length+Math.floor((Math.floor(sr*((step-i)/step)+er*(i/step)))/16))%hexa2.length]+hexa2[(hexa2.length+(Math.floor(sr*((step-i)/step)+er*(i/step)))%16)%hexa2.length]+hexa2[(Math.floor((Math.floor(sg*((step-i)/step)+eg*(i/step)))/16))%hexa2.length]+hexa2[(hexa2.length+(Math.floor(sg*((step-i)/step)+eg*(i/step)))%16)%hexa2.length]+hexa2[(hexa2.length+Math.floor((Math.floor(sb*((step-i)/step)+eb*(i/step)))/16))%hexa2.length]+hexa2[(hexa2.length+(Math.floor(sb*((step-i)/step)+eb*(i/step)))%16)%hexa2.length])+"'");return cou2},class_animate_menu : new Array("#BBBBBB","#999999"),create_animate_menu : function(){my_table_color=animate.return_fade("9b9bad","000000",30);var my_ul=document.getElementsByTagName("ul");for(var i=0;i<my_ul.length;i++)if(my_ul[i].getAttribute("className")=="animate_menu" || my_ul[i].getAttribute("class")=="animate_menu"){my_ul[i].style.left=(getMiddle("conteneur")+5)+"px";if(is_ie){my_ul[i].onselectstart=new Function("return false");my_ul[i].unselectable="on"}else if(is_gecko)my_ul[i].style.setProperty("-moz-user-select","none","");animate.index_ul_menu=i;setInterval(function(){var ul_temp=document.getElementsByTagName("ul")[animate.index_ul_menu];if(parseFloat(ul_temp.offsetLeft)!=(getMiddle("conteneur")+5))ul_temp.style.left=(getMiddle("conteneur")+5)+"px"},500);var my_ul_currnt=my_ul[i].getElementsByTagName("li");for(var a=0;a<my_ul_currnt.length;a++){if(is_ie){my_ul_currnt[a].onselectstart=new Function("return false");my_ul_currnt[a].unselectable="on"}else if(is_gecko)my_ul_currnt[a].style.setProperty("-moz-user-select","none","");my_ul_currnt[a].setAttribute("className","animate_menu_li");my_ul_currnt[a].setAttribute("class","animate_menu_li");my_ul_currnt[a].setAttribute("onmouseover","animate.expand(this,3,10);animate.fade_color_in(my_table_color, this)");my_ul_currnt[a].setAttribute("onmouseout","animate.reduce(this,3,10);animate.fade_color_out(my_table_color, this)");if(my_ul_currnt[a].getElementsByTagName("a").length>0){var link=my_ul_currnt[a].getElementsByTagName("a")[0];my_ul_currnt[a].innerHTML=link.innerHTML;my_ul_currnt[a].setAttribute("onclick","document.location.href='"+link.getAttribute("href").split("'").join("\\'")+"'")}my_ul_currnt[a].style.backgroundColor=animate.class_animate_menu[a%2]}}document.body.innerHTML=document.body.innerHTML}};function addLoadEvent(func){var oldonload=window.onload;if(typeof  window.onload!="function")window.onload=func;else{alert(oldonload);window.onload=function(){oldonload();func()}}}
