jQuery(document).ready(function(){

jQuery(function(){
	jQuery("a[href$='.pdf'], ._blank").click(function(){
		var newwindow = window.open(this.href, '_blank');
		newwindow.focus();
		return false;
	});
});

// Home page button animation 
jQuery(".cta-button span").css("opacity","0");
jQuery(".cta-button span").hover(
      function () {
        jQuery(this).stop().animate({
				opacity: 1
			}, "slow");
      }, 
      function () {
        jQuery(this).stop().animate({
				opacity: 0
			}, "slow");
      }
);

// side navigation
jQuery("#side-navigation ul, #top-navigation ul").superfish({
		animation:   {opacity:'slideUp',height:'show'}
});	

// sitemap
jQuery("#footer .open-close").click(
      function () {
        jQuery('#sitemap-expand').stop().slideToggle('slow');
	   return (false);
      }, 
      function () {
        jQuery('#sitemap-expand').stop().slideToggle('slow');
	   return (false);
      }
);


jQuery(".submit").hover(
	 function () {
	   jQuery(this).addClass("hover");
	 }, 
	 function () {
	   jQuery(this).removeClass("hover");
	 }
);

jQuery(".alpha-80").css("opacity",".8");

jQuery("#nav").css("opacity",0.40);

jQuery('#home').cycle({ 
	fx:     'scrollLeft', 
	speed:  500,
	pager:  '#nav', 
	timeout: 15000
});

});