var colorcount=true;
var color="#CC0000";

function addeffect(){
gooktables=document.getElementsByTagName('table');
var count = gooktables.length;
for (i=0; i<count; i++){
  if (gooktables[i].id=='effct'){
  animate(gooktables[i],color);}
  }
if (colorcount){color="#FFFFFF";colorcount=false;
}else {color="#CC0000";colorcount=true;}
 setTimeout("addeffect()", 1000);
}
 
function animate(whot,color){
whot.style.borderColor=color;
}



