 function init_eurostorebutton()
 {
 	var div      = document.getElementById('eurostorebutton');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1.2);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1.2);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1.2);
  	             }
        }
 }
 function init_usdstorebutton()
 {
 	var div      = document.getElementById('usdstorebutton');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,2.2);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 2.2);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 2.2);
  	             }
        }
 }
 function init_ukstorebutton()
 {
 	var div      = document.getElementById('ukstorebutton');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,1.9);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, 1.9);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, 1.9);
  	             }
        }
 }
 function init_chooseyourcurrency()
 {
 	var div      = document.getElementById('chooseyourcurrency');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.bounceEaseIn,0,100,.5);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, .5);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, .5);
  	             }
        }
 }
 function init_hoverbckground()
 {
 	var div      = document.getElementById('hoverbckground');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.strongEaseInOut,0,100,.1);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, .1);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, .1);
  	             }
        }
 }

function init_tweens()
{
 init_hoverbckground();
 init_chooseyourcurrency();
 init_ukstorebutton();
 init_usdstorebutton();
 init_eurostorebutton();
}
