﻿function include(file, after)
{
    document.write('<' + 'script src="' + file + '"' +' type="text/javascript"><' + '/script>');
}

function removeLink()
{
    var lang = getLang();
    switch(lang)
    {
        case "fr":
        {
            document.getElementById("copyright").parentNode.removeChild(document.getElementById("copyright"));
            break;
        }
    }
}

function getLang() {
    var lang;
    if(document.cookie) {
        lang = document.cookie.split('=')[1];
    }
    return lang;
}

//window.onload = removeLink; 