docs: function showChildren(pid) {
  	// http://ibl.api.bbci.co.uk/ibl/v1/episodes/b04nv6kr?rights=mobile&availability=available&api_key=APIKEY
  	var query = nitro.newQuery();
  	query.add(ibl.commonRightsWeb);
  	query.add(ibl.commonAvailabilityAvailable);
  	nitro.make_request(ibl.host,ibl.getProgrammes(pid),ibl_key,query,{},function(obj){
  		for (var i in obj.programmes) {
  			var p = obj.programmes[i];
  			for (var j in p.initial_children) {
  				var c = p.initial_children[j];
  				console.log('*'+c.id+' '+c.type+' '+c.title+' '+c.subtitle);
  				//console.log(JSON.stringify(c,null,2));
  				if ((p.type == 'brand') || (p.type == 'series')) {
  					showChildren(p.id);
  				}
  			}
  		}
  	});
  }