function initMenu()
{
    var showTimer;
    var hideTimer;
    if (document.getElementById) 
    {
        navRoot = $("todosDepartamentos");
        navRoot.onmouseover=function() 
		{
            if(hideTimer != undefined) 
			{
                clearTimeout(hideTimer);
            }
            showTimer = setTimeout("try{ if(!Element.visible('mostraTodos')){new Effect.Appear('mostraTodos', {duration: 0.2, queue: {position:'end', scope: 'menu', limit:10} });} } catch(e) { $('mostraTodos').display = '' }", 200);
        }
        navRoot.onmouseout=function() 
		{
            if(showTimer != undefined) 
				{
                clearTimeout(showTimer);
            }
            hideTimer = setTimeout("try { new Effect.Fade('mostraTodos', {duration: 0.5, queue: {position:'end', scope: 'menu', limit:10} }); } catch(e) { $('mostraTodos').display = 'none' }", 400);
        }
    } 
}

function fTracking(wCanal, wID)
{
	var dtTracking = new Date();

	var Ajax = getXMLHttp(); 
	Ajax.open("GET", ("../../tracking.asp?canal=" + wCanal + "&id=" + wID + "&data=" + dtTracking.getHours() + "" + dtTracking.getMinutes() + "" + dtTracking.getSeconds()), true);
	Ajax.send(null); 
}
