/* * Treeview 1.5pre - jQuery plugin to hide and show branches of a tree * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * http://docs.jquery.com/Plugins/Treeview * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.treeview.js 5759 2008-07-01 07:50:28Z joern.zaefferer $ * */ eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';(6($){$.1f($.1B,{j:6(q,x){c 18=4.8(\'.\'+q);4.8(\'.\'+x).B(x).f(q);18.B(q).f(x);g 4},p:6(q,x){g 4.8(\'.\'+q).B(q).f(x).V()},1g:6(F){F=F||"1c";g 4.1c(6(){$(4).f(F)},6(){$(4).B(F)})},1a:6(o,h){o?4.15({16:"k"},o,h):4.v(6(){Z(4)[Z(4).1r(":10")?"K":"G"]();9(h)h.C(4,12)})},19:6(o,h){9(o){4.15({16:"G"},o,h)}1z{4.G();9(h)4.v(h)}},1n:6(5){9(!5.14){4.8(":y-1D:I(d)").f(3.y);4.8((5.1E?"":"."+3.X)+":I(."+3.S+")").b(">d").G()}g 4.8(":A(>d)")},1i:6(5,n){4.8(":A(>d):I(:A(>a))").b(">1F").1y("z.u").1w("z.u",6(1b){9(4==1b.1x)n.C($(4).1k())}).1h($("a",4)).1g();9(!5.14){4.8(":A(>d:10)").f(3.m).p(3.y,3.s);4.I(":A(>d:10)").f(3.l).p(3.y,3.r);c 7=4.b("E."+3.7);9(!7.Y)7=4.1I("").b("E."+3.7);7.B().f(3.7).v(6(){c H="";$.v($(4).D().1G("1e").1j(" "),6(){H+=4+"-7 "});$(4).f(H)})}4.b("E."+3.7).z(n)},u:6(5){5=$.1f({W:"u"},5);9(5.k){c h=5.k;5.k=6(){g h.C($(4).D()[0],12)}}6 17(1d,t){6 J(8){g 6(){n.C($("E."+3.7,1d).8(6(){g 8?$(4).D("."+8).Y:1N}));g 1O}}$("a:T(0)",t).z(J(3.l));$("a:T(1)",t).z(J(3.m));$("a:T(2)",t).z(J())}6 n(){$(4).D().b(">.7").j(3.O,3.N).j(3.Q,3.M).V().j(3.l,3.m).j(3.r,3.s).b(">d").1a(5.o,5.k);9(5.1K){$(4).D().1M().b(">.7").p(3.O,3.N).p(3.Q,3.M).V().p(3.l,3.m).p(3.r,3.s).b(">d").19(5.o,5.k)}}4.w("n",n);6 1t(){6 1S(1s){g 1s?1:0}c w=[];L.v(6(i,e){w[i]=$(e).1r(":A(>d:1L)")?1:0});$.13(5.W,w.1J(""),5.1H)}6 1u(){c U=$.13(5.W);9(U){c w=U.1j("");L.v(6(i,e){$(e).b(">d")[1P(w[i])?"K":"G"]()})}}4.f("u");c L=4.b("R").1n(5);1Q(5.1R){1o"13":c 11=5.k;5.k=6(){1t();9(11){11.C(4,12)}};1u();1m;1o"1p":c P=4.b("a").8(6(){g 4.1q.1v()==1p.1q.1v()});9(P.Y){c 1l=P.f("1C").1A("d, R").1h(P.1k()).K();9(5.14){1l.8("R").j(3.l,3.m).j(3.r,3.s).b(">.7").j(3.O,3.N).j(3.Q,3.M)}}1m}L.1i(5,n);9(5.t){17(4,5.t);$(5.t).K()}g 4}});$.u={};c 3=($.u.H={S:"S",X:"X",m:"m",N:"m-7",M:"s-7",l:"l",O:"l-7",Q:"r-7",r:"r",s:"s",y:"y",7:"7"})})(Z);',62,117,'|||CLASSES|this|settings|function|hitarea|filter|if||find|var|ul||addClass|return|callback||swapClass|toggle|collapsable|expandable|toggler|animated|replaceClass|c1|lastCollapsable|lastExpandable|control|treeview|each|data|c2|last|click|has|removeClass|apply|parent|div|className|hide|classes|not|handler|show|branches|lastExpandableHitarea|expandableHitarea|collapsableHitarea|current|lastCollapsableHitarea|li|open|eq|stored|end|cookieId|closed|length|jQuery|hidden|toggleCallback|arguments|cookie|prerendered|animate|height|treeController|c1Elements|heightHide|heightToggle|event|hover|tree|class|extend|hoverClass|add|applyClasses|split|next|items|break|prepareBranches|case|location|href|is|arg|serialize|deserialize|toLowerCase|bind|target|unbind|else|parents|fn|selected|child|collapsed|span|attr|cookieOptions|prepend|join|unique|visible|siblings|true|false|parseInt|switch|persist|binary'.split('|'),0,{})) $(document).ready(function(){ $("#treeCatalog").treeview({ //animated: "fast", collapsed: true, //unique: true, //persist: "location", persist: "cookie", cookieId: "Catalogtree", control: "#treecontrol", prerendered: false }); $("#treeBlitz").treeview({ //animated: "fast", collapsed: true, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Blitztree", control: "#treecontrol", prerendered: true }); $("#treeBrakes").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Braketree", control: "#treecontrol", prerendered: true }); $("#treeEngine").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Enginetree", control: "#treecontrol", prerendered: true }); $("#treeElectronics").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Electronicstree", control: "#treecontrol", prerendered: true }); $("#treeExhaust").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Exhausttree", control: "#treecontrol", prerendered: true }); $("#treeGauges").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Gaugetree", control: "#treecontrol", prerendered: true }); $("#treeIntakes").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Intaketree", control: "#treecontrol", prerendered: true }); $("#treeForceInduction").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "ForcedInductiontree", control: "#treecontrol", prerendered: true }); $("#treeFluid").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Fluidtree", control: "#treecontrol", prerendered: true }); $("#treeSafety").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Safetytree", control: "#treecontrol", prerendered: true }); $("#treeSuspension").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Suspensiontree", control: "#treecontrol", prerendered: true }); $("#treeTransmission").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Transmissiontree", control: "#treecontrol", prerendered: true }); $("#treeWheels").treeview({ //animated: "fast", collapsed: false, //unique: true, //persist: "location", //persist: "cookie", //cookieId: "Wheelstree", control: "#treecontrol", prerendered: true }); });