﻿var catPlaceTop;var catPlaceLeft;var catTimeoutID=0;function displayMenu(e,b,g,f,a){document.getElementById(a).className="tdTopCategoryMenu_Over";var c=document.getElementById(b);c.style.visibility="visible";c.style.display="block";var d=findPosition(e,g,f);c.style.left=d[0]+"px";c.style.top=d[1]+"px"}function displayPanel(b,a){document.getElementById(a).className="tdTopCategoryMenu_Over";var c=document.getElementById(b);c.style.visibility="visible";c.style.display="block";c.style.left=catPlaceLeft+"px";c.style.top=catPlaceTop+"px"}function hideExpandMenu(b,a){clearTimeout(catTimeoutID);document.getElementById(a).className="tdTopCategoryMenu";var c=document.getElementById(b);c.style.display="none"}function findPosition(c,b,a){var d=curtop=0;if(c.offsetParent){d=c.offsetLeft+b;curtop=c.offsetTop+a;while(c=c.offsetParent){d+=c.offsetLeft;curtop+=c.offsetTop}}catPlaceLeft=d;catPlaceTop=curtop;return[d,curtop]};


