JMENU_LEFT = 0; JMENU_RIGHT = 1; JMENU_TOP = 2; JMENU_BOTTOM = 3; function CJMenuList(objMenu,domA,sMenuID,sParentID,iDir) { var self = this; this.m_objMenu = objMenu; this.m_domLink = domA; this.m_sID = sMenuID; this.m_sParent = sParentID; this.m_domID = null; this.m_domParent = null; this.m_iDir = iDir; this.m_iTimer = null; this.m_objParent = null; this.m_aChilds = new Array(); this.m_objCurrent = null; this.m_domLink.onmouseout = function(){self.Out();}; this.SetCurrent = function(objCurrent) { this.m_objCurrent = objCurrent; } this.ResetTimer = function(bChilds) { if(typeof(bChilds)=="undefined") bChilds = true; clearTimeout(this.m_iTimer); if(bChilds) { for(var i=0;i