function addToFavorites(card_number) {
  ajaxSubmit('GET', webpage_url + 'oddsandends.php?page=Add%20To%20Favorites&card_number=' + card_number, true, null);
}

function changeCreatorsComments(card_number) {
  ajaxSubmit('POST', webpage_url + 'oddsandends.php', true, ajaxFormatURL('tfn__creators_comments'));
}

function postComment(the_form_id) {
  ajaxSubmit('POST', webpage_url + 'oddsandends.php', true, ajaxFormatURL(the_form_id));
  return false;
}

function rateCard(game_type, card_number, score) {
  ajaxSubmit('GET', webpage_url + 'oddsandends.php?game_type=' + game_type + '&page=RateElement&element_number=' + card_number + '&score=' + score, true, null);
}

function sendToAFriend() {
//  document.tfn__email_to_a_friend.the_url.value = location.href;
//  document.tfn__email_to_a_friend.page_title.value = document.title;
//  document.getElementById('popover_container__2').style.display = 'none';
//  ajaxSubmit('POST', webpage_url + 'oddsandends.php', true, ajaxFormatURL('tfn__email_to_a_friend'));
}