// JavaScript Document
$(document).ready(function(){
		$("ul.main-nav li::last-child").addClass('last');
		$("ul.main-nav li:first").addClass('first');

// Google Plus One code
                              (function() {
                                var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                                po.src = 'https://apis.google.com/js/plusone.js';
                                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                              })();
							  
							  
							  
$("ul.main-nav").superfish({	
		delay:         600,                // the delay in milliseconds that the mouse can remain outside a submenu without it closing 
		animation:     {opacity:'show'},   // an object equivalent to first parameter of jQuery’s .animate() method 
		speed:         300,           // speed of the animation. Equivalent to second parameter of jQuery’s .animate() method 
		autoArrows:    true,               // if true, arrow mark-up generated automatically = cleaner source code at expense of initialisation performance
		disableHI:     true,  
		dropShadows:   true 
		
		}); 					  
                            
							
});							
