<!--
// menu 
sfHover = function() 
{
  if (document.getElementById("menu")) 
  {
    var ellt = document.getElementById("menu").getElementsByTagName("li");
    for (var i=0; i<ellt.length; i++) 
    {
      ellt[i].onmouseover=function() 
      {
        this.className+=" sfhover";
      }
      ellt[i].onmouseout=function() 
      {
        this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
      }
    }
  }
}
if (window.attachEvent) 
{
    window.attachEvent("onload", sfHover);
}

// champs obligatoires
function checkrequiredfields() 
{
  for(i=0; i < checkrequiredfields.arguments.length; i++)
  {
    if (document.main.elements[checkrequiredfields.arguments[i]].value == "") 
    {
      alert("Champs obligatoire");
      document.main.elements[checkrequiredfields.arguments[i]].focus();
      return false;
    }
  }
  return true;
}


function sendcv() 
{
  if (checkrequiredfields(0))
  {
    document.main.p_action.value = "sendcv";
    document.main.submit();
  }
}	


//-->