<!--//Funzione per la determinazione della versione del Browser utilizzato

     bName = navigator.appName;
     bVer = parseInt(navigator.appVersion);
     if      (bName == "Netscape" && bVer == 4) ver = "n4";
     else if (bName == "Netscape" && bVer == 3) ver = "n3";
     else if (bName == "Netscape" && bVer == 2) ver = "n2";
     else if (bName == "Microsoft Internet Explorer" && bVer == 4) ver = "e4";
     else if (bName == "Microsoft Internet Explorer" && bVer >= 2) ver = "e3";

with (document) {
		     if (ver == "n3" || ver == "n4" || ver == "e4")  {

// Funzioni per i pulsanti sensibili al mouse

			arrw1on = new Image(107, 35);
			arrw1on.src = "images/ion_1.gif";
			arrw1off = new Image(107, 35);
			arrw1off.src = "images/ioff_1.gif";

			arrw2on = new Image(98, 35);
			arrw2on.src = "images/ion_2.gif";
			arrw2off = new Image(98, 35);
			arrw2off.src = "images/ioff_2.gif";

			arrw3on = new Image(53, 35);
			arrw3on.src = "images/ion_3.gif";
			arrw3off = new Image(53, 35);
			arrw3off.src = "images/ioff_3.gif";
			
			arrw4on = new Image(36, 35);
			arrw4on.src = "images/ion_4.gif";
			arrw4off = new Image(36, 35);
			arrw4off.src = "images/ioff_4.gif";
			
			arrw5on = new Image(101, 42);
			arrw5on.src = "images/ion_5.gif";
			arrw5off = new Image(101, 42);
			arrw5off.src = "images/ioff_5.gif";

			arrw6on = new Image(81, 35);
			arrw6on.src = "images/ion_6.gif";
			arrw6off = new Image(81, 35);
			arrw6off.src = "images/ioff_6.gif";	}

			arrw7on = new Image(80, 35);
			arrw7on.src = "images/ion_7.gif";
			arrw7off = new Image(80, 35);
			arrw7off.src = "images/ioff_7.gif";

			arrw8on = new Image(54, 42);
			arrw8on.src = "images/log_ikoon.gif";
			arrw8off = new Image(54, 42);
			arrw8off.src = "images/log_ikooff.gif";

}
function img_act(imgName) {
  if (document.images) 
    document[imgName].src = eval(imgName + 'on.src')
}
function img_inact(imgName) {
  if (document.images)
    document[imgName].src = eval(imgName + 'off.src')
}

function controllo(theForm)
     {
	 ok = true 
       for (i = 0; i < theForm.length; i++)
        {
		   if(theForm.mis_neck.selectedIndex == 0 || theForm.elements[i].value == "")
	         {    
				 ok = false
			     alert("Error: specify all measure")
                 return (false)  
			 }
	
	     }
			
   if (ok == true)
	{
	 document.nonstandard.submit()
	 return (true)
	}
		
 }
//-->