 function init_servicesmenuhovershow()
 {
   var div      = document.getElementById('servicesmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -144, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-144px';
  	           
                   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(-144, .5);
  	           
  	       }
   }
}
 function init_colorvisualizermenuhovers()
 {
   var div      = document.getElementById('colorvisualizermenuhovers');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -72, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-72px';
  	           
                   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(-72, .5);
  	           
  	       }
   }
}

function init_tweens()
{
 init_colorvisualizermenuhovers();
 init_servicesmenuhovershow();
}