	  // @author Rastislav Bostik
      // this variable with function below it does something like +
      // + very simple animation manager
	  var affectedElementAnimation = new Object();
	  function replaceAnimation(animationObject, affectedElementId) {
	    if(affectedElementAnimation[affectedElementId] != null) {
	      affectedElementAnimation[affectedElementId].pause();
	    }
	
	    affectedElementAnimation[affectedElementId] = animationObject;
	    affectedElementAnimation[affectedElementId].play();
	  }	
	  
	  function _mOverAction(eventSourceElementId, toAffectElementId) {
		  //alert("OVER_MOUSE");
		  replaceAnimation(dojo.lfx.html.flexibleFadeIn(toAffectElementId, 300, 0.4),eventSourceElementId);		
	  } 

	  function _mOutAction(eventSourceElementId, toAffectElementId) {
		//alert("OUT_MOUSE");
		replaceAnimation(dojo.lfx.html.flexibleFadeOut(toAffectElementId, 1000, 0),eventSourceElementId);		
	  }
	  
	  function _mClickAction(href) {	  	
		replaceAnimation(dojo.lfx.html.flexibleFadeOut('text', 500, 0),'text');			
		setTimeout("window.location = '"+href+"'",500);
		
		return false;  	
	  }
	  
	  
	  function _mOverTrAction(trObject) {
	  	subTrObj = dojo.byId('sub'+trObject.id);
	  	if(subTrObj != null && subTrObj.style.display != 'none') return;

	  	replaceAnimation(dojo.lfx.html.flexibleFadeIn(trObject.id, 400, 1),trObject.id);
	  } 
	  
	  function _mOutTrAction(trObject) {
	  	subTrObj = dojo.byId('sub'+trObject.id);
	  	if(subTrObj != null && subTrObj.style.display != 'none') return;
	  	
	  	replaceAnimation(dojo.lfx.html.flexibleFadeOut(trObject.id, 1000, 0.4),trObject.id);
	  }	  
	  
	  function _mClickTrAction(trObject) {
	  	subTrObj = dojo.byId('sub'+trObject.id);
		
		if(subTrObj.style.display == 'none') {		
			subTrObj.style.display= '';			
			return;	
		}
		subTrObj.style.display = 'none';
	  } 