 function init_contactmenuhovershow()
 {
   var div      = document.getElementById('contactmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -221, 0, .4, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-221px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .4);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-221, .4);
  	           
  	       }
   }
}
 function init_commercialmenuhovershow()
 {
   var div      = document.getElementById('commercialmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -221, 0, .4, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-221px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .4);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-221, .4);
  	           
  	       }
   }
}
 function init_residentialmenuhovershow()
 {
   var div      = document.getElementById('residentialmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -221, 0, .4, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-221px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .4);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-221, .4);
  	           
  	       }
   }
}
 function init_automotivemenuhovershow()
 {
   var div      = document.getElementById('automotivemenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -277, 0, .4, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-277px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .4);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-277, .4);
  	           
  	       }
   }
}

function init_tweens()
{
 init_automotivemenuhovershow();
 init_residentialmenuhovershow();
 init_commercialmenuhovershow();
 init_contactmenuhovershow();
}
