/*Example message arrays for the two demo scrollers*/ var pausecontent2=new Array() pausecontent2[0]='Brett Breece:
Tacoma Rainiers' pausecontent2[1]='Bart Madden:
Sacramento Kings (NBA)' pausecontent2[2]='Marc Oliver:
TSN- Canada' pausecontent2[3]='Ben Foster:
Los Angeles Clippers' pausecontent2[4]='Ron Wright:
Atlanta Braves, Baseball Ops Intern ' pausecontent2[5]='Jeff Boswell:
Miami Heat' pausecontent2[6]='Edward Williams:
Homestead Miami Speedway' pausecontent2[7]='Tim Albee:
Washington Freedom, Account Executive ' pausecontent2[8]='Chris Cordero:
Miami Heat' pausecontent2[9]='Patrick Edwards:
International Scouting Services Scout' pausecontent2[10]='Dale Fudge:
RinkNet Scouting, Videographer' pausecontent2[11]='Salvatore Ippolito:
Florida Panthers Broadcast Team' pausecontent2[12]='Mitch Robichaud:
Rinknet Videographer' pausecontent2[13]='Alexa Atria:
Marketing & Entertainment Mgr. Brooklyn Cyclones- (New York Mets Affiliate)' pausecontent2[14]='Jeff Monahan:
L.A. Kings' pausecontent2[15]='Fred Davis:
Content Coordinator, CoachesAid.Com' pausecontent2[16]='Marcus Hirsch:
Tampa Bay Lightning' pausecontent2[17]='Ryan Colville:
Los Angeles Kings, Video Coordinator' pausecontent2[18]='Wes Bunting:
Director of College Scouting for the NationalFootballPost.com' pausecontent2[19]='Alton Clark:
Lees-McRae College Asst. Basketball Coach' pausecontent2[20]='TJ Clarke:
Toronto Dixie Beehives Jr. A Hockey Club' pausecontent2[21]='Paul Culley:
LA Clippers' pausecontent2[22]='Devin Smith:
Account Executive, State College Spikes' pausecontent2[23]='Jon La Bella:
Sports Image' pausecontent2[24]='Nik Lubisich:
Agent' pausecontent2[25]='Nathan Czapla:
Synergy Sports Technology' pausecontent2[26]='Alexis Levi:
Las Vegas Stars' pausecontent2[27]='Fabian Banchiero:
Red Bulls' pausecontent2[28]='Rob Child:
The Scouting Network - England' pausecontent2[29]='Wes Brown:
Utah Jazz' pausecontent2[30]='Chad Pennick:
Denver Nuggets' pausecontent2[31]='Joey Seymour:
Los Angeles Kings' pausecontent2[32]='Kari Christensen:
Orca Bay' pausecontent2[33]='Kyle Kosior:
United States Hockey League' pausecontent2[34]='Steven Deitch:
Las Vegas Gladiators' pausecontent2[35]='Mandy Love:
Houston Rockets & Comets' pausecontent2[36]='Devon Teeple:
Plymouth River City Eels' pausecontent2[37]='Andy Hollander:
Norfolk State Athletics' pausecontent2[38]='Nick Sinclair:
Toronto Blue Jays' pausecontent2[39]='David Allendorf:
Spokane Shock' pausecontent2[40]='Josh Bannister:
Augusta Lynx' pausecontent2[41]='Ryan Polito:
Omaha Knights' pausecontent2[42]='BJ Cardin:
Orlando Sharks' pausecontent2[43]='Will Osgood:
Synergy Sports' pausecontent2[44]='Chris Russell:
Indoor Football Scouting Bureau' pausecontent2[45]='Alex Sherman Ash:
Baseball Info Solutions' pausecontent2[46]='Chris Corder:
Texas Tech Athletics' pausecontent2[47]='KD Lakiss:
The Scouting Network - Maryland' pausecontent2[48]='Brian Adams:
Boston Celtics' pausecontent2[49]='Ben Johnson:
Kansas City Royals Scout' pausecontent2[50]='Russ Rankin:
Kootenay Ice' pausecontent2[51]='Derrick Nunziante:
Myrtle Beach Pelicans' pausecontent2[52]='Preston Bailey:
Integrity Sports Broadcasting - Tampa Bay Storm & Devil Rays' pausecontent2[53]='Alex Nuschke:
Las Vegas Gladiators' pausecontent2[54]='Kent Ridley:
Ridley Scouting Services' pausecontent2[55]='Joseph Della Cella:
University of San Francisco Baseball' pausecontent2[56]='Travis Howe:
International Scouting Services' pausecontent2[57]='Jake Squyres:
Atlanta Hawks' pausecontent2[58]='Stephen Samoyedny:
Texas Wildcatters' pausecontent2[59]='Raj Thompson:
Indoor Football Scouting' pausecontent2[60]='Amy Noble:
Trenton Thunder' pausecontent2[61]='Brian Orth:
Cowichan Valley Capitals Junior A Hockey' pausecontent2[62]='Jermaine Blackwood:
Integrity Sports Management - England' pausecontent2[63]='Damon Shoultz:
Joliet Jackhammers' pausecontent2[64]='Cyprian Khumalo:
Maryland United Football Club' pausecontent2[65]='Dustin Pierson:
Joliet Jackhammers' pausecontent2[66]='Chad Mart:
Synergy Sports' pausecontent2[67]='Michael McDonald:
Atlanta Braves' pausecontent2[68]='Tucker Brollier:
Oklahmoma City Redhawks' pausecontent2[69]='Juuko Yahya:
J.U.K. Sports Agency, Cape Town, South Africa' pausecontent2[70]='Jordan Anderson:
Los Angeles Galaxy' pausecontent2[71]='Loretta Abrams:
Houston Texans' pausecontent2[72]='Josh Stoller:
Milwaukee Brewers' pausecontent2[73]='Jeff Holmes:
Synergy Sports' pausecontent2[74]='Hendrick Van Wyk:
Blade Sports' pausecontent2[75]='Dave Robinson:
Hamilton Bulldogs' pausecontent2[76]='Delhauter Benoit:
La Derniere Heure Les Sports' pausecontent2[77]='Dave Hall:
Philadelphia Phillies Bird Dog Scout' pausecontent2[78]='Shawn Bishop:
Southdowns Football Club' pausecontent2[79]='Ryan Latham:
Boston Red Sox' pausecontent2[80]='Ari L. Faneuil:
New Orleans Hornets NBA' pausecontent2[81]='Vidar Bjarnason:
The Scouting Network-Denmark' pausecontent2[82]='Jeff Rucker:
Colorado Avalanche' pausecontent2[83]='Nick Mazzella:
Los Angeles Lakers' pausecontent2[84]='Eric Stockman:
Atlanta Hawks-Thrashers' pausecontent2[85]='Jamie Martin:
Toronto Marlies' pausecontent2[86]='Pam Bowden:
Texas A&M International Women\'s Basketball' pausecontent2[87]='Jerry Bernal:
Palo Alto College Men\'s Basketball' pausecontent2[88]='Robert Ajayi:
Philidelphia 76ers & Flyers' pausecontent2[89]='Mauro Simonetti:
TMS Scouting Services' pausecontent2[90]='Ben Wolfe:
Baseball Prospectus' pausecontent2[91]='Jeff Differding:
Biz of Baseball' pausecontent2[92]='Chuck Hulce:
HSH Sports Consulting' pausecontent2[93]='Kwasi Moses:
Indoor Football Scouting Bureau' pausecontent2[94]='Michael Laurent:
www.iplayers.net - France' pausecontent2[95]='Jeff Eskow:
Integity Sports Broadcasting-San Diego Padres' pausecontent2[96]='Eric Galko:
NFL House' pausecontent2[97]='John Borgard:
Stl Louis Bandits' pausecontent2[98]='Ernie Distefano:
Global Scouting Bureau' pausecontent2[99]='Nic Sinclair:
Sarnia Sting Scout' pausecontent2[100]='Brian Gioia:
Chicago Bulls' pausecontent2[101]='Leon Hughes:
Pro Football Central' pausecontent2[102]='Eric Anang:
The Scouting Network-London' pausecontent2[103]='Jerry Saulsbury:
National Baseball Congress Intern' pausecontent2[104]='Phillip Nicoletti:
Cleveland Indians' pausecontent2[105]='Dan Cullen:
Erie BayHawks' pausecontent2[106]='Andrew Lavoie:
Gatineau Olympiques (QMJHL)' pausecontent2[107]='Russ Blatt:
Asst. GM - Chico Outlaws (Golden Baseball League)' pausecontent2[108]='James Mullins:
Program Director, Hoops for Hearts' pausecontent2[109]='James Heintz:
Elite Sports Agency' pausecontent2[110]='Steve Gallaugher:
Los Angeles Dodgers' pausecontent2[111]='Eric Satterwhite:
Asst. GM of the Sacramento Heatwaves (ABA)' pausecontent2[112]='Daniel Eddy:
Ontario Australian Football League' pausecontent2[113]='Chris Mattox:
Tampa Bay Buccaneers' pausecontent2[114]='Liberty Sufiya:
Luton Town FC Scout-England' pausecontent2[115]='John Ross:
Portland Trailblazers' pausecontent2[116]='Landen Garner:
Orem Owis, Anaheim Angels' pausecontent2[117]='Matthew Dennis:
International Bodyboarding Association' pausecontent2[118]='Paul Epstein:
THG Worldwide' pausecontent2[119]='Ryan Markham:
Manitoba Moose Hockey Club' pausecontent2[120]='Carson Greer:
St. Louis Blues' pausecontent2[121]='Alex Nelson:
University of Oregon Department of Athletics' pausecontent2[122]='Niki Jones:
Las Vegas Speedway' pausecontent2[123]='Jack Collins:
Dayton Bombers (ECHL)' pausecontent2[124]='Bill Jordan:
Cleveland Browns' pausecontent2[125]='Chris OKeefe:
Minnesota Twins' pausecontent2[126]='Matt Ebbs:
International Scouting Services' pausecontent2[127]='Renata Pellino-Porter:
Seattle Sonics-Storm' pausecontent2[128]='Ryan Gagne:
Edmonton Oilers' pausecontent2[129]='Harv Rentz:
Ajax Jr. A Hockey Club (OPJHL)' pausecontent2[130]='Augusto Rojas:
Pawtucket Red Sox Baseball (Boston Red Sox AAA affiliate)' pausecontent2[131]='Ashley Holstrom:
Pheonix Coyotes' pausecontent2[132]='Steve Cocker:
Oshawa Generals' pausecontent2[133]='William Jordan:
BizofBaseball.com & BizofFootball.com' pausecontent2[134]='Bobby Rigalos:
FightBoss Management' pausecontent2[135]='Phil Nestler:
New York Mets' pausecontent2[136]='Brian Cady:
Arizona Diamondbacks' pausecontent2[137]='Tracey Graham:
Synergy Sports' pausecontent2[138]='Updesh Grewal:
BC Lions' pausecontent2[139]='David Olesky:
Jamestown Jets Jr. A Hockey Club' pausecontent2[140]='Patrick Custer:
Oklahoma City Thunder' pausecontent2[141]='Jake Sanders:
Kansas City Royals' pausecontent2[142]='Rockie Zinger:
Golden Rockets Junior Hockey Club' pausecontent2[143]='Dave Cadelli:
Scout for the Sioux City Musketeers (USHL)' pausecontent2[144]='Troy Steffy:
Pro Baseball Workouts' pausecontent2[145]='Justin Capetillo:
Houston Rockets Stadium Operations' pausecontent2[146]='Bill Creamer:
Georgetown Raiders' pausecontent2[147]='Devon Teeple:
Business of Sports Network' pausecontent2[148]='Elizabeth Stone:
Oakland Raiders' pausecontent2[149]='Patrick O\'Herron:
Butte Daredevils- CBA' pausecontent2[150]='Thomas Hallin:
Atlanta Braves' pausecontent2[151]='Michael Lloyd:
ESPN Radio 100.1 The Fan' pausecontent2[152]='Amanda Stout:
Lowes Motor Speedway' pausecontent2[153]='Dan Budreika:
Washington Nationals' pausecontent2[154]='Jeremy Burn:
Washington Wizards' pausecontent2[155]='Matt Hirsch:
Florida Marlins' pausecontent2[156]='Scott Allemand:
New Jersey Devils ' /*********************************************** * 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 }