////////////////////////////////////////////////////////////
// Script to change the picture (By wjn)
// Supported Browsers: IE, Mozilla, Safari
////////////////////////////////////////////////////////////

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('d 2e(){3.27.2r(3,2a)}2e.2q={27:d(5){m(f i=0;i<5.7;i++){1e(5[i][0]){b"2p":3.q=5[i][1];h;b"2n":3.D=5[i][1];h;b"2o":3.1v=5[i][1];h;b"2s":3.9=i;h;b"2t":3.v=5[i][1];h;b"2y":3.J=16(5[i][1]);h;b"2x":3.M=16(5[i][1]);h;b"O":3.O=5[i][1];h;b"15":3.15=5[i][1];h;b"x":3.x=5[i][1];3.18=5[i][2];h;b"1m":3.1m=i;h;b"2m":3.1d=16(5[i][1]);h;b"2w":3.21=5[i][1];h;b"F":3.F=5[i][1];h;b"2u":3.T=i}}4(!3.D)3.D=3.q+"2v";4(!3.1v)3.1v=3.q+"2z";3.D=3.1p(3.D);3.N=3.1p(3.1v);3.q=3.1p(3.q);4(!3.q)1A;4(3.T){m(f e=1;e<5[3.T].7;e++){4(5[3.T][e][0].11("<")!=-1){3.1T(3.q,5[3.T][e])}}}4(!3.v){4(3.T){3.v=5[3.T][1][0].1g(/<|>/g,"");3.v=3.v.2l(" ")[0]}l 3.v="14"}4(3.21!=1D){28{f V=3.q.z(3.v);m(t=1;t<V.7;t++){f 1B=V[t].z("14")[0].1z;4(!1B)1B=V[t].1z;m(u=0;u<t;u++){f 1t=V[u].z("14")[0].1z;4(!1t)1t=V[u].1z;4(1B==1t){3.q.2k(V[t]);t--;h}}}}29(e){}}3.Q="2i";4(1y(3.1m)){3.E=3.v+"2g";3.1r=3.v+"2h"}l{3.E=5[3.1m][1];3.1r=5[3.1m][2]}3.6=3.q.z(3.v);4(3.6.7<0)1A;4(1y(3.1d)||(3.1d<=0))3.1d=2E;4(1y(3.J)||(3.J<3.M))3.J=2J;4(1y(3.M)||(3.M<0))3.M=2;4(3.F!=1D)3.F=1S;f o=3;3.j=0;3.P=[];4(3.9){4(1Z(5[3.9][1])=="2K"){f 1I=1;3.9=I.2L(5[3.9][1]);3.9.L="";3.9.y.17=3.6.7+12;4(3.O)3.1i(3.9,3.Q,3.O,3.E);m(a=1;a<=3.6.7;a++){3.1i(3.9,3.Q,a,3.E)}4(3.15)3.1i(3.9,3.Q,3.15,3.E);4(3.x){1I++;3.1i(3.9,3.Q,3.18,3.E)}f B=3.9.z(3.Q);m(s=0;s<B.7;s++){B[s].1L=d(){3.R=o.1r};B[s].1M=d(){3.R=o.E;o.1q(o.j)};4((s==0)&&(3.O))B[s].1o=d(){o.1f(-1)};l 4((s==B.7-1I)&&(3.15))B[s].1o=d(){o.1f(0)};l 4((s==B.7-1)&&(3.x))B[s].1o=d(){4(3.L==o.18){3.L=o.x;o.1O()}l{3.L=o.18;o.1U()}};l B[s].1o=d(){o.1K(3.L)}}}l 4(1Z(5[3.9][1])=="2D"){3.19;3.r;f 1W=3.6.7;m(i=1;i<5[3.9].7;i++){4(5[3.9][i][0].11("1n")==0){1e(5[3.9][i][0].1g("1n","")){b"Z":3.19=5[3.9][i][1];h;b"2F":3.r=5[3.9][i][1];h}}}3.19=3.1p(3.19);4(3.19){3.r=3.19.z(3.r);m(s=0;s<3.r.7;s++){f 1a=24 2A();m(t=1;t<5[3.9].7;t++){4(5[3.9][t][0].11("1n")!=0){4(5[3.9][t][1].11("1n")==0){1k("1a."+5[3.9][t][0]+"=3.r[s]."+5[3.9][t][0].1g("1n",""))}l{1k("1a."+5[3.9][t][0]+"=5[3.9][t][1]")}}}1a.1x(\'1C\');1a.1x(\'23\');f G=I.1R(3.v);G.1l(1a);3.q.1l(G);3.r[s].1P=1W+s+1;3.r[s].1o=d(){o.1K(3.1P)}}3.25=1S}3.9=1X}}m(i=0;i<3.6.7;i++){3.P[i]=10;3.6[i].y.17=16(3.6.7-1+3.M-i);1e(3.x){b"1L":b"1M":b"20":1k("3.6[i]."+3.x+" = d(){ o.1U(); };");h}1e(3.18){b"1L":b"1M":b"20":1k("3.6[i]."+3.18+" = d(){ o.1O(); };");h}}4(3.x&&(3.x.11("2G")!=-1)){3.x=1X}4(3.D){3.D.y.17=3.6.7+8;4(3.D.1u==0)3.D.y.1C=3.q.1u+"2c"}4(3.N){3.N.y.17=3.6.7+10;4(3.N.1u==0)3.N.y.1C=3.q.1u+"2c"}3.1q(3.j);4(3.F)3.C=W(3.K.S(3,3.j,10),3.J)},1p:d(Z){f 6;f 2f=I.2H.L;f 2b=24 2N("<(\\\\w*)([^>]*) Z=[\\\'\\"]?"+Z+"[\\\'\\"]?([^>]*)>","i");2f.1g(2b,d(){6=2a[1]});f 1w=I.z(6);m(i=0;i<1w.7;i++){4(1w[i].Z==Z)1A 1w[i]}1A 1D},1T:d(1E,U){f 1Q=U[0].1g(/<|>/g,"");f G=I.1R(1Q);m(f c=1;c<U.7;c++){4(U[c][0].11("<")==-1){28{1k("G."+U[c][0]+"=\'"+U[c][1]+"\'")}29(e){}}l{3.1T(G,U[c])}}4(1Q=="14"){G.1x("1C");G.1x("23")}1E.1l(G)},1i:d(1E,13,1h,1V){13=I.1R(13);4(1h){1h=I.2M(1h);13.1l(1h)}4(1V)13.R=1V;1E.1l(13)},1q:d(H){f 1s=0;f 1c=0;4(3.25){m(s=0;s<3.r.7;s++){4((H+1)==3.r[s].1P)3.r[s].R=3.1r;l 3.r[s].R=3.E}}4(3.O){1s=1;H++}4(3.15)1c++;4(3.x)1c++;4(3.9){f 1F=3.9.z(3.Q);m(;1s<1F.7-1c;1s++){1F[1s].R=3.E}1F[H].R=3.1r}4(3.N){4(3.O)H--;4(3.6[H].z("14").7){3.N.L=3.6[H].z("14")[0].2d("26")}l{3.N.L=3.6[H].2d("26")}}},Y:d(p,1G){3.P[p]=1G;4(I.2B)3.6[p].y.2I="2C(Y="+1G*10+")";l 3.6[p].y.Y=1G/10},K:d(k,A){4(A>=0){3.Y(k,--A);3.C=W(3.K.S(3,k,A),3.1d)}l{3.1j(k+1);3.1b(10,0,3.6.7);3.1Y(k)}},1H:d(k,A){4(A<=10){3.Y(k,++A);3.C=W(3.1H.S(3,k,A),3.1d)}l{3.j=k;3.1q(3.j);3.1b(10,0,3.6.7);3.1j(3.j);4(3.F)3.C=W(3.K.S(3,k,10),3.J)}},1O:d(){3.F=1D;1N(3.C)},1U:d(){3.F=1S;3.C=W(3.K.S(3,3.j,3.P[3.j]),0)},1j:d(k){f n=0;m(n;n<k;n++){3.6[n].y.17=16(3.M+k-n-1)}m(n;n<3.6.7;n++){3.6[n].y.17=16(3.6.7+3.M-n-1+k)}},1b:d(A,22,1c){m(f n=22;n<1c;n++){3.Y(n,A)}},1Y:d(k){4(k==3.6.7-1)3.j=0;l 3.j=k+1;3.1q(3.j);4(3.F)3.C=W(3.K.S(3,3.j,10),3.J)},1f:d(1J){1N(3.C);4(!1J)3.K(3.j,3.P[3.j]);l{f X=3.j+1J;4(X<0)X=3.6.7-1;3.Y(X,0);3.1j(X);3.1H(X,3.P[X])}},1K:d(p){p--;1N(3.C);1e(p-3.j){b 0:3.C=W(3.K.S(3,3.j,10),3.J);h;b 1:3.1f(0);h;b-1:3.1f(-1);h;2j:{4(p>3.j){3.1b(0,0,3.j);3.1b(0,p,3.6.7)}l 3.1b(0,p,3.j);3.1j(p);3.1H(p,3.P[p])}}}};',62,174,'|||this|if|picarr|tags|length||idnum||case||function||var||break||lino|linum|else|for||obj|num|idpic|clickimgtag||||tagname||playicon|style|getElementsByTagName|value|getspan|runop|idbg|alink|playing|newtag|now|document|delay|run|innerHTML|minindex|idinf|previcon|picop|icontag|className|bind|imgele|tag_child|alltags|setTimeout|litemp|opacity|id||indexOf||child_element|img|nexticon|parseInt|zIndex|stopicon|clickimgid|newimg|alter_o|end|rundelay|switch|prext|replace|child_text|append_node|alter_z|eval|appendChild|iconcss|_|onclick|getNodeById|current|ahover|cur|usrc|offsetWidth|idinfo|getags|removeAttribute|isNaN|src|return|tsrc|width|false|parent_node|atag|percent|runback|dif|dir|gonum|onmouseover|onmouseout|clearTimeout|runstop|imgclicknum|htmltag|createElement|true|cycImgChild|runstart|child_class|curtaglen|null|cycle|typeof|onmouseclick|delrepimg|begin|height|new|clickimg|alt|initialize|try|catch|arguments|reg|px|getAttribute|pichange|bodyhtml|link|hover|span|default|removeChild|split|change_speed|id_objbg|id_objinfo|id_obj|prototype|apply|id_click|tag_img|img_ele|bg|del_repimg|z_index|time_delay|info|Image|all|Alpha|object|50|tag|onmouse|body|filter|4000|string|getElementById|createTextNode|RegExp'.split('|')));

var picarr = [
	["id_obj", "banner"],
	["tag_img", "li"],
	["time_delay", "5000"],
	["img_ele",
		["<li>", ["<img>", ["src", "images/light2.jpg"]]],
		["<li>", ["<img>", ["src", "images/light3.jpg"]]],
		["<li>", ["<img>", ["src", "images/light4.jpg"]]],
		["<li>", ["<img>", ["src", "images/light5.jpg"]]],
		["<li>", ["<img>", ["src", "images/light6.jpg"]]]
	]
];
 
new pichange(picarr);


var picarr = [
	["id_obj", "index_products"],
	["tag_img", "li"],
	["time_delay", "5000"]
];
 
new pichange(picarr);
