// JavaScript Document
  		window.addEvent('domready', function(){
  			/* Tips 1 */
  			var Tips1 = new Tips($$('.Tips1'));
  			
  			/* Tips 2 */
  			var Tips2 = new Tips($$('.Tips2'), {
  				initialize:function(){
  					this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
  				},
  				onShow: function(toolTip) {
  					this.fx.start(1);
  				},
  				onHide: function(toolTip) {
  					this.fx.start(0);
  				}
  			});
  			
  			/* Tips 3 */
  			var Tips3 = new Tips($$('.Tips3'), {
  				showDelay: 400,
  				hideDelay: 400,
  				fixed: true
  			});
  			
  			/* Tips page */
  			var Tips_tip = new Tips($$('.Tips_tip'), {
  				className: 'custom_tip'
  			});
  			
  			/* Tips photos */
  			var Tips_photos = new Tips($$('.Tips_photos'), {
  				className: 'custom_photos'
  			});
  			
  			/* Tips videos */
  			var Tips_videos = new Tips($$('.Tips_videos'), {
  				className: 'custom_videos'
  			});
  			
  			/* Tips citations */
  			var Tips_citations = new Tips($$('.Tips_citations'), {
  				className: 'custom_citations'
  			});

  		});
      function Popup(nUrl,nNom,w,h,nScroll){
        var winl = (screen.width) ? (screen.width-w)/2 : 0;
        var wint = (screen.height) ? (screen.height-h)/2 : 0;
        var options = 'width='+w+',height='+h+',top='+wint+',left='+winl+',scrollbars='+nScroll+',resizable=no';
        neo=window.open(nUrl,nNom,options);
        if(neo.window.focus){neo.window.focus();}
      }

function autotab(original,destination){
if (original.getAttribute&&original.value.length==original.getAttribute("maxlength"))
destination.focus()
}





function affiche_item2(item2) {

   /*

	alert(item);

	alert('item_'+item);

	*/

		MM_findObj('item2_'+item2).style.display = '';
}





function affiche_item(item) {

   /*

	alert(item);

	alert('item_'+item);

	*/

	if ((MM_findObj('item_'+item).style.display)=='') {

		MM_findObj('item_'+item).style.display = 'none';

	} else {

		MM_findObj('item_'+item).style.display = '';

	}



}


function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

}


