// Title: Tigra Scroller PRO // URL: http://www.softcomplex.com/products/tigra_scroller_pro/ // Version: 2.1 // Date: 01-19-2006 (mm-dd-yyyy) // Technical Support: support@softcomplex.com (specify product title and order ID) // Notes: Registration needed to use this script legally. // Visit official site for details. // set correct path to Tigra Scroller files var TScroll_path_to_files='http://www.acwa.com/tsp_files/'; // please, don't change anything below this line // ---------------------------------------------- //Code prepared by Tigra Javascript Scrambler version 1.0 (http://www.softcomplex.com/products/tigra_code_compressor/) var TScroll=[];document.write('');function TScroll_init(tsp3,tsp0,tsp2){this.id=TScroll.length;TScroll[this.id]=this;this.step=tsp0.speed!=0?tsp0.speed:1;this.interval=tsp0.interval?tsp0.interval:50;this.tsp0F=this.tsp04=0;this.tsp05=this.step<0?[1,0]:[0,1];this.tsp8=Math.abs(this.step);this.zindex=tsp0.zindex?tsp0.zindex:0;this.tspZ=[];this.tspV=tsp0.auto;this.hide_buttons=tsp0.hide_buttons;this.nonstop=tsp0.nonstop;var i,j,tspX=this.tspV?{"pa":0,"re":1,"nx":2,"pr":3}:{'up':0,"dn":1},tspQ=function(){},tspK={"s_i":tsp3.s_i,"s_b":tsp3.s_b,"s_m":tsp3.s_m},vertical=tsp0.vertical,w=tsp3.size[0]?tsp3.size[0]:tsp4.size[0],h=tsp3.size[1]?tsp3.size[1]:tsp4.size[1];for(i in tspX){tspK[i]=tsp3[i]&&typeof(tsp3[i])=="object"?tsp3[i]:tsp4[i];}this.height=vertical?h:w;this.distance=typeof(tsp3.distance)=='number'?tsp3.distance:this.height;this.tspp=vertical?0:tsp3.item_w!=null?tsp3.item_w:w;this.tsp03=0;this.tspD=tsp5;this.tsp08=tsp6;this.tspK=[];this.img=[];var c=[];for(i in tspX){j=tspX[i]*2;c[j]=new Image(tspK[i][2],tspK[i][3]);c[j].src=tspK[i][4]?tspK[i][4]:tsp4[i][4];c[j+1]=new Image(tspK[i][2],tspK[i][3]);c[j+1].src=tspK[i][5]?tspK[i][5]:c[j].src;}this.tspK.img=c;this.move=function(p){if(this.tsp04<=p&&this.tsp0F==0){this.tsp04=0;this.tsp0F=setTimeout('TScroll['+this.id+'].tsp06('+p+')',this.interval);}};this.stop=function(p){if(this.tsp040)^(this.step>0)||(x==0))?(this.step>0?(i==tspb?[this.img[0],0]:[this.img[i*1+1],i*1+1]):(i==0?[this.tspZ[tspb].tspM[1],tspb]:[this.tspZ[i-1].tspM[1],i-1])):0;}if(this.tspZ[i].tsp01[this.tsp05[j]]>0){this.tsp03=-this.tspZ[i].tspM[this.tsp05[j]];this.tsp7(1);return this.sleep(this.tspZ[i].tsp01[this.tsp05[j]]);}}if(this.step>0&&this.tsp03+this.tspY0){var i=0;while(i=0&&this.img[i]>=-this.tsp03)i--;if(i==-1)i=this.tspZ.length-1;this.tsp03=-this.img[i]}this.tsp7();}}else{if(this.hide_buttons){this.tsph=function(n){this.tsp07(1,n);this.tspK.up.visibility=this.tspK.dn.visibility=this.tspa};this.tspe=function(n){this.tsp07(0,n);this.tspK.up.visibility=this.tspK.dn.visibility=this.tsp_};this.tspf=this.tspg=function(n){this.tsp07(0,n);this.tspe();this.stop(1);};}else this.tspf=this.tspg=function(n){this.tsp07(0,n);this.stop(1)};this.tspj=function(n){this.tsp07(1,n);if(this.hide_buttons)this.tsph();this.step=-this.tsp8;this.tsp05=[0,1];this.move(1);};this.tspi=function(n){this.tsp07(1,n);if(this.hide_buttons)this.tsph();this.step=this.tsp8;this.tsp05=[1,0];this.move(1);}}}var tsp4={'size':[150,100],'up':[130,4,16,16,TScroll_path_to_files+'aup.gif'],'dn':[130,80,16,16,TScroll_path_to_files+'adn.gif'],'pa':[110,80,16,16,TScroll_path_to_files+'pau.gif'],'re':[110,80,16,16,TScroll_path_to_files+'res.gif'],'nx':[130,80,16,16,TScroll_path_to_files+'nxt.gif'],'pr':[90,80,16,16,TScroll_path_to_files+'prv.gif'],'tsp02':TScroll_path_to_files+'pixel.gif'}