private  void decode(String str) {	
	if (str.substring(0, 22).compareTo("{\"result\":[{\"name\":\"d/") != 0) return; // Not good 
	if (str.substring(22, str.indexOf("\",\"v")).compareTo(domain) != 0) return; // The domain is right
	
	// Next few lines are just to delete junk
	String map = str.substring(str.indexOf("\"map\\\":")+7 , str.indexOf("}}"));
	
	String siste = map.substring(map.indexOf("{\\\"\\\":")+6);
	System.out.println(siste);
	
	// Split the answers
	String[] temp = siste.split(",");
	
// Go trough the answers and split questin:answer	
String nullsvar = ""; // The answer if there is no sub domain
for(int i =0; i < temp.length ; i++) {
	// Spm:svar
	String spm = "";
	String svar = "";
	if (temp[i].contains(":")) {
		spm = temp[i].substring(0,temp[i].indexOf(":"));	
		spm = getCont(spm);
		svar = temp[i].substring(temp[i].indexOf(":"));	
		svar = getCont(svar);
	}
	else
	{
		svar = getCont(temp[i]);
	}

	if (spm.compareTo("") == 0) {
		nullsvar = svar;
	}

	if (spm.compareTo(sub) == 0) {
		 answer = svar;		
	}
	}

	if (answer.compareTo("") == 0) answer = nullsvar;
	answer = answer.replace(" ", ""); // take away spaces
	System.out.println(qdomain + " = " + answer);
}