function src(name, rpath, nsdoc) 
{ 
  str = (navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name;
  img = eval(str);
  if (img) {
    if (img.altsrc == null) {
      img.altsrc = img.src;
      img.src    = rpath;
    } else {
      var temp   = img.src;
      img.src    = img.altsrc;
      img.altsrc = temp;
    }
  } 
}

function FocusText(BoxName)
{
if (BoxName.value == BoxName.defaultValue)
{
BoxName.value = '';
}
}
function BlurText(BoxName)
{
if (BoxName.value == '')
{
BoxName.value = BoxName.defaultValue;
}
}

function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features); }

/* Ouvrir une pop */
function popup(url,width,height)
{
	window.open(url,'','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1,width='+width+',height='+height+',left='+(screen.width - width)/2+',top='+(screen.height - height)/2+'');
}


function charger_div(div_source,div_cible)
{
    document.getElementById(div_cible).innerHTML = document.getElementById(div_source).innerHTML;
}

