 function init_cafemenuhovershow()
 {
   var div      = document.getElementById('cafemenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -84, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-84px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-84, 1);
  	           
  	       }
   }
}
 function init_gallerymenuhovershow()
 {
   var div      = document.getElementById('gallerymenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -84, 0, 1, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-84px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, 1);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-84, 1);
  	           
  	       }
   }
}

function init_tweens()
{
 init_gallerymenuhovershow();
 init_cafemenuhovershow();
}
