/*
CLCP v2.1 Clear Links to Current Page
Jonathan Snook
This code is offered unto the public domain
http://www.snook.ca/jonathan/
*/

window.onload = clearCurrentLink;

function clearCurrentLink(){
    
    try
    {
    var a = document.getElementsByTagName("A");
    for(var i=0;i<a.length;i++)
        if(a[i].href == window.location.href.split("#")[0])
            alterNode(a[i]);
    }       
    catch(e)
    {
    //c'est pas la fin du monde si ça marche pas...
    }
}

function alterNode(n){
    n.style.textDecoration = 'none';
    n.style.color = '#000000';
    //n.style.fontWeight = 'bold';
}