 $(document).ready(function() {
   if (active_section) {
    $('#' + active_section + '_button').css('color', '#FFE240');
   }
 });


function answerShowHide(answer_num) {
 var status = $("#" + answer_num).css("display");
 if (status == "none") {
  $("#" + answer_num).css("display", "block");
  $('#' + answer_num + '_icon').attr('src','/images/flu_center/minus.png')
 } else {
  $("#" + answer_num).css("display", "none");
  $('#' + answer_num + '_icon').attr('src','/images/flu_center/plus.png')
 }
}

function confirmation(url) {
	var message = "By clicking the OK button below, you will leave Theraflu.com and link to a third party website that may have a different privacy policy and information collection practices.\n\nPlease be sure to review the privacy policy and terms and conditions posted at that site.";
	if (confirm(message)) {
	 window.open(url);
	}
}

function savingsClick() {
 window.location = "/savings.shtml";
}

function mobileClick() {
 window.location = "/flu_and_cold_tracker/wheresflu_mobile_app.shtml";
}

function productsClick() {
 window.location = "/theraflu_products.shtml";
}

function buyClick() {
 window.location = "/where_to_buy.shtml";
}


