 function init_aboutmenuhovershow()
 {
   var div      = document.getElementById('aboutmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -21, 0, .8, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-21px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .8);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-21, .8);
  	           
  	       }
   }
}
 function init_ministriesmenuhovershow()
 {
   var div      = document.getElementById('ministriesmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -18, 0, .8, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-18px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .8);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-18, .8);
  	           
  	       }
   }
}
 function init_resourcesmenuhovershow()
 {
   var div      = document.getElementById('resourcesmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -18, 0, .8, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-18px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .8);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-18, .8);
  	           
  	       }
   }
}
 function init_realhovershow()
 {
   var div      = document.getElementById('realhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 176, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '176px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(176, .5);
  	           
  	       }
   }
}
 function init_amharichovershow()
 {
   var div      = document.getElementById('amharichovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -176, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-176px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-176, .5);
  	           
  	       }
   }
}

function init_tweens()
{
 init_amharichovershow();
 init_realhovershow();
 init_resourcesmenuhovershow();
 init_ministriesmenuhovershow();
 init_aboutmenuhovershow();
}
