//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
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,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Pink, The Script & KidCutUp','Rogers Arena','Vancouver, Canada','Saturday','9/7/2024','7:30 PM','5585955','Pink--The-Script---KidCutUp-9-7-2024'],['The Script','Roseland Theater','Portland, OR','Sunday','9/8/2024','7:30 PM','6453468','The-Script-9-8-2024'],['The Script','Fox Theater - Oakland','Oakland, CA','Tuesday','9/10/2024','7:30 PM','6453445','The-Script-9-10-2024'],['Pink, Sheryl Crow, The Script & KidCutUp','Petco Park','San Diego, CA','Wednesday','9/11/2024','6:30 PM','6131451','Pink--Sheryl-Crow--The-Script---KidCutUp-9-11-2024'],['Pink, Sheryl Crow, The Script & KidCutUp','Allegiant Stadium','Las Vegas, NV','Friday','9/13/2024','6:30 PM','6131452','Pink--Sheryl-Crow--The-Script---KidCutUp-9-13-2024'],['The Script','Marquee Theatre - AZ','Tempe, AZ','Saturday','9/14/2024','7:30 PM','6453476','The-Script-9-14-2024'],['Pink, Sheryl Crow, The Script & KidCutUp','Dodger Stadium','Los Angeles, CA','Sunday','9/15/2024','6:30 PM','6131454','Pink--Sheryl-Crow--The-Script---KidCutUp-9-15-2024'],['The Script','Brooklyn Paramount','Brooklyn, NY','Monday','9/30/2024','7:30 PM','6453446','The-Script-9-30-2024'],['Pink, Sheryl Crow, The Script & KidCutUp','Hersheypark Stadium','Hershey, PA','Tuesday','10/1/2024','6:30 PM','6131456','Pink--Sheryl-Crow--The-Script---KidCutUp-10-1-2024'],['Pink, Sheryl Crow, The Script & KidCutUp','MetLife Stadium','East Rutherford, NJ','Thursday','10/3/2024','6:30 PM','6131457','Pink--Sheryl-Crow--The-Script---KidCutUp-10-3-2024'],['The Script','Citizens House Of Blues - Boston','Boston, MA','Friday','10/4/2024','7:30 PM','6453447','The-Script-10-4-2024'],['Pink, Sheryl Crow, The Script & KidCutUp','JMA Wireless Dome','Syracuse, NY','Sunday','10/6/2024','6:30 PM','6131459','Pink--Sheryl-Crow--The-Script---KidCutUp-10-6-2024'],['The Script','The Fillmore Silver Spring','Silver Spring, MD','Monday','10/7/2024','8:00 PM','6453448','The-Script-10-7-2024'],['Pink, The Script & KidCutUp','Value City Arena at The Schottenstein Center','Columbus, OH','Wednesday','10/9/2024','7:30 PM','6227323','Pink--The-Script---KidCutUp-10-9-2024'],['The Script','Coca-Cola Roxy','Atlanta, GA','Friday','10/11/2024','7:30 PM','6453449','The-Script-10-11-2024'],['Pink, The Script & KidCutUp','Little Caesars Arena','Detroit, MI','Monday','10/14/2024','7:30 PM','6227324','Pink--The-Script---KidCutUp-10-14-2024'],['Pink, The Script & KidCutUp','Little Caesars Arena','Detroit, MI','Tuesday','10/15/2024','7:30 PM','6289156','Pink--The-Script---KidCutUp-10-15-2024'],['Pink, The Script & KidCutUp','Xcel Energy Center','Saint Paul, MN','Thursday','10/17/2024','7:30 PM','6289158','Pink--The-Script---KidCutUp-10-17-2024'],['Pink, The Script & KidCutUp','Xcel Energy Center','Saint Paul, MN','Friday','10/18/2024','7:30 PM','6227325','Pink--The-Script---KidCutUp-10-18-2024'],['Pink, The Script & KidCutUp','Pinnacle Bank Arena','Lincoln, NE','Sunday','10/20/2024','7:30 PM','6227326','Pink--The-Script---KidCutUp-10-20-2024'],['Pink, The Script & KidCutUp','Denny Sanford Premier Center','Sioux Falls, SD','Monday','10/21/2024','7:30 PM','6289153','Pink--The-Script---KidCutUp-10-21-2024'],['Pink, The Script & KidCutUp','Fiserv Forum','Milwaukee, WI','Wednesday','10/23/2024','7:30 PM','6289157','Pink--The-Script---KidCutUp-10-23-2024'],['Pink, The Script & KidCutUp','Wells Fargo Arena - IA','Des Moines, IA','Thursday','10/24/2024','7:30 PM','6340406','Pink--The-Script---KidCutUp-10-24-2024'],['The Script','O2 Arena - London','London, United Kingdom','Saturday','11/23/2024','TBD','6479041','The-Script-11-23-2024'],['The Script','Co-Op Live','Manchester, United Kingdom','Saturday','11/30/2024','8:00 PM','6506279','The-Script-11-30-2024']],'The Script','http://www.ticketnetwork.com/ticket/The-Script-events.aspx');