//simple search, advanced search and search results functions

$(document).ready(function(){

	//jq tooltips
	$("a.tooltip").Tooltip({track: true, showURL: false});
	$("#donor_results th a").Tooltip({track: true, showURL: false});
	$("#printresults").Tooltip({track: true, showURL: false});

	// print function
	$("#printresults").click(function () 	{window.print();}  	);



	// make the class stick when a 'must have' button is checked
	$("div.musthave label").click(function() {
	    $(this).toggleClass('musthavechecked');
	});
	

   /*	$(".myaccount .data_chunk h2").click().toggle($(this).next());

		h2s = $(".myaccount .data_chunk h2")
		console.log(h2s)
	*/



	/*$('#tabwrap:not(".donorsearch")').tabs({fxFade: true, fxSpeed: 'fast', tabStruct: 'div>div'});*/

});//doc ready
