
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - jquery.faqulator.min.js - */
// http://www.shc.edu/portal_javascripts/jquery.faqulator.min.js?original=1
jQuery.fn.faqulator=function(settings){return this.each(function(){settings=jQuery.extend({display_speed:300,q_selector:"dt",a_selector:"dd",q_link_selector:"a",do_show_all:true,show_all_text:"show all answers",hide_all_text:"hide all answers"},settings);var faq=jQuery(this);jQuery(settings["a_selector"],faq).hide();if(settings["do_show_all"]){show_allQ=faq.prepend("<a href='#' class='faq_show_all_link'>"+settings["show_all_text"]+"</a>");show_allQ.children('.faq_show_all_link').toggle(function(){jQuery(settings["a_selector"],faq).show();jQuery(this).html(settings["hide_all_text"]);return false}, function(){jQuery(settings["a_selector"],faq).hide();jQuery(this).html(settings["show_all_text"]);return false})} jQuery(settings["q_selector"],faq).each(function(){jQuery(this).children(settings["q_link_selector"]+":first").bind("click", function(){jQuery(this).parent(settings["q_selector"]).next(settings["a_selector"]).slideToggle(settings["display_speed"]);return false})})})}

/* - generic_faq.js - */
// http://www.shc.edu/portal_javascripts/generic_faq.js?original=1
$(document).ready(function(){$(".faq_topic dl").faqulator()})
