 function init_aftersalesmenuhovershow()
 {
   var div      = document.getElementById('aftersalesmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -91, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-91px';
  	           
                   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(-91, .5);
  	           
  	       }
   }
}
 function init_financemenuhovershow()
 {
   var div      = document.getElementById('financemenuhovershow');
   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_showroomsmenuhovershow()
 {
   var div      = document.getElementById('showroomsmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -53, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-53px';
  	           
                   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(-53, .5);
  	           
  	       }
   }
}
 function init_newcarsmenuhovershow()
 {
   var div      = document.getElementById('newcarsmenuhovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -296, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-296px';
  	           
                   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(-296, .5);
  	           
  	       }
   }
}

function init_tweens()
{
 init_newcarsmenuhovershow();
 init_showroomsmenuhovershow();
 init_financemenuhovershow();
 init_aftersalesmenuhovershow();
}
