public static Sandbox parse(HtmlElement element, String str){
		switch(str){
			case "allow-same-origin":
				return SAME_ORIGIN;
				
			case "allow-top-navigation":
				return TOP_NAVIGATION;
				
			case "allow-forms":
				return FORMS;
				
			case "allow-scripts":
				return SCRIPTS;
				
			default:
			case "":
				return NONE;
		}
	}