 function init_healtheffectsmenuhoversho()
 {
   var div      = document.getElementById('healtheffectsmenuhoversho');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -50, 0, .3, 'px');
   var tw2 = new Tween(div.style, 'height', Tween.regularEaseInOut, 0, 50, .3, 'px');
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-50px';
  	           div.style.height='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           tw2.continueTo(50, .3);
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-50, .3);
  	           tw2.continueTo(0, .3);
  	       }
   }
}
 function init_testingmenuhovershow()
 {
   var div      = document.getElementById('testingmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -79, 0, .3, 'px');
   var tw2 = new Tween(div.style, 'height', Tween.regularEaseInOut, 0, 79, .3, 'px');
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-79px';
  	           div.style.height='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           tw2.continueTo(79, .3);
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-79, .3);
  	           tw2.continueTo(0, .3);
  	       }
   }
}
 function init_whatisasbestosmenuhoversh()
 {
   var div      = document.getElementById('whatisasbestosmenuhoversh');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -50, 0, .3, 'px');
   var tw2 = new Tween(div.style, 'height', Tween.regularEaseInOut, 0, 50, .3, 'px');
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-50px';
  	           div.style.height='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           tw2.continueTo(50, .3);
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-50, .3);
  	           tw2.continueTo(0, .3);
  	       }
   }
}

function init_tweens()
{
 init_whatisasbestosmenuhoversh();
 init_testingmenuhovershow();
 init_healtheffectsmenuhoversho();
}
