
// precarica le immagini

if (document.images)
    {
    img1on = new Image(10, 10);          
    img1on.src = "images/button_on.png"; 
	img2on = new Image(10, 10);          
    img2on.src = "images/button_on.png";      
    img3on = new Image(10, 10);          
    img3on.src = "images/button_on.png";
	img4on = new Image(10, 10);          
    img4on.src = "images/button_on.png";
	img5on = new Image(10, 10);          
    img5on.src = "images/button_on.png";
	img6on = new Image(10, 10);          
    img6on.src = "images/button_on.png";
	
   
    img1off = new Image(10, 10);          
    img1off.src = "images/button_off.png"; 
	img2off = new Image(10, 10);          
    img2off.src = "images/button_off.png";
	img3off = new Image(10, 10);          
    img3off.src = "images/button_off.png";
	img4off = new Image(10, 10);          
    img4off.src = "images/button_off.png";
	img5off = new Image(10, 10);          
    img5off.src = "images/button_off.png";
	img6off = new Image(10, 10);          
    img6off.src = "images/button_off.png";
	 }
	
	
	
// rollover

function imgAct(imgName,action)  {
    if (document.images)
        document.images[imgName].src = eval(imgName + action + ".src");
    }
    // -->

