
//This is the code required to load if you wish to use WYSIWYG
//Name this file the same lines as the Component
//
// active:
//make sure there is an "active" attribute in the SQL database o type: meta boolean string
//make sure the url: 'cms-press', is set in the activate () function


$j(document).ready(function() {
	
	
	//this is for the FAQ accordian
	$j('.faq h3').click(function() {
		if ($j(this).hasClass('active')) {
			$j(this).next('div').slideUp().siblings('div').hide();
			$j('.faq h3').removeClass('active');
		} else {
			$j(this).next('div').slideDown().siblings('div').hide();
			$j(this).addClass('active').siblings('h3').removeClass('active');
		}
	});

	
});