 function init_occasionsmenutext()
 {
   var div      = document.getElementById('occasionsmenutext');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -123, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-123px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-123, .5);
  	           
  	       }
   }
}
 function init_holidaysmenutext()
 {
   var div      = document.getElementById('holidaysmenutext');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -173, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-173px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-173, .5);
  	           
  	       }
   }
}
 function init_seasonalmenutext()
 {
   var div      = document.getElementById('seasonalmenutext');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -82, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-82px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-82, .5);
  	           
  	       }
   }
}

function init_tweens()
{
 init_seasonalmenutext();
 init_holidaysmenutext();
 init_occasionsmenutext();
}
