function Errorip(index, cursor) {
div.innerHTML = "<p>Error ip</p>";
div.innerHTML += "<p><input id=\"ipserver\" type=\"text\" size=\"12\">Need new ip or checking server</p>";
if (index == "1") {
div.innerHTML += "<button onclick=\"ipAdress('1', cursor)\">start</button>";
} else if (index == "2") {
div.innerHTML += "<button onclick=\"ipAdress('2', cursor)\">start</button>";
}
}