/*
 *	Innerfade
*/

jQuery.noConflict();	
	jQuery(document).ready(function(){  	
		jQuery('#slider').innerfade({
				animationtype: 'fade', 
				speed: '3000',
				timeout: 7000,
				type: 'sequence',
				containerheight: 'auto'
		});	
});

/*
 *	Newsticker
*/

jQuery.noConflict();
	jQuery(document).ready(function(){
		jQuery(".news ul").newsTicker();
	});


/*
 *	Table Style
*/

jQuery.noConflict();	
	jQuery(document).ready(function(){  	
		jQuery("#table-a tr:odd").addClass("alt");	
	});
	
	
/*
 *	Hover Fade
*/
jQuery.noConflict();
	jQuery(document).ready(function() {
		jQuery(".planBoxIconvz-1, .planBoxIconvz-2, .planBoxIconvz-3, .planBoxIconvz-4").animate ({
			"opacity": .65
		});
		
		jQuery(".planVZ-1").hover(function() {
			jQuery('.planBoxIconvz-1').stop().animate({ "opacity": 1 });
			}, function () {
			jQuery('.planBoxIconvz-1').stop().animate({ "opacity": .65 });
		}); //VZ-1
		
		jQuery(".planVZ-2").hover(function() {
			jQuery('.planBoxIconvz-2').stop().animate({ "opacity": 1 });
			}, function () {
			jQuery('.planBoxIconvz-2').stop().animate({ "opacity": .65 });
		}); //VZ-2
		
		jQuery(".planVZ-3").hover(function() {
			jQuery('.planBoxIconvz-3').stop().animate({ "opacity": 1 });
			}, function () {
			jQuery('.planBoxIconvz-3').stop().animate({ "opacity": .65 });
		}); //VZ-3
		
		jQuery(".planVZ-4").hover(function() {
			jQuery('.planBoxIconvz-4').stop().animate({ "opacity": 1 });
			}, function () {
			jQuery('.planBoxIconvz-4').stop().animate({ "opacity": .65 });
		}); //VZ-4
	});
	
/* Top Navigation - Dropdown */
jQuery(document).ready(function() {
		
	//Configurations
	var config = {
	     sensitivity: 2,
	     interval: 0, 
	     over: megaHoverOver,
	     timeout: 0,
	     out: megaHoverOut
	};

	jQuery("ul#topNav li .sub").css({'display':'none'});
	jQuery("ul#topNav li").hoverIntent(config); //Trigger
	
	//On Hover In
	function megaHoverOver(){
	    jQuery(this).find(".sub").stop().css({'display':'block'}).show();
	}
	
	//On Hover Out
	function megaHoverOut(){
	  jQuery(this).find(".sub").stop().css({'display':'none'}, function() {
	      jQuery(this).hide(); 
	  });
	}
	
});