// 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 "
" + row[3].substring(0,3) + "
" + date + "" + row[5] + "
" + row[0] + "" + row[1] + ", " + row[2] + "
"; } }, 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 += '
See all events for '+ kwds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kwds + " on TicketNetwork.com
"); } } } }; }(); //BPW-TNSERV-02A 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([['Trisha Paytas','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','4/12/2025','8:00 PM','6965654','Trisha-Paytas-4-12-2025'],['beabadoobee','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Wednesday','4/16/2025','7:30 PM','6970584','beabadoobee-4-16-2025'],['Gabriel Iglesias','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Thursday','4/17/2025','8:00 PM','6929380','Gabriel-Iglesias-4-17-2025'],['Chelsea Handler','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','4/18/2025','8:00 PM','6443961','Chelsea-Handler-4-18-2025'],['Daniel Tosh','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','4/26/2025','8:00 PM','6818885','Daniel-Tosh-4-26-2025'],['Fisher - Artist','Marquee Dayclub at Cosmopolitan Hotel','Las Vegas, NV','Friday','5/16/2025','11:00 AM','7027567','Fisher---Artist-5-16-2025'],['Gabriel Iglesias','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Friday','5/23/2025','8:00 PM','6929381','Gabriel-Iglesias-5-23-2025'],['Gabriel Iglesias','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Saturday','5/24/2025','8:00 PM','6929382','Gabriel-Iglesias-5-24-2025'],['Marcello Hernandez','The Chelsea - The Cosmopolitan of Las Vegas','Las Vegas, NV','Sunday','5/25/2025','8:00 PM','6987897','Marcello-Hernandez-5-25-2025'],['Chris Lake','Marquee Dayclub at Cosmopolitan Hotel','Las Vegas, NV','Saturday','6/7/2025','11:00 AM','7026655','Chris-Lake-6-7-2025']],'The Cosmopolitan of Las Vegas','http://www.ticketnetwork.com/en/search/?text=The%20Cosmopolitan%20of%20Las%20Vegas');