function zscnewnsAddButton() {var aEl = document.createElement("a");aEl.id = "ns_button_zscnew";aEl.style.display = nsGetCookie("ns_frame_open_zscnew") == 1 ? "none" : "inline";aEl.href = 'javascript:void(window.open("//netsupport247.ru/client_chat_init/?id=zscnew", "", "width=529,height=500,left=0,top=0,resizable=1,menubar=0,location=0,status=1,scrollbars=1"));';var imgEl = document.createElement("img");imgEl.src = "//netsupport247.ru/image/?id=zscnew&type=chat";imgEl.alt = " ";aEl.appendChild(imgEl);aEl.appendChild(document.createElement("br"));aEl.innerHTML += " ";document.getElementById("ns_script_zscnew").appendChild(aEl);} zscnewnsAddButton();function nsSetCookie(name, value, expires, path, domain, secure) {document.cookie = name + "=" + escape(value) +((expires) ? "; expires=" + expires : "") +((path) ? "; path=" + path : "") +((domain) ? "; domain=" + domain : "") +((secure) ? "; secure" : "");}function nsGetCookie(name) {var cookie = " " + document.cookie;var search = " " + name + "=";var setStr = null;var offset = 0;var end = 0;if (cookie.length > 0) {offset = cookie.indexOf(search);if (offset != -1) {offset += search.length;end = cookie.indexOf(";", offset);if (end == -1) {end = cookie.length;}setStr = unescape(cookie.substring(offset, end));}}return(setStr);}