<!--
var imgPath = "img/";

bot1_on = new Image(165,20);
bot1_on.src = imgPath + "bot1-over.gif";
bot1_off = new Image(165,20);
bot1_off.src = imgPath + "bot1.gif";
bot1_sel = new Image(165,20);
bot1_sel.src = imgPath + "bot1-over.gif";

bot2_on = new Image(165,20);
bot2_on.src = imgPath + "bot2-over.gif";
bot2_off = new Image(165,20);
bot2_off.src = imgPath + "bot2.gif";
bot2_sel = new Image(165,20);
bot2_sel.src = imgPath + "bot2-over.gif";

bot3_on = new Image(165,20);
bot3_on.src = imgPath + "bot3-over.gif";
bot3_off = new Image(165,20);
bot3_off.src = imgPath + "bot3.gif";
bot3_sel = new Image(165,20);
bot3_sel.src = imgPath + "bot3-over.gif";

bot4_on = new Image(165,20);
bot4_on.src = imgPath + "bot4-over.gif";
bot4_off = new Image(165,20);
bot4_off.src = imgPath + "bot4.gif";
bot4_sel = new Image(165,20);
bot4_sel.src = imgPath + "bot4-over.gif";

bot5_on = new Image(165,20);
bot5_on.src = imgPath + "bot5-over.gif";
bot5_off = new Image(165,20);
bot5_off.src = imgPath + "bot5.gif";
bot5_sel = new Image(165,20);
bot5_sel.src = imgPath + "bot5-over.gif";

bot6_on = new Image(165,20);
bot6_on.src = imgPath + "bot6-over.gif";
bot6_off = new Image(165,20);
bot6_off.src = imgPath + "bot6.gif";
bot6_sel = new Image(165,20);
bot6_sel.src = imgPath + "bot6-over.gif";

bot7_on = new Image(165,20);
bot7_on.src = imgPath + "bot7-over.gif";
bot7_off = new Image(165,20);
bot7_off.src = imgPath + "bot7.gif";
bot7_sel = new Image(165,20);
bot7_sel.src = imgPath + "bot7-over.gif";

bot8_on = new Image(165,20);
bot8_on.src = imgPath + "bot8-over.gif";
bot8_off = new Image(165,20);
bot8_off.src = imgPath + "bot8.gif";
bot8_sel = new Image(165,20);
bot8_sel.src = imgPath + "bot8-over.gif";

bot9_on = new Image(165,20);
bot9_on.src = imgPath + "bot9-over.gif";
bot9_off = new Image(165,20);
bot9_off.src = imgPath + "bot9.gif";
bot9_sel = new Image(165,20);
bot9_sel.src = imgPath + "bot9-over.gif";

foto_on = new Image(165,20);
foto_on.src = imgPath + "bot-foto_.gif";
foto_off = new Image(165,20);
foto_off.src = imgPath + "bot-foto.gif";
foto_sel = new Image(165,20);
foto_sel.src = imgPath + "bot-foto_.gif";

video_on = new Image(165,20);
video_on.src = imgPath + "bot-video_.gif";
video_off = new Image(165,20);
video_off.src = imgPath + "bot-video.gif";
video_sel = new Image(165,20);
video_sel.src = imgPath + "bot-video_.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();

}

var win



function flash_multi(num){
   // utilizza questo codice se hai pił filmati non numerati e con dimensioni differenti
  
      filmati = new Array('RB_SP_headerNEW.swf','small.swf','big.swf');
      wi = new Array(723,184,340);
      he = new Array(320,164,295);
	  bg = new Array('#FFFFFF','#000000','#ffffff');
   
      document.write("<object type='application/x-shockwave-flash' data='"+filmati[num]+"'width='"+wi[num]+"' height='"+he[num]+"' id='filmato"+num+"'>\n");
      document.write("<param name='movie' value='"+filmati[num]+"' />\n");
      document.write("<param name='quality' value='high' /><param name='wmode' value='"+bg[num]+"' />\n");
      document.write("</object>\n");
}


//-->

