 function init_linksmenu()
 {
   var div      = document.getElementById('linksmenu');
   if(div)
   {
   var tw = new Tween(div.style, 'height', Tween.regularEaseInOut, 0, 533, .5, 'px');
   div.startf = function ()
  	        {
  	           div.style.height='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(533, .5);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	       }
   }
}
 function init_linkssubmenubg()
 {
   var div      = document.getElementById('linkssubmenubg');
   if(div)
   {
   var tw = new Tween(div.style, 'height', Tween.regularEaseInOut, 0, 476, .5, 'px');
   div.startf = function ()
  	        {
  	           div.style.height='0px';
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(476, .5);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	       }
   }
}
 function init_statelinksmenu()
 {
   var div      = document.getElementById('statelinksmenu');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 214, .5, '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(214, .5);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	       }
   }
}
 function init_statelinksbgmenubg()
 {
   var div      = document.getElementById('statelinksbgmenubg');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 216, .5, '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(216, .5);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	       }
   }
}
 function init_i9832agendahovershow()
 {
   var div      = document.getElementById('i9832agendahovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -341, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-341px';
  	           
                   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(-341, .5);
  	           
  	       }
   }
}
 function init_i7590agendahovershow()
 {
   var div      = document.getElementById('i7590agendahovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -185, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-185px';
  	           
                   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(-185, .5);
  	           
  	       }
   }
}

function init_tweens()
{
 init_i7590agendahovershow();
 init_i9832agendahovershow();
 init_statelinksbgmenubg();
 init_statelinksmenu();
 init_linkssubmenubg();
 init_linksmenu();
}