function open_phone() { $(".index_phone").css("backgroundImage", "url(https://cdn.ukrnames.com/theme/images/new/2/bg_phone_over.png)") $(".hidden_phone").show(); } function not_close(){ $(".hidden_phone").css("display", "block"); } function close_phone(){ $(".hidden_phone").css("display", "none"); $(".index_phone").css("backgroundImage", "url(https://cdn.ukrnames.com/theme/images/new/2/bg_phone.png)") } function open_phone2() { $(".index_phone2").css("backgroundImage", "url(https://cdn.ukrnames.com/theme/images/new/2/bg_phone_over.png)") $(".hidden_phone2").show(); } function not_close2(){ $(".hidden_phone2").css("display", "block"); } function close_phone2(){ $(".hidden_phone2").css("display", "none"); $(".index_phone2").css("backgroundImage", "url(https://cdn.ukrnames.com/theme/images/new/2/bg_phone.png)") } function open_icq() { $(".hidden_icq").show(); $(".index_icq").css("backgroundImage", "url(https://cdn.ukrnames.com/theme/images/new/2/bg_icq_over.png)") } function not_close_icq(){ $(".hidden_icq").css("display", "block"); } function close_icq(){ $(".hidden_icq").css("display", "none"); $(".index_icq").css("backgroundImage", "url(https://cdn.ukrnames.com/theme/images/new/2/bg_icq.gif)") }