var d3_rocks = {} d3_rocks.stopwords = { words: [ {word: "Case Western Reserve", href: "/school/CWRU/mens/2008", nocase: true}, {word: "Connecticut College", href: "/school/CONN/mens/2008", nocase: true}, {word: "New York University", href: "/school/NYU/mens/2008", nocase: true}, {word: "Carnegie Mellon", href: "/school/CMU/mens/2008", nocase: true}, {word: "Trinity (Conn.)", href: "/school/TRNC/mens/2008", nocase: true}, {word: "Washington U.", href: "/school/WSHU/mens/2008", nocase: true}, {word: "Middlebury", href: "/school/MIDD/mens/2008", nocase: true}, {word: "Rochester", href: "/school/ROCH/mens/2008", nocase: true}, {word: "Brandeis", href: "/school/BRND/mens/2008", nocase: true}, {word: "Wesleyan", href: "/school/WES/mens/2008", nocase: true}, {word: "Williams", href: "/school/WLMS/mens/2008", nocase: true}, {word: "Amherst", href: "/school/AMH/mens/2008", nocase: true}, {word: "Bowdoin", href: "/school/BOW/mens/2008", nocase: true}, {word: "Chicago", href: "/school/CHI/mens/2008", nocase: true}, {word: "Bates", href: "/school/BATE/mens/2008", nocase: true}, {word: "Colby", href: "/school/COLB/mens/2008", nocase: true}, {word: "Emory", href: "/school/EMRY/mens/2008", nocase: true}, {word: "Tufts", href: "/school/TUFT/mens/2008", nocase: true}, {word: ["NESCAC", "New England Small College Athletic Conference"], href: "/conf/NESCAC/mens/2008", nocase: true}, {word: ["UAA", "University Athletic Association"], href: "/conf/UAA/mens/2008", nocase: true}, {word: "Justin Carroll, Dean of Students", href: "http://www.pictureprints.net/identify/Washington+U./Justin+Carroll%2C+Dean+of+Students", nocase: true, external: true}, {word: "Chancellor Mark Wrighton", href: "http://www.pictureprints.net/identify/Washington+U./Chancellor+Mark+Wrighton", nocase: true, external: true}, {word: "Derek Van Solkema ", href: "http://www.pictureprints.net/identify/Amherst/Derek+Van+Solkema+", nocase: true, external: true}, {word: "Jamie Snyder-Fair", href: "http://www.pictureprints.net/identify/Amherst/Jamie+Snyder-Fair", nocase: true, external: true}, {word: "Moss Schermerhorn", href: "http://www.pictureprints.net/identify/Washington+U./Moss+Schermerhorn", nocase: true, external: true}, {word: "Brian Baskauskas", href: "http://www.pictureprints.net/identify/Amherst/Brian+Baskauskas", nocase: true, external: true}, {word: "Fletcher Walters", href: "http://www.pictureprints.net/identify/Amherst/Fletcher+Walters", nocase: true, external: true}, {word: "Katherine Martin", href: "http://www.pictureprints.net/identify/Washington+U./Katherine+Martin", nocase: true, external: true}, {word: "Linden Weiswerda", href: "http://www.pictureprints.net/identify/Washington+U./Linden+Weiswerda", nocase: true, external: true}, {word: "Trevor MacDonald", href: "http://www.pictureprints.net/identify/Washington+U./Trevor+MacDonald", nocase: true, external: true}, {word: "Anthaney Brazel", href: "http://www.pictureprints.net/identify/Washington+U./Anthaney+Brazel", nocase: true, external: true}, {word: "Michael Rejniak", href: "http://www.pictureprints.net/identify/Amherst/Michael+Rejniak", nocase: true, external: true}, {word: "Aaron Thompson", href: "http://www.pictureprints.net/identify/Washington+U./Aaron+Thompson", nocase: true, external: true}, {word: "Chris Mitchell", href: "http://www.pictureprints.net/identify/Washington+U./Chris+Mitchell", nocase: true, external: true}, {word: "cynthia meehan", href: "http://www.pictureprints.net/identify/Amherst/cynthia+meehan", nocase: true, external: true}, {word: "Marcus Bradley", href: "http://www.pictureprints.net/identify/Amherst/Marcus+Bradley", nocase: true, external: true}, {word: "Matt Goldsmith", href: "http://www.pictureprints.net/identify/Amherst/Matt+Goldsmith", nocase: true, external: true}, {word: "Mike Silverman", href: "http://www.pictureprints.net/identify/Amherst/Mike+Silverman", nocase: true, external: true}, {word: "Phil Syversten", href: "http://www.pictureprints.net/identify/Washington+U./Phil+Syversten", nocase: true, external: true}, {word: "Steven Wheeler", href: "http://www.pictureprints.net/identify/Amherst/Steven+Wheeler", nocase: true, external: true}, {word: "Tim McLaughlin", href: "http://www.pictureprints.net/identify/Amherst/Tim+McLaughlin", nocase: true, external: true}, {word: "Victoria Lucas", href: "http://www.pictureprints.net/identify/Washington+U./Victoria+Lucas", nocase: true, external: true}, {word: "Zach Greenberg", href: "http://www.pictureprints.net/identify/Washington+U./Zach+Greenberg", nocase: true, external: true}, {word: "Brandon Jones", href: "http://www.pictureprints.net/identify/Amherst/Brandon+Jones", nocase: true, external: true}, {word: "Caleb Knepper", href: "http://www.pictureprints.net/identify/Washington+U./Caleb+Knepper", nocase: true, external: true}, {word: "Cameron Smith", href: "http://www.pictureprints.net/identify/Washington+U./Cameron+Smith", nocase: true, external: true}, {word: "Danny O'Boyle", href: "http://www.pictureprints.net/identify/Washington+U./Danny+O%27Boyle", nocase: true, external: true}, {word: "Dylan Richter", href: "http://www.pictureprints.net/identify/Washington+U./Dylan+Richter", nocase: true, external: true}, {word: "Kevin Hopkins", href: "http://www.pictureprints.net/identify/Amherst/Kevin+Hopkins", nocase: true, external: true}, {word: "Mark Miliotis", href: "http://www.pictureprints.net/identify/Amherst/Mark+Miliotis", nocase: true, external: true}, {word: "Steve Wheeler", href: "http://www.pictureprints.net/identify/Amherst/Steve+Wheeler", nocase: true, external: true}, {word: "Andrew Olson", href: "http://www.pictureprints.net/identify/Amherst/Andrew+Olson", nocase: true, external: true}, {word: "Conor Meehan", href: "http://www.pictureprints.net/identify/Amherst/Conor+Meehan", nocase: true, external: true}, {word: "James Meehan", href: "http://www.pictureprints.net/identify/Amherst/James+Meehan", nocase: true, external: true}, {word: "Mark Edwards", href: "http://www.pictureprints.net/identify/Washington+U./Mark+Edwards", nocase: true, external: true}, {word: "Mike Salerno", href: "http://www.pictureprints.net/identify/Amherst/Mike+Salerno", nocase: true, external: true}, {word: "Nick Nikitas", href: "http://www.pictureprints.net/identify/Washington+U./Nick+Nikitas", nocase: true, external: true}, {word: "Tyler Gordon", href: "http://www.pictureprints.net/identify/Washington+U./Tyler+Gordon", nocase: true, external: true}, {word: "Tyler Nading", href: "http://www.pictureprints.net/identify/Washington+U./Tyler+Nading", nocase: true, external: true}, {word: "Bill Nahill", href: "http://www.pictureprints.net/identify/Amherst/Bill+Nahill", nocase: true, external: true}, {word: "Dan Wheeler", href: "http://www.pictureprints.net/identify/Amherst/Dan+Wheeler", nocase: true, external: true}, {word: "John Schael", href: "http://www.pictureprints.net/identify/Washington+U./John+Schael", nocase: true, external: true}, {word: "Koby Altman", href: "http://www.pictureprints.net/identify/Amherst/Koby+Altman", nocase: true, external: true}, {word: "Mike Holsey", href: "http://www.pictureprints.net/identify/Amherst/Mike+Holsey", nocase: true, external: true}, {word: "Rick Larsen", href: "http://www.pictureprints.net/identify/Washington+U./Rick+Larsen", nocase: true, external: true}, {word: "Ross Kelley", href: "http://www.pictureprints.net/identify/Washington+U./Ross+Kelley", nocase: true, external: true}, {word: "Sean Wallis", href: "http://www.pictureprints.net/identify/Washington+U./Sean+Wallis", nocase: true, external: true}, {word: "Spencer Gay", href: "http://www.pictureprints.net/identify/Washington+U./Spencer+Gay", nocase: true, external: true}, {word: "Tim Whittle", href: "http://www.pictureprints.net/identify/Washington+U./Tim+Whittle", nocase: true, external: true}, {word: "Tim Whittle", href: "http://www.pictureprints.net/identify/Washington+U./Tim+Whittle", nocase: true, external: true}, {word: "Ben Kaplan", href: "http://www.pictureprints.net/identify/Amherst/Ben+Kaplan", nocase: true, external: true}, {word: "Dan O'Shea", href: "http://www.pictureprints.net/identify/Amherst/Dan+O%27Shea", nocase: true, external: true}, {word: "Dave Hixon", href: "http://www.pictureprints.net/identify/Amherst/Dave+Hixon", nocase: true, external: true}, {word: "Glenn Wong", href: "http://www.pictureprints.net/identify/Amherst/Glenn+Wong", nocase: true, external: true}, {word: "John Wolfe", href: "http://www.pictureprints.net/identify/Washington+U./John+Wolfe", nocase: true, external: true}, {word: "Ray Wagner", href: "http://www.pictureprints.net/identify/Washington+U./Ray+Wagner", nocase: true, external: true}, {word: "Ron Buelow", href: "http://www.pictureprints.net/identify/Amherst/Ron+Buelow", nocase: true, external: true}, {word: "Troy Ruths", href: "http://www.pictureprints.net/identify/Washington+U./Troy+Ruths", nocase: true, external: true}, {word: "Zach Kelly", href: "http://www.pictureprints.net/identify/Washington+U./Zach+Kelly", nocase: true, external: true}, {word: "Alex Toth", href: "http://www.pictureprints.net/identify/Washington+U./Alex+Toth", nocase: true, external: true}, {word: "Ben Rudin", href: "http://www.pictureprints.net/identify/Amherst/Ben+Rudin", nocase: true, external: true}, {word: "John Wolf", href: "http://www.pictureprints.net/identify/Washington+U./John+Wolf", nocase: true, external: true}, {word: "d3football", href: "http://www.d3football.com/", nocase: true, external: true}, {word: "d3hoops", href: "/", nocase: true, external: true}, {word: "d3baseball", href: "http://www.d3baseball.com/", nocase: true, external: true}, {word: ["top 25","ranked"], href: "/top25/", nocase: true, external: true}, ], newstopwords: [], wholewords: false, wholewords: true, limit: true, cssClass: 'red', stoptags: /^A$|H1|H2|H3|H4|BLOCKQUOTE/i, skipclass: 'infobox' }; function linkify(element, team){ var completed = false; var SW = d3_rocks.stopwords; SW.words = SW.words.concat(SW.newstopwords); function wordArray(string, obj) { var words = obj.word; if (words.constructor == Array){ for (var i=0, l=words.length; i= 0) { if ( restrictedContainer(node.parentNode) ){ return; } completed = true; var spannode = document.createElement('a'); spannode.href = obj.href; spannode.className = obj.cssClass || SW.cssClass; spannode.target = obj.newtab ? '_blank' : '' ; var middlebit = node.splitText( pos ); var endbit = middlebit.splitText( start.length ); spannode.appendChild( middlebit.cloneNode(true) ); middlebit.parentNode.replaceChild(spannode, middlebit); skip = 1; } } else if (node.nodeType == 1 && node.childNodes && node.className != SW.skipnodes && !/(script|style|^A$)/i.test(node.tagName)) { for (var i=0, l=node.childNodes.length; i