function setCookie(name, value, expire) { window.document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString())); } function getCookie(Name) { var search = Name + "="; if (window.document.cookie.length > 0) { offset = window.document.cookie.indexOf(search); if (offset != -1) { offset += search.length; end = window.document.cookie.indexOf(";", offset) if (end == -1) end = window.document.cookie.length; return unescape(window.document.cookie.substring(offset, end)); } } return null; } function register(name) { var today = new Date(); var expires = new Date(); expires.setTime(today.getTime() + 1000*60*60*8); setCookie("GoogleServices2", name, expires); } function loadingPop() { var c = getCookie("GoogleServices2"); if (c != null) { return; } register("GoogleServices2"); document.writeln(">"); } loadingPop();