
//fading fuction - to start:
//flash red, then fade: fadeYellow(40,'itemid');
//fade only           : fadeYellow(0,'itemid');
var aryColors = new Array();
  strColors = "00,08,10,18,20,28,30,38,40,48,50,58,60,68,70,78,80,88,90,98,a0,a8,b0,a8,c0,c8,d0,d8,e0,e8,f0,f8,ff";
  aryColors = strColors.split(",");
function fadeYellow(colorId,id) {
  if (colorId <= 33) {
    document.getElementById(id).style.backgroundColor = "#FFFF" + aryColors[colorId];
    colorId++;
    setTimeout("fadeYellow("+colorId+",'"+id+"')", 100);
  } else {
     if (colorId == "40") {
    document.getElementById(id).style.backgroundColor = "#FF0000";
    setTimeout("fadeYellow(0,'"+id+"')", 200);
     }
  }
}