﻿jQuery(document).ready(function($){
	 $(".topnav ul.sub-menu").hide();
     $(".topnav li").hover(function(){
    	 var $li=$(this);
    	 var offset = $(this).offset();
    	 $(this).children(".topnav .sub-menu").css({'top':offset.top+$li.height(),'left':offset.left})
    	 $(this).children(".topnav .sub-menu").fadeIn()
     },function(){
    	 $(this).children(".topnav .sub-menu").fadeOut()
    	 })
});
