/*Trinity JS - April 2010*/ 
//Uses jquery 1.4.2 - http://jquery.com/ 
/* Javascript stylesheet */
//document.write("<link rel=\"StyleSheet\" href=\"/css/trinityJS.css\" type=\"text/css\" media=\"screen\" />");

// jQuery version of body.onload
$(document).ready(function() {
	// things to perform on load
	fnResize();
});

/** jqEM to detect font size changes **/
//set the text size that the default body computes to
var fontSize = 12;
$.jqem.bind(function(a,b,c) {		
	fnResize();
});
function fnResize(){	
	if( $.jqem.current() == fontSize) {					
		$('body').addClass('enh').removeClass('def');
		enh=true;
	}else if($.jqem.current() != fontSize){		
		$('body').removeClass('enh').addClass('def');		
		enh=false;
	};
};
function formSearch ()
{
  document.form.submit() ;
};
