  function rollOver(idImage){
  document.getElementById(idImage).src='img/'+ idImage + '_h.gif';
 
  }
  
  function rollOut(idImage){
  document.getElementById(idImage).src='img/'+ idImage + '.gif';
 
  }
  
  function frameSurce (newSurce) {
    document.getElementById('zodiacContent').src= newSurce + '.html';
    
    }
  
  function richiama_form(){
		 window.open('form_distributori.html','_new','toolbar=no,scrollbars=no,location=no,directories=no,width=400,height=400');
		 }
	
	function richiama_zodiaco(){
		 window.open('zodiaco.html','_new','toolbar=no,scrollbars=no,location=no,directories=no,width=400,height=400');
		 }
	function changeFrame(indexFrame,section){
    
        frameUrl="iframe/" +  indexFrame + ".html";
    
    
     document.getElementById('segno').src=(frameUrl);
      
  } 
  
  

var w = "Telelavoro-Home";
var x = "adm";//-->



   var ex="true";
     function PopUp(x,y){
    if(x==2){
     ex="false";
    }
    else if (x==3 && ex=="true"){
window.open('http://www.vacanzeviaggi.net/telelavoro/nordine.php?imk=TTG-telelav-270104','','toolbar=no,resizable=yes,scrollbars=yes,menubar=no,location=no,width=550,height=380');
    }
    else{ex="true";}
   }

function Ok(theForm) { 
if (theForm.nome.value == "") { alert("Inserisci il tuo Nome, grazie"); theForm.nome.focus(); return (false); } 
if (theForm.cognome.value == "") { alert("Inserisci il tuo Cognome, grazie"); theForm.cognome.focus(); return (false); }  
if (theForm.emailg.value.indexOf('@', 0) == -1) { alert("Inserisci il tuo indirizzo email corretto, grazie"); theForm.emailg.focus(); return (false); } 





if (theForm.citta.value == "") { alert("Inserisci la tua Citta, grazie"); theForm.citta.focus(); return (false); }
if (theForm.telefono.value == "") { alert("Inserisci il tuo n° di Telefono, grazie"); theForm.telefono.focus(); return (false); }
if (theForm.reperibile.value == "") { alert("Inserisci l'orario in cui saresti reperibile, grazie"); theForm.telefono.focus(); return (false); }










}

