$(document).ready(function(){ 
	
	// Chain elements with a comma: #qc .button, #contact .button, #newsletter .button
	
	$("#qc input.button, #contactPatient input.button, #contactDentist input.button").hover(
		function () {
			$(this).addClass("hover");
		}, 
		function () {
			$(this).removeClass("hover");
		}
	);
	
	jQuery(function(){
		jQuery("a[href$='.pdf'], ._blank").click(function(){
			var newwindow = window.open(this.href, '_blank');
			newwindow.focus();
			return false;
		});
	});

});

jQuery(document).ready(function() {

        jQuery('ul.sf-menu').superfish({

            delay:       1000,   // one second delay on mouseout, adjust for longer/slower delay

            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation

            speed:       'fast',   // faster animation speed

            autoArrows:  false,   // disable generation of arrow mark-up – for arrows change to true

            dropShadows: false  // disable drop shadows  - for shadows change to true

        });

    });
$(document).ready(function(){
    $("#topNav")
        .superfish({
            animation : { opacity:"show"}
    });
});













