//
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-02A
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([['DJ Habibeats','The Midway - CA','San Francisco, CA','Saturday','2/22/2025','8:30 PM','6865370','DJ-Habibeats-2-22-2025'],['Kavinsky','The Midway - CA','San Francisco, CA','Thursday','2/27/2025','8:00 PM','6875944','Kavinsky-2-27-2025'],['Two Friends','The Midway - CA','San Francisco, CA','Friday','2/28/2025','9:00 PM','6716180','Two-Friends-2-28-2025'],['Artbat','The Midway - CA','San Francisco, CA','Saturday','3/1/2025','10:00 PM','6966590','Artbat-3-1-2025'],['Tape B','The Midway - CA','San Francisco, CA','Friday','3/14/2025','9:00 PM','6882171','Tape-B-3-14-2025'],['Aqutie ','The Midway - CA','San Francisco, CA','Saturday','3/15/2025','10:00 PM','6978933','Aqutie--3-15-2025'],['KSHMR','The Midway - CA','San Francisco, CA','Friday','3/21/2025','9:00 PM','6951415','KSHMR-3-21-2025'],['Bad Night Night - Bad Bunny Tribute ','The Midway - CA','San Francisco, CA','Saturday','3/22/2025','9:00 PM','6961998','Bad-Night-Night---Bad-Bunny-Tribute--3-22-2025'],['Rusko','The Midway - CA','San Francisco, CA','Friday','3/28/2025','8:30 PM','6936922','Rusko-3-28-2025'],['horsegiirL','The Midway - CA','San Francisco, CA','Friday','4/4/2025','10:00 PM','6990121','horsegiirL-4-4-2025']],'the midway san francisco','http://www.ticketnetwork.com/en/search/?text=the%20midway%20san%20francisco');