function customJS() {

			$('#checkForm').bind("keypress", function(e) {
			   //alert(e.keyCode);	
			   if(e.keyCode == 13) {		
					if ( $('#formContainer').jVal() ) submit();
					else { return false;}
			   }
			});

			/* Protects submit buttons from styling */
			$("input").addClass('inputStyle');
			$(":submit").removeClass('inputStyle');
			$(":button").removeClass('inputStyle');


			jQuery('ul.sf-menu').superfish();

			$("#corner").corner("round 8px").parent().css('padding', '2px').corner("round 10px");

			$(".uname").DefaultValue("Username");
			$(".pword").DefaultValue("Password");
			$(".email").DefaultValue("Email Address");

			$("#content_menu").accordion({ 
			autoHeight: false,  header: "a.accordion-label" 
			});


			// Striping Tables, fixing borders
//			$(".stripeMe tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
//			$(".stripeMe tr:even").addClass("alt");

// the above stripes tables on with a class, the below stripes all tables
			$("table tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
			$("table tr:even").addClass("alt");


			$("th:first").addClass("first");
			$("tr td:first-child").addClass("first");
			$("table.lefthead td:first").addClass("firsttop");


			/* Brett, I keep getting errors with these two calls to truncate().
			   Not sure what it's about, but it's preventing other JS from functioning. */
			// Shortening long text			
			//$('.tr4').truncate({ max_length: 15 });  
			//$('.tr13').truncate({ max_length: 24 });

};
$(document).ready(function() {
    customJS();
});

/* Was for non regular site pages --- 			
			$("#content_menu").accordion({ 
			autoHeight: false,  header: "a.accordion-label" 
			});
*/