var b_moving = true;
function toggle (o_btn) {
    if (b_moving) {
        TScroll[0].stop(2);
        o_btn.value = ' Resume ';
    }
    else {
        TScroll[0].move(2);
        o_btn.value = ' Pause ';
    }
    b_moving = !b_moving;
    return false;
}
function reverse (o_btn) {
    TScroll[0].step = -TScroll[0].step;
    o_btn.value = (TScroll[0].step > 0 ? ' Back ' : ' Forward ');
    return false;
}

// Title: Tigra Scroller PRO
// URL: http://www.softcomplex.com/products/tigra_scroller_pro
// Version: 1.6
// Date: 06-25-2003 (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 = 'javascript/';
// please, don't change anything below this line
// ----------------------------------------------
var TScroll=[];document.write('<scr'+'ipt language="JavaScript" src="'+TScroll_path_to_files+'scroll.'+(document.layers?'nn4':'dom')+'.js"></sc'+'ript>');function TScroll_init(tspb,tspc,tsp2){this.id=TScroll.length;TScroll[this.id]=this;this.step=tspc.speed!=0?tspc.speed:1;this.tspd=this.tspe=0;this.tspf=this.step<0?[1,0]:[0,1];this.tspO=Math.abs(this.step);var i,tspg=function(){},tsp1={"up":tspb.up&&typeof(tspb.up)=="object"?tspb.up:tspA.up,"dn":tspb.dn&&typeof(tspb.dn)=="object"?tspb.dn:tspA.dn,"pa":tspb.pa&&typeof(tspb.pa)=="object"?tspb.pa:tspA.pa,"re":tspb.re&&typeof(tspb.re)=="object"?tspb.re:tspA.re,"nx":tspb.nx&&typeof(tspb.nx)=="object"?tspb.nx:tspA.nx,"pr":tspb.pr&&typeof(tspb.pr)=="object"?tspb.pr:tspA.pr},vertical=tspc.vertical,w=tspb.size[0]?tspb.size[0]:tspA.size[0],h=tspb.size[1]?tspb.size[1]:tspA.size[1];this.height=vertical?h:w;this.distance=tspb.distance?tspb.distance:this.height;if(!vertical)this.tsp5=tspb.item_w!=null?tspb.item_w:w;this.tspN=-this.distance;this.tspL=[];this.auto=tspc.auto;this.hide_buttons=tspc.hide_buttons;this.tsph=tsp0;this.tspi=tspj;this.tsp1=[];this.img=[];this.move=function(p){if(this.tspe<=p&&this.tspd==0){this.tspe=0;this.tspd=setInterval('TScroll['+this.id+'].tspq()',50)}};this.stop=function(p){if(this.tspe<p)this.tspe=p;if(this.tspk){clearTimeout(this.tspk);this.tspk=0}if(this.tspd!=0){clearInterval(this.tspd);this.tspd=0}};this.sleep=function(tspl){this.stop(0);this.tspk=setTimeout('TScroll['+this.id+'].tspm()',tspl*1000)};this.tspm=function(){this.tspJ();this.tspN-=this.step;this.move(0)};this.jump_to=function(tspn){if(!this.tspL[tspn])return;this.tspN=-this.distance-this.img[tspn];if(this.tspo)this.tspo.value=this.tspL[tspn].tspp;this.tspJ()};this.tspq=function(){var i,j,t;if(this.step>0&&this.tspN+this.tspr<this.tspO)this.tspN=this.step;else if(this.step<0&&-this.tspN<this.tspO)this.tspN=-this.tspr;for(i in this.tspL)for(j in this.tspf)if(Math.abs(this.tspN+this.tspL[i].tsps[this.tspf[j]])<this.tspO){if(document.body&&this.tspE){x=this.tspN+this.tspL[i].tsps[this.tspf[1-j]];this.t=((x>0)^(this.step>0)||(x==0))?(this.step>0?(i==this.tspL.length-1?[this.img[0],0]:[this.img[i*1+1],i*1+1]):(i==0?[this.img[this.tspL.length],this.tspL.length-1]:[this.img[i],i-1])):0}if(this.tspL[i].tspt[this.tspf[j]]>0){this.tspN=-this.tspL[i].tsps[this.tspf[j]];this.tspJ(1);return this.sleep(this.tspL[i].tspt[this.tspf[j]])}}this.tspN-=this.step;this.tspJ()};if(this.auto)this.tspu=this.tspv=this.tspw=this.tspx=this.click_pass=tspg;else{if(this.hide_buttons)this.tspv=this.tspu=tspg;this.tspy=this.tspz=this.tsp00=this.tsp01=tspg}this.tsph(w,h,vertical,tsp1,tsp2)}function tspj(){this.tspQ=this.tspI("tspQ");for(var i in this.tspL){this.img[i]=this.tspF(i);this.tspL[i].tsps=[this.img[i]+this.distance,this.tspF(i*1+1)-this.height]}this.tspr=this.img[this.img.length]=this.tspF(this.tspL.length);if(this.auto){this.tsp1.tsp02=this.tspI("tsp02");this.tsp1.tsp03=this.tspI("tsp03");this.tsp1.tsp04=this.tspI("tsp04");this.tsp1.tsp05=this.tspI("tsp05");this.move(0)}else{this.tsp1.up=this.tspI("aup");this.tsp1.dn=this.tspI("adn")}if(this.auto){this.tspu=this.hide_buttons?function(){this.tsp1.tsp04.visibility=this.tsp1.tsp05.visibility=this.tsp1.tsp02.visibility=this.tsp1.tsp03.visibility=this.tspC;this.move(1)}:function(){this.move(1)};this.tspv=this.hide_buttons?function(){this.tsp1.tsp04.visibility=this.tsp1.tsp05.visibility=this.tspD;if(this.tspe<2){this.tsp1.tsp02.visibility=this.tspD;this.tsp1.tsp03.visibility=this.tspC}else{this.tsp1.tsp02.visibility=this.tspC;this.tsp1.tsp03.visibility=this.tspD}this.stop(1)}:function(){this.stop(1)};this.tspw=function(){this.tsp1.tsp02.visibility=this.tspC;this.tsp1.tsp03.visibility=this.tspD;this.stop(2)};this.tspx=function(){this.tsp1.tsp02.visibility=this.tspD;this.tsp1.tsp03.visibility=this.tspC;this.tspe=1};this.click_pass=function(tsp06){if(this.step*tsp06>0){var i=0;while(i<this.img.length&&this.distance+this.img[i]<=-this.tspN)i++;if(i==this.img.length-1)i=0;this.tspN=-this.img[i]-this.distance}else{var i=this.img.length-1;while(i>=0&&this.img[i]>=-this.tspN+this.distance)i--;if(i==0)i=this.img.length-1;this.tspN=-this.img[i]+this.distance}this.tspJ()}}else{if(this.hide_buttons){this.tspv=function(){this.tsp1.up.visibility=this.tsp1.dn.visibility=this.tspD};this.tspu=function(){this.tsp1.up.visibility=this.tsp1.dn.visibility=this.tspC};this.tspy=this.tspz=function(){this.tspu();this.stop(1)}}else this.tspy=this.tspz=function(){this.stop(1)};this.tsp00=function(){if(this.hide_buttons)this.tspv();this.step=-this.tspO;this.tspf=[0,1];this.move(1)};this.tsp01=function(){if(this.hide_buttons)this.tspv();this.step=this.tspO;this.tspf=[1,0];this.move(1)}}}var tspA={'tspB':{'tspX':'TScrBack','tspa':'TScrItemBody'},'tspM':[['revealTrans',0],['revealTrans',1],['revealTrans',2],['revealTrans',3],['revealTrans',4],['revealTrans',5],['revealTrans',6],['revealTrans',7],['revealTrans',8],['revealTrans',9],['revealTrans',10],['revealTrans',11],['revealTrans',12],['revealTrans',13],['revealTrans',14],['revealTrans',15],['revealTrans',16],['revealTrans',17],['revealTrans',18],['revealTrans',19],['revealTrans',20],['revealTrans',21],['revealTrans',22],['revealTrans',23],['blendTrans',0]],'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+'tsp02.gif'],'re':[110,80,16,16,TScroll_path_to_files+'tsp03.gif'],'nx':[130,80,16,16,TScroll_path_to_files+'tsp04.gif'],'pr':[90,80,16,16,TScroll_path_to_files+'tsp05.gif'],'tspZ':TScroll_path_to_files+'pixel.gif'}
