var phraseCount = 0;
phraseCount = 19;
var phrases = new Array(phraseCount);
phrases[0] = "<p>The word dementia is derived from two Latin words meaning 'away' and 'mind'.  </p><a href=\"Intro_Dementia-01.jsp\" class=\"learnMore\">Learn More</a>";
phrases[1] = "<p>Dementia is a major medical, social and economic problem that will get worse in the future as the number of older people in the population increases.</p><a href=\"Intro_Dementia-01.jsp\" class=\"learnMore\">Learn More</a>";
phrases[2] = "<p></p><a href=\"Intro_Dementia-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[3] = "<p> less than 5% of dementias are reversible</p><a href=\"Intro_Dementia-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[4] = "<p> </p><a href=\"Intro_Dementia-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[5] = "<p>Don't forget - memory loss in isolation does not always mean dementia!</p><a href=\"Intro_Dementia-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[6] = "<p>dementia rates double every 5 years after the age of 65</p><a href=\"Epi2_Dementia-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[7] = "<p>dementia rates are twice as high in women compared to men</p><a href=\"Epi2_Dementia-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[8] = "<p>vascular dementia is more prevalent in men</p><a href=\"Epi2_Dementia-03.jsp\" class=\"learnMore\">Learn More</a>";
phrases[9] = "<p>Dementia is commonly under-diagnosed in primary health care settings because of the multiple etiologies and the wide range of symptoms at the time of presentation </p><a href=\"Dementia_dx.jsp\" class=\"learnMore\">Learn More</a>";
phrases[10] = "<p>there is no single test that is available to detect and diagnose dementia in clinical practice</p><a href=\"dementia_tools-01.jsp\" class=\"learnMore\">Learn More</a>";
phrases[11] = "<p>The most commonly used test to screen cognition is the Mini Mental State Examination</p><a href=\"dementia_tools-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[12] = "<p>VaD can result from a number of syndromes associated with cerebrovascular disease and is characterized by an abrupt onset and a stepwise decline </p><a href=\"dementia_phys-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[13] = "<p>Pick’s Disease is one type of FTD; the cerebral cortex has ballooned cells called Pick cells with intraneuronal inclusions called Pick bodies</p><a href=\"dementia_phys-05.jsp\" class=\"learnMore\">Learn More</a>";
phrases[14] = "<p>The main risk factors for dementia are age, family history and APOE status </p><a href=\"dementia_rf-01.jsp\" class=\"learnMore\">Learn More</a>";
phrases[15] = "<p>age is the strongest risk factor for dementia as the prevalence of AD doubles every 5 years beyond the age of 65 </p><a href=\"dementia_rf-01.jsp\" class=\"learnMore\">Learn More</a>";
phrases[16] = "<p>ChEIs focus on correcting the cholinergic deficiency in the central nervous system</p><a href=\"rx_dementia-02.jsp\" class=\"learnMore\">Learn More</a>";
phrases[17] = "<p>creating supportive environments with structure and routine, such as day hospitals and respite care, to allow patients to function to their maximum capacity</p><a href=\"rx_dementia-06.jsp\" class=\"learnMore\">Learn More</a>";
phrases[18] = "<p>Caregiving is gendered -  the majority of caregivers are women</p><a href=\"caregiving_dementia-03.jsp\" class=\"learnMore\">Learn More</a>";
function didyouknow() {
   if (phraseCount > 0) {
      var pIndex = Math.floor(Math.random()*phraseCount);
      document.write(phrases[pIndex]);
   } else {
      document.write('No phrases found for didyouknow file.');
		document.getElementById('didyouknow-title').style.display='none';		document.getElementById('didyouknow-info').style.display='none';   }
}

