// JavaScript Document
$(window).load(function() {
    $('#slider').nivoSlider({
        effect:'random',
        slices:50,
        animSpeed:1200,
        pauseTime:4000,
        directionNav:true, //Next & Prev
        directionNavHide:false, //Only show on hover
        controlNav:false, //1,2,3...
        keyboardNav:true, //Use left & right arrows
        pauseOnHover:true, //Stop animation while hovering
        manualAdvance:false, //Force manual transitions
        captionOpacity:0.8, //Universal caption opacity
        beforeChange: function(){},
        afterChange: function(){},
        slideshowEnd: function(){} //Triggers after all slides have been shown
    });
});





$(document).ready(function() {
				
				$('.menu li').hover(
				
					function() {
						
						$(this)
								 .stop()
								 .animate({'paddingLeft'	: '5px', 
											 'paddingRight'	: '5px', 
											 'backgroundColor':'#79B6CF'}, 
											 'fast');
					}, 
					
					function() {
						
						$(this)
								 .stop()
								 .animate({'paddingLeft'	: '0px', 
								 			'paddingRight'		: '0px', 
								 			'backgroundColor' :'#A9C2CC'}, 
								 			'fast');
				
				});
        
        $("#commentForm").validate();	
        
        
        			
			});

