 function init_servicesmenu()
 {
   var div      = document.getElementById('servicesmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -84, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-84px';
  	           
                   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(-84, .5);
  	           
  	       }
   }
}
 function init_servicesmenubg()
 {
   var div      = document.getElementById('servicesmenubg');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.regularEaseInOut, -104, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-104px';
  	           
                   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(-104, .5);
  	           
  	       }
   }
}
 function init_i509button3hovershow()
 {
   var div      = document.getElementById('i509button3hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -327, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-327px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-327, .5);
  	           
  	       }
   }
}
 function init_i512button3hovershow()
 {
   var div      = document.getElementById('i512button3hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -316, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-316px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-316, .5);
  	           
  	       }
   }
}
 function init_i510button3hovershow()
 {
   var div      = document.getElementById('i510button3hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -321, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-321px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-321, .5);
  	           
  	       }
   }
}
 function init_button3hovershowmenu()
 {
 	var div      = document.getElementById('button3hovershowmenu');
        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_i514button2hovershow()
 {
   var div      = document.getElementById('i514button2hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -326, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-326px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-326, .5);
  	           
  	       }
   }
}
 function init_i516button2hovershow()
 {
   var div      = document.getElementById('i516button2hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -317, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-317px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-317, .5);
  	           
  	       }
   }
}
 function init_i515button2hovershow()
 {
   var div      = document.getElementById('i515button2hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -320, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-320px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-320, .5);
  	           
  	       }
   }
}
 function init_button2hovershowmenu()
 {
 	var div      = document.getElementById('button2hovershowmenu');
        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_i149button1hovershow()
 {
   var div      = document.getElementById('i149button1hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -327, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-327px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-327, .5);
  	           
  	       }
   }
}
 function init_i150button1hovershow()
 {
   var div      = document.getElementById('i150button1hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -319, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-319px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-319, .5);
  	           
  	       }
   }
}
 function init_i151button1hovershow()
 {
   var div      = document.getElementById('i151button1hovershow');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, -318, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '-318px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(0, .5);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; doResize();}
  	           tw.continueTo(-318, .5);
  	           
  	       }
   }
}
 function init_button1hovershowmenu()
 {
 	var div      = document.getElementById('button1hovershowmenu');
        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_button1hovershowmenu();
 init_i151button1hovershow();
 init_i150button1hovershow();
 init_i149button1hovershow();
 init_button2hovershowmenu();
 init_i515button2hovershow();
 init_i516button2hovershow();
 init_i514button2hovershow();
 init_button3hovershowmenu();
 init_i510button3hovershow();
 init_i512button3hovershow();
 init_i509button3hovershow();
 init_servicesmenubg();
 init_servicesmenu();
}
