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