// ******** Status Bar Javascript Magic by Likno 1.0 **********

function locations_start() {clearInterval(locations.sttm);locations_init();if (arguments.length>0) locations_init2(arguments[0]);locations.sttm=setInterval ("doEffect('locations')",10);}

function locations_stop() {clearInterval(locations.sttm);window.status="";}



locations_init();

function locations_init() {locations={stel:1,stft:"Prairie Agricultural Machinery Institute (PAMI) - Locations",stec:1,stcel:1,stce:-1,stcl:-1,stls:-1,stcs:0,sttg:0,stea:["Prairie Agricultural Machinery Institute (PAMI) - Locations",0,10,1]};}

function locations_init2 (en) {locations.stea=[locations.stea[(en-1)*4],locations.stea[(en-1)*4+1],locations.stea[(en-1)*4+2],locations.stea[(en-1)*4+3]];locations.stec=1;locations.stel=0;}

function doEffect(es) {var s=eval(es);if (s.stce==s.stec) {if (s.stcel==s.stel) {clearInterval(s.sttm);window.status=s.stft;return;} else {if (s.stel>0) s.stcel++;s.stce=-1;s.stcl=s.stls;}}if (s.stcl==s.stls) {s.stce++;s.sttx=s.stea[s.stce*4];s.sttp=s.stea[s.stce*4+1];s.stsd=s.stea[s.stce*4+2];s.stls=s.stea[s.stce*4+3];s.stcl=0;s.stsp=1;s.sttg=0;}if (21-s.stsd-s.sttg==0) {var stres=eval("stEffect"+s.sttp+"(s.sttx,s.stsp++,es);");s.sttg=0;if (stres!="") window.status=stres;else {s.stcl++;s.stsp=1;}}s.sttg++;}

function stEffect0(text,step){if (step>text.length) return "";else return text.substring(0,step);}

locations_start();
