if (typeof(HMD) == 'undefined') {
	HMD		= {};
	HMD.UI	= {};
}

HMD.UI.Home = function() {
	
	var init	= function() {
		
		faqBoxes();
	}

	
	var faqBoxes	= function() {
		
		/* hide the answers onload */
		jQuery('#clientcats li div.cl-list').hide();
		/* make the question look like a link*/
		jQuery('#clientcats li h4.cat-head').css({cursor: "pointer"});
		
		jQuery('#clientcats li h4.cat-head').click(function() {
			var theid = this.id.replace('c','') ;
			var answer = document.getElementById('n'+theid);
			jQuery(answer).slideToggle();
			
		})
		
	}


	return {
		init: init
	}

}();

jQuery(function($) { HMD.UI.Home.init(); });
