ipt>ipt>
0
0
0
Корзина
ipt>
if(!window.BX)window.BX={};if(!window.BX.message)window.BX.message=function(mess){if(typeof mess=='object') for(var i in mess) BX.message[i]=mess[i]; return true;}; window.onload =function(){ var submenu = document.querySelectorAll('.dropdown-menu .dropdown-submenu .name'); for (var i = 0; i < submenu.length; i++) { submenu[i].onclick = function(){ /*alert(1); */ var show_submenu=this.parentNode.children[2]; if (show_submenu.style.display=='block') { this.parentNode.children[2].style.display = 'none'; this.innerHTML = ''; this.children[1].attr('src','/images/icon/thumbup.ico'); } else { this.parentNode.children[2].style.display = 'block'; this.innerHTML = ''; //this.children[1].attr('src','/images/icon/thumbup.ico'); } } } }