if (typeof(loadFirebugConsole) != 'undefined') { loadFirebugConsole(); }
if (typeof(console) == 'undefined') { console = {debug: function() {}}; }

$(document).ready(function() {
  var section = (location.hash.length > 0)?location.hash:'#overview';
  $('.section')
    .hide()
    .filter(section)
      .show();
  
  $('#nav a').click(function(e) {
    var href = $(this).attr('href');
    if (href.indexOf('#') === 0) {
      $('.section')
        .hide()
        .filter(href)
          .show();
    }
  });
  
  $('#htmlFaq #faqList').simpleFAQ();
  $('#htmlFaq #faqList').bind('show.simpleFAQ', function(jQEvent, faqNode) {
    console.debug(faqNode);
  });
  
  $('#jsonFaq #faqList').simpleFAQ({
    data: faqs
  });
  
  $('#jsonShowAllFaq #faqList').simpleFAQ({
    data: faqs,
    allowSearch: true,
    searchNode: '#faqSearch',
    minSearchScore: 0.5
  });
  $('#jsonShowAllFaq #simpleFAQSearch').keyup(function(jQEvent, results) {
      // If the user has no search query, show all results
      if (this.value.length < 1) {
        $('.simpleFAQ').show();
      }
    });
  $('#jsonShowAllFaq .simpleFAQ').show();
  
  $('#searchFaq #faqList').simpleFAQ({
    showOnlyOne: true,
    allowSearch: true,
    searchNode: '#faqSearch',
    minSearchScore: 0.5,
    sortSearch: true
  });
  $('#searchFaq #faqList').bind('searchStart.simpleFAQ', function(jQEvent) {
    console.debug("Search started...");
  });
  $('#searchFaq #faqList').bind('sort.simpleFAQ', function(jQEvent, results) {
    console.debug(results);
  });
  $('#searchFaq #faqList').bind('searchEnd.simpleFAQ', function(jQEvent, results) {
    console.debug(results);
    console.debug("...complete.");
  });
  
});

var faqs = [
  {
    question: "Who will benefit from this type of education/training?",
    answer: "<p>Adults in general and working adults in particular; people who are working full-time and don't have the time to go to a traditional college or university. Single parents who would like to pursue their career education. People who are looking to change their careers. University graduates or executives who would like to have a technical background to better market themselves. ACOT platform focuses on the practical approach of learning. Through the live audio/video conferencing system in place, students will reap the benefits of a live interaction with the instructor and other classmates from the convenience of their homes. ACOT intends to make each learning experience a world-class event.</p>",
    tags: "log in, user account, reset password"
  },
  {
    question: "Why is ACOT's cost far less than other colleges?",
    answer: "<p>American College of Technology mission is to deliver, career oriented, technical training and education to anybody, anywhere at a fair cost. We believe that affordable education should be available to everyone, at any time. Traditional colleges incur high administrative and organizational costs to support their infra-structure; campuses, theaters, and maintenance, such expenses are passed to the online student. At ACOT, we have eliminated most of the costs associated with traditional colleges and we believe in passing these significant savings on to our students. <strong><a href='javascript:myPopup2()' style='color:#F00;'>Click to compare!</a></strong></p>",
    tags: "log in, forgot password, reset password"
  },
  {
    question: "Is my education as valuable as on-campus education?",
    answer: "<p>ACOT programs are developed as a result of the founder's and staffs' teaching experience on college campuses and technical expertise. As a matter of fact, the online education delivered by ACOT exceeds the on-campus education at other colleges. ACOT provides daily interactive online classes, where students can hear the instructor and watch live presentations. In addition, ACOT provides students with video tutorials that illustrate further the study material and lectures. All live lectures are recorded so students can review the lectures as many times as needed, a feature not available in traditional schools. In addition our instructors are also available outside scheduled lectures to answer any questions students may have.</p>",
    tags: "locked account, reset account, log in, incorrect password, unlock account"
  },
  {
    question: "How does it work?",
    answer: "<p>In order to deliver a rich  learning experience to our students, ACOT adopted a comprehensive  delivery system which consists of multiple components:<br><br><ul><li><u>Audio Class</u><br>There are 3 online lectures a week, Monday, Wednesday, and Friday or Tuesday,     Thursday and Saturday. Each lecture  is 3 hours in length. To accommodate working individuals, Lectures are usually     conducted in the  evening, except for Saturdays.</li><br><br><li><u>ACOT E-Learn</u><br>The <strong><u>ACOT-eLearn</u></strong> environment is set up for students, using their user name and password,  to logon and utilize all the components of the classroom, such as;  participate in the audio lecture, review the study materials, send and  receive messages, do their assignments, discuss study materials with  their fellow students, take the online tests and communicate with their  teachers.<br><br><li><u>Online Tests</u><br>Every week you have an online test which covers the material taught in that week. Each test is  approximately one hour. You can take the test at anytime between Friday and Sunday at  midnight. Once you submit the answers your score is displayed on the screen, and a copy is sent  to your instructor.</li><br><br><li><u>Video Tutorials</u><br>In addition to the instructor's explanation, most courses are accompanied with video tutorials to explain the study materials further. Students can view the videos during class time, and later on at their convenience.<br></li><li><u>Recorded Lectures</u><br>All live lectures are recorded and posted on ACOT website, students can replay the lecture at any time and as many time as they wish.</li></ul></p>",
    tags: "register, user account, confirm, registration"
  },
  {
    question: "What if I can not attend the lecture at specific time?",
    answer: "<p>All online lectures are recorded and posted on our site, so you can listen and watch the presentation at any other time and as many times as you need.</p>",
    tags: "save, saving widget information, saved"
  },
  {
    question: "How many hours do I need to study?",
    answer: "<p>That varies; however, our students have been reporting an average of 12 -20 hours of weekly study. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>",
    tags: "create widget, creating, new widget"
  },
  {
    question: "What are my chances of getting a job after graduation?",
    answer: "<p>ACOT, like other schools, does not guarantee employment for graduates. However, many employers are preferring graduates of Technical and Career focused schools for employment. ACOT devotes the last week of graduation to assist students with job placement. Our Alumni Website is devoted to link graduates with potential employers in the industry by exploring placement resources, and head-hunters agencies.</p>",
    tags: "terms of use, privacy, policy, policies, conditions"
  },
  {
    question: "My math skills are not very good, can I still be a programmer?",
    answer: "<p>Many people tend to think that to be a programmer you have to be a math expert. This is a myth. Business application programming does not have much math requirements. Average math skills are enough to learn programming.</p>",
    tags: "help, contact us, email"
  },
  {
    question: "What are the requirements for admission?",
    answer: "<p>The following must be submitted to ACOT as conditions for enrollment:<br />
			<ul>
				<li>Completed application form, which can be found in the school catalog  www.acot.edu or complete the 					application online @ https://www.acotsecure.com/apply.htm </li>
				<li>A high school transcript/GED Request Form</li>
				<li>Enrollment agreement signed and dated</li>
				<li>Copy of ID and Social Security card</li>
			</ul>
    tags: "help, error message, support, email, issue, problem"
  },
  {
    question: "Do you offer Financial Aid?",
    answer: "<p>ACOT is pleased to announce that it has been approved by the Department of Education early 2010 to offer Federal Financial Aid (Title IV funding). Financial Aid is available to those who qualify; To see how much you qualify for, complete the free online FAFSA application, our Code is:<br><div align='center'><strong style='color:#F00; font-size:14px;'>041187</strong></div></p>",
    tags: "widget sharing, shared, email"
  },
  {
    question: "I have bad credit; do I still qualify for federal funding?",
    answer: "<p>Most people do, Federal funding is not subject to credit rating. All Americans and permanent residents qualify to some type of federal funding to go to school.</p>",
    tags: "widget sharing, shared, how to share, owner, remove users, add"
  },
  {
    question: "Are there any Tax Benefits for going to ACOT?",
    answer: "<p>Yes, there are two tax credit bills for higher education; Hope Tax Credit, and Life-long Tax Credit.You can get more information on the IRS website using this link: <strong><a href='http://www.irs.gov/taxtopics/index.html' target='_blank'>Tax Credit for Education</a></strong>!  Or check with your accountant.</p>",
    tags: "technical requirements, browsers, support, javascript"
  },
  {
    question: "How do I enroll?",
    answer: "<p>1) you can call us at 1-800-908-9329; <br>2) Or Click here to apply online at: <a target='_self' href='apply.htm'><strong>APPLY ONLINE! </strong></a></p>",
    tags: "change password, change email address, account settings, user settings"
  },
  {
    question: "Can I transfer my credits from ACOT to a 4-year college or university?",
    answer: "<p>That depends on the receiving college or university, ACOT is an accredited college, and in theory you should be able to transfer most credits, however, you might lose some credits depending on the receiving college or university transfer policy. I would check with the college you plan to attend later on before you enroll at ACOT."
  }
];

