$(document).ready(function(){MenuTabsAnimate();CellarRollAnimate();});

function MenuTabsShow(P)
{ E=$(P).parent().find('DIV.Tab');E.show();
}
//function MenuTabsHide(T){E=$(T).find('DIV.Tab');E.hide();}
function MenuTabsHide(P)
{ E=$(P).parent().find('DIV.Tab');
 E.oneTime(1000,function(){$(this).hide();});
}


function MenuTabShow(Tab)
{ E=$(Tab).parent().find('DIV.Tab');
 E.stopTime();
 if(E.queue().length==0&&E.css('display')=='none')
  E.show('blind',{},500,function(){$(this).animation=false;});
}

function MenuTabHide(Row)
{ E=$(Row).find('DIV.Tab');
 E.stopTime();
 E.oneTime(1000,function(){E=$(this);if(E.queue().length==0&&E.css('display')=='block')E.hide('blind',{},500);});
}

function MenuTabsAnimate()
{ $("#Menu P").hover(function(){MenuTabsShow(this);},function(){});
// $("#Menu TD").hover(function(){},function(){MenuTabsHide(this);});
 $("#Menu P").hover(function(){},function(){MenuTabsHide(this);});
 $("#Menu DIV.Push").hover(function(){MenuTabShow(this)},function(){});
 $("#Menu TH").hover(function(){},function(){MenuTabHide(this)});
}
function CellarRollAnimate()
{
 $("#Cellar_Roll").click(function(){$("#Cellar_Block").toggle('blind',{},1500);});
}
