						   
/* Corner */   
 addEvent( window, 'load', initCorners );  
   
 function initCorners() {  
     var settings = {  
         tl: { radius: 6 },  
         tr: { radius: 6 },  
         bl: { radius: 6 },  
         br: { radius: 6 },  
         antiAlias: true  
     }  
     curvyCorners( settings, ".cornerRound" ); 
	  
 }

/* DropDown */
$(document).ready(function(){
	
	$("ul.topnav li span").click(function() {
		
		$(this).parent().find("ul.subnav").slideDown('fast').show();

		$(this).parent().hover(function() {
		}, function(){	
			$(this).parent().find("ul.subnav").slideUp('fast');
		});

		//Following events are applied to the trigger
		}).hover(function() { 
			$(this).addClass("subhover");
		}, function(){
			$(this).removeClass("subhover");
	});

});