 function init_behandlingshemmethoversho()
 {
 	var div      = document.getElementById('behandlingshemmethoversho');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseOut,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_resursenhetenhovershow()
 {
 	var div      = document.getElementById('resursenhetenhovershow');
        if(div)
        {
 	var tw = new OpacityTween(div,Tween.regularEaseOut,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_tweens()
{
 init_resursenhetenhovershow();
 init_behandlingshemmethoversho();
}
