// Menu functions for 2010 menu
var mnuCurrent;
var mnuTimer;
function mnuShow(aObj){mnuHide();p=$('#'+aObj.id+' img').position();mnuCurrent = $('#'+aObj.id+'_sub');mnuCurrent.css('left',Math.round(p.left)+'px').css('top',(Math.round(p.top)+20)+'px').css('display','block');}
function mnuHide(){if(mnuCurrent!=undefined){mnuCurrent.hide();}mnuCurrent = undefined;mnuStopTimer();}
function mnuStartTimer(){mnuTimer = setTimeout('mnuHide()',500);}
function mnuStopTimer(){clearTimeout(mnuTimer);}
$(document).ready(function(){$('.sub_menu').mouseover(function(e){mnuStopTimer();}).mouseout(function(e){mnuStartTimer();});});

