// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-01B TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Dallas Cowboys Preseason Home Game 1 (Date: TBD)','AT&T Stadium','Arlington, TX','Monday','7/1/2024','TBD','6349864','Dallas-Cowboys-Preseason-Home-Game-1--Date--TBD--7-1-2024'],['Washington Commanders vs. Dallas Cowboys (Date: TBD)','Commanders Field','Landover, MD','Tuesday','7/2/2024','TBD','6349900','Washington-Commanders-vs--Dallas-Cowboys--Date--TBD--7-2-2024'],['Philadelphia Eagles vs. Dallas Cowboys (Date: TBD)','Lincoln Financial Field','Philadelphia, PA','Tuesday','7/2/2024','TBD','6349840','Philadelphia-Eagles-vs--Dallas-Cowboys--Date--TBD--7-2-2024'],['Dallas Cowboys vs. New York Giants (Date: TBD)','AT&T Stadium','Arlington, TX','Tuesday','7/2/2024','TBD','6349866','Dallas-Cowboys-vs--New-York-Giants--Date--TBD--7-2-2024'],['Dallas Cowboys vs. Philadelphia Eagles (Date: TBD)','AT&T Stadium','Arlington, TX','Wednesday','7/3/2024','TBD','6349868','Dallas-Cowboys-vs--Philadelphia-Eagles--Date--TBD--7-3-2024'],['Dallas Cowboys vs. Washington Commanders (Date: TBD)','AT&T Stadium','Arlington, TX','Thursday','7/4/2024','TBD','6349873','Dallas-Cowboys-vs--Washington-Commanders--Date--TBD--7-4-2024'],['Atlanta Falcons vs. Dallas Cowboys (Date: TBD)','Mercedes-Benz Stadium','Atlanta, GA','Friday','7/5/2024','TBD','6350198','Atlanta-Falcons-vs--Dallas-Cowboys--Date--TBD--7-5-2024'],['Dallas Cowboys vs. Baltimore Ravens (Date: TBD)','AT&T Stadium','Arlington, TX','Friday','7/5/2024','TBD','6349874','Dallas-Cowboys-vs--Baltimore-Ravens--Date--TBD--7-5-2024'],['Carolina Panthers vs. Dallas Cowboys (Date: TBD)','Bank Of America Stadium','Charlotte, NC','Saturday','7/6/2024','TBD','6350214','Carolina-Panthers-vs--Dallas-Cowboys--Date--TBD--7-6-2024'],['Pittsburgh Steelers vs. Dallas Cowboys (Date: TBD)','Acrisure Stadium','Pittsburgh, PA','Saturday','7/6/2024','TBD','6350020','Pittsburgh-Steelers-vs--Dallas-Cowboys--Date--TBD--7-6-2024'],['Cleveland Browns vs. Dallas Cowboys (Date: TBD)','Cleveland Browns Stadium','Cleveland, OH','Saturday','7/6/2024','TBD','6349994','Cleveland-Browns-vs--Dallas-Cowboys--Date--TBD--7-6-2024'],['Dallas Cowboys vs. Cincinnati Bengals (Date: TBD)','AT&T Stadium','Arlington, TX','Saturday','7/6/2024','TBD','6349876','Dallas-Cowboys-vs--Cincinnati-Bengals--Date--TBD--7-6-2024'],['Dallas Cowboys vs. New Orleans Saints (Date: TBD)','AT&T Stadium','Arlington, TX','Sunday','7/7/2024','TBD','6349885','Dallas-Cowboys-vs--New-Orleans-Saints--Date--TBD--7-7-2024'],['Dallas Cowboys vs. Tampa Bay Buccaneers (Date: TBD)','AT&T Stadium','Arlington, TX','Monday','7/8/2024','TBD','6349887','Dallas-Cowboys-vs--Tampa-Bay-Buccaneers--Date--TBD--7-8-2024'],['Dallas Cowboys vs. Detroit Lions (Date: TBD)','AT&T Stadium','Arlington, TX','Tuesday','7/9/2024','TBD','6349889','Dallas-Cowboys-vs--Detroit-Lions--Date--TBD--7-9-2024'],['Dallas Cowboys vs. Houston Texans (Date: TBD)','AT&T Stadium','Arlington, TX','Wednesday','7/10/2024','TBD','6349891','Dallas-Cowboys-vs--Houston-Texans--Date--TBD--7-10-2024'],['San Francisco 49ers vs. Dallas Cowboys (Date: TBD)','Levi's Stadium','Santa Clara, CA','Wednesday','7/10/2024','TBD','6350229','San-Francisco-49ers-vs--Dallas-Cowboys--Date--TBD--7-10-2024'],['New York Giants vs. Dallas Cowboys (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Saturday','7/13/2024','TBD','6349837','New-York-Giants-vs--Dallas-Cowboys--Date--TBD--7-13-2024'],['2024 Dallas Cowboys Season Tickets (Includes Tickets To All Regular Season Home Games)','AT&T Stadium','Arlington, TX','Saturday','9/7/2024','TBD','6262003','2024-Dallas-Cowboys-Season-Tickets--Includes-Tickets-To-All-Regular-Season-Home-Games--9-7-2024']],'','https://www.ticketnetwork.com');