//
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 dateArray = row[4].split('/');
var date = months[dateArray[0]] + " " + dateArray[1];
var parking = row[0].split(':')[0]
if (parking !== "PARKING") {
return "
";
}
},
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 newResults = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newResults.join('') + '
';
} else
document.write('' + newResults.join('') + '
');
if(eventData.length >= 101 && kwds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css');
TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css');
TN_Widget.CreateTable([['Wild Horses Music Festival: Post Malone, Paul Cauthen, & Zach Top','Petco Park','San Diego, CA','Monday','12/30/2024','4:00 PM','6597229','Wild-Horses-Music-Festival--Post-Malone--Paul-Cauthen----Zach-Top-12-30-2024'],['Sand In My Boots: Morgan Wallen, Post Malone, Brooks and Dunn & Hardy - 3 Day Pass','Gulf Shores Beach','Gulf Shores, AL','Friday','5/16/2025','TBD','6774678','Sand-In-My-Boots--Morgan-Wallen--Post-Malone--Brooks-and-Dunn---Hardy---3-Day-Pass-5-16-2025'],['Posty Fest - 2 Day Pass','AT&T Stadium Parking Lots','Arlington, TX','Friday','10/30/2071','12:00 AM','4781327','Posty-Fest---2-Day-Pass-10-30-2071']],'Post Malone','http://www.ticketnetwork.com/en/search/?text=Post%20Malone');