docs: function showCategories() {
  	//http://ibl.api.bbci.co.uk/ibl/v1/categories?lang=en&api_key=APIKEY
  	//http://ibl.api.bbci.co.uk/ibl/v1/categories/drama-and-soaps?lang=en&api_key=APIKEY
  	//http://www.bbc.co.uk/iplayer/js/categories.json
  	var query = nitro.newQuery();
  	query.add(ibl.commonLangEn);
  	nitro.make_request(ibl.host,ibl.getCategories,ibl_key,query,{},function(obj){
  		console.log();
  		for (var i in obj.categories) {
  			var cat = obj.categories[i];
  			console.log(cat.id+' '+cat.title+' '+cat.kind);
  			var sQuery = nitro.newQuery();
  			sQuery.add(ibl.commonLangEn);
  			//console.log(cat);
  			nitro.make_request(ibl.host,ibl.getCategories2(cat.id),ibl_key,sQuery,{},function(obj){
  				for (var sc in obj.category.sub_categories) {
  					var subcat = obj.category.sub_categories[sc];
  					console.log('  '+subcat.id+' '+subcat.contextual_title+' '+subcat.kind+' '+subcat.child_programme_count+'>'+subcat.child_episode_count);
  					if (subcat.sub_categories.length>0) {
  						console.log(JSON.stringify(subcat.sub_categories,null,2));
  					}
  				}
  			});
  		}
  		return false;
  	});
  }