jQuery(document).ready(

	/*
	This function gets loaded when all the HTML, not including the portlets, is
	loaded.
	*/

	function() {
		jQuery(".top_nav > a:eq(0)").addClass("schoolsTab");


jQuery(".top_nav > a:eq(1)").addClass("providersTab");


jQuery(".top_nav > a:eq(2)").addClass("borrowersTab");






var currentURL = window.location.pathname;


var tabLinks = jQuery(".top_nav a");
jQuery.each(tabLinks, function() {


var tabLink = jQuery(this);


var tabURL = tabLink.attr("href");


if(tabURL == currentURL) {


tabLink.addClass("currentTab");


}


});
//END FOR EACH



	}
);

Liferay.Portlet.ready(

	/*
	This function gets loaded after each and every portlet on the page.

	portletId: the current portlet's id
	jQueryObj: the jQuery wrapped object of the current portlet
	*/

	function(portletId, jQueryObj) {
	}
);

jQuery(document).last(

	/*
	This function gets loaded when everything, including the portlets, is on
	the page.
	*/

	function() {
	}
);

