whispercast.local.static.url = {
  initial: {
    regular: '/radiolynx/flv/normal',
    standby: '/radiolynx/flv/slow',

    small: '/radiolynx/flv/small'
  }
};

whispercast.local.static.s_cookie_id = 'events';
whispercast.local.static.p_cookie_id = 'whispercast';

whispercast.local.static.popup_id = 'events';

whispercast.local.static.popup_width = 648;
whispercast.local.static.popup_height = 408;

whispercast.local.mapURL = function(url) {
  var result = 'rtmp://radiolynx.ro/whispercast'+url;
  whispercast.log(result);
  return result;
}
whispercast.local.switchTo = function(event_id) {
  var L = whispercast.local;

  var url = L.setupURL('/events/'+event_id, '/events/'+event_id);
  L.player.getPlayer().setURL_(0, url.regular, url.standby, true);
}
