col = new Array()
col[0]="220400"
col[1]="432214"
col[2]="6d523c"
col[3]="9a8464"
col[4]="e6dbab"
col[5]="fff7c1"

i_col=0
doani=0
var timer
var thislink

function animatelink() {
    if (document.all) {
        if (doani==1) {
            if (i_col<=col.length-1) {
                thislink.color=col[i_col]
                i_col++
                timer=setTimeout("animatelink()",100)
            }
            else {
                i_col=0
                timer=setTimeout("animatelink()",100)
            }
        }
        else {
            clearTimeout(timer)
        }
    }
}

function stopanimation() {
    clearTimeout(timer)
    thislink.color="#fff7c1"
    doani=0
}    

function startanimation(mylink) {
    clearTimeout(timer)
    thislink=eval("document.all."+mylink+".style")
    doani=1
    animatelink()
}    

