function init_mot()
{

var style=this.currentStyle;
for(var prop in style)
 {
 document.getElementById('cont_mot2').style[prop]=style[prop];
 }
 document.getElementById('cont_mot2').style.zIndex="10";
 this.outerHTML=document.getElementById('cont_mot2').outerHTML;


        dest_init(document.moteur.destinations.value,document.moteur.ville_deps.value,document.moteur.budjet.value,document.moteur.date_dep.value);
       
        ville_dep_init(document.moteur.ville_deps.value,document.moteur.destinations.value,document.moteur.budjet.value,document.moteur.date_dep.value);
      
        budj_init(document.moteur.budjet.value,document.moteur.destinations.value,document.moteur.ville_deps.value,document.moteur.date_dep.value);
      
        date_dep_init(document.moteur.date_dep.value,document.moteur.destinations.value,document.moteur.ville_deps.value,document.moteur.budjet.value);
      

}
function verif_formulaire()
{
 if(document.moteur.destinations.value == "")  {
   alert("Veuillez choisisser un pays SVP !!");
   document.moteur.destinations.focus();
   return false;
  }
  else
  {
  if(document.moteur.ville_deps.value!="" || document.moteur.budjet.value!="" || document.moteur.date_dep.value!="")
  {
  var ville_dep="";
  var budjet="";
  var date_dep="";
  var fourni="";
  dest=document.moteur.destinations.value;
  if(document.moteur.ville_deps.value!=""){ville_dep='-depart-'+document.moteur.ville_deps.value;}
  if(document.moteur.budjet.value!=""){budjet='-prix-'+document.moteur.budjet.value;}
  if(document.moteur.date_dep.value!=""){date_dep='-'+document.moteur.date_dep.value;}
  document.moteur.action='http://www.zenvoyages.com/circuits/circuit-'+dest+'/circuit'+ville_dep+budjet+date_dep+'.html';
  }
  else
  {
  document.moteur.action='http://www.zenvoyages.com/circuits/circuit-'+document.moteur.destinations.value+'/';
  }
  }
}
