// 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 
        });
	
		// Chain elements with a comma: #qc .button, #contact .button, #newsletter .button
	
	$("#qc input.button, #contact input.button").hover(
		function () {
			$(this).addClass("hover");
		}, 
		function () {
			$(this).removeClass("hover");
		}
	);
	
	//open a new window with class "_blank"
	jQuery(function(){
		jQuery("a[href$='.pdf'], ._blank").click(function(){
			var newwindow = window.open(this.href, '_blank');
			newwindow.focus();
			return false;
		});
	});

});
