var ColorCode=new Array("e0f1ee","d6efff","646560","ffffcc","66ccff", "99ffcc","c0c0c0","669999","999966"); function ParaOver(CaoPhong) { CaoPhong.style.backgroundColor=ColorCode[Math.round(Math.random()*10)]; } function ParaOut(CaoPhong) { CaoPhong.style.backgroundColor="transparent"; }