function class_cache() {
	
	this.categorien;
	this.producten;
	this.pagina;
	this.paginas;
	this.albums;
	this.pictures;
	
	this.fill_categorien				= function (json) {
		
		this.categorien = json;
		
	};
	
	this.fill_producten					= function (id, json) {
		if (this.producten === undefined)
			this.producten = new Array();
		this.producten[id] = json;
		
	};
	
	this.fill_pagina					= function (json) {
		
		this.pagina = json;
		
	};
	
	this.fill_paginas					= function (json) {
		
		this.paginas = json;
		
	};
	
	this.fill_albums 					= function (json) {
		
		this.albums = json;
		
	};
	
	this.fill_pictures					= function (id, json) {
		if (this.pictures === undefined)
			this.pictures = new Array();
		this.pictures[id] = json;
		
	};
	
};
var cache = new class_cache();
