var d3_rocks = {} d3_rocks.stopwords = { words: [ {word: "Washington and Jefferson", href: "/school/WJ/womens/2008", nocase: true}, {word: "Birmingham-Southern", href: "/school/BSC/womens/2008", nocase: true}, {word: "Westminster (Pa.)", href: "/school/WCPA/womens/2008", nocase: true}, {word: "Colorado College", href: "/school/COLO/womens/2008", nocase: true}, {word: "Trinity (Texas)", href: "/school/TRNU/womens/2008", nocase: true}, {word: "Southwestern", href: "/school/SWRN/womens/2008", nocase: true}, {word: "St. Vincent", href: "/school/SVIN/womens/2008", nocase: true}, {word: "Thomas More", href: "/school/TMRE/womens/2008", nocase: true}, {word: "Grove City", href: "/school/GCC/womens/2008", nocase: true}, {word: "Oglethorpe", href: "/school/OGLE/womens/2008", nocase: true}, {word: "Waynesburg", href: "/school/WAYN/womens/2008", nocase: true}, {word: "Millsaps", href: "/school/MSPS/womens/2008", nocase: true}, {word: "Bethany", href: "/school/BTHN/womens/2008", nocase: true}, {word: "Chatham", href: "/school/CHAT/womens/2008", nocase: true}, {word: "Hendrix", href: "/school/HDRX/womens/2008", nocase: true}, {word: "Sewanee", href: "/school/SWNE/womens/2008", nocase: true}, {word: "Austin", href: "/school/AUS/womens/2008", nocase: true}, {word: "Centre", href: "/school/CNTR/womens/2008", nocase: true}, {word: "DePauw", href: "/school/DPW/womens/2008", nocase: true}, {word: "Geneva", href: "/school/GNVA/womens/2008", nocase: true}, {word: "Rhodes", href: "/school/RHDS/womens/2008", nocase: true}, {word: "Thiel", href: "/school/THL/womens/2008", nocase: true}, {word: ["SCAC", "Southern Collegiate Athletic Conference"], href: "/conf/SCAC/womens/2008", nocase: true}, {word: ["PrAC", "Presidents' Athletic Conference"], href: "/conf/PrAC/womens/2008", nocase: true}, {word: "Shannon Dougherty", href: "http://www.pictureprints.net/identify/Oglethorpe/Shannon+Dougherty", nocase: true, external: true}, {word: "Brittany Corbett", href: "http://www.pictureprints.net/identify/Oglethorpe/Brittany+Corbett", nocase: true, external: true}, {word: "Jamie Osmanson", href: "http://www.pictureprints.net/identify/Oglethorpe/Jamie+Osmanson", nocase: true, external: true}, {word: "Kristina Grace", href: "http://www.pictureprints.net/identify/Oglethorpe/Kristina+Grace", nocase: true, external: true}, {word: "Courtney Reed", href: "http://www.pictureprints.net/identify/Oglethorpe/Courtney+Reed", nocase: true, external: true}, {word: "Hannah Brooks", href: "http://www.pictureprints.net/identify/Oglethorpe/Hannah+Brooks", nocase: true, external: true}, {word: "Katie Kulavic", href: "http://www.pictureprints.net/identify/Oglethorpe/Katie+Kulavic", nocase: true, external: true}, {word: "Anna Findley", href: "http://www.pictureprints.net/identify/Oglethorpe/Anna+Findley", nocase: true, external: true}, {word: "Biz Richmann", href: "http://www.pictureprints.net/identify/Oglethorpe/Biz+Richmann", nocase: true, external: true}, {word: "Anna Finley", href: "http://www.pictureprints.net/identify/Oglethorpe/Anna+Finley", nocase: true, external: true}, {word: "Molly Ernst", href: "http://www.pictureprints.net/identify/Oglethorpe/Molly+Ernst", nocase: true, external: true}, {word: "Ron Sattele", href: "http://www.pictureprints.net/identify/Oglethorpe/Ron+Sattele", nocase: true, external: true}, {word: "Erin Ernst", href: "http://www.pictureprints.net/identify/Oglethorpe/Erin+Ernst", nocase: true, external: true}, {word: "Tina Grace", href: "http://www.pictureprints.net/identify/Oglethorpe/Tina+Grace", 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