// Document Ready
jQuery(document).ready(function() { 
        // superfish menus
		jQuery('ul.sf-menu').superfish({ 
            delay:       1000, // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:       'fast',  // faster animation speed 
            autoArrows:  false, // disable generation of arrow mark-up 
            dropShadows: false  // disable drop shadows 
        }); 
		
		// open a link in a new window
		jQuery("a[href$='.pdf'], ._blank").click(function(){
			var newwindow = window.open(this.href, '_blank');
			newwindow.focus();
			return false;
		});
		
		// contract mini form for javascript enabled users
		jQuery('.accForm_container').css('display', 'none');
			
			
			jQuery("#mast2").newsticker();
			
			
		// mini contact form expand
		jQuery('.accordionMiniForm').click(function() {
			jQuery(this).next().slideDown('slow');
			return false;
		});//.next().hide();
		
		// mini contact form contract		
		jQuery('#mast, #header, #right-column, #footer').hover(function(){
			jQuery('.accForm_container').slideUp('slow');
		});
		
		jQuery(document).ready(function() {
			jQuery('#slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});

});

