function setCookie(c_name, value) {
    document.cookie = c_name + "=" + escape(value) + "; path=/";
}

function TailleTexte(str) {
    if (document.getElementById && document.createTextNode) {
        if (document.getElementById('content')) {
            document.getElementById('content').className = str;
            setCookie('tailletexte', str);
        }
    }
}

function ClearValue(obj) {
    obj.value = "";
    obj.className = "search-input";
}

function SetValue(obj, text) {
    if (obj.value == "") {
        obj.value = text;
        obj.className = "search-input-grey";
    }
}

function ClearText(obj) {
    obj.value = "";
}
