 function init_newshovershow()
 {
   var div      = document.getElementById('newshovershow');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 63, .3, 'px');
   div.startf = function ()
  	        {
  	           div.style.width='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(63, .3);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	       }
   }
}
 function init_contacthovershow()
 {
   var div      = document.getElementById('contacthovershow');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 89, .3, 'px');
   div.startf = function ()
  	        {
  	           div.style.width='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(89, .3);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	       }
   }
}
 function init_portfoliohovershow()
 {
   var div      = document.getElementById('portfoliohovershow');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 105, .3, 'px');
   div.startf = function ()
  	        {
  	           div.style.width='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(105, .3);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	       }
   }
}
 function init_abouthovershow()
 {
   var div      = document.getElementById('abouthovershow');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 75, .3, 'px');
   div.startf = function ()
  	        {
  	           div.style.width='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(75, .3);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	       }
   }
}
 function init_homehovershow()
 {
   var div      = document.getElementById('homehovershow');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 75, .3, 'px');
   div.startf = function ()
  	        {
  	           div.style.width='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(75, .3);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	       }
   }
}

function init_tweens()
{
 init_homehovershow();
 init_abouthovershow();
 init_portfoliohovershow();
 init_contacthovershow();
 init_newshovershow();
}
