//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://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[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ 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-04A
TN_Widget.CreateTable([['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Thursday','2/20/2025','7:00 PM','6954820','Always-A-Bridesmaids-2-20-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Thursday','2/20/2025','7:30 PM','6896521','Drunk-Shakespeare-2-20-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Friday','2/21/2025','7:00 PM','6958510','Always-A-Bridesmaids-2-21-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Friday','2/21/2025','7:00 PM','6896522','Drunk-Shakespeare-2-21-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Friday','2/21/2025','9:00 PM','6896523','Drunk-Shakespeare-2-21-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Saturday','2/22/2025','5:00 PM','6896524','Drunk-Shakespeare-2-22-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Saturday','2/22/2025','7:00 PM','6896525','Drunk-Shakespeare-2-22-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Saturday','2/22/2025','7:00 PM','6958511','Always-A-Bridesmaids-2-22-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Saturday','2/22/2025','9:00 PM','6896526','Drunk-Shakespeare-2-22-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Sunday','2/23/2025','2:00 PM','6958512','Always-A-Bridesmaids-2-23-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Sunday','2/23/2025','5:00 PM','6896527','Drunk-Shakespeare-2-23-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Monday','2/24/2025','7:30 PM','6896528','Drunk-Shakespeare-2-24-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Tuesday','2/25/2025','7:30 PM','6896529','Drunk-Shakespeare-2-25-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Wednesday','2/26/2025','2:00 PM','6958513','Always-A-Bridesmaids-2-26-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Wednesday','2/26/2025','7:30 PM','6896530','Drunk-Shakespeare-2-26-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Thursday','2/27/2025','7:00 PM','6958516','Always-A-Bridesmaids-2-27-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Thursday','2/27/2025','7:30 PM','6896531','Drunk-Shakespeare-2-27-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Friday','2/28/2025','7:00 PM','6958517','Always-A-Bridesmaids-2-28-2025'],['Drunk Shakespeare','Emerald Theatre - Houston','Houston, TX','Friday','2/28/2025','7:00 PM','6896532','Drunk-Shakespeare-2-28-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Saturday','3/1/2025','7:00 PM','6958519','Always-A-Bridesmaids-3-1-2025'],['Always A Bridesmaids','Emerald Coast Theatre','Miramar Beach, FL','Sunday','3/2/2025','2:00 PM','6958520','Always-A-Bridesmaids-3-2-2025'],['La Vie en Rouge','Emerald Coast Theatre','Miramar Beach, FL','Friday','3/7/2025','6:00 PM','6959936','La-Vie-en-Rouge-3-7-2025'],['Comedy on the Boulevard','Emerald Coast Theatre','Miramar Beach, FL','Saturday','3/8/2025','7:00 PM','6959937','Comedy-on-the-Boulevard-3-8-2025'],['Go, Dog, Go!','Emerald Coast Theatre','Miramar Beach, FL','Saturday','3/15/2025','2:00 PM','6954812','Go--Dog--Go--3-15-2025'],['Go, Dog, Go!','Emerald Coast Theatre','Miramar Beach, FL','Sunday','3/16/2025','2:00 PM','6958712','Go--Dog--Go--3-16-2025'],['The Tortoise and the Hare','Emerald Coast Theatre','Miramar Beach, FL','Saturday','3/29/2025','9:00 AM','6958857','The-Tortoise-and-the-Hare-3-29-2025'],['The Tortoise and the Hare','Emerald Coast Theatre','Miramar Beach, FL','Sunday','3/30/2025','2:00 PM','6958860','The-Tortoise-and-the-Hare-3-30-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Friday','5/2/2025','7:00 PM','6944138','Legally-Blonde-5-2-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Saturday','5/3/2025','7:00 PM','6944139','Legally-Blonde-5-3-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Sunday','5/4/2025','2:00 PM','6944140','Legally-Blonde-5-4-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Wednesday','5/7/2025','2:00 PM','6944141','Legally-Blonde-5-7-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Thursday','5/8/2025','7:00 PM','6944142','Legally-Blonde-5-8-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Friday','5/9/2025','7:00 PM','6944143','Legally-Blonde-5-9-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Saturday','5/10/2025','7:00 PM','6944144','Legally-Blonde-5-10-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Sunday','5/11/2025','2:00 PM','6944145','Legally-Blonde-5-11-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Wednesday','5/14/2025','2:00 PM','6944148','Legally-Blonde-5-14-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Thursday','5/15/2025','7:00 PM','6944149','Legally-Blonde-5-15-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Friday','5/16/2025','7:00 PM','6944150','Legally-Blonde-5-16-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Saturday','5/17/2025','7:00 PM','6944151','Legally-Blonde-5-17-2025'],['Legally Blonde','Emerald Coast Theatre','Miramar Beach, FL','Sunday','5/18/2025','2:00 PM','6944152','Legally-Blonde-5-18-2025']],'Emerald Theatre','https://www.ticketnetwork.com/ticket/Emerald-Theatre-events.aspx');