function mark(id) {	document.getElementById(id).style.color = '#000';}function unmark(id) {	document.getElementById(id).style.color = '#c5c6c7';}function rateLabel(rating) {	document.getElementById('vote').innerHTML = ' Votar com <font style="color: #5cb0ed; font-size: 14px"><b>' + rating + '</b></font> estrela(s)';}function unrateLabel() {	document.getElementById('vote').innerHTML = "";}function switchSearch() {    var gsearch = document.getElementById("gsearch");    var form = document.getElementById("searchq");        if (gsearch.checked) {        form.action = "http://www.google.pt/custom";        form.method = "get";    }        form.submit();}function swapDiv() {    document.getElementById('login1').style.display = 'none';    document.getElementById('login2').style.display = 'block';}function swapNotice() {    /*if (document.getElementById('noticep').innerHTML != "")        document.getElementById('notice').style.display = 'block';*/}function showSubmit() {    document.getElementById('submitFriendRequest').style.display = 'block';}function reload() {    location.href = location.href;}function submitSort() {    document.getElementById('sortform').submit();}function checkCookies() {    document.getElementById('remember').value = true;}var count = 0;function updateCount() {    count = document.getElementById('message').value.length;        document.getElementById('char_count').innerHTML = count;        if (count > 3000)        document.getElementById('send_button').disabled = true;    else        document.getElementById('send_button').disabled = false;}