var d3_rocks = {} d3_rocks.stopwords = { words: [ {word: "Case Western Reserve", href: "/school/CWRU/mens/2009", nocase: true}, {word: "New York University", href: "/school/NYU/mens/2009", nocase: true}, {word: "Richard Stockton", href: "/school/RSTK/mens/2009", nocase: true}, {word: "William Paterson", href: "/school/WPU/mens/2009", nocase: true}, {word: "Carnegie Mellon", href: "/school/CMU/mens/2009", nocase: true}, {word: "Montclair State", href: "/school/MCLR/mens/2009", nocase: true}, {word: "New Jersey City", href: "/school/NJCU/mens/2009", nocase: true}, {word: "Rutgers-Camden", href: "/school/RUC/mens/2009", nocase: true}, {word: "Rutgers-Newark", href: "/school/RUN/mens/2009", nocase: true}, {word: "Washington U.", href: "/school/WSHU/mens/2009", nocase: true}, {word: "New Jersey", href: "/school/TCNJ/mens/2009", nocase: true}, {word: "Rochester", href: "/school/ROCH/mens/2009", nocase: true}, {word: "Brandeis", href: "/school/BRND/mens/2009", nocase: true}, {word: "Chicago", href: "/school/CHI/mens/2009", nocase: true}, {word: "Ramapo", href: "/school/RMPO/mens/2009", nocase: true}, {word: "Emory", href: "/school/EMRY/mens/2009", nocase: true}, {word: "Rowan", href: "/school/ROW/mens/2009", nocase: true}, {word: "Kean", href: "/school/KEAN/mens/2009", nocase: true}, {word: ["UAA", "University Athletic Association"], href: "/conf/UAA/mens/2009", nocase: true}, {word: ["NJAC", "New Jersey Athletic Conference"], href: "/conf/NJAC/mens/2009", 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: "Moss Schermerhorn", href: "http://www.pictureprints.net/identify/Washington+U./Moss+Schermerhorn", nocase: true, external: true}, {word: "Christian Taylor", href: "http://www.pictureprints.net/identify/Richard+Stockton/Christian+Taylor", nocase: true, external: true}, {word: "Coach Hutchinson", href: "http://www.pictureprints.net/identify/Richard+Stockton/Coach+Hutchinson", 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: "Santini Lancioni", href: "http://www.pictureprints.net/identify/Richard+Stockton/Santini+Lancioni", 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: "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: "Jerome Hubbard", href: "http://www.pictureprints.net/identify/Richard+Stockton/Jerome+Hubbard", nocase: true, external: true}, {word: "Phil Syversten", href: "http://www.pictureprints.net/identify/Washington+U./Phil+Syversten", 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: "Amanda Altman", href: "http://www.pictureprints.net/identify/Richard+Stockton/Amanda+Altman", 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: "Coach Mathews", href: "http://www.pictureprints.net/identify/Richard+Stockton/Coach+Mathews", 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: "Kai Massaquoi", href: "http://www.pictureprints.net/identify/Richard+Stockton/Kai+Massaquoi", nocase: true, external: true}, {word: "Leah Pocoroba", href: "http://www.pictureprints.net/identify/Richard+Stockton/Leah+Pocoroba", nocase: true, external: true}, {word: "Samantha Bean", href: "http://www.pictureprints.net/identify/Richard+Stockton/Samantha+Bean", nocase: true, external: true}, {word: "Sean Gatherer", href: "http://www.pictureprints.net/identify/Richard+Stockton/Sean+Gatherer", nocase: true, external: true}, {word: "Mark Edwards", href: "http://www.pictureprints.net/identify/Washington+U./Mark+Edwards", 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: "John Schael", href: "http://www.pictureprints.net/identify/Washington+U./John+Schael", 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: "John Wolfe", href: "http://www.pictureprints.net/identify/Washington+U./John+Wolfe", nocase: true, external: true}, {word: "Jon Greene", href: "http://www.pictureprints.net/identify/Richard+Stockton/Jon+Greene", nocase: true, external: true}, {word: "Omar Smith", href: "http://www.pictureprints.net/identify/Richard+Stockton/Omar+Smith", nocase: true, external: true}, {word: "Ray Wagner", href: "http://www.pictureprints.net/identify/Washington+U./Ray+Wagner", 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: "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