var frontproducts_list01={changeorderby:function(d,c,a){var g=d.value;var f=document.getelementbyid(c);f.orderby.value=g;try{f.action_page.value=a}catch(b){}f.submit()},changeorderby2:function(d,c,a){var g=d;var f=document.getelementbyid(c);f.orderby.value=g;try{f.action_page.value=a}catch(b){}f.submit()},changeview:function(a,d,b){var f=document.getelementbyid(d);f.sptype.value=a;try{f.action_page.value=b}catch(c){}f.submit()},loadmemberlevelid:function(e){var b=document.getelementsbyname(e);var g=document.cookie;var d=g.indexof("c_memberinfo=");if(d==-1){for(var c=0;c0){this.parent.calc(-1)}}}b.prototype={calc:function(l){if(l){this.view+=l}var p=0;var m=0;var j=this.diapos[this.view];if(j&&j.loaded){var h=this.diapos[this.back];if(h&&h!=j){h.img.classname="diapo";h.z1=1}this.title.replacechild(document.createtextnode(j.title),this.title.firstchild);this.legend.replacechild(document.createtextnode(j.text),this.legend.firstchild);if(j.url){j.img.classname="diapo link";window.status="hyperlink: "+j.url}else{j.img.classname="diapo";window.status=""}j.w1=math.min(j.iw,this.wh*0.5)*j.z1;var k=j.x1=(this.wh*0.5)-(j.w1*0.5);var q=k+j.w1+this.bdw;for(var n=this.view+1,j;j=this.diapos[n];n++){if(j.loaded){j.x1=q;j.w1=(this.ht/j.r)*this.size;q+=j.w1+this.bdw;p+=j.w1+this.bdw}}q=k-this.bdw;for(var n=this.view-1,j;j=this.diapos[n];n--){if(j.loaded){j.w1=(this.ht/j.r)*this.size;j.x1=q-j.w1;q-=j.w1+this.bdw;p+=j.w1+this.bdw;m+=j.w1+this.bdw}}if(!this.scr&&p){var g=(this.ws-this.alw-this.arw-this.bw)/p;this.bar.style.left=math.round(this.alw+m*g)+"px"}this.back=this.view}},scroll:function(g){if(g<0){if(this.view0){this.calc(-1)}}},resize:function(){this.wh=this.oc.clientwidth;this.ht=this.oc.clientheight;this.ws=this.scrollbar.offsetwidth;this.calc();this.run(true)},run:function(h){var g=this.nf;while(g--){this.diapos[g].move(h)}}};diapo=function(h,m,l,k,j,g,i){this.parent=h;this.loaded=false;this.title=k;this.text=j;this.url=g;this.target=i;this.n=m;this.img=document.createelement("img");this.img.src=l;this.img.parent=this;this.img.classname="diapo";this.x0=this.parent.oc.clientwidth;this.x1=this.x0;this.w0=0;this.w1=0;this.z1=1;this.img.parent=this;this.img.onclick=function(){this.parent.click()};this.parent.oc.appendchild(this.img);if(g){this.img.onmouseover=function(){this.classname="diapo link"};this.img.onmouseout=function(){this.classname="diapo"}}};diapo.prototype={move:function(i){if(this.loaded){var l=this.x1-this.x0;var g=this.w1-this.w0;if(math.abs(l)>2||math.abs(g)>2||i){this.x0+=l*0.1;this.w0+=g*0.1;if(this.x00){this.visible=true;var k=this.img.style;var j=this.w0*this.r;k.left=math.round(this.x0)+"px";k.bottom=math.floor(this.parent.ht*0.25)+"px";k.width=math.round(this.w0)+"px";k.height=math.round(j)+"px";if(this.flx){var k=this.flx.style;k.left=math.round(this.x0)+"px";k.top=math.ceil(this.parent.ht*0.75+1)+"px";k.width=math.round(this.w0)+"px";k.height=math.round(j)+"px"}}else{if(this.visible){this.visible=false;this.img.style.width="0px";if(this.flx){this.flx.style.width="0px"}}}}}else{if(this.img.complete&&this.img.width){this.iw=this.img.width;this.ih=this.img.height;this.r=this.ih/this.iw;this.loaded=true;this.flx=d(this.parent.oc,this.img);if(this.parent.view<0){this.parent.view=this.n}this.parent.calc()}}},click:function(){if(this.parent.view==this.n){if(this.url){window.open(this.url,this.target)}else{this.z1=this.z1==1?this.parent.zoom:1;this.parent.calc()}}else{this.parent.view=this.n;this.parent.calc()}return false}};return{create:function(k,h,i,g){var j=function(){var l=false;var m=e.length;while(m--){if(e[m].ocont==k){l=true}}if(!l){e.push(new b(k,h,i,g));if(!imf.initialized){imf.initialized=true;c(window,"resize",function(){var n=e.length;while(n--){e[n].resize()}});c(document.getelementbyid(k),"mouseout",function(p){if(!p){p=window.event}var o=p.relatedtarget||p.toelement;if(o&&o.tagname=="html"){var n=e.length;while(n--){e[n].oc.onmousemove=null}}return false});setinterval(function(){var n=e.length;while(n--){e[n].run()}},16)}}};c(window,"load",function(){j()})}}}();