// JQuery Superfish
$(document).ready(function(){ 
        $("ul.nav").superfish({ 
            speed:       'fast',                          // faster animation speed 
            autoArrows:  false,                           // disable generation of arrow mark-up 
            dropShadows: false                            // disable drop shadows 
        }); 
    });
// Pop up videos
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//jQuery Accordion
jQuery().ready(function(){
		// second simple accordion with special markup
		jQuery('#navigation').accordion({
			active: true,
			header: '.head',
			navigation: true,
			autoheight: false,
//			event: 'mouseover',
			fillSpace: false,
			animated: 'easeslide'
		});

	});