
/*--------------------------------------------------------------------------------------------------*/
/* JQUERY SUPPORT FUNCTIONS
/*--------------------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------------------------*/
/* TOOLTIPS  http://flowplayer.org/tools/tooltip/index.html
/*--------------------------------------------------------------------------------------------------*/

$(document).ready(function() {
	$("a.description[title]").tooltip({
		// use div.tooltip as our tooltip
		tip: '.tooltip',
		// use the fade effect instead of the default
		effect: 'fade',
		// make fadeOutSpeed similar to the browser's default
		fadeOutSpeed: 100,
		// the time before the tooltip is shown
		predelay: 250,
		// use the html document dimensions to position the tooltip?
		// setting to false will position relative to the parent element
		relative: "false",
		// tweak the position
		position: "bottom left",
		offset: [-1,290]
	});	
	// Remove tooltips from navigation links:
    $('#nav [title]').removeAttr('title');
    $('#subnav [title]').removeAttr('title');
});


/*--------------------------------------------------------------------------------------------------*/
/* TABLE STRIPING 
/*--------------------------------------------------------------------------------------------------*/

$(document).ready(function() {	
	$('table tr:first').addClass('first');
	$('table tr:even').addClass('even');
	$('table tr:odd').addClass('odd');
});

