public static int containsStringAdvertisement(Element e, String s, String s2, String s3) {
		final NodeList nl = e.getElementsByTagName(s);
		final int length1 = nl.getLength();
		Element eAux = null;
		NamedNodeMap nnm = null;
		int result = 0;
		for (int i = 0 ; i < length1 ; ++i) {
			final NodeList nl2 = nl.item(i).getChildNodes();
			final int length2 = nl2.getLength();
			for (int j = 0 ; j < length2 ; ++j) {
				if (s2.equals((eAux = (Element) nl2.item(j)).getNodeName())) {
					final NodeList nl3 = eAux.getChildNodes();
					final int length3 = nl3.getLength();
					for (int k = 0 ; k < length3 ; ++k) {
						if (s3.equals((nl3.item(k).getNodeName()))) {
							boolean pub = false;
							nnm = nl3.item(k).getAttributes();
							final int length4 = nnm.getLength();
							for (int l = 0 ; l < length4 ; ++l){
								if ((nnm.item(l).toString().contains("publicit")) || (nnm.item(l).toString().contains("advertise"))){
									pub = true;
									break;
								}
							}
							if (!pub) {
								++result;							
							}
						}
					}
				}
			}
		}
		return result;
	}