function checkHttp(id)
{
    elm = document.getElementById(id);

    str = new String(elm.value);
    
    if(str.length >0 )
    {
        if(str.substring(0,7) != 'http://')
        {
            elm.value = 'http://' + str;

        }

        if(str.substring(0,14) == 'http://http://')
        {
            elm.value = str.substring(7);
        }
    }
}
