(function(){function l(a){return document.getelementbyid(a)}function i(a){if(document.queryselectorall)return document.queryselectorall("."+a);var c=[];a=regexp("(//s|^)"+a+"($|//s)");for(var b=document.getelementsbytagname("*"),k=0;k>>0;if("[object function]"!={}.tostring.call(a))return!1;c&&(b=c);k=array(p);for(h=0;h"}})},floatdiv:function(a){function c(a){clearinterval(f);f=setinterval(function(){var c=(b.offsetleft-a)/5,c=0=o()?15:0;b.style.position=d?"absolute":"fixed";b.style.top=k+"px";a.left?(d=parseint(a.left,10),b.style.left=d+"px",g=0,p=d):(d=parseint(a.right,10),b.style.right= d+"px",g=h-b.offsetwidth-m,p=h+d);0>d&&(n(b,"mouseover",function(){c(g)}),n(b,"mouseout",function(){c(p)}));d&&n(window,"scroll",function(){cleartimeout(a);var a=settimeout(function(){b.style.top=(document.documentelement.scrolltop||document.body.scrolltop)+k+"px"},1)})},linkage:function(a){for(var c=a.data,b=l(a.id1),k=l(a.id2),h,g,p,d,f=0;f=l&&clearinterval(k)},20))},30)}function k(a){for(var b=0;b"+(b+1)+"";v.innerhtml=a;v.children[0].classname=m;f.appendchild(v)})();l(c)&&(l=l(c).offsetheight);f=v.getelementsbytagname("li");for(t=0;t=w.length-1?0:++q;k(q);h(a,q);c&&b(q)},n);n(f,"mouseover",function(){clearinterval(h)});n(f,"mouseout",function(){h=setinterval(function(){q=q>=w.length-1?0:++q;k(q);h(a,q);c&&b(q)},n)})},foldmenu:function(a){var c=l(a.id),b=a.foldelement&&a.foldelement.tolowercase()||"ul",k=a.foldchildelement||"li",h=a.afterclassname,g=null;n(c,"click",function(a){e=window.event||a;for(a=e.srcelement||e.target;a.tagname!=k&&a!=c&&"body"!=a.tagname;)a=a.parentnode; 0