private void saveLinks(ArrayList<Link> linkMap) throws ForceErrorException {

		int iCounter = 0;

		for (Link link : linkMap) {

			if (iCounter > Bot.linksFromUrl) {
				break;
			}

			if (Bot.datamodel.saveLink(link.getUrl())) {
				iCounter++;
			}
		}

	}