$(document).ready(function(){
			$("a[rel='image']").colorbox();
			$("a[rel='fade']").colorbox({transition:"fade"});
			$("a[rel='slideshow']").colorbox({slideshow:true});
			$(".html").colorbox();
			$(".iframe").colorbox({iframe:true, innerWidth:490, innerHeight:480});
			$(".popupForm").colorbox({iframe:true, innerWidth:590, innerHeight:570});
			$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
			$(".inline").colorbox({width:"50%", inline:true, href:"#inline_example1"});
			//Example of preserving a JavaScript event for inline calls.
			$("#click").click(function(){ 
				$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
				return false;
			});
		});
		$(function(){
    		$('a.new-window').click(function(){
        	window.open(this.href);
        	return false;
			});
		});
		$(function(){
			$('#BFbanner').vTicker({ 
			speed: 500,
			pause: 4000,
			animation: 'fade',
			mousePause: true,
			showItems: 1
			});
		});
		$(function(){
 			$("#trigger").click(function(event) {
			event.preventDefault();
			$("#box").slideToggle();
			});
 
			$("#box a").click(function(event) {
			event.preventDefault();
			$("#box").slideUp();
			});
			});
	SCH_faq = {
	init : function() {
		$('div.faq .answer').not(':first').slideToggle('fast');
		$('div.faq .question').click(function() { SCH_faq.toggle(this) });
	},
	
	toggle : function(elt) {
		$(elt).toggleClass('active');
		$(elt).siblings('.answer').slideToggle('fast');
	}
}

$(function() { 
	SCH_faq.init();
});
