<!-- //
var l=screen.width;
switch(l) {
 case 800:
  document.write("<link rel='stylesheet' href='/css/800_layout.css' type='text/css'>");
 break;
 case 1024:
  document.write("<link rel='stylesheet' href='/css/1024_layout.css' type='text/css'>");
 break;
  case 1152:
  document.write("<link rel='stylesheet' href='/css/1152_layout.css' type='text/css'>");
 break;
  case 1280:
  document.write("<link rel='stylesheet' href='/css/1280_layout.css' type='text/css'>");
 break;
 default:
  document.write("<link rel='stylesheet' href='/css/1024_layout.css'' type='text/css'>");
}
// -->
<!-- //
function TestoLampeggiante()
{
    var testo = document.getElementById("lampeggia1");
    if (testo.style.color == "white")
    {
        testo.style.color = "gold";
    }
    else
    {
        testo.style.color = "white";
    }
	var testo = document.getElementById("lampeggia2");
    if (testo.style.color == "red")
    {
        testo.style.color = "blue";
    }
    else
    {
        testo.style.color = "red";
    }
}
window.setInterval("TestoLampeggiante()", 500);
// -->
<!-- //
function cambiaColore(numero, totale){
	
	for(var i = 1; i < totale + 1; i++){
		document.getElementById("testo"+i).style.backgroundColor = "#FFFFFF";
	}
	
	if(parseInt(numero) > parseInt(totale)){
		numero = 0;
	}
	else{
		document.getElementById("testo"+numero).style.backgroundColor = "#BFE8FF";
	}
	window.setTimeout("cambiaColore("+parseInt(numero+1)+","+totale+")", 1000);
}
// -->