 function init_premiumlayeredbg()
 {
   var div      = document.getElementById('premiumlayeredbg');
   if(div)
   {
   var tw = new Tween(div.style, 'width', Tween.regularEaseInOut, 0, 334, .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(334, .5);
  	        }
   div.endf  = function ()
  	       {
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .5);
  	       }
   }
}
 function init_layeredpsds()
 {
   var div      = document.getElementById('layeredpsds');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.backEaseIn, 638, 0, .4, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '638px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .4);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(638, .4);
  	           
  	       }
   }
}
 function init_onetoanother()
 {
   var div      = document.getElementById('onetoanother');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.backEaseIn, 176, 0, .7, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '176px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .7);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(176, .7);
  	           
  	       }
   }
}
 function init_comingsoontext()
 {
   var div      = document.getElementById('comingsoontext');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.backEaseIn, -290, 0, .6, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-290px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .6);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-290, .6);
  	           
  	       }
   }
}
 function init_dropdownbgbutton()
 {
   var div      = document.getElementById('dropdownbgbutton');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.strongEaseIn, -471, 0, .4, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-471px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .4);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-471, .4);
  	           
  	       }
   }
}
 function init_homehovershow()
 {
 	var div      = document.getElementById('homehovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.bounceEaseIn,0,100,.4);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, .4);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, .4);
  	             }
        }
 }
 function init_c3costhovershow()
 {
 	var div      = document.getElementById('c3costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_c2costhovershow()
 {
 	var div      = document.getElementById('c2costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_c1costhovershow()
 {
 	var div      = document.getElementById('c1costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_b3costhovershow()
 {
 	var div      = document.getElementById('b3costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_b2costhovershow()
 {
 	var div      = document.getElementById('b2costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_b1costhovershow()
 {
 	var div      = document.getElementById('b1costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_a3costhovershow()
 {
 	var div      = document.getElementById('a3costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_a2costhovershow()
 {
 	var div      = document.getElementById('a2costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_a1costhovershow()
 {
 	var div      = document.getElementById('a1costhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = doResize;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	                tw.continueTo(0, .3);
  	             }
        }
 }

function init_tweens()
{
 init_a1costhovershow();
 init_a2costhovershow();
 init_a3costhovershow();
 init_b1costhovershow();
 init_b2costhovershow();
 init_b3costhovershow();
 init_c1costhovershow();
 init_c2costhovershow();
 init_c3costhovershow();
 init_homehovershow();
 init_dropdownbgbutton();
 init_comingsoontext();
 init_onetoanother();
 init_layeredpsds();
 init_premiumlayeredbg();
}
