// JavaScript Document
<!--
function GetDay(nDay)
{
	var Days = new Array("Domenica, ","Lunedì, ","Martedì, ","Mercoledì, ",
	                     "Giovedì, ","Venerdì, ","Sabato, ");
	return Days[nDay]
}

function GetMonth(nMonth)
{
	var Months = new Array("gennaio","febbraio","marzo","aprile","maggio","giugno",
	                       "luglio","agosto","settembre","ottobre","novembre","dicembre");
	return Months[nMonth] 	  	 
}

function DateString()
{
	var Today = new Date();
	
	var strDate = GetDay(Today.getDay()) + ", " + Today.getDate();
	strDate += " " + GetMonth(Today.getMonth()) + " " + Today.getYear();
	return strDate
}
<!--
function cambia(url,obj,str)
{
	document.getElementById('CONTENUTI').src=url;
	
	var cella="cell"+obj;
	var cellina
	var cellina1
	//for(var i=1; i<8; i++)
	//{
	cellina="cell"+ obj.toString() ;
		//document.all(cellina).style.background="#ffffff";
	//}
	/*#c6d7df*/
	//document.all(cella).style.background="#F0F4F7";
	
	document.getElementById('CONTENUTI').focus();
	
	//alert(document.getElementById(obj));
	/*Colora la cella*/
	/*document.getElementById(cellina).style.background='#D4DEE7';
	for (var i=1; i<6; i++)
	{
	cellina1="cell"+ i.toString() ;
	if (cellina1!=cellina)
		{ document.all(cellina1).style.background="#ffffff"; }
	
	}*/
	document.getElementById(str).style.background='#D4DEE7';
	for (var i=1; i<7; i++)
	{
	cellina1="link"+ i.toString() ;
	if (cellina1!=str)
		{ document.getElementById(cellina1).style.background="#ffffff"; }
	}

}


/*Funzione per il passaggio da contenuti home alla pagina relativa al'offerta*/
function apri(url)
{
	//parent.document.getElementById('link3').style.background='#D4DEE7';
	window.document.open("offerta.asp");
	/*var cellina
	document.all('CONTENUTI').focus();
	document.getElementById(str).style.background='#D4DEE7';
	for (var i=1; i<6; i++)
	{
	cellina1="link"+ i.toString() ;
	if (cellina1!=str)
		{ document.all(cellina).style.background="#ffffff"; }	
	}*/
}


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
var sel_menu
sel_menu = "";

function set_text(obj,text_var,menu)
{
 menu = document.getElementById(menu);
 if (menu != sel_menu)
 {
  obj_panel = document.getElementById(obj);
  //text_var = eval(text_var);
  document.all['corpo1'].src=text_var;
  document.all['corpo1'].focus();
  //obj_panel.innerHTML = text_var;
  menu.style.backgroundColor = "#F0F4F7";
  menu.style.borderColor ="BCCFDA";
  if (sel_menu != "") 
  sel_menu.style.backgroundColor = "ffffff";
  
  sel_menu = menu;
  
 }
}
//-->
//-->
