// JavaScript Document

<!--
if(navigator.appVersion.charAt(0)>=4 && (navigator.appVersion).indexOf("MSIE")!=-1) isIE4 = true;
else  isIE4 = false;

function random_color() {
var col=new String();
 for(i=0;i<3;i++) {
  ran  = Math.floor(Math.random()*255);
  ran  = ran.toString(16);
  ran_len  = ran.length; 
   if(ran_len<2) ran = "0"+ran;
  col += ran;
 }
 return col;
}


function textAnima_color1(id,n) {
  el  = document.all.item(id,n);
  col = random_color();
  el.style.color = "#"+col;
  getT = el.getAttribute("SET_TIME");
   if(getT=="") getT=100;
  setTimeout("textAnima_color1('"+id+"',"+n+")",getT);
 }

if(isIE4) {
  window.onload = init;
 }


function init() {
 id   = "ANIMA_TEXTCOLOR1";  //このアニメーションを行うタグの共通ID名
 len  = document.all.item(id).length;
  if(!len)  len = 1;

  for(var i=0; i<len; i++) {
    textAnima_color1(id,i);
   }

 }
//-->
