<!--
SLIDES7 = new slideshow("SLIDES7");
SLIDES7.timeout = 6000;
SLIDES7.prefetch = 2;
SLIDES7.repeat = true;

s = new slide();
s.src =  "images/pesi_dashing_move_fame_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#dmovefame'>Dashing Move Fame</a></font></b><br>William R. Kelly<br></span>");
s.link = "pesi_directory_a.asp#dmovefame";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_ante_up_guy_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#anteupguy'>Ante Up Guy</a></font></b><br><!--Name--><br></span>");
s.link = "pesi_directory_a.asp#anteupguy";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_ninety_nine_gm_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#nngm'>Ninety Nine Gold Mine</a></font></b><br>Donna &amp; William Beierbach<br></span>");
s.link = "pesi_directory_j.asp#nngm";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_los_adobes_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#la'>Los Adobes</a></font></b><br>P J Cutters, LLC<br></span>");
s.link = "pesi_directory_j.asp#la";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_fiestas_gotta_gun_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fgg'>Fiestas Gotta Gun</a></font></b><br>Royal D Ranch<br></span>");
s.link = "pesi_directory_f.asp#fgg";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_judge_cash_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#judgecash'>Judge Cash</a></font></b><br>Corss Country Ranch - Scottie Johnson<br></span>");
s.link = "pesi_directory_j.asp#judgecash";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_a_firewater_twist_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#aftrb'>A Firewater Twist RB</a></font></b><br>Fawn Kerns<br></span>");
s.link = "pesi_directory_a.asp#aftrb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_JL_turn_ta_fame_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#jlttf'>JL Turn Ta Fame</a></font></b><br>Jeanette Nelson<br></span>");
s.link = "pesi_directory_j.asp#jlttf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_Frostma_San_Peppy_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fsp'>Frostman San Peppy</a></font></b><br>Amy Schimke<br></span>");
s.link = "pesi_directory_f.asp#fsp";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_imaff_thumb2.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#imaff'>Ima Firefighter</a></font></b><br>Sonya Walz<br></span>");
s.link = "pesi_directory_f.asp#imaff";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_second_down_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#sdk'>Second Down Kelly</a></font></b><br>Rickey Thompson<br></span>");
s.link = "pesi_directory_j.asp#sdk";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_pay_days_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#pda'>Pay Days Andy</a></font></b><br>Mesa Farms<br></span>");
s.link = "pesi_directory_j.asp#pda";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_docs_american_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#daboy'>Docs American Boy</a></font></b><br>June Tibbetts<br></span>");
s.link = "pesi_directory_a.asp#daboy";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_stir-n-up-the-fame_thu.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#snutf'>Stir N Up The Fame</a></font></b><br>Cathy Cagliari<br></span>");
s.link = "pesi_directory_j.asp#snutf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_nothin-but-cash_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#nbc'>Nothin But Cash</a></font></b><br>Kimi Nichols<br></span>");
s.link = "pesi_directory_j.asp#nbc";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_awesome-ta-first_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#atf'>Awesome Ta First</a></font></b><br>Steve &amp; Rheta Mote<br></span>");
s.link = "pesi_directory_a.asp#atf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_dash_ta_fame_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#dtaf'>Dash Ta Fame</a></font></b><br>Bob Burt<br></span>");
s.link = "pesi_directory_a.asp#dtaf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_alive_n_firen_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#anf'>Alive N Firen</a></font></b><br>Tommy &amp; Phyllis Wells<br></span>");
s.link = "pesi_directory_a.asp#anf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_bears_last_honor_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#blh'>Bears Last Honor</a></font></b><br>Kimi Nichols<br></span>");
s.link = "pesi_directory_a.asp#blh";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_black_dash_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#bd'>Black Dash</a></font></b><br>Charmayne James<br></span>");
s.link = "pesi_directory_a.asp#bd";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/letta-hank-do-it-4-c_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#lhdi'>Letta Hank Do It</a></font></b><br>Henry & Linda Bowlan<br></span>");
s.link = "pesi_directory_j.asp#lhdi";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_blazin_jetolina_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#bj'>Blazin Jetolena</a></font></b><br>Sue Rist<br></span>");
s.link = "pesi_directory_a.asp#bj";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/Bushing_Bug_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#bb'>Blushing Bug</a></font></b><br>Shannon Akerstrom<br></span>");
s.link = "pesi_directory_a.asp#bb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_bop_trot_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#bt'>Bop Trot</a></font></b><br>Big Dreams Ranch<br></span>");
s.link = "pesi_directory_a.asp#bt";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_cash_not_credit_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#cnc'>Cash Not Credit</a></font></b><br>Jud Little<br></span>");
s.link = "pesi_directory_a.asp#cnc";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/Catcha_Fuel_Lark_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#cfl'>Catcha Fuel Lark</a></font></b><br>Barkley &amp; Morgan Pruitt<br></span>");
s.link = "pesi_directory_a.asp#cfl";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_chasin_firewater_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#cf'>Chasin Firewater</a></font></b><br>Joe &amp; Dee Lynn Braman<br></span>");
s.link = "pesi_directory_a.asp#cf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_dallas_fuel_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#df'>Dallas Fuel</a></font></b><br>Joe &amp; Dee Lynn Braman<br></span>");
s.link = "pesi_directory_a.asp#df";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/DASHIN_IS_EASY_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#die'>Dashin Is Easy</a></font></b><br>Dale Rankin<br></span>");
s.link = "pesi_directory_a.asp#die";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_fire_easy_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fe'>Fire Easy</a></font></b><br>Jimmy &amp; Tamme Fussell<br></span>");
s.link = "pesi_directory_f.asp#fe";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/firewater_finale_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ff3'>Firewater Finale</a></font></b><br>Amy Schimke &amp; Jean Schultz<br></span>");
s.link = "pesi_directory_f.asp#ff3";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_fw_frenchman_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ff'>Firewater Frenchman</a></font></b><br>Gary Westergren<br></span>");
s.link = "pesi_directory_f.asp#ff";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_fw_dragon_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fwd'>Fire Water Dragon</a></font></b><br>Cathy Cooper<br></span>");
s.link = "pesi_directory_f.asp#fwd";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/Fire_Water_Ta_Fame_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fwtf'>Fire Water Ta Fame</a></font></b><br>Billy & Shelly Martin<br></span>");
s.link = "pesi_directory_f.asp#fwtf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/Deep-Sixum_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#dsix'>Deep Sixum</a></font></b><br>Triple N Ranch<br></span>");
s.link = "pesi_directory_a.asp#dsix";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

s = new slide();
s.src =  "images/pesi_holy_bart_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#hb'>Holy Bart</a></font></b><br>John &amp; Cindy Baltezore<br></span>");
s.link = "pesi_directory_j.asp#hb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES7.add_slide(s);

if (true) SLIDES7.shuffle();





SLIDES8 = new slideshow("SLIDES8");
SLIDES8.timeout = 7000;
SLIDES8.prefetch = 2;
SLIDES8.repeat = true;

s = new slide();
s.src =  "images/pesi_signature_perks_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#sperks'>Signature Perks</a></font></b><br>Bar JT Quarter Horses, JT &amp; Julie Korkow<br></span>");
s.link = "pesi_directory_j.asp#sperks";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_rare_bar_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#rarebar'>Rare Bar</a></font></b><br>Joleen Hales<br></span>");
s.link = "pesi_directory_j.asp#rarebar";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_perks_alive_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#perksa'>Perks Alive</a></font></b><br>Joleen Hales<br></span>");
s.link = "pesi_directory_j.asp#perksa";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_dats-a-frenchman_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#dafrench'>Dats A Frenchman</a></font></b><br>Bob &amp; Kay Weeks<br></span>");
s.link = "pesi_directory_a.asp#dafrench";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/frenchmans_irish_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fi'>Frenchman's Irish</a></font></b><br>Jerry &amp; Colleen Biscone <br></span>");
s.link = "pesi_directory_f.asp#fi";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_money_depot_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#mdepot'>The Money Depot</a></font></b><br>Trena Greer<br></span>");
s.link = "pesi_directory_j.asp#mdepot";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_a_streak_of_fling_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#asof'>A Streak of Fling</a></font></b><br>Brian &amp; Lisa Fulton<br></span>");
s.link = "pesi_directory_a.asp#asof";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_attaway_jose_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#aj'>Attaway Jose</a></font></b><br>Louis J. Lancaster<br></span>");
s.link = "pesi_directory_a.asp#aj";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_nonstop_bubblin_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#nb'>Nonstop Bubblin</a></font></b><br>Chuck &amp; Mary Crago<br></span>");
s.link = "pesi_directory_j.asp#nb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_roosters_fame_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#rf'>Roosters Fame</a></font></b><br>River Island Ranch - Mantha Phillips<br></span>");
s.link = "pesi_directory_j.asp#rf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_verily-six-bugs_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#vsb'>Verily Six Bugs</a></font></b><br>Rita Gambino<br></span>");
s.link = "pesi_directory_j.asp#vsb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_frostburns_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#frb'>Frostburns</a></font></b><br>Denise Palmer<br></span>");
s.link = "pesi_directory_f.asp#frb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_ffw_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ffw'>Flaming Fire Water</a></font></b><br>Harriett Martin Upton<br></span>");
s.link = "pesi_directory_f.asp#ffw";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/flit_to_kill_head.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ftk'>Flit To Kill</a></font></b><br>Barbara Kelley<br></span>");
s.link = "pesi_directory_f.asp#ftk";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_fb9_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fb9'>Four Blue 976</a></font></b><br>Aaron &amp; Karrie Hudson<br></span>");
s.link = "pesi_directory_f.asp#fb9";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_ff_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ff2'>Frenchman's Fabulous</a></font></b><br>Kenny Nichols<br></span>");
s.link = "pesi_directory_f.asp#ff2";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_fg_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fg'>Frenchman's Guy</a></font></b><br>Bill &amp; Deb Myers<br></span>");
s.link = "pesi_directory_f.asp#fg";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_fs_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fs'>Frenchman's Specialty</a></font></b><br>Dan E. Thomas<br></span>");
s.link = "pesi_directory_f.asp#fs";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_hc_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#hc'>Hot Colours</a></font></b><br>Bill &amp; Deb Myers<br></span>");
s.link = "pesi_directory_f.asp#hc";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_hot_corona_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#hc2'>Hot Corona</a></font></b><br>Joe &amp; Dee Lynn Braman<br></span>");
s.link = "pesi_directory_f.asp#hc2";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_ied_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ied'>Iron Eyes Doc</a></font></b><br>Clay Sewalt<br></span>");
s.link = "pesi_directory_f.asp#ied";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_ja_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#ja'>Jakki Ax</a></font></b><br>Mary Ann Evitt<br></span>");
s.link = "pesi_directory_j.asp#ja";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/JBProudNFamous_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#jbpnf'>JB Proud N Famous</a></font></b><br>Angie Jones<br></span>");
s.link = "pesi_directory_j.asp#jbpnf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/JerrysDiscoMoonb_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#jdm'>Jerrys Disco Moon</a></font></b><br>Shannon Akerstrom<br></span>");
s.link = "pesi_directory_j.asp#jdm";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/pesi_jdd_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#jdd1'>Jesses Double Dee</a></font></b><br>Arrows Bend Farm<br></span>");
s.link = "pesi_directory_j.asp#jdd1";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/King_Of_The_Lanes_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#kotl'>King Of The Lanes</a></font></b><br>Suzanne G. Grusendorf<br></span>");
s.link = "pesi_directory_j.asp#kotl";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/Manors_Nick_Bar_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#mnb'>Manors Nick Bar</a></font></b><br>Robert Manor<br></span>");
s.link = "pesi_directory_j.asp#mnb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

s = new slide();
s.src =  "images/Frenchin-Ta-Fame_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ftaf'>Frenchin Ta Fame</a></font></b><br>Terry Simonsen<br></span>");
s.link = "pesi_directory_f.asp#ftaf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES8.add_slide(s);

if (true) SLIDES8.shuffle();





SLIDES9 = new slideshow("SLIDES9");
SLIDES9.timeout = 8000;
SLIDES9.prefetch = 2;
SLIDES9.repeat = true;

s = new slide();
s.src =  "images/pesi_prime_talent_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#ptalent'>Prime Talent</a></font></b><br>Copper Spring Ranch, LLC<br></span>");
s.link = "pesi_directory_j.asp#ptalent";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_yellow_hammer_six_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#yhs'>Yellow Hammer Six</a></font></b><br>Lisa J. Kaul<br></span>");
s.link = "pesi_directory_j.asp#yhs";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/flit_to_kill_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#ftk'>Flit to Kill</a></font></b><br>Barbara Kelley<br></span>");
s.link = "pesi_directory_f.asp#ftk";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_raren_to_dash_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#rtd'>Raren to Dash</a></font></b><br>Dave & Donna Johnson<br></span>");
s.link = "pesi_directory_j.asp#rtd";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_fantastic_frenchman_th.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#ffrench'>Fantastic Frenchman</a></font></b><br>Cindy Loiseau<br></span>");
s.link = "pesi_directory_j.asp#ffrench";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_m_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#m'>Mjfirewaterjackfrost</a></font></b><br>Jody Rabb<br></span>");
s.link = "pesi_directory_j.asp#m";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_nlfw_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#nlfw'>Neat Lil Fire Water</a></font></b><br>Robert &amp; Judy Gambino<br></span>");
s.link = "pesi_directory_j.asp#nlfw";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/Nicks_Huachuca_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#nh1'>Nicks Huachuca</a></font></b><br>Fallon Taylor<br></span>");
s.link = "pesi_directory_j.asp#nh1";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_ohj_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#ohj'>One Hot Jose</a></font></b><br>Joe &amp; Dee Lynn Braman<br></span>");
s.link = "pesi_directory_j.asp#ohj";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_obd_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#obd'>Other Brotha Daryl</a></font></b><br>Jeff &amp; Bonnie Lemaire<br></span>");
s.link = "pesi_directory_j.asp#obd";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/Otro_Fracaso_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#of'>Otro Fracaso</a></font></b><br>Lance &amp; Lyndee Stairs<br></span>");
s.link = "pesi_directory_j.asp#of";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pc_frenchman_hayday_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#pcfh'>PC Frenchmans Hayday</a></font></b><br>Mel &amp; Wendy Potter<br></span>");
s.link = "pesi_directory_j.asp#pcfh";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_pcfm_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#pcfm'>PC Frenchmans Mark</a></font></b><br>John &amp; Cindy Baltezore<br></span>");
s.link = "pesi_directory_j.asp#pcfm";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_red_side_shot_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#r'>Red (tb)</a></font></b><br>Jill Lane<br></span>");
s.link = "pesi_directory_j.asp#r";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_rse_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#rse'>Royal Shake Em</a></font></b><br>RMV Limited Family Partnership<br></span>");
s.link = "pesi_directory_j.asp#rse";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/sadies_frosty_drift_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#sfd'>Sadies Frosty Drift</a></font></b><br>Jeff &amp; Kristie Thorstenso<br></span>");
s.link = "pesi_directory_j.asp#sfd";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/Guys-Real-Deal_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#grd'>Guys Real Deal</a></font></b><br>Seth &amp; Kaylon Rodriguez<br></span>");
s.link = "pesi_directory_f.asp#grd";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/Smoke_N_Sparks_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#sns'>Smoke N Sparks</a></font></b><br>Korell Family Trust <br></span>");
s.link = "pesi_directory_j.asp#sns";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/Special_Elan_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#se'>Special Elan</a></font></b><br>Meadow Ridge Farms, LLC<br></span>");
s.link = "pesi_directory_j.asp#se";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/Stoli_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#stoli'>Stoli</a></font></b><br>Stoli Syndicate<br></span>");
s.link = "pesi_directory_j.asp#stoli";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_little_famous_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#lf'>Little Famous</a></font></b><br>Stuart &amp; Samantha Hoar<br></span>");
s.link = "pesi_directory_j.asp#lf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/Stoli_My_Heart_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#smh'>Stoli My Heart</a></font></b><br>Jim Webber and Rick &amp; Terri Ford<br></span>");
s.link = "pesi_directory_j.asp#smh";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_sfs_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#sfs1'>Streakin Four Sixes</a></font></b><br>John &amp; Elisabeth Hollman<br></span>");
s.link = "pesi_directory_j.asp#sfs1";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_sfc_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#sfc'>Sun Frost Country</a></font></b><br>Kip Krull<br></span>");
s.link = "pesi_directory_j.asp#sfc";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_ttf_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#ttf'>Two Timen Fuel</a></font></b><br>Joe &amp; Dee Lynn Braman<br></span>");
s.link = "pesi_directory_j.asp#ttf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_dash_of_royal_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_a.asp#drg'>Dash of Royal Gold</a></font></b><br>Candice Slager &amp; Dorothy Schmidt<br></span>");
s.link = "pesi_directory_a.asp#drg";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_fire_water_flit_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fwf'>Fire Water Flit</a></font></b><br>Vickie Adamss<br></span>");
s.link = "pesi_directory_f.asp#fwf";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_pc_frosty_bid_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#pcfb'>PC Frosty Bid</a></font></b><br>Billie &amp; Hollie Etbauer<br></span>");
s.link = "pesi_directory_j.asp#pcfb";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_wranglers-royal_moon_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_j.asp#wrm'>Wranglers Royal Moon</a></font></b><br>James Pohnert<br></span>");
s.link = "pesi_directory_j.asp#wrm";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_famous_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fjr'>Famous JR</a></font></b><br>John Read Foster<br></span>");
s.link = "pesi_directory_f.asp#fjr";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);

s = new slide();
s.src =  "images/pesi_fle_thumb.jpg";
s.text = unescape("<span class='maincopy12'><b><font color='#cc6600'><a href='pesi_directory_f.asp#fle'>Finish Line Express</a></font></b><br>Tim &amp; Mary O'Donnell<br></span>");
s.link = "pesi_directory_f.asp#fle";
s.target = "_self";
s.attr = "width=800,height=600,scrollbars=yes,location=yes";
s.filter = "";
SLIDES9.add_slide(s);


if (true) SLIDES9.shuffle();


/*==================================================*
 $Id: slideshow.js,v 1.16 2003/10/14 12:39:00 pat Exp $
 Copyright 2000-2003 Patrick Fitzgerald
 http://slideshow.barelyfitz.com/

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *==================================================*/

// There are two objects defined in this file:
// "slide" - contains all the information for a single slide
// "slideshow" - consists of multiple slide objects and runs the slideshow

//==================================================
// slide object
//==================================================
function slide(src,link,text,target,attr) {
  // This is the constructor function for the slide object.
  // It is called automatically when you create a new slide object.
  // For example:
  // s = new slide();

  // Image URL
  this.src = src;

  // Link URL
  this.link = link;

  // Text to display
  this.text = text;

  // Name of the target window ("_blank")
  this.target = target;

  // Custom duration for the slide, in milliseconds.
  // This is an optional parameter.
  // this.timeout = 4500

  // Attributes for the target window:
  // width=n,height=n,resizable=yes or no,scrollbars=yes or no,
  // toolbar=yes or no,location=yes or no,directories=yes or no,
  // status=yes or no,menubar=yes or no,copyhistory=yes or no
  // Example: "width=200,height=300"
  this.attr = attr;

  // Create an image object for the slide
  if (document.images) {
    this.image = new Image();
  }

  // Flag to tell when load() has already been called
  this.loaded = false;

  //--------------------------------------------------
  this.load = function() {
    // This method loads the image for the slide

    if (!document.images) { return; }

    if (!this.loaded) {
      this.image.src = this.src;
      this.loaded = true;
    }
  }

  //--------------------------------------------------
  this.hotlink = function() {
    // This method jumps to the slide's link.
    // If a window was specified for the slide, then it opens a new window.

    var mywindow;

    // If this slide does not have a link, do nothing
    if (!this.link) return;

    // Open the link in a separate window?
    if (this.target) {

      // If window attributes are specified,
      // use them to open the new window
      if (this.attr) {
        mywindow = window.open(this.link, this.target, this.attr);
  
      } else {
        // If window attributes are not specified, do not use them
        // (this will copy the attributes from the originating window)
        mywindow = window.open(this.link, this.target);
      }

      // Pop the window to the front
      if (mywindow && mywindow.focus) mywindow.focus();

    } else {
      // Open the link in the current window
      location.href = this.link;
    }
  }
}

//==================================================
// slideshow object
//==================================================
function slideshow( slideshowname ) {
  // This is the constructor function for the slideshow object.
  // It is called automatically when you create a new object.
  // For example:
  // ss = new slideshow("ss");

  // Name of this object
  // (required if you want your slideshow to auto-play)
  // For example, "SLIDES4"
  this.name = slideshowname;

  // When we reach the last slide, should we loop around to start the
  // slideshow again?
  this.repeat = true;

  // Number of images to pre-fetch.
  // -1 = preload all images.
  //  0 = load each image is it is used.
  //  n = pre-fetch n images ahead of the current image.
  // I recommend preloading all images unless you have large
  // images, or a large amount of images.
  this.prefetch = -1;

  // IMAGE element on your HTML page.
  // For example, document.images.SLIDES4IMG
  this.image;

  // ID of a DIV element on your HTML page that will contain the text.
  // For example, "SLIDES5text"
  // Note: after you set this variable, you should call
  // the update() method to update the slideshow display.
  this.textid;

  // TEXTAREA element on your HTML page.
  // For example, document.SLIDES4FORM.SLIDES4TEXT
  // This is a depracated method for displaying the text,
  // but you might want to supply it for older browsers.
  this.textarea;

  // Milliseconds to pause between slides.
  // Individual slides can override this.
  this.timeout = 4500;

  // Hook functions to be called before and after updating the slide
  // this.pre_update_hook = function() { }

  // this.post_update_hook = function() { }

  // These are private variables
  this.slides = new Array();
  this.current = 0;
  this.timeoutid = 0;

  //--------------------------------------------------
  // Public methods
  //--------------------------------------------------
  this.add_slide = function(slide) {
    // Add a slide to the slideshow.
    // For example:
    // SLIDES4.add_slide(new slide("s1.jpg", "link.html"))
  
    var i = this.slides.length;
  
    // Prefetch the slide image if necessary
    if (this.prefetch == -1) {
      slide.load();
    }

    this.slides[i] = slide;
  }

  //--------------------------------------------------
  this.play = function(timeout) {
    // This method implements the automatically running slideshow.
    // If you specify the "timeout" argument, then a new default
    // timeout will be set for the slideshow.
  
    // Make sure we're not already playing
    this.pause();
  
    // If the timeout argument was specified (optional)
    // then make it the new default
    if (timeout) {
      this.timeout = timeout;
    }
  
    // If the current slide has a custom timeout, use it;
    // otherwise use the default timeout
    if (typeof this.slides[ this.current ].timeout != 'undefined') {
      timeout = this.slides[ this.current ].timeout;
    } else {
      timeout = this.timeout;
    }

    // After the timeout, call this.loop()
    this.timeoutid = setTimeout( this.name + ".loop()", timeout);
  }

  //--------------------------------------------------
  this.pause = function() {
    // This method stops the slideshow if it is automatically running.
  
    if (this.timeoutid != 0) {

      clearTimeout(this.timeoutid);
      this.timeoutid = 0;

    }
  }

  //--------------------------------------------------
  this.update = function() {
    // This method updates the slideshow image on the page

    // Make sure the slideshow has been initialized correctly
    if (! this.valid_image()) { return; }
  
    // Call the pre-update hook function if one was specified
    if (typeof this.pre_update_hook == 'function') {
      this.pre_update_hook();
    }

    // Convenience variable for the current slide
    var slide = this.slides[ this.current ];

    // Determine if the browser supports filters
    var dofilter = false;
    if (this.image &&
        typeof this.image.filters != 'undefined' &&
        typeof this.image.filters[0] != 'undefined') {

      dofilter = true;

    }

    // Load the slide image if necessary
    slide.load();
  
    // Apply the filters for the image transition
    if (dofilter) {

      // If the user has specified a custom filter for this slide,
      // then set it now
      if (slide.filter &&
          this.image.style &&
          this.image.style.filter) {

        this.image.style.filter = slide.filter;

      }
      this.image.filters[0].Apply();
    }

    // Update the image.
    this.image.src = slide.image.src;

    // Play the image transition filters
    if (dofilter) {
      this.image.filters[0].Play();
    }

    // Update the text
    this.display_text();

    // Call the post-update hook function if one was specified
    if (typeof this.post_update_hook == 'function') {
      this.post_update_hook();
    }

    // Do we need to pre-fetch images?
    if (this.prefetch > 0) {

      var next, prev, count;

      // Pre-fetch the next slide image(s)
      next = this.current;
      prev = this.current;
      count = 0;
      do {

        // Get the next and previous slide number
        // Loop past the ends of the slideshow if necessary
        if (++next >= this.slides.length) next = 0;
        if (--prev < 0) prev = this.slides.length - 1;

        // Preload the slide image
        this.slides[next].load();
        this.slides[prev].load();

        // Keep going until we have fetched
        // the designated number of slides

      } while (++count < this.prefetch);
    }
  }

  //--------------------------------------------------
  this.goto_slide = function(n) {
    // This method jumpts to the slide number you specify.
    // If you use slide number -1, then it jumps to the last slide.
    // You can use this to make links that go to a specific slide,
    // or to go to the beginning or end of the slideshow.
    // Examples:
    // onClick="myslides.goto_slide(0)"
    // onClick="myslides.goto_slide(-1)"
    // onClick="myslides.goto_slide(5)"
  
    if (n == -1) {
      n = this.slides.length - 1;
    }
  
    if (n < this.slides.length && n >= 0) {
      this.current = n;
    }
  
    this.update();
  }


  //--------------------------------------------------
  this.goto_random_slide = function(include_current) {
    // Picks a random slide (other than the current slide) and
    // displays it.
    // If the include_current parameter is true,
    // then 
    // See also: shuffle()

    var i;

    // Make sure there is more than one slide
    if (this.slides.length > 1) {

      // Generate a random slide number,
      // but make sure it is not the current slide
      do {
        i = Math.floor(Math.random()*this.slides.length);
      } while (i == this.current);
 
      // Display the slide
      this.goto_slide(i);
    }
  }


  //--------------------------------------------------
  this.next = function() {
    // This method advances to the next slide.

    // Increment the image number
    if (this.current < this.slides.length - 1) {
      this.current++;
    } else if (this.repeat) {
      this.current = 0;
    }

    this.update();
  }


  //--------------------------------------------------
  this.previous = function() {
    // This method goes to the previous slide.
  
    // Decrement the image number
    if (this.current > 0) {
      this.current--;
    } else if (this.repeat) {
      this.current = this.slides.length - 1;
    }
  
    this.update();
  }


  //--------------------------------------------------
  this.shuffle = function() {
    // This method randomly shuffles the order of the slides.

    var i, i2, slides_copy, slides_randomized;

    // Create a copy of the array containing the slides
    // in sequential order
    slides_copy = new Array();
    for (i = 0; i < this.slides.length; i++) {
      slides_copy[i] = this.slides[i];
    }

    // Create a new array to contain the slides in random order
    slides_randomized = new Array();

    // To populate the new array of slides in random order,
    // loop through the existing slides, picking a random
    // slide, removing it from the ordered list and adding it to
    // the random list.

    do {

      // Pick a random slide from those that remain
      i = Math.floor(Math.random()*slides_copy.length);

      // Add the slide to the end of the randomized array
      slides_randomized[ slides_randomized.length ] =
        slides_copy[i];

      // Remove the slide from the sequential array,
      // so it cannot be chosen again
      for (i2 = i + 1; i2 < slides_copy.length; i2++) {
        slides_copy[i2 - 1] = slides_copy[i2];
      }
      slides_copy.length--;

      // Keep going until we have removed all the slides

    } while (slides_copy.length);

    // Now set the slides to the randomized array
    this.slides = slides_randomized;
  }


  //--------------------------------------------------
  this.get_text = function() {
    // This method returns the text of the current slide
  
    return(this.slides[ this.current ].text);
  }


  //--------------------------------------------------
  this.get_all_text = function(before_slide, after_slide) {
    // Return the text for all of the slides.
    // For the text of each slide, add "before_slide" in front of the
    // text, and "after_slide" after the text.
    // For example:
    // document.write("<ul>");
    // document.write(s.get_all_text("<li>","\n"));
    // document.write("<\/ul>");
  
    all_text = "";
  
    // Loop through all the slides in the slideshow
    for (i=0; i < this.slides.length; i++) {
  
      slide = this.slides[i];
    
      if (slide.text) {
        all_text += before_slide + slide.text + after_slide;
      }
  
    }
  
    return(all_text);
  }


  //--------------------------------------------------
  this.display_text = function(text) {
    // Display the text for the current slide
  
    // If the "text" arg was not supplied (usually it isn't),
    // get the text from the slideshow
    if (!text) {
      text = this.slides[ this.current ].text;
    }
  
    // If a textarea has been specified,
    // then change the text displayed in it
    if (this.textarea && typeof this.textarea.value != 'undefined') {
      this.textarea.value = text;
    }

    // If a text id has been specified,
    // then change the contents of the HTML element
    if (this.textid) {

      r = this.getElementById(this.textid);
      if (!r) { return false; }
      if (typeof r.innerHTML == 'undefined') { return false; }

      // Update the text
      r.innerHTML = text;
    }
  }


  //--------------------------------------------------
  this.hotlink = function() {
    // This method calls the hotlink() method for the current slide.
  
    this.slides[ this.current ].hotlink();
  }


  //--------------------------------------------------
  this.save_position = function(cookiename) {
    // Saves the position of the slideshow in a cookie,
    // so when you return to this page, the position in the slideshow
    // won't be lost.
  
    if (!cookiename) {
      cookiename = this.name + '_slideshow';
    }
  
    document.cookie = cookiename + '=' + this.current;
  }


  //--------------------------------------------------
  this.restore_position = function(cookiename) {
  // If you previously called slideshow_save_position(),
  // returns the slideshow to the previous state.
  
    //Get cookie code by Shelley Powers
  
    if (!cookiename) {
      cookiename = this.name + '_slideshow';
    }
  
    var search = cookiename + "=";
  
    if (document.cookie.length > 0) {
      offset = document.cookie.indexOf(search);
      // if cookie exists
      if (offset != -1) { 
        offset += search.length;
        // set index of beginning of value
        end = document.cookie.indexOf(";", offset);
        // set index of end of cookie value
        if (end == -1) end = document.cookie.length;
        this.current = parseInt(unescape(document.cookie.substring(offset, end)));
        }
     }
  }


  //--------------------------------------------------
  this.noscript = function() {
    // This method is not for use as part of your slideshow,
    // but you can call it to get a plain HTML version of the slideshow
    // images and text.
    // You should copy the HTML and put it within a NOSCRIPT element, to
    // give non-javascript browsers access to your slideshow information.
    // This also ensures that your slideshow text and images are indexed
    // by search engines.
  
    $html = "\n";
  
    // Loop through all the slides in the slideshow
    for (i=0; i < this.slides.length; i++) {
  
      slide = this.slides[i];
  
      $html += '<P>';
  
      if (slide.link) {
        $html += '<a href="' + slide.link + '">';
      }
  
      $html += '<img src="' + slide.src + '" ALT="slideshow image">';
  
      if (slide.link) {
        $html += "<\/a>";
      }
  
      if (slide.text) {
        $html += "<BR>\n" + slide.text;
      }
  
      $html += "<\/P>" + "\n\n";
    }
  
    // Make the HTML browser-safe
    $html = $html.replace(/\&/g, "&amp;" );
    $html = $html.replace(/</g, "&lt;" );
    $html = $html.replace(/>/g, "&gt;" );
  
    return('<pre>' + $html + '</pre>');
  }


  //==================================================
  // Private methods
  //==================================================

  //--------------------------------------------------
  this.loop = function() {
    // This method is for internal use only.
    // This method gets called automatically by a JavaScript timeout.
    // It advances to the next slide, then sets the next timeout.
    // If the next slide image has not completed loading yet,
    // then do not advance to the next slide yet.

    // Make sure the next slide image has finished loading
    if (this.current < this.slides.length - 1) {
      next_slide = this.slides[this.current + 1];
      if (next_slide.image.complete == null || next_slide.image.complete) {
        this.next();
      }
    } else { // we're at the last slide
      this.next();
    }
    
    // Keep playing the slideshow
    this.play( );
  }


  //--------------------------------------------------
  this.valid_image = function() {
    // Returns 1 if a valid image has been set for the slideshow
  
    if (!this.image)
    {
      return false;
    }
    else {
      return true;
    }
  }

  //--------------------------------------------------
  this.getElementById = function(element_id) {
    // This method returns the element corresponding to the id

    if (document.getElementById) {
      return document.getElementById(element_id);
    }
    else if (document.all) {
      return document.all[element_id];
    }
    else if (document.layers) {
      return document.layers[element_id];
    } else {
      return undefined;
    }
  }
  

  //==================================================
  // Deprecated methods
  // I don't recommend the use of the following methods,
  // but they are included for backward compatibility.
  // You can delete them if you don't need them.
  //==================================================

  //--------------------------------------------------
  this.set_image = function(imageobject) {
    // This method is deprecated; you should use
    // the following code instead:
    // s.image = document.images.myimagename;
    // s.update();

    if (!document.images)
      return;
    this.image = imageobject;
  }

  //--------------------------------------------------
  this.set_textarea = function(textareaobject) {
    // This method is deprecated; you should use
    // the following code instead:
    // s.textarea = document.form.textareaname;
    // s.update();

    this.textarea = textareaobject;
    this.display_text();
  }

  //--------------------------------------------------
  this.set_textid = function(textidstr) {
    // This method is deprecated; you should use
    // the following code instead:
    // s.textid = "mytextid";
    // s.update();

    this.textid = textidstr;
    this.display_text();
  }
}

//-->
