jQuery.noConflict();

jQuery(document).ready(function() {

	// add external, document, download, etc. icon hints and tooltips to links
	jQuery('#content').linkHints({
		base : jQuery('link[@rel=home]').attr('href'),
		cb : function(){
			return true
		}}
	);
	
	
	// fix menus in IE and add keyboard navigation
	jQuery('#navigation').scriptFocus();

	// banner link
	jQuery("#banner").click( function() {location.href = jQuery("#banner h2 a").attr("href");} );

	// allow for separate colors of list bullets and text
	jQuery("#main_content li").each(function() {
		jQuery(this).addClass("color_fix").html("<div class='color_return'>"+jQuery(this).html()+"</div>");
	});
	
});

jQuery(window).load(function() {
	
	// equal height columns except home page
	if (!jQuery("body.home").length) {
		var max_height = 1;
		jQuery("#content").children().each(function() {
			if (jQuery(this).height() > max_height) {
				max_height = jQuery(this).height();
			};
		});
		jQuery("#main_sec, #right_sidebar").each(function() {jQuery(this).height(max_height)});
	}

});
