Anaheim Ducks | NHL at CBSSports.com/* NHL mini depth chart */#miniDepthChart #mdcContent {background: transparent url('http://images.sportsline.com/images/depthcharts/nhl_453x351.jpg') left bottom no-repeat; width: 453px; height: 351px; position: relative; margin: auto; padding: 0px;}#miniDepthChart .depthChart {position: absolute; top: 0px; left: 0px; margin: 0px; padding: 0px;}#miniDepthChart .depthChart .unit {padding: 0px 5px; position: relative; display: inline; margin: 0px; border-right: 1px solid #000000;}#miniDepthChart .depthChart .last {border-right: 0px;}#miniDepthChart .depthChart .chartCnt {position: absolute; top: 0px; left: 0px; padding: 0px; margin: 0px; width: 453px;}#miniDepthChart .depthChart .chart {position: relative;}#miniDepthChart .depthChart .chart .position {float: left; z-index: 1; cursor: pointer; text-align: center; color: #000000; font-weight: bold; font-size: 15px; height: 23px; padding-bottom: 35px; background: transparent url('http://images.sportsline.com/images/depthcharts/nhl_player_icon.gif') bottom center no-repeat; text-align: center;}#miniDepthChart .depthChart .chart .playerListCnt {display: none; z-index: 2; border: 1px solid #636363; background-color: #fff;}#miniDepthChart .depthChart .chart .playerListCnt .playerList {font-weight: bold; list-style-type: none; background: #ffffff; padding: 5px; border: 2px solid #d5d5d5; margin: 0px;}#miniDepthChart .depthChart .chart .playerListCnt .playerList li {white-space: nowrap;}#miniDepthChart .depthChart .chart .playerListCnt .knob {position: absolute; left: -10px; top: 9px;}#miniDepthChart div.fc {padding: 8px 0px;}/* court formation: default */#pos_G, #pl_G {position: absolute; left: 203px; top: 15px;}#pos_LD, #pl_LD {position: absolute; left: 90px; top: 110px;}#pos_RD, #pl_RD {position: absolute; left: 230px; top: 110px;}#pos_LW, #pl_LW {position: absolute; left: 36px; top: 205px;}#pos_C, #pl_C {position: absolute; left: 203px; top: 205px;}#pos_RW, #pl_RW {position: absolute; left: 340px; top: 205px;}/* Fix playerlist positions due to long names and flip */#pl_G {left: 213px; top: 38px;}#pl_LD {left: 134px; top: 133px;}#pl_RD {left: 279px; top: 133px;}#pl_LW {left: 56px; top: 228px;}#pl_C {left: 214px; top: 228px;}#pl_RW {left: 365px; top: 228px;}if(typeof CBSi=="undefined"||!CBSi){var CBSi={}}CBSi.namespace=function(){var A=arguments,E=null,C,B,D;for(C=0;CCommunity Newsletters | .PUPlayer {font-family:arial,verdana,sans-serif;font-size:12px;line-height:1.3em;color:#000175;text-decoration:underline;cursor:pointer;cursor:hand;}.PUPlayerV {font-family:arial,verdana,sans-serif;font-size:12px;line-height:1.3em;color:#C64301;text-decoration:underline;cursor:pointer;cursor:hand;}.PUNews {font-family:arial,verdana,sans-serif;font-size:12px;color:black;padding:5px; margin:7px;display:none;}if (NS4) {document.write('\n.PUNews {display:block;}\n\n;');}var bullet = new Array(2);bullet[0]=new Image();bullet[0].src="http://images.sportsline.com/images/arrow-d.gif";bullet[1]=new Image();bullet[1].src="http://images.sportsline.com/images/arrow-r.gif";function toggleupdate(desc,pic) { if (DOM){ update = document.getElementById(desc).style; } else if (IE){ update = document.all[desc].style; } if (IE || DOM) { if ((update.display == "none")||(!update.display)) { update.display="block"; pic.src = bullet[0].src; } else { update.display="none"; pic.src = bullet[1].src; } } }/*These must be here because this file is used in places that do not use script.html*/var IE_tz = (document.all) ? 1 : 0;var MAC_tz = ((navigator.appVersion.indexOf("PPC") >0) || (navigator.appVersion.indexOf("Mac") >0)) ? 1 : 0;var DAYS = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");var days = new Array("Sun", "Mon", "Tues", "Wed", "Thurs", "Fri", "Sat");var MONTHS = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");var months = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");var tzOffset = "5";var tzAbbrev = 'ET';if(tzOffset.charAt(0) == "#upcomingGameBar {border: 1px solid #b6babd; margin: 10px; padding: 5px; height: 27px; .height: 39px; background: #393939 url('http://images.sportsline.com/images/cbss/ui2/bg_upcoming.gif') top left repeat-x; overflow: visible;}#upcomingGameBar * {color: #f1bb00;}#upcomingGameBar .matchup {float: left; width:600px}#upcomingGameBar .details {float: right; text-align: center;}#upcomingGameBar .teamIconSm {border: 1px solid #b6babd; margin: 3px 10px; float: left;}#upcomingGameBar .team, #upcomingGameBar .at, #upcomingGameBar .venue {float: left;}#upcomingGameBar .at {font-weight: bold; font-size: 18px; color: #ffffff; line-height: 27px; margin: 0px 10px 0px 20px;}#upcomingGameBar .weatherRow {color: #ffffff;}#upcomingGameBar .matchDate {line-height: 14px; color: #ffffff; font-size: 14px; font-weight: bold; margin: 0px 10px;}#upcomingGameBar .linksRow {line-height: 13px; margin: 0px 10px;}#upcomingGameBar .teamLink {font-weight: bold; font-size: 12px;}#upcomingGameBar .linkSm {font-size: 10px;} AT Team News div#TeamNews {position: relative; border: 1px solid #d8d8d8; margin-bottom: 10px;}div#TeamNews h4 {margin: 0; padding: 0; background: #e8e8e8; font-size: 11px; padding: 2px 8px;}div#TeamNews a#completeLink {display: none; background: #e8ecee; font-size: 11px; font-weight: bold; padding: 2px; border-top: 1px solid #d8d8d8; text-align: center;}div#TeamNews form {margin: 0; padding: 0; position: relative;}div#TeamNews form input#remSettings {position: absolute; right: 1px; display: none;}div#TeamNews ul.list {margin: 0 0 5px 0; padding: 5px; overflow: auto;}div#TeamNews ul.list li {float: left; list-style: none; padding: 5px 7px; .padding: 0 5px 0 0;}div#TeamNews ul.list li input {margin: 0; padding: 0;}div#TeamNews ul.content {margin: 0; padding: 0; clear: both; overflow: auto; .overflow: hidden;}div#TeamNews ul.content li {list-style: none; border: 1px solid #fff; line-height: 16px; height: 16px;}div#TeamNews ul.content li.off {display: none;}div#TeamNews ul.content li.on {display: block;}div#TeamNews ul.content li span.item {float: left; width: 140px; padding: 0 5px; font-weight: bold; overflow: hidden; white-space: nowrap; line-height: 16px; height: 16px;}div#TeamNews ul.content li div {display: block; .margin-left: 140px; vertical-align: text-top; overflow: hidden; white-space: nowrap; line-height: 16px; height: 16px; .width: 310px;}div#TeamNews ul.content li div table.commentBox {margin: 0 2px;}div#tooltip {position: absolute;}div#tooltip b {display: block;} Add/Remove Team News Complete Ducks News//-----------------------------------------------------------------------------var TeamNews = {//----------------------------------------------------------------------------- data : {"sections": {"section": [ { "item": [ { "change_date": "1226999464", "content_date": "1226999464", "content_id": "11115133", "link": "/nhl/teams/report/ANA/11115133", "synopsis": "While he isn't a former Norris Trophy winner like teammates Scott Niedermayer and Chris Pronger, Francois Beauchemin played nearly as big a role for the Ducks before suffering a torn anterior cruciate ligament in his left knee during Friday night's 4-3, overtime loss to the visiting Nashville Predators", "title": "Ducks report: Inside shots" }, { "change_date": "1226999464", "content_date": "1226999464", "content_id": "11115135", "link": "/nhl/teams/report/ANA/11115135", "synopsis": "GOALTENDERS Jean-Sebastien Giguere, Jonas Hiller.", "title": "Ducks report: Roster" }, { "change_date": "1226999464", "content_date": "1226999464", "content_id": "11115134", "link": "/nhl/teams/report/ANA/11115134", "synopsis": "--With defenseman Francois Beauchemin lost almost certainly for the season because of a torn anterior cruciate ligament in his left knee suffered during Friday night's 4-3, overtime loss to visiting Nashville, the Ducks recalled rookie defenseman Brett Festerling and left wing Bobby Ryan from American League affiliate Iowa", "title": "Ducks report: Notes, quotes" } ], "label": "Team Reports" }, { "item": { "change_date": "1226941910", "content_date": "1226848260", "content_id": "11111586", "link": "/nhl/gamecenter/recap/NHL_20081116_LA@ANA", "synopsis": "Jonas Hiller made 29 saves for his first NHL shutout and the Anaheim Ducks got goals from Corey Perry and defenseman Bret Hedican to beat the Los Angeles Kings 2-0 on Sunday night.", "title": "Ducks' Hiller notches first career shutout in victory against Kings" }, "label": "AP News" }, { "item": [ { "author": "None", "change_date": "1226916674", "content_date": "1226909461", "content_id": "11111720", "link": "/nhl/story/11111720", "provider": "The Orange County Register, Calif.", "synopsis": "ANAHEIM, Calif. - So far, so good for the Anaheim Ducks in the absence of injured defenseman Francois Beauchemin.", "title": "Ducks grind out 2-0 victory over Kings" }, { "author": "None", "change_date": "1226160702", "content_date": "1226160689", "content_id": "11091952", "link": "/nhl/story/11091952", "provider": "The Orange County Register, Calif.", "synopsis": "", "title": "Ducks fall to Stars" }, { "author": "None", "change_date": "1225897915", "content_date": "1225897882", "content_id": "11085278", "link": "/nhl/story/11085278", "provider": "The Orange County Register, Calif.", "synopsis": "LOS ANGELES - Chris Pronger scored 40 seconds into overtime to lift the Ducks to a 1-0 victory over the Kings on Tuesday night at Staples Center.", "title": "Ducks Edge the Kings in Overtime, 1-0, on Pronger's Goal" } ], "label": "Newspapers" }, { "item": { "change_date": "1226747508", "content_date": "1226747460", "content_id": "11108683", "link": "/nhl/story/11108683", "synopsis": "Anaheim Ducks defenseman Francois Beauchemin will miss about six months after tearing the anterior cruciate ligament in his left knee.", "title": "Ducks D Beauchemin out for six months with ACL tear" }, "label": "UWire" }, { "item": { "author": "Wes Goldstein", "change_date": "1225451437", "content_date": "1225361400", "content_id": "11072746", "link": "/nhl/story/11072746", "synopsis": "Playing its first games of the season near its home on the West Coast should have been an advantage for Anaheim, but in his NHL notebook, Wes Goldstein says it was only after the Ducks hit the road that they were able to fashion a remarkable turnaround from a disastrous start.", "title": "Notebook: It's a case of road sweet road for surging Ducks" }, "label": "CBSSports.com Experts" }, { "item": { "author": "Michael Hurcomb", "change_date": "1224828638", "content_date": "1224861000", "content_id": "11057064", "link": "/nhl/story/11057064", "synopsis": "Compiling news and notes for all 30 NHL teams for Fantasy purposes is no small feat. Our Michael Hurcomb shares everything he's read and analyzed over the past week for owners to digest before setting their Week 4 lineups in his Fantasy Hockey Planner.", "title": "Week 4 Fantasy Hockey Planner" }, "label": "Fantasy Experts" }, {"label": "CSTV"}, { "item": [ { "author": "None", "change_date": "1226913093", "content_date": "1226902282", "content_id": "11113671", "link": "http://bleacherreport.com/articles/82656-anaheim-ducks-weekly-recap-blessings-and-curses", "synopsis": "We open this week's review with a paradox: The Anaheim Ducks may finally be settling down now that they have a new general manager and two new players.", "title": "Anaheim Ducks Weekly Recap: Blessings and Curses" }, { "author": "None", "change_date": "1226740298", "content_date": "1226671904", "content_id": "11108533", "link": "http://bleacherreport.com/articles/82020-inconsistency-and-uncertainty-anaheim-ducks-one-month-review", "synopsis": "", "title": "Inconsistency and Uncertainty: Anaheim Ducks One-Month Review" }, { "author": "None", "change_date": "1226567475", "content_date": "1226495495", "content_id": "11103552", "link": "http://bleacherreport.com/articles/81081-brian-burke-and-the-anaheim-ducks-departure-and-legacy", "synopsis": "Sometimes it's astonishing how quickly situations change.", "title": "Brian Burke and the Anaheim Ducks: Departure and Legacy" } ], "label": "Bleacher Report" }]}}, sections : ["Team Reports","AP News","CBSSports.com Experts","Fantasy Experts","Newspapers","UWire","User Blogs","School Sites","Bleacher Report"], defaults : ["TSX Team Reports","Team Reports","AP News","CBSSports.com Experts","Fantasy Experts","Bleacher Report"], profile : {}, mode : 1, //0=full,1=small list : {}, item : [], //------------------------------------------------------------------------- init: function () { //------------------------------------------------------------------------- TeamNews.loadData(); if (TeamNews.data.sections) { document.getElementById("TeamNews").style.display = "block"; TeamNews.renderList(); TeamNews.renderContent(); TeamNews.queueContent(); } if (TeamNews.mode == 1) { document.getElementById("completeLink").style.display = "block"; document.getElementById("remSettings").style.display = "block"; } }, //------------------------------------------------------------------------- loadData: function () { //------------------------------------------------------------------------- //Load default settings from profile if (YAHOO.lang.isArray(TeamNews.profile.settings)) { TeamNews.defaults = TeamNews.profile.settings; } //Merge fantasy content into the dataset try { var fantasy = {"sections":{"section":[{"item":[{"link":"http://wes-goldstein.blogs.sportsline.com/mcc/blogs/entry/6269241/11661780","content_id":11661780,"change_date":1226537653,"author":"Wes Goldstein","synopsis":"Burke's bye bye","comment_number":0,"content_date":1226537653,"title":"Burke's bye bye"},{"link":"/nhl/story/11072746","content_id":11072746,"change_date":1225401900,"author":"Wes Goldstein","synopsis":"Playing its first games of the season near its home on the West Coast should have been an advantage for Anaheim, but in his NHL notebook, Wes Goldstein says it was only after the Ducks hit the road that they were able to fashion a remarkable turnaround from a disastrous start.","comment_number":0,"content_date":1225401900,"title":"Notebook: It's a case of road sweet road for surging Ducks"},{"link":"/nhl/story/11041566","content_id":11041566,"change_date":1224194220,"author":"Wes Goldstein","synopsis":"Are the Ducks over the hill? Nobody is making excuses, but Anaheim can't get things going out of the gate this season. Wes Goldstein says this is a team that better get it together soon before it's too late.","comment_number":7,"content_date":1224194220,"title":"Out-of-rhythm Ducks already in early season hole"},{"link":"/nhl/story/11001333","content_id":11001333,"change_date":1222711620,"author":"Wes Goldstein","synopsis":"Starting with still-ascending young guns Sidney Crosby and Alex Ovechkin, the NHL has all kinds of intriguing storylines Wes Goldstein can't wait to watch unfold.","comment_number":58,"content_date":1222711620,"title":"Storyline lowdown: Top 10 things to watch in 2008-09"},{"link":"/nhl/story/10992082","content_id":10992082,"change_date":1222205580,"author":"Wes Goldstein","synopsis":"From the Ducks to the Canucks, no team in the West is without uncertainty heading into the season. Who is a contender and who is a pretender? Wes Goldstein looks for answers.","comment_number":38,"content_date":1222205580,"title":"NHL burning questions: Western Conference"},{"link":"http://wes-goldstein.blogs.sportsline.com/mcc/blogs/entry/6269241/9227051","content_id":9227051,"change_date":1221488278,"author":"Wes Goldstein","synopsis":"Iggy's influence","comment_number":3,"content_date":1215478625,"title":"Iggy's influence"},{"link":"/nhl/story/10967469","content_id":10967469,"change_date":1220898960,"author":"Wes Goldstein","synopsis":"The Sharks will be the most talented team in the Pacific. But will they be the best? The Stars are fresh off a West finals appearance, and the Ducks are just one year removed from a Cup title. It's a deep group of teams out West, Wes Goldstein says.","comment_number":15,"content_date":1220898960,"title":"Training camp preview: Pacific Division"}],"label":"CBSSports.com Experts"},{"item":[{"link":"http://fantasynews.sportsline.com/fantasyhockey/story/11057064","content_id":11057064,"change_date":1224860580,"author":"Michael Hurcomb","synopsis":"Compiling news and notes for all 30 NHL teams for Fantasy purposes is no small feat. Our Michael Hurcomb shares everything he's read and analyzed over the past week for owners to digest before setting their Week 4 lineups in his Fantasy Hockey Planner.","comment_number":0,"content_date":1224860580,"title":"Week 4 Fantasy Hockey Planner"},{"link":"http://fantasynews.sportsline.com/fantasyhockey/story/11044331","content_id":11044331,"change_date":1224343380,"author":"Michael Hurcomb","synopsis":"Our Michael Hurcomb examines the goings on with all 30 NHL teams to get you ready for Fantays Week 3 in his latest Fantasy Hockey Planner.","comment_number":0,"content_date":1224343380,"title":"Week 3 Fantasy Hockey Planner"}],"label":"Fantasy Experts"},{"item":[{"link":"/mcc/blogs/entry/10714870/11693130","content_id":11693130,"author_url":"/mcc/authors/author/354383","author":"NHL Rumor Mill","change_date":1226689130,"comment_number":0,"synopsis":"Odds & Ends","content_date":1226689130,"title":"Odds & Ends"},{"link":"/mcc/blogs/entry/10714870/11676361","content_id":11676361,"author_url":"/mcc/authors/author/354383","author":"NHL Rumor Mill","change_date":1226685710,"comment_number":0,"synopsis":"Odds & Ends: Brian Burke edition","content_date":1226610834,"title":"Odds & Ends: Brian Burke edition"},{"link":"/mcc/blogs/entry/10714870/11675773","content_id":11675773,"author_url":"/mcc/authors/author/354383","author":"NHL Rumor Mill","change_date":1226609269,"comment_number":0,"synopsis":"Sundin Watch: Day 136","content_date":1226609269,"title":"Sundin Watch: Day 136"},{"link":"/mcc/blogs/entry/6315446/11523858","content_id":11523858,"author_url":"/mcc/authors/author/170956","author":"Jak-O","change_date":1225931734,"comment_number":4,"synopsis":"Red Wings Bye Week???","content_date":1225931734,"title":"Red Wings Bye Week???"},{"link":"/mcc/blogs/entry/6315446/11371504","content_id":11371504,"author_url":"/mcc/authors/author/170956","author":"Jak-O","change_date":1225244166,"comment_number":9,"synopsis":"Red Wings: West Coast Trip","content_date":1225244166,"title":"Red Wings: West Coast Trip"},{"link":"/mcc/blogs/entry/6182747/11369988","content_id":11369988,"author_url":"/mcc/authors/author/164059","author":"auxlepli","change_date":1225238985,"comment_number":0,"synopsis":"Grind Line coverage ","content_date":1225238670,"title":"Grind Line coverage "},{"link":"/mcc/blogs/entry/10714870/11234878","content_id":11234878,"author_url":"/mcc/authors/author/354383","author":"NHL Rumor Mill","change_date":1224607766,"comment_number":0,"synopsis":"Odds & Ends: Coaching & management edition","content_date":1224607766,"title":"Odds & Ends: Coaching & management edition"}],"label":"User Blogs"}]}}; for (var i = 0; i < fantasy.sections.section.length; i++) { TeamNews.data.sections.section.push(fantasy.sections.section[i]); } } catch (e) {} //Sort sections and load missing sections var section = new Array(); for (var i = 0; i < TeamNews.sections.length; i++) { var data = new Object(); data["label"] = TeamNews.sections[i]; for (var j = 0; j < TeamNews.data.sections.section.length; j++) { if (data["label"] == TeamNews.data.sections.section[j].label) { data["item"] = TeamNews.data.sections.section[j].item; break; } } section.push(data); } TeamNews.data.sections.section = section; }, //------------------------------------------------------------------------- renderList: function () { //------------------------------------------------------------------------- var div = document.getElementById("TeamNews"); var ul = div.getElementsByTagName("ul")[0]; for (var i = 0; i < TeamNews.data.sections.section.length; i++) { var section = TeamNews.data.sections.section[i]; var checkbox = document.createElement("input"); var label = document.createTextNode(section.label); var li = document.createElement("li"); checkbox.setAttribute("type","checkbox"); checkbox.setAttribute("name","teamnews"); checkbox.setAttribute("value",section.label); for (var j = 0; j < TeamNews.defaults.length; j++) { if ((section.label == TeamNews.defaults[j]) || (TeamNews.mode == 0)) { try { checkbox.defaultChecked = true; } catch (e) { checkbox.checked = true; } break; } } checkbox.onclick = TeamNews.queueContent; li.appendChild(checkbox); li.appendChild(label); ul.appendChild(li); } }, //------------------------------------------------------------------------- renderContent: function () { //------------------------------------------------------------------------- for (var i = 0; i < TeamNews.data.sections.section.length; i++) { var section = TeamNews.data.sections.section[i]; if (YAHOO.lang.isArray(section.item)) { for (var j = 0; j < section.item.length; j++) { section.item[j].label = section.label; section.item[j].group = i; TeamNews.item.push(section.item[j]); } } else if (section.item) { section.item.label = section.label; section.item.group = i; TeamNews.item.push(section.item); } else { var empty = new Object; empty.label = section.label; empty.group = i; empty.title = "There are no items for the selected content."; TeamNews.item.push(empty); } } TeamNews.item.sort(TeamNews.sortTime); TeamNews.item.reverse(); for (var i = 0; i < TeamNews.item.length; i++) { TeamNews.renderItem(i); } }, //------------------------------------------------------------------------- renderItem: function (i) { //------------------------------------------------------------------------- var div = document.getElementById("TeamNews"); var ul = div.getElementsByTagName("ul")[1]; var li = document.createElement("li"); var title = document.createTextNode(TeamNews.item[i].title); var span = document.createElement("span"); var posted = (TeamNews.item[i].content_date) ? new Date(TeamNews.item[i].content_date * 1000).toLocaleString() : new Date().toLocaleString(); var updated = (TeamNews.item[i].change_date) ? new Date(TeamNews.item[i].change_date * 1000).toLocaleString() : new Date().toLocaleString(); var posted = (TeamNews.item[i].change_date == TeamNews.item[i].content_date) ? "POSTED: "+posted : "UPDATED: "+updated; if (TeamNews.item[i].synopsis == undefined || TeamNews.item[i].synopsis == "null") var synopsis = TeamNews.item[i].title; else var synopsis = TeamNews.item[i].synopsis; var synopsis = ""+posted+""+synopsis; span.className = ("item"); span.innerHTML = TeamNews.renderLabel(i); //span.appendChild(document.createTextNode(TeamNews.renderLabel(i))); var div = document.createElement("div"); var a = document.createElement("a"); a.innerHTML = TeamNews.renderTitle(i); //a.appendChild(TeamNews.renderTitle(i)); a.onmouseover = function (a) { tooltipOn(synopsis, 0, a); }; a.onmouseout = tooltipOff; if (TeamNews.item[i].link != undefined) { //if (TeamNews.item[i].link.indexOf("http://") == 0) // a.setAttribute("target", "_blank"); a.setAttribute("href",TeamNews.item[i].link); } div.appendChild(a); if (TeamNews.item[i].comment_number) div.appendChild(TeamNews.renderCommentBox(i)); li.appendChild(span); li.appendChild(div); li.setAttribute("time", TeamNews.item[i].change_date); li.setAttribute("group", TeamNews.item[i].group); li.className = "off"; ul.appendChild(li); }, //------------------------------------------------------------------------- renderTitle: function (i) { //------------------------------------------------------------------------- var container = document.getElementById("TeamNews"); var width = container.offsetWidth; if (width) { width = width - 140; width = Math.ceil(width / 6.5); } var title = TeamNews.item[i].title; var hasComment = (TeamNews.item[i].comment_number) ? true : false; if (hasComment && title.length > width) { title = title.substr(0, width) + "..."; } return title; }, //------------------------------------------------------------------------- renderLabel: function (i) { //------------------------------------------------------------------------- var label = TeamNews.item[i].label; switch (label) { case "Newspapers": var source = TeamNews.item[i].provider; if (source != undefined) { var tokens = source.split(","); if (tokens) label = tokens[0]; } break; case "User Blogs": case "Fantasy Experts": case "CBSSports.com Experts": var source = TeamNews.item[i].author; if (source != undefined && source != "None") label = source; break; } return label; }, //------------------------------------------------------------------------- renderCommentBox: function (i) { //------------------------------------------------------------------------- var tr = document.createElement("tr"); var td = document.createElement("td"); td.className = "leftCap"; tr.appendChild(td); var message = "There have been "+TeamNews.item[i].comment_number+" comments on this story"; var span = document.createElement("span"); span.onmouseout = function () { tooltipOff(); } span.onmouseover = function (span) { tooltipOn(message, 0, span); } span.appendChild(document.createTextNode(TeamNews.item[i].comment_number)); var td = document.createElement("td"); td.className = "count"; td.appendChild(span); tr.appendChild(td); var td = document.createElement("td"); td.className = "rightCap"; tr.appendChild(td); var tbody = document.createElement("tbody"); tbody.appendChild(tr); var tr = document.createElement("tr"); var td = document.createElement("td"); td.className = "hook"; td.colSpan = 3; tr.appendChild(td); tbody.appendChild(tr); var table = document.createElement("table"); table.className = "commentBox"; table.border = 0; table.cellPadding = 0; table.cellSpacing = 0; table.appendChild(tbody); return table; }, //------------------------------------------------------------------------- sortTime: function (a, b) { //------------------------------------------------------------------------- var aa = a.change_date; var bb = b.change_date; aa = (aa) ? parseFloat(aa) : Number.MIN_VALUE; bb = (bb) ? parseFloat(bb) : Number.MIN_VALUE; aa = (isNaN(aa)) ? 0 : aa; bb = (isNaN(bb)) ? 0 : bb; return aa - bb; }, //------------------------------------------------------------------------- queueContent: function () { //------------------------------------------------------------------------- var div = document.getElementById("TeamNews"); var ul0 = div.getElementsByTagName("ul")[0]; var ul1 = div.getElementsByTagName("ul")[1]; var list = ul0.getElementsByTagName("input"); var item = ul1.getElementsByTagName("li"); for (var i = 0; i < item.length; i++) { item[i].className = "off"; for (var j = 0; j < list.length; j++) { if (list[j].checked && item[i].getAttribute("group") == j) { item[i].className = "on"; break; } } } }};YAHOO.util.Event.onDOMReady(TeamNews.init); Anaheim Ducks Fanatics Members: 6 Last Post:10 hours ago Top Team Groups I hate the anaheim ducks View All Groups Top Rated Ducks Fans wildcats6oh2 POZ NOT! BlueCollarIT b-man10101 ShoeShineBoy Top NHL Team Pages Red Wings (10,557 Fans) Message Board Penguins (7,345 Fans) Message Board Bruins (7,089 Fans) Message Board Flyers (6,998 Fans) Message Board Blackhawks (6,319 Fans) Message Board Rangers (6,294 Fans) Message Board Avalanche (4,939 Fans) Message Board Stars (4,343 Fans) Message Board Devils (3,450 Fans) Message Board Capitals (3,437 Fans) Message Board Help your team move up the list CBS Sports Store Anaheim Ducks Face-Off Match-Up Long Sleeve Crew$31.99 Shop Now! · Rbk Ducks Chris Pronger Premier Home Jersey$149.99· Ducks On Par II Adjustable Golf Hat w/ NHL Shield Magnetic Shop Now |
|