//
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([['Simone Biles','The O'Shaughnessy','Saint Paul, MN','Wednesday','9/30/2026','6:30 PM','8182939','Simone-Biles-9-30-2026'],['2027 ACC Gymnastics Championship - All Sessions Pass','First Horizon Coliseum At Greensboro Complex','Greensboro, NC','Saturday','3/20/2027','TBD','8076379','2027-ACC-Gymnastics-Championship---All-Sessions-Pass-3-20-2027'],['SEC Gymnastics Championship','Benchmark International Arena','Tampa, FL','Saturday','3/20/2027','TBD','8057478','SEC-Gymnastics-Championship-3-20-2027'],['NCAA Women's Gymnastics Championship: Regional - All Sessions Pass','Stegeman Coliseum','Athens, GA','Wednesday','3/31/2027','TBD','7920987','NCAA-Women-s-Gymnastics-Championship--Regional---All-Sessions-Pass-3-31-2027'],['NCAA Women's Gymnastics Championship: Regional - All Sessions Pass','James T. Valvano Arena at Reynolds Coliseum','Raleigh, NC','Wednesday','3/31/2027','TBD','7920988','NCAA-Women-s-Gymnastics-Championship--Regional---All-Sessions-Pass-3-31-2027'],['NCAA Women's Gymnastics Championship: Regional - All Sessions Pass','Bud Walton Arena','Fayetteville, AR','Wednesday','3/31/2027','TBD','7920985','NCAA-Women-s-Gymnastics-Championship--Regional---All-Sessions-Pass-3-31-2027'],['NCAA Women's Gymnastics Championship: Regional - All Sessions Pass','Magness Arena','Denver, CO','Wednesday','3/31/2027','TBD','7920986','NCAA-Women-s-Gymnastics-Championship--Regional---All-Sessions-Pass-3-31-2027'],['NCAA Women's Gymnastics Championship - All Sessions Pass','Dickies Arena','Fort Worth, TX','Thursday','4/15/2027','TBD','7920989','NCAA-Women-s-Gymnastics-Championship---All-Sessions-Pass-4-15-2027'],['LA28 Summer Games: Trampoline Gymnastics - GTR01','Crypto.com Arena','Los Angeles, CA','Friday','7/21/2028','12:30 PM','7855311','LA28-Summer-Games--Trampoline-Gymnastics---GTR01-7-21-2028'],['LA28 Summer Games: Trampoline Gymnastics - GTR02','Crypto.com Arena','Los Angeles, CA','Friday','7/21/2028','8:00 PM','7855313','LA28-Summer-Games--Trampoline-Gymnastics---GTR02-7-21-2028'],['LA28 Summer Games: Artistic Gymnastics - GAR15','Crypto.com Arena','Los Angeles, CA','Tuesday','7/25/2028','4:00 PM','7854378','LA28-Summer-Games--Artistic-Gymnastics---GAR15-7-25-2028'],['LA28 Summer Games: Rhythmic Gymnastics - GRY01','Galen Center','Los Angeles, CA','Thursday','7/27/2028','12:30 PM','7855846','LA28-Summer-Games--Rhythmic-Gymnastics---GRY01-7-27-2028'],['LA28 Summer Games: Rhythmic Gymnastics - GRY02','Galen Center','Los Angeles, CA','Thursday','7/27/2028','5:30 PM','7855849','LA28-Summer-Games--Rhythmic-Gymnastics---GRY02-7-27-2028'],['LA28 Summer Games: Rhythmic Gymnastics - GRY04','Galen Center','Los Angeles, CA','Friday','7/28/2028','6:00 PM','7855853','LA28-Summer-Games--Rhythmic-Gymnastics---GRY04-7-28-2028'],['LA28 Summer Games: Rhythmic Gymnastics - GRY05','Galen Center','Los Angeles, CA','Saturday','7/29/2028','1:00 PM','7855854','LA28-Summer-Games--Rhythmic-Gymnastics---GRY05-7-29-2028'],['Sports Illustrated Women's Games: Gymnastics','Frontwave Arena','Oceanside, CA','Thursday','10/31/2075','6:00 PM','7352103','Sports-Illustrated-Women-s-Games--Gymnastics-10-31-2075']],'Gymnastics','http://www.ticketnetwork.com/ticket/Gymnastics-events.aspx');