/*Example message arrays for the two demo scrollers*/ var pausecontent2=new Array() pausecontent2[0]='Patrick O\'Herron:
Butte Daredevils- CBA' pausecontent2[1]='Thomas Hallin:
Atlanta Braves' pausecontent2[2]='Michael Lloyd:
ESPN Radio 100.1 The Fan' pausecontent2[3]='Amanda Stout:
Lowes Motor Speedway' pausecontent2[4]='Dan Budreika:
Washington Nationals' pausecontent2[5]='Jeremy Burn:
Washington Wizards' pausecontent2[6]='Matt Hirsch:
Florida Marlins' pausecontent2[7]='Brett Breece:
Tacoma Rainiers' pausecontent2[8]='Bart Madden:
Sacramento Kings (NBA)' pausecontent2[9]='Marc Oliver:
TSN- Canada' pausecontent2[10]='Ben Foster:
Los Angeles Clippers' pausecontent2[11]='Jeff Boswell:
Miami Heat' pausecontent2[12]='Edward Williams:
Detroit Grand Prix' pausecontent2[13]='Chris Cordero:
Miami Heat' pausecontent2[14]='Patrick Edwards:
International Scouting Services Scout' pausecontent2[15]='Dale Fudge:
RinkNet Scouting, Videographer' pausecontent2[16]='Alton Clark:
Lees-McRae College Asst. Basketball Coach' pausecontent2[17]='Alexis Levi:
Las Vegas Stars' pausecontent2[18]='Fabian Banchiero:
Red Bulls' pausecontent2[19]='Rob Child:
The Scouting Network - England' pausecontent2[20]='Wes Brown:
Utah Jazz' pausecontent2[21]='Chad Pennick:
Denver Nuggets' pausecontent2[22]='Joey Seymour:
Los Angeles Kings' pausecontent2[23]='Kari Christensen:
Orca Bay' pausecontent2[24]='Kyle Kosior:
United States Hockey League' pausecontent2[25]='Steven Deitch:
Las Vegas Gladiators' pausecontent2[26]='Mandy Love:
Houston Rockets & Comets' pausecontent2[27]='Devon Teeple:
Plymouth River City Eels' pausecontent2[28]='Andy Hollander:
Norfolk State Athletics' pausecontent2[29]='Nick Sinclair:
Toronto Blue Jays' pausecontent2[30]='David Allendorf:
Spokane Shock' pausecontent2[31]='Josh Bannister:
Augusta Lynx' pausecontent2[32]='Ryan Polito:
Omaha Knights' pausecontent2[33]='BJ Cardin:
Orlando Sharks' pausecontent2[34]='Will Osgood:
Synergy Sports' pausecontent2[35]='Chris Russell:
Indoor Football Scouting Bureau' pausecontent2[36]='Alex Sherman Ash:
Baseball Info Solutions' pausecontent2[37]='Chris Corder:
Texas Tech Athletics' pausecontent2[38]='KD Lakiss:
The Scouting Network - Maryland' pausecontent2[39]='Brian Adams:
Boston Celtics' pausecontent2[40]='Ben Johnson:
Kansas City Royals Scout' pausecontent2[41]='Russ Rankin:
Kootenay Ice' pausecontent2[42]='Derrick Nunziante:
Myrtle Beach Pelicans' pausecontent2[43]='Preston Bailey:
Integrity Sports Broadcasting - Tampa Bay Storm & Devil Rays' pausecontent2[44]='Alex Nuschke:
Las Vegas Gladiators' pausecontent2[45]='Kent Ridley:
Ridley Scouting Services' pausecontent2[46]='Joseph Della Cella:
University of San Francisco Baseball' pausecontent2[47]='Travis Howe:
International Scouting Services' pausecontent2[48]='Jake Squyres:
Atlanta Hawks' pausecontent2[49]='Stephen Samoyedny:
Texas Wildcatters' pausecontent2[50]='Raj Thompson:
Indoor Football Scouting' pausecontent2[51]='Amy Noble:
Trenton Thunder' pausecontent2[52]='Brian Orth:
Cowichan Valley Capitals Junior A Hockey' pausecontent2[53]='Jermaine Blackwood:
Integrity Sports Management - England' pausecontent2[54]='Damon Shoultz:
Joliet Jackhammers' pausecontent2[55]='Cyprian Khumalo:
Maryland United Football Club' pausecontent2[56]='Dustin Pierson:
Joliet Jackhammers' pausecontent2[57]='Chad Mart:
Synergy Sports' pausecontent2[58]='Michael McDonald:
Atlanta Braves' pausecontent2[59]='Tucker Brollier:
Oklahmoma City Redhawks' pausecontent2[60]='Juuko Yahya:
J.U.K. Sports Agency, Cape Town, South Africa' pausecontent2[61]='Jordan Anderson:
Los Angeles Galaxy' pausecontent2[62]='Loretta Abrams:
Houston Texans' pausecontent2[63]='Josh Stoller:
Milwaukee Brewers' pausecontent2[64]='Jeff Holmes:
Synergy Sports' pausecontent2[65]='Hendrick Van Wyk:
Blade Sports' pausecontent2[66]='Dave Robinson:
Hamilton Bulldogs' pausecontent2[67]='Delhauter Benoit:
La Derniere Heure Les Sports' pausecontent2[68]='Shawn Bishop:
Southdowns Football Club' pausecontent2[69]='Ryan Latham:
Boston Red Sox' pausecontent2[70]='Ari L. Faneuil:
New Orleans Hornets NBA' pausecontent2[71]='Vidar Bjarnason:
The Scouting Network-Denmark' pausecontent2[72]='Jeff Rucker:
Colorado Avalanche' pausecontent2[73]='Nick Mazzella:
Los Angeles Lakers' pausecontent2[74]='Eric Stockman:
Atlanta Hawks-Thrashers' pausecontent2[75]='Jamie Martin:
Toronto Marlies' pausecontent2[76]='Pam Bowden:
Texas A&M International Women\'s Basketball' pausecontent2[77]='Jerry Bernal:
Palo Alto College Men\'s Basketball' pausecontent2[78]='Robert Ajayi:
Philidelphia 76ers & Flyers' pausecontent2[79]='Mauro Simonetti:
TMS Scouting Services' pausecontent2[80]='Ben Wolfe:
Baseball Prospectus' pausecontent2[81]='Jeff Differding:
Biz of Baseball' pausecontent2[82]='Chuck Hulce:
HSH Sports Consulting' pausecontent2[83]='Kwasi Moses:
Indoor Football Scouting Bureau' pausecontent2[84]='Michael Laurent:
www.iplayers.net - France' pausecontent2[85]='Jeff Eskow:
Integity Sports Broadcasting-San Diego Padres' pausecontent2[86]='John Borgard:
Stl Louis Bandits' pausecontent2[87]='Ernie Distefano:
Global Scouting Bureau' pausecontent2[88]='Brian Gioia:
Chicago Bulls' pausecontent2[89]='Leon Hughes:
Pro Football Central' pausecontent2[90]='Eric Anang:
The Scouting Network-London' pausecontent2[91]='Phillip Nicoletti:
Cleveland Indians' pausecontent2[92]='Dan Cullen:
Erie BayHawks' pausecontent2[93]='Andrew Lavoie:
Gatineau Olympiques (QMJHL)' pausecontent2[94]='Russ Blatt:
Asst. GM - Chico Outlaws (Golden Baseball League)' pausecontent2[95]='James Mullins:
Program Director, Hoops for Hearts' pausecontent2[96]='James Heintz:
Elite Sports Agency' pausecontent2[97]='Steve Gallaugher:
Los Angeles Dodgers' pausecontent2[98]='Eric Satterwhite:
Asst. GM of the Sacramento Heatwaves (ABA)' pausecontent2[99]='Daniel Eddy:
Ontario Australian Football League' pausecontent2[100]='Chris Mattox:
Tampa Bay Buccaneers' pausecontent2[101]='Liberty Sufiya:
Luton Town FC Scout-England' pausecontent2[102]='John Ross:
Portland Trailblazers' pausecontent2[103]='Derrick Nunziante:
Myrtle Beach Pelicans' pausecontent2[104]='Landen Garner:
Orem Owis, Anaheim Angels' pausecontent2[105]='Matthew Dennis:
International Bodyboarding Association' pausecontent2[106]='Paul Epstein:
THG Worldwide' pausecontent2[107]='Ryan Markham:
Manitoba Moose Hockey Club' pausecontent2[108]='Carson Greer:
St. Louis Blues' pausecontent2[109]='Alex Nelson:
University of Oregon Department of Athletics' pausecontent2[110]='Niki Jones:
Las Vegas Speedway' pausecontent2[111]='Jack Collins:
Dayton Bombers (ECHL)' pausecontent2[112]='Bill Jordan:
Cleveland Browns' pausecontent2[113]='Chris OKeefe:
Minnesota Twins' pausecontent2[114]='Matt Ebbs:
International Scouting Services' pausecontent2[115]='Renata Pellino-Porter:
Seattle Sonics-Storm' pausecontent2[116]='Ryan Gagne:
Edmonton Oilers' pausecontent2[117]='Harv Rentz:
Ajax Jr. A Hockey Club (OPJHL)' pausecontent2[118]='Augusto Rojas:
Pawtucket Red Sox Baseball (Boston Red Sox AAA affiliate)' pausecontent2[119]='Ashley Holstrom:
Pheonix Coyotes' pausecontent2[120]='William Jordan:
BizofBaseball.com & BizofFootball.com' pausecontent2[121]='Bobby Rigalos:
FightBoss Management' pausecontent2[122]='Phil Nestler:
New York Mets' pausecontent2[123]='Brian Cady:
Arizona Diamondbacks' pausecontent2[124]='Tracey Graham:
Synergy Sports' pausecontent2[125]='Updesh Grewal:
BC Lions' pausecontent2[126]='David Olesky:
Jamestown Jets Jr. A Hockey Club' pausecontent2[127]='Patrick Custer:
Seattle Sonics' pausecontent2[128]='Jake Sanders:
Kansas City Royals' pausecontent2[129]='Rockie Zinger:
Golden Rockets Junior Hockey Club' pausecontent2[130]='Dave Cadelli:
Scout for the Sioux City Musketeers (USHL)' pausecontent2[131]='Troy Steffy:
Pro Baseball Workouts' pausecontent2[132]='Justin Capetillo:
Houston Rockets Stadium Operations' pausecontent2[133]='Bill Creamer:
Georgetown Raiders' pausecontent2[134]='Kenneth Stones:
KC Royals' pausecontent2[135]='Elizabeth Stone:
Oakland Raiders' /*********************************************** * Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for this script and 100s more. ***********************************************/ function pausescroller(content, divId, divClass, delay){ this.content=content //message array content this.tickerid=divId //ID of ticker div to display information this.delay=delay //Delay between msg change, in miliseconds. this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is) this.hiddendivpointer=1 //index of message array for hidden div document.write('
'+content[0]+'
') var scrollerinstance=this if (window.addEventListener) //run onload in DOM2 browsers window.addEventListener("load", function(){scrollerinstance.initialize()}, false) else if (window.attachEvent) //run onload in IE5.5+ window.attachEvent("onload", function(){scrollerinstance.initialize()}) else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec setTimeout(function(){scrollerinstance.initialize()}, 500) } // ------------------------------------------------------------------- // initialize()- Initialize scroller method. // -Get div objects, set initial positions, start up down animation // ------------------------------------------------------------------- pausescroller.prototype.initialize=function(){ this.tickerdiv=document.getElementById(this.tickerid) this.visiblediv=document.getElementById(this.tickerid+"1") this.hiddendiv=document.getElementById(this.tickerid+"2") this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv)) //set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2) this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px" this.getinline(this.visiblediv, this.hiddendiv) this.hiddendiv.style.visibility="visible" var scrollerinstance=this document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1} document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0} if (window.attachEvent) //Clean up loose references in IE window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null}) setTimeout(function(){scrollerinstance.animateup()}, this.delay) } // ------------------------------------------------------------------- // animateup()- Move the two inner divs of the scroller up and in sync // ------------------------------------------------------------------- pausescroller.prototype.animateup=function(){ var scrollerinstance=this if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){ this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px" this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px" setTimeout(function(){scrollerinstance.animateup()}, 50) } else{ this.getinline(this.hiddendiv, this.visiblediv) this.swapdivs() setTimeout(function(){scrollerinstance.setmessage()}, this.delay) } } // ------------------------------------------------------------------- // swapdivs()- Swap between which is the visible and which is the hidden div // ------------------------------------------------------------------- pausescroller.prototype.swapdivs=function(){ var tempcontainer=this.visiblediv this.visiblediv=this.hiddendiv this.hiddendiv=tempcontainer } pausescroller.prototype.getinline=function(div1, div2){ div1.style.top=this.visibledivtop+"px" div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px" } // ------------------------------------------------------------------- // setmessage()- Populate the hidden div with the next message before it's visible // ------------------------------------------------------------------- pausescroller.prototype.setmessage=function(){ var scrollerinstance=this if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it) setTimeout(function(){scrollerinstance.setmessage()}, 100) else{ var i=this.hiddendivpointer var ceiling=this.content.length this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1 this.hiddendiv.innerHTML=this.content[this.hiddendivpointer] this.animateup() } } pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any if (tickerobj.currentStyle) return tickerobj.currentStyle["paddingTop"] else if (window.getComputedStyle) //if DOM2 return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top") else return 0 }