// Document Ready
jQuery(document).ready( function()
{
	
	//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;
		});
	});
// clear input on focus
var clearMePrevious = '';

// clear input on focus
jQuery('.search').focus(function()
{
if(jQuery(this).val()==$(this).attr('title'))
{
clearMePrevious = $(this).val();
jQuery(this).val('');
}
});

// if field is empty afterward, add text again
jQuery('.search').blur(function()
{
if(jQuery(this).val()=='')
{
jQuery(this).val(clearMePrevious);
}
});
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 
        }); 

});



