
 function initMenu(cid) {   
   if(cid > 0){
    tid = cid}
   else {
    tid = 1 
     }
   setmenu(tid);
    var item = eval('m' + tid);
    item.style.backgroundColor = '#7c9679';
    item.style.color = '#ffffff';
    }
 function content(cid) {
  switch (cid)
  {
   case 1:
     location = "index.cfm";
     break;
   case 2:
     location = "our_services.cfm";
     break;
   case 3:
     location = "learn_more.cfm";
     break;
   case 4:
     location = "about_fc.cfm";
     break;
   case 5:
     location = "fc_faq.cfm";
     break;
   case 6:
     location = "contact_info.cfm";
     break;
   case 7:
     location = "family_organizations.cfm";
     break;
   case 8:
     location = "digital_records.cfm";
     break;
   case 9:
     location = "lds_services.cfm";
     break;
   case 10:
     location = "historical_videos.cfm";
     break;
   case 11:
     location = "organize.cfm";
     break;
   case 12:
     location = "book_of_remembrance.cfm";
     break;
   case 13:
     location = "fc_research.cfm";
     break;
   case 15:
     location = "team.cfm";
     break;
   case 16:
     location = "admin_login.cfm";
     break;
   default:
     location = "index.cfm";
   }
  }
 function hlmenu(item){
  var c_item = document.getElementById('cmid').value;
  var i = 10;
  for(i=11;i<14;i++){
    if(c_item != i) {
      m_item = eval('m_item' + i);
      m_item.style.opacity = .7;
      m_item.style.filter = 'alpha(opacity = ' + (70) + ')';
     } 
   }
 if(item > 0) { 
  currentItem = eval('m_item' + item);
  currentItem.style.opacity = 1;
  currentItem.style.filter = 'alpha(opacity = ' + (100) + ')';
   }
 } 
 function setmenu(item){
  var c_item = document.getElementById('cmid');
  c_item.value = item;
 } 
 
   function mmOver(tid) {
    var item = eval('m' + tid);
    item.style.backgroundColor = '#7c9679';
    item.style.color = '#ffffff';
    }
   function mmOut(tid) {
    var c_item = document.getElementById('cmid').value;
      var i = 0;
      for(i=1;i<=7;i++){
        if(c_item != i) {
         var item = eval('m' + i);
         item.style.backgroundColor = '#f7d863';
         item.style.color = '#555555';
        }
       } 
      }
   
   function toggleAnswer(qid) {
      var e=document.getElementById(qid);
        document.getElementById('a1').style.display="none";
        document.getElementById('a2').style.display="none";
        document.getElementById('a3').style.display="none";
        document.getElementById('a4').style.display="none";
        document.getElementById('a5').style.display="none";
        document.getElementById('a6').style.display="none";
        document.getElementById('a7').style.display="none";
        e.style.display='block';
      }
   function toggleService(qid) {
      var e=document.getElementById(qid);
        document.getElementById('s1').style.display="none";
        document.getElementById('s2').style.display="none";
        document.getElementById('s3').style.display="none";
        document.getElementById('s4').style.display="none";
        document.getElementById('s5').style.display="none";
        document.getElementById('s6').style.display="none";
        document.getElementById('s7').style.display="none";
        e.style.display="block";
      }

