if(childNamespace) { code = "setNameSpace(__cruft.namespace);\n" + name + "() {\n" + code + "\n}"; } else { code = "setNameSpace(__cruft.namespace);\n" + name + "(ns) {\n" + "setNameSpace(ns);" + code + "\n}"; }
code = "setNameSpace(__cruft.namespace);\n" + name + "(ns) {\n" + "setNameSpace(ns);" + code + "\n}";
	public static String cacheBlock(String id, String code, boolean childNamespace)	{		String name;		if(id == null)			name = "b_" + (cachedBlockCounter++);		else			name = "b_" + id;		if(childNamespace)		{			code = "setNameSpace(__cruft.namespace);\n"				+ name				+ "() {\n"				+ code				+ "\n}";		}		else		{			code = "setNameSpace(__cruft.namespace);\n"				+ name				+ "(ns) {\n"				+ "setNameSpace(ns);"				+ code				+ "\n}";		}		eval(null,code,false);		return name;	}