// Based on QuirksMode js

function gnarly(nr)
{
    if (document.layers)
    {
        current = 
        (document.layers[nr].color == '#ff0000') ? '#00ff00' : (
        (document.layers[nr].color == '#00ff00') ? '#ff00ff' : '#ff0000');
         document.layers[nr].color = current;
    }
    else if (document.all)
    {
        current = 
        (document.all[nr].style.color == '#ff0000') ? '#00ff00' : (
        (document.all[nr].style.color == '#00ff00') ? '#ff00ff' : '#ff0000');
         document.all[nr].style.color = current;
    }
    else if (document.getElementById)
    {
        current = 
        (document.getElementById(nr).style.color == 'rgb(255, 0, 0)') ? '#00ff00' : (
        (document.getElementById(nr).style.color == 'rgb(0, 255, 0)') ? '#ff00ff' : '#ff0000');
         document.getElementById(nr).style.color = current;
    }
}

function suteki()
{
    woah = setTimeout('excellent()', 500);
}

function excellent()
{
    gnarly("nice");
    gnarly("hawt");
    gnarly("cool");
    gnarly("towinthis");
    gnarly("battleyou");
    gnarly("mustnotfightnow");

    woah = setTimeout('excellent()', 500);
}

