<!--
var imgPath = "img/";

bot1_on = new Image(165,20);
bot1_on.src = imgPath + "bot1_.gif";
bot1_off = new Image(165,20);
bot1_off.src = imgPath + "bot1.gif";
bot1_sel = new Image(165,20);
bot1_sel.src = imgPath + "bot1_.gif";

bot2_on = new Image(165,20);
bot2_on.src = imgPath + "bot2_.gif";
bot2_off = new Image(165,20);
bot2_off.src = imgPath + "bot2.gif";
bot2_sel = new Image(165,20);
bot2_sel.src = imgPath + "bot2_.gif";

bot3_on = new Image(165,20);
bot3_on.src = imgPath + "bot3_.gif";
bot3_off = new Image(165,20);
bot3_off.src = imgPath + "bot3.gif";
bot3_sel = new Image(165,20);
bot3_sel.src = imgPath + "bot3_.gif";

bot4_on = new Image(165,20);
bot4_on.src = imgPath + "bot4_.gif";
bot4_off = new Image(165,20);
bot4_off.src = imgPath + "bot4.gif";
bot4_sel = new Image(165,20);
bot4_sel.src = imgPath + "bot4_.gif";

bot5_on = new Image(165,20);
bot5_on.src = imgPath + "bot5_.gif";
bot5_off = new Image(165,20);
bot5_off.src = imgPath + "bot5.gif";
bot5_sel = new Image(165,20);
bot5_sel.src = imgPath + "bot5_.gif";

bot6_on = new Image(165,20);
bot6_on.src = imgPath + "bot6_.gif";
bot6_off = new Image(165,20);
bot6_off.src = imgPath + "bot6.gif";
bot6_sel = new Image(165,20);
bot6_sel.src = imgPath + "bot6_.gif";

bot7_on = new Image(165,20);
bot7_on.src = imgPath + "bot7_.gif";
bot7_off = new Image(165,20);
bot7_off.src = imgPath + "bot7.gif";
bot7_sel = new Image(165,20);
bot7_sel.src = imgPath + "bot7_.gif";

bot8_on = new Image(165,20);
bot8_on.src = imgPath + "bot8_.gif";
bot8_off = new Image(165,20);
bot8_off.src = imgPath + "bot8.gif";
bot8_sel = new Image(165,20);
bot8_sel.src = imgPath + "bot8_.gif";

bot9_on = new Image(165,20);
bot9_on.src = imgPath + "bot9_.gif";
bot9_off = new Image(165,20);
bot9_off.src = imgPath + "bot9.gif";
bot9_sel = new Image(165,20);
bot9_sel.src = imgPath + "bot9_.gif";

indietro_on = new Image(165,20);
indietro_on.src = imgPath + "indietro_.gif";
indietro_off = new Image(165,20);
indietro_off.src = imgPath + "indietro.gif";
indietro_sel = new Image(165,20);
indietro_sel.src = imgPath + "indietro_.gif";

avanti_on = new Image(165,20);
avanti_on.src = imgPath + "avanti_.gif";
avanti_off = new Image(165,20);
avanti_off.src = imgPath + "avanti.gif";
avanti_sel = new Image(165,20);
avanti_sel.src = imgPath + "avanti_.gif";

top_on = new Image(165,20);
top_on.src = imgPath + "top_.gif";
top_off = new Image(165,20);
top_off.src = imgPath + "top.gif";
top_sel = new Image(165,20);
top_sel.src = imgPath + "top_.gif";




function setStatus(imageName, status)
{
    //alert( imageName + " " + status);

	var selImg = document.crt.sel.value;

	if( imageName != selImg )
	{
		if( status == 0) // click 
		{
			document[imageName].src = eval( imageName + "_sel.src");

			if( selImg != "")
			{	
			    if (selImg.length > 2)
				{
					document[ selImg].src = eval( selImg + "_off.src");;
				}
			}

			document.crt.sel.value = imageName;			
		}

		if( status == 1) // mouseout
		{
			document[ imageName].src = eval( imageName + "_off.src");
		}

		if( status == 2) // mouseover
		{
			document[ imageName].src = eval( imageName + "_on.src");
		}
	}
}

function popup(str,l,a) {

if (win) 

{
	tmp = win;
	win = null;
	if (navigator.appName != "Netscape")
		tmp.close();
}

win = window.open(str,"popup","scrollbars=0,resizable=1,width="+l+",height="+a+",status=0,location=0,menubar=0,toolbar=0,top=105,left=200");
win.focus();

}

function popupScrl(str,l,a) {

if (win) 

{
	tmp = win;
	win = null;
	if (navigator.appName != "Netscape")
		tmp.close();
}

win = window.open(str,"popup","scrollbars=1,resizable=1,width="+l+",height="+a+",status=0,location=0,menubar=0,toolbar=0,top=105,left=200");
win.focus();

}

var win


function changeStyle(id){
if (document.getElementById)
   {
   var nodeObj = document.getElementById(id)
   nodeObj.style.backgroundColor = '#c2bbb2';
   nodeObj.style.color = '#FFF';
   nodeObj.style.cursor = 'pointer';
   }
}

function resetStyle(id){
if (document.getElementById)
   {
   var nodeObj = document.getElementById(id)
   nodeObj.style.backgroundColor = '#FFF';
   nodeObj.style.color = '#8c8780';
   nodeObj.style.cursor = 'pointer';
   }
}

function animazione_flash(num) {
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='997' height='290' id='visiant' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='testa_"+num+".swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='testa_"+num+".swf' quality='high' bgcolor='#ffffff' width='997' height='290' name='visiant' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>");
}

function ShowHide(id){
 if(document.getElementById){
  var el=document.getElementById(id);
  el.style.display = (el.style.display=="block") ? "none" : "block";
 }
}

function Show(id){
 if(document.getElementById){
  var el=document.getElementById(id);
  el.style.display = 'block';
 }
}

function Hide(id){
 if(document.getElementById){
  var el=document.getElementById(id);
  el.style.display = 'none';
 }
}

//-->





