function CUnlock(parent)
{
	this.parent = parent;
	
	this.reqs = new CReqs(this);
	
	this.load = function()
	{
		this.parent.showLoader();
		this.reqs.get("stats.unlock", "unlock", null);
	}
	
	this.requestCallback = function(type, data)
	{
		this.parent.hideLoader();
		mE("unlock-score").content(addCommas(data.unlockScore));
	}
	
	this.show = function(){	this.load(); gE("unlock").style.display = "block"; }
	this.hide = function(){	gE("unlock").style.display = "none"; }
}
