
var dictionary = {"31 Michigan counties": "Priority Health Medicare Advantage plans are available in Allegan, Antrim, Barry, Benzie, Cass, Crawford, Emmet, Grand Traverse, Hillsdale, Ionia, Jackson, Kalamazoo, Kalkaska, Kent, Leelanau, Livingston, Manistee, Mecosta, Missaukee, Monroe, Montcalm, Muskegon, Newaygo, Oakland, Oceana, Osceola, Ottawa, Roscommon, St. Clair, Washtenaw, and Wexford counties.",
"Authorization rules": "When authorization rules apply, it means you or your doctor must ask Priority Health in advance to approve the service or drug for you before Priority Health will pay for it.",
"authorization rules": "When authorization rules apply, it means you or your doctor must ask Priority Health in advance to approve the service or drug for you before Priority Health will pay for it.",
"Beneficiary": "The name for a person who has health care insurance through the Medicare or Medicaid program.",
"beneficiary": "The name for a person who has health care insurance through the Medicare or Medicaid program.",
"Beneficiaries": "People who have health care insurance through the Medicare or Medicaid program.",
"beneficiaries": "People who have health care insurance through the Medicare or Medicaid program.",
"benefit period": "A \"benefit period\" begins the day you go to a hospital or skilled nursing facility (SNF). The benefit period ends when you haven’t received any hospital care (or skilled care in a SNF) for 60 days in a row. If you go into a hospital or a SNF after one benefit period has ended, a new benefit period begins. You must pay the inpatient hospital deductible for each benefit period. There is no limit to the number of benefit periods.",
"Benefit period": "A \"benefit period\" begins the day you go to a hospital or skilled nursing facility (SNF). The benefit period ends when you haven’t received any hospital care (or skilled care in a SNF) for 60 days in a row. If you go into a hospital or a SNF after one benefit period has ended, a new benefit period begins. You must pay the inpatient hospital deductible for each benefit period. There is no limit to the number of benefit periods.",
"CAHPS": "The national Consumer Assessment of Healthcare Providers and Systems (CAHPS) Medicare Managed Care survey asks Medicare plan members about their satisfaction with their Medicare plans. It is published each year by the U.S. Department of Health and Human Services Agency for Healthcare Research and Quality. Our 2008 and 2009 Medicare Advantage plans earned five stars, or Excellent, which is the highest rating category.",
"Catastrophic coverage": "Under plans that include the Medicare Part D drug coverage, this is the stage where you pay a low copay or coinsurance for your drugs after you or other qualified parties on your behalf have spent $4,550 in covered drugs during the covered year.",
"Catastrophic coverage": "Under plans that include the Medicare Part D drug coverage, this is the stage where you pay a low copay or coinsurance for your drugs after you or other qualified parties on your behalf have spent $4,550 in covered drugs during the covered year.",
"Coinsurance": "A copay that is a percentage of the fee, such as when you pay 20% and Priority Health pays 80%, for example.",
"coinsurance": "A copay that is a percentage of the fee, such as when you pay 20% and Priority Health pays 80%, for example.",
"Copays": "A dollar amount you pay at the time you receive a service or prescription.",
"copays": "A dollar amount you pay at the time you receive a service or prescription.",
"Copay": "A dollar amount you pay at the time you receive a service or prescription.",
"copay": "A dollar amount you pay at the time you receive a service or prescription.",
"Cost sharing": "The amount you pay for health care and/or prescriptions. This amount can include copayments, coinsurance, and/or deductibles.",
"cost sharing": "The amount you pay for health care and/or prescriptions. This amount can include copayments, coinsurance, and/or deductibles.",
"Cost-sharing": "The amount you pay for health care and/or prescriptions. This amount can include copayments, coinsurance, and/or deductibles.",
"cost-sharing": "The amount you pay for health care and/or prescriptions. This amount can include copayments, coinsurance, and/or deductibles.",
"Coverage": "When a service or a drug is \"covered,\" it means it is a benefit of the plan. For example, Priority Health Medicare Advantage plans do not cover cosmetic surgery, but they do offer coverage for physical exams, Pap smears and mammograms.",
"coverage": "When a service or a drug is \"covered,\" it means it is a benefit of the plan. For example, Priority Health Medicare Advantage plans do not cover cosmetic surgery, but they do offer coverage for physical exams, Pap smears and mammograms.",
"coverage gap": "A time period during which you have no Medicare coverage for prescription drugs. It comes after you reach $2,830 in total drug costs and before you reach $4,550 in yearly out-of-pocket drug costs.",
"Coverage gap": "A time period during which you have no Medicare coverage for prescription drugs. It comes after you reach $2,830 in total drug costs and before you reach $4,550 in yearly out-of-pocket drug costs.",
"covered": "When a service or a drug is \"covered,\" it means it is a benefit of the plan. For example, Priority Health Medicare Advantage plans do not cover cosmetic surgery, but they do offer coverage for physical exams, Pap smears and mammograms.",
"Covered": "When a service or a drug is \"covered,\" it means it is a benefit of the plan. For example, Priority Health Medicare Advantage plans do not cover cosmetic surgery, but they do offer coverage for physical exams, Pap smears and mammograms.",
"covered": "When a service or a drug is \"covered,\" it means it is a benefit of the plan. For example, Priority Health Medicare Advantage plans do not cover cosmetic surgery, but they do offer coverage for physical exams, Pap smears and mammograms.",
"deductible": "What you pay each year before the plan starts to pay for your care.",
"Deductible": "What you pay each year before the plan starts to pay for your care.",
"discounted cost": "The discount that Priority Health negotiates for drugs or services from health care providers in its network. Priority Health's discount on prescription drugs averages 16% on most brand name drugs and 58% or more on generic drugs.",
"Discounted cost": "The discount that Priority Health negotiates for drugs or services from health care providers in its network. Priority Health's discount on prescription drugs averages 16% on most brand name drugs and 58% or more on generic drugs.",
"donut hole": "Medicare Part D doesn't pay for drug coverage between the time you reach $2,830 in total drug costs (what you and Priority Health pay, combined, for drugs), and the time you reach $4,550 in out-of-pocket drug costs. This coverage gap is called the \"donut hole\".", 
"Durable medical equipment": "Equipment that can be used for long periods of time, such as crutches, walkers, hospital beds and wheelchairs.",
"durable medical equipment": "Equipment that can be used for long periods of time, such as crutches, walkers, hospital beds and wheelchairs.",
"Excess charges": "If you are in Original Medicare, this is the difference between a doctor’s or other health care provider’s actual charge (which may be limited by Medicare or the state) and the Medicare-approved payment amount.",
"excess charges": "If you are in Original Medicare, this is the difference between a doctor’s or other health care provider’s actual charge (which may be limited by Medicare or the state) and the Medicare-approved payment amount.",
"Formulary": "A list of drugs covered by a plan.",
"formulary": "A list of drugs covered by a plan.",
"Formulary exception": "You can request that we cover a drug for you that is not on the Approved Drug List (the formulary) for your plan, when there is no drug on the list that works for you. This is called \"requesting a formulary exception.\" You will need to follow our procedure for requesting an exception listed under \"Once you join.\"",
"formulary exception": "You can request that we cover a drug for you that is not on the Approved Drug List (the formulary) for your plan, when there is no drug on the list that works for you. This is called \"requesting a formulary exception.\" You will need to follow our procedure for requesting an exception listed under \"Once you join.\"",
"Generic": "A prescription drug approved by the Federal Food and Drug Administration (FDA) that is produced and sold without patent protection. A generic equivalent drug contains the same active ingredient as a brand name version.",
"generic": "A prescription drug approved by the Federal Food and Drug Administration (FDA) that is produced and sold without patent protection. A generic equivalent drug contains the same active ingredient as a brand name version.",
"generics": "A prescription drug approved by the Federal Food and Drug Administration (FDA) that is produced and sold without patent protection. A generic equivalent drug contains the same active ingredient as a brand name version.",
"Generics": "A prescription drug approved by the Federal Food and Drug Administration (FDA) that is produced and sold without patent protection. A generic equivalent drug contains the same active ingredient as a brand name version.",
"Guaranteed issue": "In certain situations, such as losing your employer's retiree health insurance, insurance companies can't deny you a Medigap policy or charge you more because of your health status. This period is called your \"guaranteed issue\" period. During this period, you have a \"guaranteed issue right\" to enroll.",
"guaranteed issue": "In certain situations, such as losing your employer's retiree health insurance, insurance companies can't deny you a Medigap policy or charge you more because of your health status. This period is called your \"guaranteed issue\" period. During this period, you have a \"guaranteed issue right\" to enroll.",
"HMOPOS": "This plan is an HMO that gives you the option to go out of the plan's network to see doctors, hospitals or other health care providers, an option called \"point-of-service\" (POS). You choose a primary care doctor or other primary health care provider (a \"PCP\") in the plan's network to coordinate your care, but you don't need a referral from your PCP to go out of network or to see specialists.",
"In-network": "Includes all doctors, hospitals, and other health care providers who contract with Priority Health to provide services to our Medicare plan members within our Michigan service area. Priority Health has contracts with more than 12,000 primary care and specialist doctors, plus 44 Michigan hospitals, and more than 62,000 pharmacies nationwide.",
"in-network": "Includes all doctors, hospitals, and other health care providers who contract with Priority Health to provide services to our Medicare plan members within our Michigan service area. Priority Health has contracts with more than 12,000 primary care and specialist doctors, plus 44 Michigan hospitals, and more than 62,000 pharmacies nationwide.",
"Inpatient care": "Health care that you get when you are admitted to a hospital or skilled nursing facility.",
"inpatient care": "Health care that you get when you are admitted to a hospital or skilled nursing facility.",
"Lifetime reserve days": "In Original Medicare, a total of 60 extra days that Medicare will pay for when you are in a hospital more than 90 days during a benefit period. Once these 60 reserve days are used, you don't get any more extra days during your lifetime. For each lifetime reserve day, Medicare pays all covered costs except for a daily coinsurance ($534 in 2009).",
"lifetime reserve days": "In Original Medicare, a total of 60 extra days that Medicare will pay for when you are in a hospital more than 90 days during a benefit period. Once these 60 reserve days are used, you don't get any more extra days during your lifetime. For each lifetime reserve day, Medicare pays all covered costs except for a daily coinsurance ($534 in 2009).",
"Medically necessary": "Services or supplies that are needed for the diagnosis or treatment of your medical condition, meet the standards of good medical practice in the local area, and aren’t mainly for the convenience of you or your doctor.",
"medically necessary": "Services or supplies that are needed for the diagnosis or treatment of your medical condition, meet the standards of good medical practice in the local area, and aren’t mainly for the convenience of you or your doctor.",
"MAPD": "Abbreviation for any Medicare Advantage (MA) plan that includes a Medicare Prescription Drug Plan (PDP).",
"Medicare Advantage plan": "A plan offered by a private insurance company under contract with Medicare. It replaces Original Medicare Parts A (hospitalization) and B (doctor visits and medical coverage).",
"Medigap": "Nickname for Medicare Supplement insurance, so called because Medigap plans cover some of the \"gaps\" in the Original Medicare plan.",
"Network": "The network includes all health care providers who contract with Priority Health to provide services to the company's Medicare plan members. Priority Health has contracts with more than 12,000 primary care and specialist doctors, plus 44 Michigan hospitals, and more than 62,000 pharmacies nationwide.",
"network": "The network includes all health care providers who contract with Priority Health to provide services to the company's Medicare plan members. Priority Health has contracts with more than 12,000 primary care and specialist doctors, plus 44 Michigan hospitals, and more than 62,000 pharmacies nationwide.",
"Non-preferred brand": "These are usually the highest cost drugs. They are not in the preferred brand tier because there are alternative drugs that cost less but are equally effective or more effective.",
"non-preferred brand": "These are usually the highest cost drugs. They are not in the preferred brand tier because there are alternative drugs that cost less but are equally effective or more effective.",
"Non-standard premium": "Medigap plans have two premium levels. The non-standard premium applies to you if you are no longer in your open enrollment period and you are not eligible for a guaranteed issue right. It may also apply based on your health and whether or not you use tobacco.",
"non-standard premium": "Medigap plans have two premium levels. The non-standard premium applies to you if you are no longer in your open enrollment period and you are not eligible for a guaranteed issue right. It may also apply based on your health and whether or not you use tobacco.",
"Open enrollment period": "Under Medigap, your open enrollment period is the six-month time period after enrolling in Medicare Part B. It begins on the first day of the month in which you are BOTH 1) age 65 or older and 2) enrolled in Medicare Part B.",
"open enrollment period": "Under Medigap, your open enrollment period is the six-month time period after enrolling in Medicare Part B. It begins on the first day of the month in which you are BOTH 1) age 65 or older and 2) enrolled in Medicare Part B.",
"Out-of-pocket costs": "Your out-of-pocket costs include what you pay for prescription drugs (copays and/or the percentage of the cost you pay) in 2010.",
"out-of-pocket costs": "Your out-of-pocket costs include what you pay for prescription drugs (copays and/or the percentage of the cost you pay) in 2010.",
"Out-of-network": "Services provided by a doctor, hospital, pharmacy, or other health care provider that does not have a contract with Priority Health to provide services to Priority Health Medicare plan members.",
"out-of-network": "Services provided by a doctor, hospital, pharmacy, or other health care provider that does not have a contract with Priority Health to provide services to Priority Health Medicare plan members.",
"Out-of-pocket": "Your out-of-pocket costs are what you pay, the cash that comes from you. For prescription drugs, it includes your copays and/or the percentage of the cost that you pay.",
"out-of-pocket": "Your out-of-pocket costs are what you pay, the cash that comes from you. For prescription drugs, it includes your copays and/or the percentage of the cost that you pay.",
"Out-of-pocket maximum": "The maximum amount you would pay for medical services, including your copays and any deductible. There is no out-of-pocket maximum for prescription drug coverage.",
"out-of-pocket maximum": "The maximum amount you would pay for medical services, including your copays and any deductible. There is no out-of-pocket maximum for prescription drug coverage.",
"PCP": "A primary care physician or other primary health care provider, such as a nurse practitioner, who coordinates your medical care. If your plan requires you to choose a PCP, you can choose a family practice physician, internist, or GP. Some OB/GYNs and other specialists can also be your primary care physician.",
"POS": "An HMO option that lets you use doctors and hospitals outside the plan's network for an additional cost.",
"PPO": "PPO stands for Preferred Provider Organization. These plans are similar to HMOPOS plans because you can go out of the plan's network to see doctors, hospitals or other health care providers, at an additional cost. They are different from HMO and POS plans in that you don't need to choose a primary care doctor or other primary health care provider.",
"Medicare Part A": "Medicare Part A insurance covers inpatient care in hospitals, including skilled nursing facilities, hospice, and home health care.",
"Medicare Part B": "Medicare Part B medical insurance helps cover the costs doctor's services and outpatient care, including some preventive services to help maintain your health and to keep certain illnesses from getting worse.",
"Medicare Part C": "Medicare Part C is coverage for Parts A and B offered by private insurance companies approved by Medicare. These plans are called Medicare Advantage plans. Priority Health's Medicare Advantage plans also include Medicare Part D prescription drug coverage.",
"Medicare Part D": "Medicare Part D is prescription drug coverage. It may help lower your prescription drug costs and help protect you against higher costs in the future.",
"Preferred brand": "Preferred brand drugs have usually been on the market for a while or are commonly prescribed. They have been selected to be on the Approved Drug List (formulary) based on their effectiveness and safety.",
"preferred brand": "Preferred brand drugs have usually been on the market for a while or are commonly prescribed. They have been selected to be on the Approved Drug List (formulary) based on their effectiveness and safety.",
"Preferred premium": "Medigap plans have two premium levels. The preferred premium applies to you if you are in your open enrollment period, or if you have a guaranteed issue right. It may also apply if you are healthy.",
"preferred premium": "Medigap plans have two premium levels. The preferred premium applies to you if you are in your open enrollment period, or if you have a guaranteed issue right. It may also apply if you are healthy.",
"Referral": "A referral is generally a written document that must be received by a doctor before he or she can give you care. Though Priority Health Medicare plans do not require you to get a referral to see a specialist, some specialists will ask for a referral before they will agree to see you.",
"referral": "A referral is generally a written document that must be received by a doctor before he or she can give you care. Though Priority Health Medicare plans do not require you to get a referral to see a specialist, some specialists will ask for a referral before they will agree to see you.",
"Service area": "The Priority Health service area for our Medicare prescription drug plan (PriorityMedicare Rx) is the entire state of Michigan. Our service area for our Medicare Advantage plans is 31 counties in lower Michigan.",
"service area": "The Priority Health service area for our Medicare prescription drug plan (PriorityMedicare Rx) is the entire state of Michigan. Our service area for our Medicare Advantage plans is 31 counties in lower Michigan.",
"Skilled nursing care": "A level of care that includes services that can only be performed safely and correctly by a licensed nurse (either a registered nurse or a licensed practical nurse).",
"skilled nursing care": "A level of care that includes services that can only be performed safely and correctly by a licensed nurse (either a registered nurse or a licensed practical nurse).",
"Skilled nursing": "A level of care that includes services that can only be performed safely and correctly by a licensed nurse (either a registered nurse or a licensed practical nurse).",
"skilled nursing": "A level of care that includes services that can only be performed safely and correctly by a licensed nurse (either a registered nurse or a licensed practical nurse).",
"Specialty drugs": "Drugs or drug classes whose cost per month or per dose is higher than the limit established by the Federal government's Centers for Medicare and Medicaid Services (CMS). You can get a maximum of a 31-day supply per prescription or refill of a specialty drug.",
"specialty drugs": "Drugs or drug classes whose cost per month or per dose is higher than the limit established by the Federal government's Centers for Medicare and Medicaid Services (CMS). You can get a maximum of a 31-day supply per prescription or refill of a specialty drug.",
"Subsidy": "This is the part of your monthly drug plan premium that Medicare pays if you qualify for extra help. A 100% subsidy means you will not have to pay for your drug plan or the drug plan portion of your Medicare Advantage plan. A 50% subsidy means you will only have to pay half of the regular drug plan premium. No matter how large a subsidy you get, you will still have to pay your Medicare Part B monthly premium.",
"subsidy": "This is the part of your monthly drug plan premium that Medicare pays if you qualify for extra help. A 100% subsidy means you will not have to pay for your drug plan or the drug plan portion of your Medicare Advantage plan. A 50% subsidy means you will only have to pay half of the regular drug plan premium. No matter how large a subsidy you get, you will still have to pay your Medicare Part B monthly premium.",
"Tier": "Every drug covered by a Priority Health Medicare Advantage or prescription drug plan is listed in one of four cost-sharing levels, or \"tiers\". The higher the tier, the higher the cost of the drug, and the higher your copay for the drug.",
"tier": "Every drug covered by a Priority Health Medicare Advantage or prescription drug plan is listed in one of four cost-sharing levels, or \"tiers\". The higher the tier, the higher the cost of the drug, and the higher your copay for the drug.",
"Total drug costs": "The total of what you have paid plus what your plan has paid for your prescription drugs during the year.",
"total drug costs": "The total of what you have paid plus what your plan has paid for your prescription drugs during the year."
};
$(document).ready(			  
	function() { 
	tips();
	fontresize();

         // Check for confirmation number
         var confno = getUrlVars()["confno"];
         if ($("#confno").length > 0) {
           if (confno && /^\d+$/.test(confno)) {
              $("#confno").html('<span style="color: green; font-weight: bold;">' + confno + '</span>');
           }
           else {
             $("#confno").html('<span style="color: red; font-weight: bold;">Invalid or unknown confirmation number.</span>');
           } 
         }
	}
);(function ($) {

$.fn.hint = function (blurClass) {
  if (!blurClass) { 
    blurClass = 'blur';
  }
    
  return this.each(function () {
    // get jQuery version of 'this'
    var $input = $(this),
    
    // capture the rest of the variable to allow for reuse
      title = $input.attr('title'),
      $form = $(this.form),
      $win = $(window);

    function remove() {
      if ($input.val() === title && $input.hasClass(blurClass)) {$input.val('').removeClass(blurClass);}
    }

    // only apply logic if the element has the attribute
    if (title) { 
      // on blur, set value to title attr if text is blank
      $input.blur(function () {
        if (this.value === '') {$input.val(title).addClass(blurClass);}
      }).focus(remove).blur(); // now change all inputs to title
      
      // clear the pre-defined text when form is submitted
      $form.submit(remove);
      $win.unload(remove); // handles Firefox's autocomplete
    }
  });
};

})(jQuery);
function fontresize(){
 // Reset Font Size
 var originalFontSize = $('html').css('font-size');
 $(".resetFont").click(function(){
 $('html').css('font-size', originalFontSize);
 });
 // Increase Font Size
 $(".increaseFont").click(function(){
  var currentFontSize = $('html').css('font-size');
 var currentFontSizeNum = parseFloat(currentFontSize, 10);
   var newFontSize = currentFontSizeNum*1.2;
 $('html').css('font-size', newFontSize);
 return false;
 });
 // Decrease Font Size
 $(".decreaseFont").click(function(){
  var currentFontSize = $('html').css('font-size');
 var currentFontSizeNum = parseFloat(currentFontSize, 10);
   var newFontSize = currentFontSizeNum*0.8;
 $('html').css('font-size', newFontSize);
 return false;
 });
}

//**********************************
// Get URL Variables
//**********************************
function getUrlVars() {
	var vars = {};
	var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
		vars[key] = value;
	});
	return vars;
}


function tips(){
	$('.definition').each(function(i,word){
			var tipcontent = $(word).text();
                        tipcontent = tipcontent.replace(/\u00a0/g, ' '); 
			$(word).qtip({
						  show: 'mouseover',
						  hide: 'mouseout',
   				 content: dictionary[tipcontent],
				  position: {
      corner: {
         target: 'topLeft',
		 tooltip: 'bottomLeft'
      }
	  
   },
   style: { 
      textAlign: 'left',
      tip: 'bottomLeft',
      name: 'green'
   }


			});
			});
	}
