function hireMiner(){
	sendRequest("craftmine.php", "op=hireMiner", function(ret) {
			debitAccount(parseInt(ret.cost));
			data.miners = parseInt(ret.miners);
			updateData("miners");
		}
	)
}
	
function createGuild(){
	sendRequest("craftmine.php", "op=createGuild", function(ret) {
			showInfo("Your guild has been successfully created");
			debitAccount(parseInt(ret.cost));
		}
	)
}