 function init_wissenschafthovershow()
 {
 	var div      = document.getElementById('wissenschafthovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,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_werbunghovershow()
 {
 	var div      = document.getElementById('werbunghovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,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_grafikhovershow()
 {
 	var div      = document.getElementById('grafikhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,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_grafikhide()
 {
 	var div      = document.getElementById('grafikhide');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_rideclickshow()
 {
   var div      = document.getElementById('rideclickshow');
   if(div)
   {
   var tw  = new Tween(div.style, 'left', Tween.regularEaseInOut, 188, 908, 1, 'px');
   var tw2 = new Tween(div.style, 'top', Tween.regularEaseInOut, 101, 101, 1, 'px');
   div.startf = function ()
  	        {
  	           div.style.left='188px';
                   div.style.top='101px';
  	           div.style.display = 'block';
  	           tw.onMotionFinished = undefined;
  	           tw.continueTo(908, 1);
  	           tw2.continueTo(101, 1);
  	        }
   div.endf  = function ()
               {
                 div.style.display = 'none';
                 tw.rewind();
                 tw2.rewind();
               }
   }
} function init_auclickshowpanel()
 {
   var div      = document.getElementById('auclickshowpanel');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 566, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '566px';
  	           
                   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(566, .5);
  	           
  	       }
   }
}
 function init_nsclickshowpanel()
 {
   var div      = document.getElementById('nsclickshowpanel');
   if(div)
   {
   var subdiv   = div.childNodes[0];
   var tw  = new Tween(subdiv.style, 'left', Tween.regularEaseInOut, 565, 0, .5, 'px');
   
   div.startf = function ()
  	        {
  	           subdiv.style.left = '565px';
  	           
                   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(565, .5);
  	           
  	       }
   }
}
 function init_werbungstayhide()
 {
 	var div      = document.getElementById('werbungstayhide');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, .3);
  	             }
        }
 }
 function init_wissenschafthide()
 {
 	var div      = document.getElementById('wissenschafthide');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseInOut,0,100,.3);
 	div.startf = function ()
  	             {
                        div.style.overflow = 'visible';
  	                tw.onMotionFinished = undefined;
  	                tw.continueTo(100, .3);
  	                div.style.display = 'block';
                        
  	             }
        div.endf   = function ()
  	             {
                        tw.onMotionFinished = function(){ div.style.display = 'none'; tw.onMotionFinished = undefined; }
  	                tw.continueTo(0, .3);
  	             }
        }
 }

function init_tweens()
{
 init_wissenschafthide();
 init_werbungstayhide();
 init_nsclickshowpanel();
 init_auclickshowpanel();
 init_rideclickshow();
 init_grafikhide();
 init_grafikhovershow();
 init_werbunghovershow();
 init_wissenschafthovershow();
}
