//
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-01A
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([['Spring Training: Detroit Tigers vs. Toronto Blue Jays ','Publix Field at Joker Marchant Stadium','Lakeland, FL','Sunday','2/21/2027','TBD','8253345','Spring-Training--Detroit-Tigers-vs--Toronto-Blue-Jays--2-21-2027'],['Spring Training: Toronto Blue Jays vs. Detroit Tigers (SS)','TD Ballpark','Dunedin, FL','Friday','2/26/2027','1:07 PM','8253757','Spring-Training--Toronto-Blue-Jays-vs--Detroit-Tigers--SS--2-26-2027'],['Spring Training: Toronto Blue Jays vs. Detroit Tigers','TD Ballpark','Dunedin, FL','Friday','3/5/2027','1:07 PM','8253763','Spring-Training--Toronto-Blue-Jays-vs--Detroit-Tigers-3-5-2027'],['Spring Training: Detroit Tigers vs. Toronto Blue Jays (SS)','Publix Field at Joker Marchant Stadium','Lakeland, FL','Saturday','3/13/2027','TBD','8253357','Spring-Training--Detroit-Tigers-vs--Toronto-Blue-Jays--SS--3-13-2027'],['Spring Training: Toronto Blue Jays vs. Detroit Tigers','TD Ballpark','Dunedin, FL','Wednesday','3/17/2027','1:07 PM','8253779','Spring-Training--Toronto-Blue-Jays-vs--Detroit-Tigers-3-17-2027'],['Detroit Tigers vs. Toronto Blue Jays','Comerica Park','Detroit, MI','Friday','6/18/2027','TBD','8141538','Detroit-Tigers-vs--Toronto-Blue-Jays-6-18-2027'],['Detroit Tigers vs. Toronto Blue Jays','Comerica Park','Detroit, MI','Saturday','6/19/2027','TBD','8141540','Detroit-Tigers-vs--Toronto-Blue-Jays-6-19-2027'],['Detroit Tigers vs. Toronto Blue Jays','Comerica Park','Detroit, MI','Sunday','6/20/2027','TBD','8141542','Detroit-Tigers-vs--Toronto-Blue-Jays-6-20-2027']],'Toronto Blue Jays Detroit Tigers','http://www.ticketnetwork.com/en/search/?text=Toronto%20Blue%20Jays%20Detroit%20Tigers');