$(function(){

	//menutop
	$("#menu2").removeClass("cssonly");
	$("#menu2 li a.rootNav").hover(function(){ 
		$(this).addClass("bgcol");
		$(this).parent().find("ul.subnav").fadeIn(0);
		$(this).parent().hover(function() {
		}, function() {
			$(this).parent().find("ul.subnav").fadeOut(0);
			$("#menu2 li a.rootNav").removeClass("bgcol");
		})
	});
	
	//tabs
	$("ul.tabs").tabs("div.panes > div.test");
	
	//captify
	$('img.captify').captify({
		// all of these options are... optional
		// ---
		// speed of the mouseover effect
		speedOver: 'fast',
		// speed of the mouseout effect
		speedOut: 'normal',
		// how long to delay the hiding of the caption after mouseout (ms)
		hideDelay: 100,	
		// 'fade', 'slide', 'always-on'
		animation: 'slide',		
		// text/html to be placed at the beginning of every caption
		prefix: '',		
		// opacity of the caption on mouse over
		opacity: '0.7',					
		// the name of the CSS class to apply to the caption box
		className: 'caption-bottom',	
		// position of the caption (top or bottom)
		position: 'top',
		// caption span % of the image
		spanWidth: '100%'
	});


//end functions
});
	

		
		




