 function init_brandingbutton()
 {
   var div      = document.getElementById('brandingbutton');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.strongEaseInOut, 10, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '10px';
  	           
                   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(10, .5);
  	           
  	       }
   }
}
 function init_websitedesignbutton()
 {
   var div      = document.getElementById('websitedesignbutton');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.strongEaseInOut, 10, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '10px';
  	           
                   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(10, .5);
  	           
  	       }
   }
}
 function init_designandprintbutton()
 {
   var div      = document.getElementById('designandprintbutton');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.strongEaseInOut, 10, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '10px';
  	           
                   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(10, .5);
  	           
  	       }
   }
}
 function init_emarketingdesignbutton()
 {
   var div      = document.getElementById('emarketingdesignbutton');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.strongEaseInOut, 10, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '10px';
  	           
                   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(10, .5);
  	           
  	       }
   }
}
 function init_outdoormediabutton()
 {
   var div      = document.getElementById('outdoormediabutton');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.strongEaseInOut, 10, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '10px';
  	           
                   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(10, .5);
  	           
  	       }
   }
}
 function init_traingle()
 {
   var div      = document.getElementById('traingle');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.strongEaseIn, -7, 0, .2, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-7px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .2);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-7, .2);
  	           
  	       }
   }
}

function init_tweens()
{
 init_traingle();
 init_outdoormediabutton();
 init_emarketingdesignbutton();
 init_designandprintbutton();
 init_websitedesignbutton();
 init_brandingbutton();
}
