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}('l(1T 1z.6=="Q"){1z.Q=1z.Q;u 6=q(a,c){l(a&&1T a=="q"&&6.C.1W)v 6(17).1W(a);a=a||6.1o||17;l(a.3E)v 6(6.1X(a,[]));l(c&&c.3E)v 6(c).1V(a);l(1z==7)v 1h 6(a,c);l(a.O==1C){u m=/^[^<]*(<.+>)[^>]*$/.3d(a);l(m)a=6.3D([m[1]])}7.1n(a.O==2z||a.D&&!a.1R&&a[0]!=Q&&a[0].1R?6.1X(a,[]):6.1V(a,c));u C=19[19.D-1];l(C&&1T C=="q")7.W(C);v 7};l(1T $!="Q")6.44$=$;u $=6;6.C=6.8b={3E:"1.0.3",5J:q(){v 7.D},1n:q(23){l(23&&23.O==2z){7.D=0;[].1k.16(7,23);v 7}G v 23==Q?6.1X(7,[]):7[23]},W:q(C,1g){v 6.W(7,C,1g)},8g:q(15){u 2j=-1;7.W(q(i){l(7==15)2j=i});v 2j},1t:q(1L,Y,B){v 1L.O!=1C||Y!=Q?7.W(q(){l(Y==Q)I(u E 1r 1L)6.1t(B?7.1a:7,E,1L[E]);G 6.1t(B?7.1a:7,1L,Y)}):6[B||"1t"](7[0],1L)},1f:q(1L,Y){v 7.1t(1L,Y,"26")},2B:q(e){e=e||7;u t="";I(u j=0;j0:U},2T:q(1g,22,2X,C){u 4f=7.5J()>1;u a=6.3D(1g);v 7.W(q(){u 15=7;l(22&&7.2p.2b()=="8m"&&a[0].2p.2b()!="62"){u 29=7.4S("29");l(!29.D){15=17.5N("29");7.4e(15)}G 15=29[0]}I(u i=(2X<0?a.D-1:0);i!=(2X<0?2X:a.D);i+=2X){C.16(15,[4f?a[i].3f(T):a[i]])}})},2n:q(a,1g){u C=1g&&1g[1g.D-1];u 2d=1g&&1g[1g.D-2];l(C&&C.O!=1v)C=M;l(2d&&2d.O!=1v)2d=M;l(!C){l(!7.33)7.33=[];7.33.1k(7.1n());7.1n(a)}G{u 1Z=7.1n();7.1n(a);l(2d&&a.D||!2d)7.W(2d||C).1n(1Z);G 7.1n(1Z).W(C)}v 7}};6.1y=6.C.1y=q(15,E){l(19.D>1&&(E===M||E==Q))v 15;l(!E){E=15;15=7}I(u i 1r E)15[i]=E[i];v 15};6.1y({5C:q(){6.65=T;6.W(6.2e.5r,q(i,n){6.C[i]=q(a){u L=6.2r(7,n);l(a&&a.O==1C)L=6.1c(a,L).r;v 7.2n(L,19)}});6.W(6.2e.2o,q(i,n){6.C[i]=q(){u a=19;v 7.W(q(){I(u j=0;j",""];G l(!s.1b("<6w")||!s.1b("<29"))1Y=[1,"<22>",""];G l(!s.1b("<4t"))1Y=[2,"<22>",""];G l(!s.1b("<6x")||!s.1b("<6z"))1Y=[3,"<22><29><4t>",""];21.2V=1Y[1]+s+1Y[2];24(1Y[0]--)21=21.2a;I(u j=0;j<21.2f.D;j++)r.1k(21.2f[j])}G l(1M.D!=Q&&!1M.1R)I(u n=0;n<1M.D;n++)r.1k(1M[n]);G r.1k(1M.1R?1M:17.6A(1M.6C()))}v r},2u:{"":"m[2]== \'*\'||a.2p.2b()==m[2].2b()","#":"a.3a(\'3H\')&&a.3a(\'3H\')==m[2]",":":{5o:"im[3]-0",5L:"m[3]-0==i",5n:"m[3]-0==i",2h:"i==0",1N:"i==r.D-1",52:"i%2==0",53:"i%2","5L-3x":"6.1x(a,m[3]).1l","2h-3x":"6.1x(a,0).1l","1N-3x":"6.1x(a,0).1N","6D-3x":"6.1x(a).D==1",5s:"a.2f.D",5B:"!a.2f.D",5p:"6.C.2B.16([a]).1b(m[3])>=0",6E:"a.B!=\'1S\'&&6.1f(a,\'1u\')!=\'20\'&&6.1f(a,\'3U\')!=\'1S\'",1S:"a.B==\'1S\'||6.1f(a,\'1u\')==\'20\'||6.1f(a,\'3U\')==\'1S\'",6F:"!a.2P",2P:"a.2P",2J:"a.2J",3V:"a.3V || 6.1t(a, \'3V\')",2B:"a.B==\'2B\'",3W:"a.B==\'3W\'",5y:"a.B==\'5y\'",3Q:"a.B==\'3Q\'",5v:"a.B==\'5v\'",4x:"a.B==\'4x\'",5w:"a.B==\'5w\'",4w:"a.B==\'4w\'",4s:"a.B==\'4s\'",5z:"a.2p.4d().4T(/5z|3c|6L|4s/)"},".":"6.1j.3t(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z && !z.1b(m[4])","$=":"z && z.32(z.D - m[4].D,m[4].D)==m[4]","*=":"z && z.1b(m[4])>=0","":"z"},"[":"6.1V(m[2],a).D"},3B:["\\\\.\\\\.|/\\\\.\\\\.","a.1i",">|/","6.1x(a.2a)","\\\\+","6.1x(a).3z","~",q(a){u r=[];u s=6.1x(a);l(s.n>0)I(u i=s.n;i=1)t=t.32(t.1b("/"),t.D)}u L=[1o];u 1K=[];u 1N=M;24(t.D>0&&1N!=t){u r=[];1N=t;t=6.2K(t).1B(/^\\/\\//i,"");u 36=U;I(u i=0;i<6.3B.D;i+=2){l(36)51;u 2v=1h 43("^("+6.3B[i]+")");u m=2v.3d(t);l(m){r=L=6.2r(L,6.3B[i+1]);t=6.2K(t.1B(2v,""));36=T}}l(!36){l(!t.1b(",")||!t.1b("|")){l(L[0]==1o)L.4h();1K=6.1X(1K,L);r=L=[1o];t=" "+t.32(1,t.D)}G{u 3Z=/^([#.]?)([a-4Y-9\\\\*44-]*)/i;u m=3Z.3d(t);l(m[1]=="#"){u 4l=17.5V(m[2]);r=L=4l?[4l]:[];t=t.1B(3Z,"")}G{l(!m[2]||m[1]==".")m[2]="*";I(u i=0;i<\\/27>");u 27=17.5V("5W");27.2w=q(){l(7.3n!="1I")v;7.1i.3s(7);6.1W()};27=M}G l(6.11.2M){6.3N=42(q(){l(17.3n=="63"||17.3n=="1I"){56(6.3N);6.3N=M;6.1W()}},10)}6.J.2g(1z,"2S",6.1W)};l(6.11.1p)6(1z).4z(q(){u J=6.J,1e=J.1e;I(u B 1r 1e){u 3P=1e[B],i=3P.D;l(i>0)6a l(B!=\'4z\')J.25(3P[i-1],B);24(--i)}});6.C.1y({60:6.C.1A,1A:q(12,H){v 12?7.1U({1G:"1A",2c:"1A",1m:"1A"},12,H):7.60()},5U:6.C.1s,1s:q(12,H){v 12?7.1U({1G:"1s",2c:"1s",1m:"1s"},12,H):7.5U()},6n:q(12,H){v 7.1U({1G:"1A"},12,H)},6o:q(12,H){v 7.1U({1G:"1s"},12,H)},6p:q(12,H){v 7.W(q(){u 4J=6(7).4E(":1S")?"1A":"1s";6(7).1U({1G:4J},12,H)})},6r:q(12,H){v 7.1U({1m:"1A"},12,H)},6s:q(12,H){v 7.1U({1m:"1s"},12,H)},6t:q(12,2o,H){v 7.1U({1m:2o},12,H)},1U:q(E,12,H){v 7.1w(q(){7.2U=6.1y({},E);I(u p 1r E){u e=1h 6.2R(7,6.12(12,H),p);l(E[p].O==4O)e.3e(e.1l(),E[p]);G e[E[p]](E)}})},1w:q(B,C){l(!C){C=B;B="2R"}v 7.W(q(){l(!7.1w)7.1w={};l(!7.1w[B])7.1w[B]=[];7.1w[B].1k(C);l(7.1w[B].D==1)C.16(7)})}});6.1y({5f:q(e,p){l(e.5F)v;l(p=="1G"&&e.4L!=3l(6.26(e,p)))v;l(p=="2c"&&e.4M!=3l(6.26(e,p)))v;u a=e.1a[p];u o=6.26(e,p,1);l(p=="1G"&&e.4L!=o||p=="2c"&&e.4M!=o)v;e.1a[p]=e.34?"":"5H";u n=6.26(e,p,1);l(o!=n&&n!="5H"){e.1a[p]=a;e.5F=T}},12:q(s,o){o=o||{};l(o.O==1v)o={1I:o};u 5D={6G:6H,6J:4K};o.2E=(s&&s.O==4O?s:5D[s])||5k;o.3J=o.1I;o.1I=q(){6.4R(7,"2R");l(o.3J&&o.3J.O==1v)o.3J.16(7)};v o},1w:{},4R:q(F,B){B=B||"2R";l(F.1w&&F.1w[B]){F.1w[B].4h();u f=F.1w[B][0];l(f)f.16(F)}},2R:q(F,2x,E){u z=7;z.o={2E:2x.2E||5k,1I:2x.1I,2s:2x.2s};z.V=F;u y=z.V.1a;z.a=q(){l(2x.2s)2x.2s.16(F,[z.2i]);l(E=="1m")6.1t(y,"1m",z.2i);G l(3l(z.2i))y[E]=3l(z.2i)+"5d";y.1u="2F"};z.61=q(){v 4c(6.1f(z.V,E))};z.1l=q(){u r=4c(6.26(z.V,E));v r&&r>-6Z?r:z.61()};z.3e=q(41,2o){z.3M=(1h 54()).55();z.2i=41;z.a();z.49=42(q(){z.2s(41,2o)},13)};z.1A=q(){l(!z.V.1Q)z.V.1Q={};z.V.1Q[E]=7.1l();z.3e(0,z.V.1Q[E]);l(E!="1m")y[E]="77"};z.1s=q(){l(!z.V.1Q)z.V.1Q={};z.V.1Q[E]=7.1l();z.o.1s=T;z.3e(z.V.1Q[E],0)};l(!z.V.4b)z.V.4b=6.1f(z.V,"3h");y.3h="1S";z.2s=q(4B,4g){u t=(1h 54()).55();l(t>z.o.2E+z.3M){56(z.49);z.49=M;z.2i=4g;z.a();z.V.2U[E]=T;u 1K=T;I(u i 1r z.V.2U)l(z.V.2U[i]!==T)1K=U;l(1K){y.3h=z.V.4b;l(z.o.1s)y.1u=\'20\';l(z.o.1s){I(u p 1r z.V.2U){l(p=="1m")6.1t(y,p,z.V.1Q[p]);G y[p]=z.V.1Q[p]+"5d";l(p==\'1G\'||p==\'2c\')6.5f(z.V,p)}}}l(1K&&z.o.1I&&z.o.1I.O==1v)z.o.1I.16(z.V)}G{u p=(t-7.3M)/z.o.2E;z.2i=((-5q.7w(p*5q.7y)/2)+0.5)*(4g-4B)+4B;z.a()}}}});6.C.1y({7D:q(N,1O,H){7.2S(N,1O,H,1)},2S:q(N,1O,H,1F){l(N.O==1v)v 7.2Z("2S",N);H=H||q(){};u B="3T";l(1O){l(1O.O==1v){H=1O;1O=M}G{1O=6.2Q(1O);B="4W"}}u 4m=7;6.3I(B,N,1O,q(3v,18){l(18=="2D"||!1F&&18=="5m"){4m.38(3v.3G).3X().W(H,[3v.3G,18])}G H.16(4m,[3v.3G,18])},1F);v 7},7J:q(){v 6.2Q(7)},3X:q(){v 7.1V(\'27\').W(q(){l(7.3w)6.5Y(7.3w,q(){});G 3A.3O(1z,7.2B||7.7L||7.2V||"")}).4q()}});l(6.11.1p&&1T 3i=="Q")3i=q(){v 1h 7Q(5I.5K.1b("7W 5")>=0?"82.5R":"84.5R")};1h q(){u e="5O,5G,5A,5x,5t".3b(",");I(u i=0;i-1)?"&":"?")+6.2Q(K);6.3I("3T",N,M,q(r,18){l(H)H(6.3r(r,B),18)},1F)},8h:q(N,K,H,B){6.1n(N,K,H,B,1)},5Y:q(N,H){l(H)6.1n(N,M,H,"27");G{6.1n(N,M,M,"27")}},64:q(N,K,H){l(H)6.1n(N,K,H,"3S");G{6.1n(N,K,"3S")}},8o:q(N,K,H,B){6.3I("4W",N,6.2Q(K),q(r,18){l(H)H(6.3r(r,B),18)})},1q:0,6h:q(1q){6.1q=1q},39:{},3I:q(B,N,K,L,1F){u 1e=T;u 1q=6.1q;l(!N){L=B.1I;u 2D=B.2D;u 2l=B.2l;u 4k=B.4k;u 1e=1T B.1e=="6q"?B.1e:T;u 1q=1T B.1q=="6u"?B.1q:6.1q;1F=B.1F||U;K=B.K;N=B.N;B=B.B}l(1e&&!6.4v++)6.J.1P("5O");u 4y=U;u R=1h 3i();R.6B(B||"3T",N,T);l(K)R.3j("6I-6K","6M/x-6N-6Q-6T");l(1F)R.3j("6V-3Y-6Y",6.39[N]||"71, 74 75 78 46:46:46 79");R.3j("X-7a-7d","3i");l(R.7g)R.3j("7j","7k");u 2w=q(4F){l(R&&(R.3n==4||4F=="1q")){4y=T;u 18=6.4G(R)&&4F!="1q"?1F&&6.4N(R,N)?"5m":"2D":"2l";l(18!="2l"){u 3q;3u{3q=R.4i("4P-3Y")}3o(e){}l(1F&&3q)6.39[N]=3q;l(2D)2D(6.3r(R,4k),18);l(1e)6.J.1P("5t")}G{l(2l)2l(R,18);l(1e)6.J.1P("5x")}l(1e)6.J.1P("5A");l(1e&&!--6.4v)6.J.1P("5G");l(L)L(R,18);R.2w=q(){};R=M}};R.2w=2w;l(1q>0)7Z(q(){l(R){R.85();l(!4y)2w("1q");R=M}},1q);R.8i(K)},4v:0,4G:q(r){3u{v!r.18&&66.6d=="3Q:"||(r.18>=4K&&r.18<6y)||r.18==5b||6.11.2M&&r.18==Q}3o(e){}v U},4N:q(R,N){3u{u 4V=R.4i("4P-3Y");v R.18==5b||4V==6.39[N]||6.11.2M&&R.18==Q}3o(e){}v U},3r:q(r,B){u 4n=r.4i("7I-B");u K=!B&&4n&&4n.1b("R")>=0;K=B=="R"||K?r.80:r.3G;l(B=="27")3A.3O(1z,K);l(B=="3S")3A("K = "+K);l(B=="38")$("<21>").38(K).3X();v K},2Q:q(a){u s=[];l(a.O==2z||a.3E){I(u i=0;i35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('$(o).2S(9(){1u(\'a.18, 3n.18, 3i.18\');1w=1p 1t();1w.L=2H});9 1u(b){$(b).s(9(){6 t=X.Q||X.1v||M;6 a=X.u||X.23;6 g=X.1N||P;19(t,a,g);X.2E();H P})}9 19(d,f,g){3m{3(2t o.v.J.2i==="2g"){$("v","11").r({A:"28%",z:"28%"});$("11").r("22","2Z");3(o.1Y("1F")===M){$("v").q("<4 5=\'B\'><4 5=\'8\'>");$("#B").s(G)}}n{3(o.1Y("B")===M){$("v").q("<4 5=\'B\'><4 5=\'8\'>");$("#B").s(G)}}3(1K()){$("#B").1J("2B")}n{$("#B").1J("2z")}3(d===M){d=""}$("v").q("<4 5=\'K\'><1I L=\'"+1w.L+"\' />");$(\'#K\').2y();6 h;3(f.O("?")!==-1){h=f.3l(0,f.O("?"))}n{h=f}6 i=/\\.2s$|\\.2q$|\\.2m$|\\.2l$|\\.2k$/;6 j=h.1C().2h(i);3(j==\'.2s\'||j==\'.2q\'||j==\'.2m\'||j==\'.2l\'||j==\'.2k\'){1D="";1G="";14="";1z="";1x="";R="";1n="";1r=P;3(g){E=$("a[@1N="+g+"]").36();25(D=0;((D&1d;&1d;2T &2R;"}n{1D=E[D].Q;1G=E[D].u;14="<1e 5=\'1U\'>&1d;&1d;&2O; 2N"}}n{1r=1b;1n="1t "+(D+1)+" 2L "+(E.1c)}}}S=1p 1t();S.1g=9(){S.1g=M;6 a=2x();6 x=a[0]-1M;6 y=a[1]-1M;6 b=S.z;6 c=S.A;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}13=b+30;1a=c+2G;$("#8").q("<1I 5=\'2F\' L=\'"+f+"\' z=\'"+b+"\' A=\'"+c+"\' 23=\'"+d+"\'/>"+"<4 5=\'2D\'>"+d+"<4 5=\'2C\'>"+1n+14+R+"<4 5=\'2A\'>1l 1k 1j 1s");$("#Z").s(G);3(!(14==="")){9 12(){3($(o).N("s",12)){$(o).N("s",12)}$("#8").C();$("v").q("<4 5=\'8\'>");19(1D,1G,g);H P}$("#1U").s(12)}3(!(R==="")){9 1i(){$("#8").C();$("v").q("<4 5=\'8\'>");19(1z,1x,g);H P}$("#1X").s(1i)}o.1h=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}n 3(I==3k){3(!(R=="")){o.1h="";1i()}}n 3(I==3j){3(!(14=="")){o.1h="";12()}}};16();$("#K").C();$("#1L").s(G);$("#8").r({Y:"T"})};S.L=f}n{6 l=f.2r(/^[^\\?]+\\??/,\'\');6 m=2p(l);13=(m[\'z\']*1)+30||3h;1a=(m[\'A\']*1)+3g||3f;W=13-30;V=1a-3e;3(f.O(\'2j\')!=-1){1E=f.1B(\'3d\');$("#15").C();3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"<4 5=\'2e\'>1l 1k 1j 1s ")}n{$("#B").N();$("#8").q(" ")}}n{3($("#8").r("Y")!="T"){3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"<4 5=\'2e\'>1l 1k 1j 1s<4 5=\'F\' J=\'z:"+W+"p;A:"+V+"p\'>")}n{$("#B").N();$("#8").q("<4 5=\'F\' 3c=\'3b\' J=\'z:"+W+"p;A:"+V+"p;\'>")}}n{$("#F")[0].J.z=W+"p";$("#F")[0].J.A=V+"p";$("#F")[0].3a=0;$("#1H").11(d)}}$("#Z").s(G);3(f.O(\'37\')!=-1){$("#F").q($(\'#\'+m[\'26\']).1T());$("#8").24(9(){$(\'#\'+m[\'26\']).q($("#F").1T())});16();$("#K").C();$("#8").r({Y:"T"})}n 3(f.O(\'2j\')!=-1){16();3($.1q.35){$("#K").C();$("#8").r({Y:"T"})}}n{$("#F").34(f+="&1y="+(1p 33().32()),9(){16();$("#K").C();1u("#F a.18");$("#8").r({Y:"T"})})}}3(!m[\'1A\']){o.21=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}}}}31(e){}}9 1m(){$("#K").C();$("#8").r({Y:"T"})}9 G(){$("#2Y").N("s");$("#Z").N("s");$("#8").2X("2W",9(){$(\'#8,#B,#1F\').2V("24").N().C()});$("#K").C();3(2t o.v.J.2i=="2g"){$("v","11").r({A:"1Z",z:"1Z"});$("11").r("22","")}o.1h="";o.21="";H P}9 16(){$("#8").r({2U:\'-\'+20((13/2),10)+\'p\',z:13+\'p\'});3(!(1V.1q.2Q&&1V.1q.2P<7)){$("#8").r({38:\'-\'+20((1a/2),10)+\'p\'})}}9 2p(a){6 b={};3(!a){H b}6 c=a.1B(/[;&]/);25(6 i=0;i li" ).each( function () { if ( this.id == '' ) { this.id = $( this ).find( '> a' ).text().toLowerCase() ; } debugalert ( 'ID zugewiesen:' + this.id ) ; } ) ; for ( var i = 0 ; i < elements.length ; i++ ) { if ( elements[ i ] != '' ){ element = $( "#" + elements[ i ].toLowerCase() ) ; $( element ).addClass( 'active' ).find( "> a" ).addClass( 'active' ).find( "> img" ).addClass( 'active' ).end().parents( 'li' ).each( function () { $( this ).addClass( 'open' ).find("> a").addClass( 'open' ) ; } ) ; } } } /** * prepare images for rollover function and preload them * also removes flickering effect for background-images in Internet Explorer * * @return void */ readyRollovers = function () { imagesExp= /((\.jpg)|(\.png)|(\.gif))/ ; try { document.execCommand ( 'BackgroundImageCache' , false , true ) ; } catch ( e ) { } $( "img.active" ).each( function () { this.src = this.src.replace ( imagesExp , '_f2$1' ) ; } ) ; $( "img.rollover:not(.active)" ).each( function () { $.preloadImages ( this.src.replace ( imagesExp , '_f2$1' ) ) ; } ).hover ( function () { this.src = this.src.replace ( imagesExp , '_f2$1' ) ; } , function () { this.src = this.src.replace ( /_f2/ , '' ) ; } ) ; } /** * remove the classes "open" and "active" from all elements * * @return void */ resetRollovers = function () { $ ( '.active' ).each ( function () { $( this ).removeClass( 'active' ) } ) ; $ ( '.open' ).each ( function () { $( this ).removeClass( 'open' ) } ) ; }; /** * function to preload images * * @return void */ jQuery.preloadImages = function () { for ( var i = 0 ; i < arguments.length ; i++ ) { jQuery ( "" ).attr ( "src" , arguments[ i ] ) ; } } /** * collect all function * * @param string objects * @return void */ collectTriggers = function ( objects ) { triggerArray.push ( objects ) ; } /** * display custom error messages in the firebug extension (http://www.getfirebug.com) * * @param string outputtext * @return void */ function debugalert(outputtext){ if ( !window.console || !console.firebug ) { var names = [ "log" , "debug" , "info" , "warn" , "error" , "assert" , "dir" , "dirxml" , "group" , "groupEnd" , "time" , "timeEnd" , "count" , "trace" , "profile" , "profileEnd" ] ; window.console = {} ; for (var i = 0 ; i < names.length ; ++i ) { window.console[ names[ i ] ] = function () {} } } else { window.console.log ( outputtext ) ; } } /** * find the previous HTMLElement with the given type of node * * @param HTMLElement o * @param string typeOfNode * @return HTMLElement */ function getPreviousNode ( o , typeOfNode ) { if ( arguments[2] == null ) { o = o.previousSibling ; } while ( o && o.nodeName.toLowerCase() != typeOfNode.toLowerCase () ) { c = o.childNodes ; for ( var i = ( c.length - 1 ) ; i >= 0 ; i-- ) { pSub = getPreviousNode ( c[i] , typeOfNode , false ) ; if ( pSub ) { return pSub ; } } o = o.previousSibling; } if ( o ) { return o ; } else { return '' ; } }; /** * find the next HTMLElement with the given type of node * * @param HTMLElement o * @param string typeOfNode * @return HTMLElement */ function getNextNode ( o , typeOfNode ) { if ( arguments[2] == null ) { o = o.nextSibling ; } while ( o && o.nodeName.toLowerCase() != typeOfNode.toLowerCase () ) { c = o.childNodes ; for ( var i = 0 ; i < c.length ; i++ ) { pSub = getNextNode ( c[i] , typeOfNode , false ) ; if ( pSub ) { return pSub ; } } o = o.nextSibling; } if ( o ) { return o ; } else { return '' ; } }; var pPreviousPattern = '' ; function liveSearch_ExecuteSearch () { var pOptions = document.getElementById ( "mSearchModule").value ; var pPattern = document.getElementById ( "mSearchPattern" ).value ; if ( pPattern != pPreviousPattern && pPattern.length >= 3 ) { $( '#searchresult' ).load ( "zubehoer/ajax/liveSearch.php?" , { options : pOptions , keyword : pPattern } , function ( pContent , pState ) { if ( pState == 'success' ) { $( '#searchresult' ).show () } } ) ; } pPreviousPattern = pPattern ; } function liveSearch_ClearSearch ( noValue ) { $( '#searchresult' ).hide () ; if ( noValue == true ) { document.getElementById ( "mSearchPattern" ).value = '' ; } pPreviousPattern = '' ; } function liveSearch_Init () { var pObject = document.getElementById ( "mSearchPattern" ) ; var pFunction = liveSearch_KeyPressed ; if ( navigator.userAgent.indexOf ( "Safari" ) > 0 ) { pObject.addEventListener ( "keydown" , pFunction , false ) ; } else if ( navigator.product == "Gecko" ) { pObject.addEventListener ( "keypress" , pFunction , false ) ; } else { pObject.attachEvent ( "onkeydown" , pFunction ) ; } $( "#searchPattern" ).attr ( "autocomplete" , "off" ) ; } function liveSearch_KeyPressed ( pNum ) { var pResult = document.getElementById ( "result" ) ; var pDirection = pNum.keyCode == 40 ? getNextNode : getPreviousNode ; var pPattern = document.getElementById ( "mSearchPattern" ).value ; switch ( pNum.keyCode ) { case 37 : // key left document.getElementById ( "mSearchPattern" ).value = pPattern.substring( 0 , pPattern.length - 1 ) ; return false ; break ; case 40 : // key down case 38 : // key up if ( !document.getElementById ( "pointer" ) ) { var pActivate = pDirection ( pResult , "a" , "self" ) ; } else { if ( pDirection ( document.getElementById ( "pointer" ).parentNode , "a" ) ) { var pActivate = pDirection ( document.getElementById ( "pointer" ).parentNode , "a" ) ; } else { var pActivate = pDirection ( pResult , "a" , "self" ) ; } document.getElementById ( "pointer" ).id = '' ; } pActivate.id = "pointer" ; break ; case 27 : // ESC liveSearch_ClearSearch ( true ) ; break ; case 13 : // Enter if ( document.getElementById ( "pointer" ) ) { document.location.href = document.getElementById ( "pointer" ).href ; } break ; } } /*Merkzettel Funktionen*/ addToCart = function ( itemName ) { $( '#cart' ).load ( 'content.php?' , { addToCart : itemName } , function ( pContent , pState ) { if ( pState == 'success' ) { $( '#cartimg_' + itemName ).attr( 'src', 'bilder/warenkorb_weg.gif' ); $( '#cartlink_' + itemName ).attr( 'onclick', '' ); alert( $('#cartMessage').text() ) ; location.reload(); } } ) ; } removeFromCart = function ( itemName , removeItem ) { $( '#cart' ).hide () ; $( '#cart' ).load ( 'content.php?' , { removeFromCart : itemName } , function ( pContent , pState ) { if ( pState == 'success' ) { if ( removeItem ) { $( removeItem ).parent().remove() ; } $( '#cartimg_' + itemName ).attr( 'src', 'bilder/warenkorb.gif' ); alert( $('#cartMessage').text() ) ; document.location.reload () ; } } ) ; } $( document ).ready ( function () { $( "a" ).focus ( function () { this.blur () ; } ) ; } ) ; function highlight( s, infoText ) { var d = document ; var o = null ; var browserName = navigator.appName; var browserVersion = parseInt(navigator.appVersion); if ( browserName == "Microsoft Internet Explorer" && browserVersion == 4 && navigator.appVersion.indexOf("MSIE 5.0") != -1) { return 0; } if( !s || /^\s*$/.test(s) ) { return 0; } o = [ o || d.documentElement || d.body ]; //var r = new RegExp( s, 'gi' ), var r = new RegExp( "([-()+_:., ]|^)(" + s + ")([-()+_:., ]|$)", 'gi' ), h = d.createElement('span'), i = 0, j, k, l, m, n=0, t; var antiLoopBack = 0 ; h.style.backgroundColor = ''; h.style.color = '#009933'; h.style.borderBottom = '1px dashed #1eaa2d'; h.style.cursor = 'help' ; do { m = o[i]; if( m.nodeType === 3 ) { r.lastIndex = 0; l = r.exec(m.nodeValue); if( l !== null ) { k = l[0].length; if( r.lastIndex > k ) { m.splitText( r.lastIndex - k + 1 ); m = m.nextSibling; } if( m.nodeValue.length > k ) { m.splitText(k - 2); o[i++] = m.nextSibling; } if ( m.parentNode.nodeName != 'A' && m.parentNode.nodeName != 'FONT' && m.parentNode.nodeName != 'SCRIPT' && m.parentNode.nodeName != 'H1' && m.parentNode.nodeName != 'H2' && m.parentNode.nodeName != 'H3' && m.parentNode.nodeName != 'H4' ) { t = h.cloneNode( true ); t.appendChild( d.createTextNode( l[2] ) );n++; t.onmouseover = function () { tooltip ( infoText ) ; } t.onmouseout = function () { nd () ; } m.parentNode.replaceChild( t, m ); return ; } else { if ( antiLoopBack == m.nodeValue.length ) return ; else antiLoopBack = m.nodeValue.length ; } } } else { j = m.childNodes.length; while (j) { o[i++] = m.childNodes.item(--j); } } } while(i--); return n; }; function show_hide ( element ) { var list = document.getElementById ( element ); if( list.style.display == 'none' ){ list.style.display = 'block'; } else { list.style.display = 'none'; } var height = document.getElementById('left').offsetHeight ; $('#boxed').css("height", height +"px"); } function show_hide_printers ( id, hrefelement ) { var element = document.getElementById ( 'dynamic_' + id ); var button = document.getElementById ( 'button_img_' + id ); if ( element.style.display == 'none' ) { element.style.display = 'inline'; button.src = 'bilder/buttons/minus.gif'; if ( hrefelement != undefined ) { hrefelement.style.display = 'none'; } } else { element.style.display = 'none'; button.src = 'bilder/buttons/plus.gif'; } } function sleep ( ms ){ var time = ( new Date () ).getTime() ; var stopTime = time + ms ; while ( ( new Date () ).getTime() < stopTime ) { } ; } //\////////////////////////////////////////////////////////////////////////////////// //\ overLIB 3.51 -- This notice must remain untouched at all times. //\ Copyright Erik Bosrup 1998-2002. All rights reserved. //\ //\ By Erik Bosrup (erik@bosrup.com). Last modified 2002-11-01. //\ Portions by Dan Steinman (dansteinman.com). Additions by other people are //\ listed on the overLIB homepage. //\ //\ Get the latest version at http://www.bosrup.com/web/overlib/ //\ //\ This script is published under an open source license. Please read the license //\ agreement online at: http://www.bosrup.com/web/overlib/license.html //\ If you have questions regarding the license please contact erik@bosrup.com. //\ //\ This script library was originally created for personal use. By request it has //\ later been made public. This is free software. Do not sell this as your own //\ work, or remove this copyright notice. For full details on copying or changing //\ this script please read the license agreement at the link above. //\ //\ Please give credit on sites that use overLIB and submit changes of the script //\ so other people can use them as well. This script is free to use, don't abuse. //\////////////////////////////////////////////////////////////////////////////////// //\ THIS IS A VERY MODIFIED VERSION. DO NOT EDIT OR PUBLISH. GET THE ORIGINAL! function poplinks2(text, title) { if (text !='') overlib(text); } function tooltip(text, title) { if (text !='') overlib(text); } function poprechts2(text, title) { if (text !='') overlib(text); } var INARRAY=1; var CAPARRAY=2; var STICKY=3; var BACKGROUND=4; var NOCLOSE=5; var CAPTION=6; var LEFT=7; var RIGHT=8; var CENTER=9; var OFFSETX=10; var OFFSETY=11; var FGCOLOR=12; var BGCOLOR=13; var TEXTCOLOR=14; var CAPCOLOR=15; var CLOSECOLOR=16; var WIDTH=17; var BORDER=18; var STATUS=19; var AUTOSTATUS=20; var AUTOSTATUSCAP=21; var HEIGHT=22; var CLOSETEXT=23; var SNAPX=24; var SNAPY=25; var FIXX=26; var FIXY=27; var FGBACKGROUND=28; var BGBACKGROUND=29; var PADX=30;// PADX2 out var PADY=31;// PADY2 out var FULLHTML=34; var ABOVE=35; var BELOW=36; var CAPICON=37; var TEXTFONT=38; var CAPTIONFONT=39; var CLOSEFONT=40; var TEXTSIZE=41; var CAPTIONSIZE=42; var CLOSESIZE=43; var FRAME=44; var TIMEOUT=45; var FUNCTION=46; var DELAY=47; var HAUTO=48; var VAUTO=49; var CLOSECLICK=50; var CSSOFF=51; var CSSSTYLE=52; var CSSCLASS=53; var FGCLASS=54; var BGCLASS=55; var TEXTFONTCLASS=56; var CAPTIONFONTCLASS=57; var CLOSEFONTCLASS=58; var PADUNIT=59; var HEIGHTUNIT=60; var WIDTHUNIT=61; var TEXTSIZEUNIT=62; var TEXTDECORATION=63; var TEXTSTYLE=64; var TEXTWEIGHT=65; var CAPTIONSIZEUNIT=66; var CAPTIONDECORATION=67; var CAPTIONSTYLE=68; var CAPTIONWEIGHT=69; var CLOSESIZEUNIT=70; var CLOSEDECORATION=71; var CLOSESTYLE=72; var CLOSEWEIGHT=73; if(typeof ol_fgcolor=='undefined'){var ol_fgcolor="#CCCCFF";} if(typeof ol_bgcolor=='undefined'){var ol_bgcolor="#333399";} if(typeof ol_textcolor=='undefined'){var ol_textcolor="#000000";} if(typeof ol_capcolor=='undefined'){var ol_capcolor="#FFFFFF";} if(typeof ol_closecolor=='undefined'){var ol_closecolor="#9999FF";} if(typeof ol_textfont=='undefined'){var ol_textfont="Verdana,Arial,Helvetica";} if(typeof ol_captionfont=='undefined'){var ol_captionfont="Verdana,Arial,Helvetica";} if(typeof ol_closefont=='undefined'){var ol_closefont="Verdana,Arial,Helvetica";} if(typeof ol_textsize=='undefined'){var ol_textsize="1";} if(typeof ol_captionsize=='undefined'){var ol_captionsize="1";} if(typeof ol_closesize=='undefined'){var ol_closesize="1";} if(typeof ol_width=='undefined'){var ol_width="200";} if(typeof ol_border=='undefined'){var ol_border="1";} if(typeof ol_offsetx=='undefined'){var ol_offsetx=10;} if(typeof ol_offsety=='undefined'){var ol_offsety=10;} if(typeof ol_text=='undefined'){var ol_text="Default Text";} if(typeof ol_cap=='undefined'){var ol_cap="";} if(typeof ol_sticky=='undefined'){var ol_sticky=0;} if(typeof ol_background=='undefined'){var ol_background="";} if(typeof ol_close=='undefined'){var ol_close="Close";} if(typeof ol_hpos=='undefined'){var ol_hpos=8;} if(typeof ol_status=='undefined'){var ol_status="";} if(typeof ol_autostatus=='undefined'){var ol_autostatus=0;} if(typeof ol_height=='undefined'){var ol_height=-1;} if(typeof ol_snapx=='undefined'){var ol_snapx=0;} if(typeof ol_snapy=='undefined'){var ol_snapy=0;} if(typeof ol_fixx=='undefined'){var ol_fixx=-1;} if(typeof ol_fixy=='undefined'){var ol_fixy=-1;} if(typeof ol_fgbackground=='undefined'){var ol_fgbackground="";} if(typeof ol_bgbackground=='undefined'){var ol_bgbackground="";} if(typeof ol_padxl=='undefined'){var ol_padxl=1;} if(typeof ol_padxr=='undefined'){var ol_padxr=1;} if(typeof ol_padyt=='undefined'){var ol_padyt=1;} if(typeof ol_padyb=='undefined'){var ol_padyb=1;} if(typeof ol_fullhtml=='undefined'){var ol_fullhtml=0;} if(typeof ol_vpos=='undefined'){var ol_vpos=36;} if(typeof ol_aboveheight=='undefined'){var ol_aboveheight=0;} if(typeof ol_capicon=='undefined'){var ol_capicon="";} if(typeof ol_frame=='undefined'){var ol_frame=self;} if(typeof ol_timeout=='undefined'){var ol_timeout=0;} if(typeof ol_function=='undefined'){var ol_function=null;} if(typeof ol_delay=='undefined'){var ol_delay=0;} if(typeof ol_hauto=='undefined'){var ol_hauto=1;} if(typeof ol_vauto=='undefined'){var ol_vauto=1;} if(typeof ol_closeclick=='undefined'){var ol_closeclick=0;} if(typeof ol_css=='undefined'){var ol_css=51;} if(typeof ol_fgclass=='undefined'){var ol_fgclass="";} if(typeof ol_bgclass=='undefined'){var ol_bgclass="";} if(typeof ol_textfontclass=='undefined'){var ol_textfontclass="";} if(typeof ol_captionfontclass=='undefined'){var ol_captionfontclass="";} if(typeof ol_closefontclass=='undefined'){var ol_closefontclass="";} if(typeof ol_padunit=='undefined'){var ol_padunit="px";} if(typeof ol_heightunit=='undefined'){var ol_heightunit="px";} if(typeof ol_widthunit=='undefined'){var ol_widthunit="px";} if(typeof ol_textsizeunit=='undefined'){var ol_textsizeunit="px";} if(typeof ol_textdecoration=='undefined'){var ol_textdecoration="none";} if(typeof ol_textstyle=='undefined'){var ol_textstyle="normal";} if(typeof ol_textweight=='undefined'){var ol_textweight="normal";} if(typeof ol_captionsizeunit=='undefined'){var ol_captionsizeunit="px";} if(typeof ol_captiondecoration=='undefined'){var ol_captiondecoration="none";} if(typeof ol_captionstyle=='undefined'){var ol_captionstyle="normal";} if(typeof ol_captionweight=='undefined'){var ol_captionweight="bold";} if(typeof ol_closesizeunit=='undefined'){var ol_closesizeunit="px";} if(typeof ol_closedecoration=='undefined'){var ol_closedecoration="none";} if(typeof ol_closestyle=='undefined'){var ol_closestyle="normal";} if(typeof ol_closeweight=='undefined'){var ol_closeweight="normal";} if(typeof ol_texts=='undefined'){var ol_texts=new Array("Text 0", "Text 1");} if(typeof ol_caps=='undefined'){var ol_caps=new Array("Caption 0", "Caption 1");} var otext=""; var ocap=""; var osticky=0; var obackground=""; var oclose="Close"; var ohpos=8; var ooffsetx=2; var ooffsety=2; var ofgcolor=""; var obgcolor=""; var otextcolor=""; var ocapcolor=""; var oclosecolor=""; var owidth=200; var oborder=1; var ostatus=""; var oautostatus=0; var oheight=-1; var osnapx=0; var osnapy=0; var ofixx=-1; var ofixy=-1; var ofgbackground=""; var obgbackground=""; var opadxl=0; var opadxr=0; var opadyt=0; var opadyb=0; var ofullhtml=0; var ovpos=36; var oaboveheight=0; var ocapicon=""; var otextfont="Verdana,Arial,Helvetica"; var ocaptionfont="Verdana,Arial,Helvetica"; var oclosefont="Verdana,Arial,Helvetica"; var otextsize="1"; var ocaptionsize="1"; var oclosesize="1"; var oframe=self; var otimeout=0; var otimerid=0; var oallowmove=0; var ofunction=null; var odelay=1000; var odelayid=0; var ohauto=1; var ovauto=1; var ocloseclick=0; var ocss=51; var ofgclass=""; var obgclass=""; var otextfontclass=""; var ocaptionfontclass=""; var oclosefontclass=""; var opadunit="px"; var oheightunit="px"; var owidthunit="px"; var otextsizeunit="px"; var otextdecoration=""; var otextstyle=""; var otextweight=""; var ocaptionsizeunit="px"; var ocaptiondecoration=""; var ocaptionstyle=""; var ocaptionweight=""; var oclosesizeunit="px"; var oclosedecoration=""; var oclosestyle=""; var ocloseweight=""; var ox=0; var oy=0; var oallow=0; var oshowingsticky=0; var oremovecounter=0; var over=null; var fnRef; var ns4=(navigator.appName=='Netscape' && parseInt(navigator.appVersion)==4); var ns6=(document.getElementById)? true:false; var ie4=(document.all)? true:false; if(ie4)var docRoot='document.body'; var ie5=false; if(ns4){ var oW=window.innerWidth; var oH=window.innerHeight; window.onresize=function(){if(oW!=window.innerWidth||oH!=window.innerHeight)location.reload();} } if(ie4){ if((navigator.userAgent.indexOf('MSIE 5')> 0)||(navigator.userAgent.indexOf('MSIE 6')> 0)){ if(document.compatMode && document.compatMode=='CSS1Compat')docRoot='document.documentElement'; ie5=true; } if(ns6){ ns6=false; } } if((ns4)||(ie4)||(ns6)){ document.onmousemove=mouseMove if(ns4)document.captureEvents(Event.MOUSEMOVE) }else{ overlib=no_overlib; nd=no_overlib; ver3fix=true; } function no_overlib(){ return ver3fix; } function overlib(){ otext=ol_text; ocap=ol_cap; osticky=ol_sticky; obackground=ol_background; oclose=ol_close; ohpos=ol_hpos; ooffsetx=ol_offsetx; ooffsety=ol_offsety; ofgcolor=ol_fgcolor; obgcolor=ol_bgcolor; otextcolor=ol_textcolor; ocapcolor=ol_capcolor; oclosecolor=ol_closecolor; owidth=ol_width; oborder=ol_border; ostatus=ol_status; oautostatus=ol_autostatus; oheight=ol_height; osnapx=ol_snapx; osnapy=ol_snapy; ofixx=ol_fixx; ofixy=ol_fixy; ofgbackground=ol_fgbackground; obgbackground=ol_bgbackground; opadxl=ol_padxl; opadxr=ol_padxr; opadyt=ol_padyt; opadyb=ol_padyb; ofullhtml=ol_fullhtml; ovpos=ol_vpos; oaboveheight=ol_aboveheight; ocapicon=ol_capicon; otextfont=ol_textfont; ocaptionfont=ol_captionfont; oclosefont=ol_closefont; otextsize=ol_textsize; ocaptionsize=ol_captionsize; oclosesize=ol_closesize; otimeout=ol_timeout; ofunction=ol_function; odelay=ol_delay; ohauto=ol_hauto; ovauto=ol_vauto; ocloseclick=ol_closeclick; ocss=ol_css; ofgclass=ol_fgclass; obgclass=ol_bgclass; otextfontclass=ol_textfontclass; ocaptionfontclass=ol_captionfontclass; oclosefontclass=ol_closefontclass; opadunit=ol_padunit; oheightunit=ol_heightunit; owidthunit=ol_widthunit; otextsizeunit=ol_textsizeunit; otextdecoration=ol_textdecoration; otextstyle=ol_textstyle; otextweight=ol_textweight; ocaptionsizeunit=ol_captionsizeunit; ocaptiondecoration=ol_captiondecoration; ocaptionstyle=ol_captionstyle; ocaptionweight=ol_captionweight; oclosesizeunit=ol_closesizeunit; oclosedecoration=ol_closedecoration; oclosestyle=ol_closestyle; ocloseweight=ol_closeweight; fnRef=''; if((ns4)||(ie4)||(ns6)){ if(over)cClick(); oframe=ol_frame; if(ns4)over=oframe.document.overDiv if(ie4)over=oframe.overDiv.style if(ns6)over=oframe.document.getElementById("overDiv"); } var c=-1, udf, v=null; var ar=arguments; udf=(!ar.length ? 1 : 0); for(i=0;i < ar.length;i++){ if(c < 0){ if(typeof ar[i]=='number'){ udf=(ar[i]==46 ? 0 : 1); i--; }else{ otext=ar[i]; } c=0; }else{ if(ar[i]==1){udf=0;otext=ol_texts[ar[++i]];continue;} if(ar[i]==2){ocap=ol_caps[ar[++i]];continue;} if(ar[i]==3){osticky=1;continue;} if(ar[i]==4){obackground=ar[++i];continue;} if(ar[i]==NOCLOSE){oclose="";continue;} if(ar[i]==6){ocap=ar[++i];continue;} if(ar[i]==9 || ar[i]==7 || ar[i]==8){ohpos=ar[i];continue;} if(ar[i]==10){ooffsetx=ar[++i];continue;} if(ar[i]==11){ooffsety=ar[++i];continue;} if(ar[i]==12){ofgcolor=ar[++i];continue;} if(ar[i]==13){obgcolor=ar[++i];continue;} if(ar[i]==14){otextcolor=ar[++i];continue;} if(ar[i]==15){ocapcolor=ar[++i];continue;} if(ar[i]==16){oclosecolor=ar[++i];continue;} if(ar[i]==17){owidth=ar[++i];continue;} if(ar[i]==18){oborder=ar[++i];continue;} if(ar[i]==19){ostatus=ar[++i];continue;} if(ar[i]==20){oautostatus=(oautostatus==1)? 0 : 1;continue;} if(ar[i]==21){oautostatus=(oautostatus==2)? 0 : 2;continue;} if(ar[i]==22){oheight=ar[++i];oaboveheight=ar[i];continue;}// Same param again. if(ar[i]==23){oclose=ar[++i];continue;} if(ar[i]==24){osnapx=ar[++i];continue;} if(ar[i]==25){osnapy=ar[++i];continue;} if(ar[i]==26){ofixx=ar[++i];continue;} if(ar[i]==27){ofixy=ar[++i];continue;} if(ar[i]==28){ofgbackground=ar[++i];continue;} if(ar[i]==29){obgbackground=ar[++i];continue;} if(ar[i]==30){opadxl=ar[++i];opadxr=ar[++i];continue;} if(ar[i]==31){opadyt=ar[++i];opadyb=ar[++i];continue;} if(ar[i]==34){ofullhtml=1;continue;} if(ar[i]==36 || ar[i]==35){ovpos=ar[i];continue;} if(ar[i]==37){ocapicon=ar[++i];continue;} if(ar[i]==38){otextfont=ar[++i];continue;} if(ar[i]==39){ocaptionfont=ar[++i];continue;} if(ar[i]==40){oclosefont=ar[++i];continue;} if(ar[i]==41){otextsize=ar[++i];continue;} if(ar[i]==42){ocaptionsize=ar[++i];continue;} if(ar[i]==43){oclosesize=ar[++i];continue;} if(ar[i]==44){opt_FRAME(ar[++i]);continue;} if(ar[i]==45){otimeout=ar[++i];continue;} if(ar[i]==46){udf=0;if(typeof ar[i+1] !='number')v=ar[++i];opt_FUNCTION(v);continue;} if(ar[i]==47){odelay=ar[++i];continue;} if(ar[i]==48){ohauto=(ohauto==0)? 1 : 0;continue;} if(ar[i]==49){ovauto=(ovauto==0)? 1 : 0;continue;} if(ar[i]==50){ocloseclick=(ocloseclick==0)? 1 : 0;continue;} if(ar[i]==51){ocss=ar[i];continue;} if(ar[i]==52){ocss=ar[i];continue;} if(ar[i]==53){ocss=ar[i];continue;} if(ar[i]==54){ofgclass=ar[++i];continue;} if(ar[i]==55){obgclass=ar[++i];continue;} if(ar[i]==56){otextfontclass=ar[++i];continue;} if(ar[i]==57){ocaptionfontclass=ar[++i];continue;} if(ar[i]==58){oclosefontclass=ar[++i];continue;} if(ar[i]==59){opadunit=ar[++i];continue;} if(ar[i]==60){oheightunit=ar[++i];continue;} if(ar[i]==61){owidthunit=ar[++i];continue;} if(ar[i]==62){otextsizeunit=ar[++i];continue;} if(ar[i]==63){otextdecoration=ar[++i];continue;} if(ar[i]==64){otextstyle=ar[++i];continue;} if(ar[i]==65){otextweight=ar[++i];continue;} if(ar[i]==66){ocaptionsizeunit=ar[++i];continue;} if(ar[i]==67){ocaptiondecoration=ar[++i];continue;} if(ar[i]==68){ocaptionstyle=ar[++i];continue;} if(ar[i]==69){ocaptionweight=ar[++i];continue;} if(ar[i]==70){oclosesizeunit=ar[++i];continue;} if(ar[i]==71){oclosedecoration=ar[++i];continue;} if(ar[i]==72){oclosestyle=ar[++i];continue;} if(ar[i]==73){ocloseweight=ar[++i];continue;} } } if(udf && ofunction)otext=ofunction(); if(odelay==0){ return overlib351(); }else{ odelayid=setTimeout("overlib351()", odelay); return false; } } function nd(){ if(oremovecounter >=1){oshowingsticky=0}; if((ns4)||(ie4)||(ns6)){ if(oshowingsticky==0){ oallowmove=0; if(over !=null)hideObject(over); }else{ oremovecounter++; } } return true; } function overlib351(){ var layerhtml; if(obackground !="" || ofullhtml){ layerhtml=ol_content_background(otext, obackground, ofullhtml); }else{ if(ofgbackground !="" && ocss==CSSOFF){ ofgbackground="BACKGROUND=\""+ofgbackground+"\""; } if(obgbackground !="" && ocss==CSSOFF){ obgbackground="BACKGROUND=\""+obgbackground+"\""; } if(ofgcolor !="" && ocss==CSSOFF){ ofgcolor="BGCOLOR=\""+ofgcolor+"\""; } if(obgcolor !="" && ocss==CSSOFF){ obgcolor="BGCOLOR=\""+obgcolor+"\""; } if(oheight > 0 && ocss==51){ oheight="HEIGHT=" + oheight; }else{ oheight=""; } if(ocap==""){ layerhtml=ol_content_simple(otext); }else{ if(osticky){ layerhtml=ol_content_caption(otext, ocap, oclose); }else{ layerhtml=ol_content_caption(otext, ocap, ""); } } } if(osticky){ if(otimerid > 0){ clearTimeout(otimerid); otimerid=0; } oshowingsticky=1; oremovecounter=0; } layerWrite(layerhtml); if(oautostatus > 0){ ostatus=otext; if(oautostatus > 1){ ostatus=ocap; } } oallowmove=0; if(otimeout > 0){ if(otimerid > 0)clearTimeout(otimerid); otimerid=setTimeout("cClick()", otimeout); } disp(ostatus); if(osticky)oallowmove=0; return(ostatus !=''); } function ol_content_simple(text){ if(ocss==CSSCLASS)txt="
"+text+"
"; if(ocss==CSSSTYLE)txt="
"+text+"
"; if(ocss==CSSOFF)txt="
"+text+"
"; set_background(""); return txt; } function ol_content_caption(text, title, close){ closing=""; closeevent="onMouseOver"; if(ocloseclick==1)closeevent="onClick"; if(ocapicon !="")ocapicon=" "; if(close !=""){ if(ocss==CSSCLASS)closing=""+close+""; if(ocss==CSSSTYLE)closing=""+close+""; if(ocss==CSSOFF)closing=""+close+""; } if(ocss==CSSCLASS)txt="
"+closing+"
"+ocapicon+title+"
"+text+"
"; if(ocss==CSSSTYLE)txt="
"+closing+"
"+ocapicon+title+"
"+text+"
"; if(ocss==CSSOFF)txt="
"+closing+"
"+ocapicon+title+"
"+text+"
"; set_background(""); return txt; } function ol_content_background(text, picture, hasfullhtml){ var txt; if(hasfullhtml){ txt=text; }else{ var pU, hU, wU; pU=(opadunit=='%' ? '%' : ''); hU=(oheightunit=='%' ? '%' : ''); wU=(owidthunit=='%' ? '%' : ''); if(ocss==CSSCLASS)txt="
"+text+"
"; if(ocss==CSSSTYLE)txt="
"+text+"
"; if(ocss==CSSOFF)txt="
"+text+"
"; } set_background(picture); return txt; } function set_background(pic){ if(pic==""){ if(ns4)over.background.src=null; if(ie4)over.backgroundImage="none"; if(ns6)over.style.backgroundImage="none"; }else{ if(ns4){ over.background.src=pic; }else if(ie4){ over.backgroundImage="url("+pic+")"; }else if(ns6){ over.style.backgroundImage="url("+pic+")"; } } } function disp(statustext){ if((ns4)||(ie4)||(ns6)){ if(oallowmove==0){ placeLayer(); showObject(over); oallowmove=1; } } if(statustext !=""){ self.status=statustext; } } function placeLayer(){ var placeX, placeY; if(ofixx > -1){ placeX=ofixx; }else{ winoffset=(ie4)? eval('oframe.'+docRoot+'.scrollLeft'): oframe.pageXOffset; if(ie4)iwidth=eval('oframe.'+docRoot+'.clientWidth'); if(ns4 || ns6)iwidth=oframe.innerWidth; if(ohauto==1){ if((ox - winoffset)>((eval(iwidth))/ 2)){ ohpos=7; }else{ ohpos=8; } } if(ohpos==9){// Center placeX=ox+ooffsetx-(owidth/2); if(placeX < winoffset)placeX=winoffset; } if(ohpos==8){// Right placeX=ox+ooffsetx; if((eval(placeX)+ eval(owidth))>(winoffset + iwidth)){ placeX=iwidth + winoffset - owidth; if(placeX < 0)placeX=0; } } if(ohpos==7){// Left placeX=ox-ooffsetx-owidth; if(placeX < winoffset)placeX=winoffset; } if(osnapx > 1){ var snapping=placeX % osnapx; if(ohpos==7){ placeX=placeX -(osnapx + snapping); }else{ placeX=placeX +(osnapx - snapping); } if(placeX < winoffset)placeX=winoffset; } } if(ofixy > -1){ placeY=ofixy; }else{ scrolloffset=(ie4)? eval('oframe.'+docRoot+'.scrollTop'): oframe.pageYOffset; if(ovauto==1){ if(ie4)iheight=eval('oframe.'+docRoot+'.clientHeight'); if(ns4 || ns6)iheight=oframe.innerHeight; iheight=(eval(iheight))/ 2; if((oy - scrolloffset)> iheight){ ovpos=35; }else{ ovpos=36; } } if(ovpos==35){ if(oaboveheight==0){ var divref=(ie4)? oframe.document.all['overDiv'] : over; oaboveheight=(ns4)? divref.clip.height : divref.offsetHeight; } placeY=oy -(oaboveheight + ooffsety); if(placeY < scrolloffset)placeY=scrolloffset; }else{ placeY=oy + ooffsety; } if(osnapy > 1){ var snapping=placeY % osnapy; if(oaboveheight > 0 && ovpos==35){ placeY=placeY -(osnapy + snapping); }else{ placeY=placeY +(osnapy - snapping); } if(placeY < scrolloffset)placeY=scrolloffset; } } repositionTo(over, placeX, placeY); } function mouseMove(e){ if((ns4)||(ns6)){ox=e.pageX;oy=e.pageY;} if(ie4){ox=event.x;oy=event.y;} if(ie5){ox=eval('event.x+oframe.'+docRoot+'.scrollLeft');oy=eval('event.y+oframe.'+docRoot+'.scrollTop');} if(oallowmove==1){ placeLayer(); } } function cClick(){ hideObject(over); oshowingsticky=0; return false; } function compatibleframe(frameid){ if(ns4){ if(typeof frameid.document.overDiv=='undefined')return false; }else if(ie4){ if(typeof frameid.document.all["overDiv"]=='undefined')return false; }else if(ns6){ if(frameid.document.getElementById('overDiv')==null)return false; } return true; } function layerWrite(txt){ txt +="\n"; if(ns4){ var lyr=oframe.document.overDiv.document lyr.write(txt) lyr.close() }else if(ie4){ oframe.document.all["overDiv"].innerHTML=txt }else if(ns6){ range=oframe.document.createRange(); range.setStartBefore(over); domfrag=range.createContextualFragment(txt); while(over.hasChildNodes()){ over.removeChild(over.lastChild); } over.appendChild(domfrag); } } function showObject(obj){ if(ns4)obj.visibility="show"; else if(ie4)obj.visibility="visible"; else if(ns6)obj.style.visibility="visible"; } function hideObject(obj){ if(ns4)obj.visibility="hide"; else if(ie4)obj.visibility="hidden"; else if(ns6)obj.style.visibility="hidden"; if(otimerid > 0)clearTimeout(otimerid); if(odelayid > 0)clearTimeout(odelayid); otimerid=0; odelayid=0; self.status=""; } function repositionTo(obj,xL,yL){ if((ns4)||(ie4)){ obj.left=(ie4 ? xL + 'px' : xL); obj.top=(ie4 ? yL + 'px' : yL); }else if(ns6){ obj.style.left=xL + "px"; obj.style.top=yL+ "px"; } } function getFrameRef(thisFrame, ofrm){ var retVal=''; for(var i=0;i 0){ retVal=getFrameRef(thisFrame[i],ofrm); if(retVal=='')continue; }else if(thisFrame[i] !=ofrm)continue; retVal='['+i+']' + retVal; break; } return retVal; } function opt_FRAME(frm){ oframe=compatibleframe(frm)? frm : ol_frame; if(oframe !=ol_frame){ var tFrm=getFrameRef(top.frames, oframe); var sFrm=getFrameRef(top.frames, ol_frame); if(sFrm.length==tFrm.length){ l=tFrm.lastIndexOf('['); if(l){ while(sFrm.substring(0,l)!=tFrm.substring(0,l))l=tFrm.lastIndexOf('[',l-1); tFrm=tFrm.substr(l); sFrm=sFrm.substr(l); } } var cnt=0, p='', str=tFrm; while((k=str.lastIndexOf('['))!=-1){ cnt++; str=str.substring(0,k); } for(var i=0;i