massive_length=5; 
colors_= new Array(massive_length); 
colors_[0] = "gold"; 
colors_[1] = "red"; 
colors_[2] = "silver"; 
colors_[3]= "fuchsia"; 
colors_[4]= "maroon"; 
var next_ = 0; 
function Changehead() 
{ 
headcolor= colors_[next_]; 
document.getElementById("head1").style.color=headcolor; 
next_++; 
if(next_>massive_length-1) next_=0; 
window.setTimeout("Changehead()",500); 
}
