 function init_abouthovershow()
 {
   var div      = document.getElementById('abouthovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(div.style, 'height', Tween.regularEaseInOut, 0, 48, .5, 'px');
   var tw2 = new Tween(div.style, 'top', Tween.regularEaseInOut, 476, 428, .5, 'px');
   var tw3 = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -48, 0, .5, 'px');
   div.startf = function ()
  	        {
                   div.style.height = '0px';
                   div.style.top='476px';
                   div.style.overflow = 'hidden';
                   div.style.display = 'block';
                   subdiv.style.top = '-48px';
                   tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
                   tw.continueTo(48, .5);
                   tw2.continueTo(428, .5);
                   tw3.continueTo(0, .5);
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
                   tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
                   tw.continueTo(0, .5);
                   tw2.continueTo(476, .5);
                   tw3.continueTo(-48, .5);
  	       }
   }
}
 function init_contacthovershow()
 {
   var div      = document.getElementById('contacthovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(div.style, 'height', Tween.regularEaseInOut, 0, 48, .5, 'px');
   var tw2 = new Tween(div.style, 'top', Tween.regularEaseInOut, 542, 494, .5, 'px');
   var tw3 = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -48, 0, .5, 'px');
   div.startf = function ()
  	        {
                   div.style.height = '0px';
                   div.style.top='542px';
                   div.style.overflow = 'hidden';
                   div.style.display = 'block';
                   subdiv.style.top = '-48px';
                   tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
                   tw.continueTo(48, .5);
                   tw2.continueTo(494, .5);
                   tw3.continueTo(0, .5);
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
                   tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
                   tw.continueTo(0, .5);
                   tw2.continueTo(542, .5);
                   tw3.continueTo(-48, .5);
  	       }
   }
}

function init_tweens()
{
 init_contacthovershow();
 init_abouthovershow();
}
