/**
 * @author mbedard
 */

/*
 * This function hides and shows the footnote in the tab. It needs to be call on each tab fragment.
 */
 function bindClick() {
	$(".footnotesHeader").toggle(function(){
		$(this).next().slideDown();
	},function(){
		$(this).next().slideUp();
	});
	}
	
/*
 * This function is for the expanding content. 
 * It needs to be call on each fragment that will uses this functionality 
 */	
function expander(){
	$(".sectionHeader").toggle(function(){
		$(this).addClass("select").next().slideDown("slow");},
		function(){
		$(this).removeClass("select").next().slideUp("slow");
	});
}
	

/*
 * This resets the search form
 */
function resetForm(srcEl)
{
	var firstTime = srcEl.getAttribute('hint');
	if (firstTime == 'true')
		{
			srcEl.value = '';
			srcEl.setAttribute("hint", false);
		}
		else 
		{
			
		}
}
	

	

