 function init_i16984purchaseform()
 {
 	var div      = document.getElementById('i16984purchaseform');
        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_i15658diatonic()
 {
   var div      = document.getElementById('i15658diatonic');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 89, .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(89, .5);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	       }
   }
}
 function init_i15642woodturning()
 {
   var div      = document.getElementById('i15642woodturning');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 166, .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(166, .5);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	       }
   }
}

function init_tweens()
{
 init_i15642woodturning();
 init_i15658diatonic();
 init_i16984purchaseform();
}
