 function init_serviceshovershow()
 {
   var div      = document.getElementById('serviceshovershow');
   if(div)
   {
   var tw  = new Tween(div.style, 'left', Tween.regularEaseInOut, 640, 640, .3, 'px');
   var tw2 = new Tween(div.style, 'top', Tween.regularEaseInOut, 232, 232, .3, 'px');
   div.startf = function ()
  	        {
  	           div.style.left='640px';
                   div.style.top='232px';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = undefined;
  	           tw.continueTo(640, .3);
  	           tw2.continueTo(232, .3);
  	        }
   div.endf  = function ()
               {
                 div.style.display = 'none';
                 tw.rewind();
                 tw2.rewind();
               }
   }
} function init_myworkshops()
 {
 	var div      = document.getElementById('myworkshops');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, .3);
  	             }
        }
 }

function init_tweens()
{
 init_myworkshops();
 init_serviceshovershow();
}
