
<!--
var nTmEasingSpeed = 0.3;
                      
var sSubContId = '';

function fnTmOver(e) {

    for (i = 0; i < aTopNaviIds.length; i++) {
		
        curCntId = aTopNaviIds[i].substr(3,1).toLowerCase() + aTopNaviIds[i].substr(4) +"Navi";
        YAHOO.util.Dom.removeClass(document.getElementById(curCntId).parentNode, "on");
        YAHOO.util.Dom.setStyle(curCntId, "display", "none");
    }
	
    sSubContId = this.id.substr(3,1).toLowerCase() + this.id.substr(4) +"Navi";
	
    YAHOO.util.Dom.setStyle(sSubContId, "opacity", "0");
    YAHOO.util.Dom.setStyle(sSubContId, "display", "block");
    YAHOO.util.Dom.addClass(this.parentNode, "on");
	
    this._onAnimation = new YAHOO.util.Anim(sSubContId, { opacity: { to: 0.9 } }, nTmEasingSpeed, YAHOO.util.Easing.easeIn);
    this._onAnimation.animate();
}

function fnTmOut(e) { 
	
    if (!sSubContId) {
        return;
    }
	
    elActBlock  = document.getElementById(sSubContId);
	
    var nBlockWStars = parseInt(YAHOO.util.Dom.getX(elActBlock))+8;
    var nBlockWEnds = nBlockWStars + elActBlock.offsetWidth-16;
    var nBlockHStars = parseInt(YAHOO.util.Dom.getY(elActBlock)) + 8;
    var nBlockHEnds = nBlockHStars + elActBlock.offsetHeight - 4;
	
    if ((e.screenX <= nBlockWStars || e.screenX >= nBlockWEnds) || (e.screenY <= nBlockHStars || e.screeny >= nBlockHEnds)) {
	
        var elActLink = document.getElementById("nav" + sSubContId.substr(0,1).toUpperCase() + sSubContId.substr(1, sSubContId.length-5));
		
        YAHOO.util.Dom.removeClass(elActLink.parentNode, "on");
        YAHOO.util.Dom.setStyle(elActBlock, "display", "none");
		
    }
}		
//-->

