function devel()
{
    alert("En cours de développement ...");
}

function imgPreload()
{
    var d = document;
    if(d.images){
        var i, j = 0, p = new Array, a = imgPreload.arguments;
        for(i = 0; i < a.length; i++)
        {
            p[j] = new Image;
            p[j++].src = a[i];
        }
    }
}

function goInternal(_url)
{
    location.href = document.getElementsByTagName('base')[0].href + _url;
}

function goAnchor(_id)
{
    location.href = location.href.split('#')[0] + '#' + _id;
}

function sharedInit(e)
{
    Event.observe('query', 'focus', clearQuery);
    Event.observe('query', 'blur', restoreQuery);
}

function clearQuery(e)
{
    if ($F('query') == 'Recherche')
    {
        $('query').value = '';
    }
}

function restoreQuery(e)
{
    if ($F('query') == '')
    {
        $('query').value = 'Recherche';
    }
}

Event.observe(window, 'load', sharedInit);