//
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-02A
TN_Widget.CreateTable([['Boyz II Men','Hollywood Bowl','Los Angeles, CA','Friday','9/13/2024','8:00 PM','6252508','Boyz-II-Men-9-13-2024'],['Boyz II Men','Hollywood Bowl','Los Angeles, CA','Saturday','9/14/2024','8:00 PM','6252509','Boyz-II-Men-9-14-2024'],['Boyz II Men','Hollywood Bowl','Los Angeles, CA','Sunday','9/15/2024','8:00 PM','6252510','Boyz-II-Men-9-15-2024'],['Boyz II Men','Seminole Hard Rock Tampa Event Center','Tampa, FL','Thursday','10/3/2024','8:00 PM','6582467','Boyz-II-Men-10-3-2024'],['Boyz II Men','Daily's Place Amphitheater','Jacksonville, FL','Friday','10/4/2024','8:00 PM','6582469','Boyz-II-Men-10-4-2024'],['Boyz II Men','Hard Rock Live At The Seminole Hard Rock Hotel & Casino - Hollywood','Fort Lauderdale, FL','Saturday','10/5/2024','8:00 PM','6582470','Boyz-II-Men-10-5-2024'],['Boyz II Men','BankPlus Amphitheatre at Snowden Grove','Southaven, MS','Thursday','10/10/2024','7:30 PM','6530822','Boyz-II-Men-10-10-2024'],['Magic Under The Stars: Boyz II Men, Robin Thicke & 112','The Cynthia Woods Mitchell Pavilion','Spring, TX','Saturday','10/12/2024','7:00 PM','6566632','Magic-Under-The-Stars--Boyz-II-Men--Robin-Thicke---112-10-12-2024'],['Boyz II Men','The Pavilion at Toyota Music Factory','Irving, TX','Sunday','10/13/2024','8:00 PM','6530825','Boyz-II-Men-10-13-2024'],['Boyz II Men & San Francisco Symphony','Davies Symphony Hall','San Francisco, CA','Tuesday','12/17/2024','7:30 PM','6583134','Boyz-II-Men---San-Francisco-Symphony-12-17-2024'],['Boyz II Men & San Francisco Symphony','Davies Symphony Hall','San Francisco, CA','Wednesday','12/18/2024','7:30 PM','6583135','Boyz-II-Men---San-Francisco-Symphony-12-18-2024'],['Boyz II Men','Lucas Oil Live At WinStar Casino','Thackerville, OK','Saturday','4/19/2025','8:00 PM','6684337','Boyz-II-Men-4-19-2025'],['Boyz II Men','Casino Rama Entertainment Centre','Rama, Canada','Thursday','7/17/2070','TBD','4431306','Boyz-II-Men-7-17-2070']],'The Men of Soul','http://www.ticketnetwork.com/ticket/The-Men-of-Soul-events.aspx');