 function init_kundenservicemenu()
 {
   var div      = document.getElementById('kundenservicemenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.elasticEaseInOut, -126, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-126px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-126, .3);
  	           
  	       }
   }
}
 function init_mobilemenu()
 {
   var div      = document.getElementById('mobilemenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.elasticEaseInOut, -95, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-95px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-95, .3);
  	           
  	       }
   }
}
 function init_festnetzmenu()
 {
   var div      = document.getElementById('festnetzmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.elasticEaseInOut, -220, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-220px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-220, .3);
  	           
  	       }
   }
}
 function init_komplettmenu()
 {
   var div      = document.getElementById('komplettmenu');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'top', Tween.elasticEaseInOut, -34, 0, .3, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.top = '-34px';
  	           
                   div.style.overflow = 'hidden';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = function(){ div.style.overflow = 'visible'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(0, .3);
  	           
  	        }
   div.endf  = function ()
  	       { 
                   div.style.overflow = 'hidden';
  	           tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	           tw.continueTo(-34, .3);
  	           
  	       }
   }
}
 function init_i31043job001text()
 {
 	var div      = document.getElementById('i31043job001text');
        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_i46230job002text()
 {
 	var div      = document.getElementById('i46230job002text');
        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_weitercontent()
 {
 	var div      = document.getElementById('weitercontent');
        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_i34958preselection()
 {
 	var div      = document.getElementById('i34958preselection');
        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_i34949komplettanschluss()
 {
 	var div      = document.getElementById('i34949komplettanschluss');
        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_i34940sms()
 {
 	var div      = document.getElementById('i34940sms');
        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_i34940sms();
 init_i34949komplettanschluss();
 init_i34958preselection();
 init_weitercontent();
 init_i46230job002text();
 init_i31043job001text();
 init_komplettmenu();
 init_festnetzmenu();
 init_mobilemenu();
 init_kundenservicemenu();
}
