;(function($) {
$(document).ready(function(){
	
	//ID Tabs Switcher
	$('#tabContent>li:gt(0)').hide();
	$('#tabsNav li:first').addClass('active');
	$('#tabsAndContent #tabsNav li').bind('click', function() {
		$('li.active').removeClass('active');
		$(this).addClass('active');
		var target = $('a', this).attr('href');
		$(target).slideDown(400).siblings().slideUp(300);
		return false;
	});
	
	//Cross Slider
	$('#featured').innerfade({
		speed: 'slow', 
		timeout: 8000, 
		type: 'sequence', 
		containerheight: '335px'
	})
	
	// Hide/Toggle links
	$('.hideme').hide();
	$('.toggle').bind('click', function() {
		var maketoggle = $(this).attr('href');
		$(maketoggle).slideToggle(300);
		return false;
	});
	
	//Table Stripe
	$('table tr:even').addClass('stripe');
	
	//Tooltips
	$('.tip').tooltip({ 
	    track: true, 
	    delay: 0, 
	    showURL: false,
	    showBody: " - "
	});
	$('.cal_link').tooltip({ 
	    track: true, 
	    delay: 0, 
	    showURL: false,
	    showBody: " - "
	});
	
	/* Dropshadows
	$('#content').dropShadow({
		left:0,
		top:0,
		blur:2,
	});
	$('.widget').dropShadow({
		left:0,
		top:0,
		blur:2,
	});
	*/
	
});
})(jQuery);
