//fading

$(document).ready(function(){
$(".fade").fadeTo("slow", 0.3);
$(".fade").hover(function(){
$(this).fadeTo("slow", 1.0);
},function(){
$(this).fadeTo("slow", 0.3);
});
});

$(document).ready(function(){
$(".fade1").fadeTo("slow", 1.0);
$(".fade1").hover(function(){
$(this).fadeTo("slow", 0.3);
},function(){
$(this).fadeTo("slow", 1.0);
});
});

$(document).ready(function(){
$("#logo").fadeTo("slow", 1.0);
$("#logo").hover(function(){
$(this).fadeTo("slow", 0.4);
},function(){
$(this).fadeTo("slow", 1.0);
});
});


// initialize tooltip
$("#nav [title], #logo [title], #left [title], #headText a[title], .sectionend [title], .section [title]" ).tooltip({

   // tweak the position
   offset: [10, 2],

   // use the "slide" effect
   effect: 'slide'

// add dynamic plugin with optional configuration for bottom edge
}).dynamic({ bottom: { direction: 'down', bounce: true } });



