jQuery(document).ready(function($) { $("#headerLiveHolder").airtimeLiveInfo({ sourceDomain: "http://gvoices.airtime.pro", updatePeriod: 20 //seconds }); $("#onAirToday").airtimeShowSchedule({ sourceDomain: "http://gvoices.airtime.pro", updatePeriod: 5, //seconds showLimit: 10 }); $("#scheduleTabs").airtimeWeekSchedule({ sourceDomain:"http://gvoices.airtime.pro", updatePeriod: 600 //seconds }); var d = new Date().getDay(); $("#scheduleTabs").tabs({selected: d === 0 ? 6 : d-1, fx: { opacity: "toggle" }}); });