;ò
vÄBc           @   sÑ   d  k  Z  d  k Z d  k Z d  k Z d k l Z e ƒ  Z d Z e i d e i e i ƒ  ƒ ƒ Z	 e i
 e	 e d ƒ Z d Z d „  Z d „  Z d „  Z d	 Z e d
 e e	 e d d d g d ƒ Z e d 7Z d  S(   N(   s   Sorteri   s   %Y-%m-%d 00:00i€Q i   c         C   sV   |  i d d ƒ i d d ƒ i d d ƒ i d d ƒ i d	 d
 ƒ i t d ƒ d ƒ Sd  S(   Ns   &s   &amps   "s   &quot;s   's   &apos;s   <s   &lt;s   >s   &gt;i¤   s   /(   s   texts   replaces   chr(   s   text(    (    s   C:\Python\PL\PL2_treemenu.pys   escapeMenuText   s    c      	      së   t  d |  ƒ } | d | d 7} | d 7} ‡ ‡ ‡  ‡ d †  }	 x• | D] }
 t i |
 d i	 d ƒ d ƒ oe t  |
 d ƒ } | d | } | d	 | 7} |	 |  d |
 d ƒ o | d
 | 7} n | d 7} qH qH W| d 7} | Sd  S(   Ns   menu_s   with(new menuname("s   ")){
s   style = tstyle1;
c            s‘   t  i i ˆ ˆ |  ƒ } t | d ƒ xa | D]Y } | d ˆ  j o, t
 i | d i d ƒ d ƒ o
 ˆ d j o d } | GHt Sq, q, Wt Sd  S(   Ns   names   prioritys   /iÿÿÿÿi   (   s   PL2_PLDBs   pldbs   stat_node_lists   starts   stops   paths   nodes2s   sorts   xs   levels   IP_miscs   isIPaddrs   splits   maxlevels   subMenus   Trues   False(   s   paths   xs   nodes2s   subMenu(   s   levels   stops   starts   maxlevel(    s   C:\Python\PL\PL2_treemenu.pys   findIfShowmenu    s     @s   names   /iÿÿÿÿs	   aI("text=s
   ;showmenu=s   ;image=images/cube.gif;");
s   }
(   s   escapeMenuTexts   paths   menuNames   menus   findIfShowmenus   nodess   xs   IP_miscs   isIPaddrs   splits   names   showmenu(   s   paths   starts   stops   nodess   menus   levels   maxlevels   showmenus   menuNames   findIfShowmenus   xs   name(    (   s   starts   stops   levels   maxlevels   C:\Python\PL\PL2_treemenu.pys   buildTreeMenu   s    
 "
c      	   C   s  | G|  Gt | ƒ GHt i i | | |  ƒ } t
 | d ƒ t |  | | | | | | ƒ } x« | D]£ } | d d j o
 |  d j o | d op t i | d i d ƒ d ƒ oJ | G|  Gt | ƒ G| d GHt |  d | d | | | | | d ƒ } qü q q] q] W| Sd  S(   Ns   names   priorityi€   s   //Hostsi   s   /iÿÿÿÿ(   s   maxlevels   paths   lens   menus   PL2_PLDBs   pldbs   stat_node_lists   starts   stops   nodess   sorts   buildTreeMenus   levels   xs   IP_miscs   isIPaddrs   splits   addNodesToTreeMenu(   s   paths   starts   stops   menus   levels   maxlevels   xs   nodes(    (    s   C:\Python\PL\PL2_treemenu.pys   addNodesToTreeMenu>   s     ";s  
<script type="text/javascript">
_scrollAmount=5      // Used for Netscape 4 scrolling
_scrollDelay=10	     // Used for Netscape 4 scrolling

_menuCloseDelay=500  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150   // The delay for opening menus on mouse over
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;  // Sub menu offset Left position


treeOffset=25;  // Used to set the offset of sub menus
singleMasterMenu=false // Informs the system to on;y have one menu open at a time


with(tstyle0=new mm_style()){
offcolor = "black";
oncolor = "blue";


//offbgcolor="yellow";
//onbgcolor="pink";
ondecoration="underline"

//borderwidth=1
separatorsize=0
separatorcolor="transparent"

subimage="images/plus2.gif"
subimageposition="top left" ;
clicksubimage="images/minus2.gif"
fileimage="images/trans_big2.gif";

padding = 1
fontsize = "11px";
fontfamily = "arial, verdana, tahoma";    
type="tree";  

    overfilter = "Fade(duration=0.2);Alpha(opacity=95);"
     outfilter = "randomdissolve(duration=0.4)"
 
}

tstyle1=new copyOf(tstyle0)
tstyle1.bgimage="images/treebg2.gif";

with(new menuname("main Tree Menu")){
top=60
left=60
style = tstyle0;
alwaysvisible = 1;
position="relative";
aI("text=&nbsp;PacketLogic;showmenu=menu_/;image=images/net_eye.gif;")
}
s   /i   i…   iŠ   i   s   
drawMenus()
</script>
(   s   PL2_PLDBs   times	   time_miscs   IP_miscs   sorts   Sorters   dayss   strftimes	   localtimes   stops   time_adjs   starts   subMenus   escapeMenuTexts   buildTreeMenus   addNodesToTreeMenus   treeMenu(   s   sorts   IP_miscs	   time_miscs   buildTreeMenus   PL2_PLDBs   stops   dayss   Sorters   addNodesToTreeMenus   starts   times   subMenus   escapeMenuTexts   treeMenu(    (    s   C:\Python\PL\PL2_treemenu.pys   ?   s   			!		$	8$