function togglePanel(){ var user = document.getElementById("users"); if(user.style.display === 'none' ){ user.style.display = 'flex'; } else{ user.style.display = 'none'; } }; function togglePanel1(){ var zajavki = document.getElementById("zajavki"); if(zajavki.style.display === 'none'){ zajavki.style.display = 'flex'; } else{ zajavki.style.display = 'none'; } }; function togglePanel2(){ var reviews = document.getElementById("reviews"); if(reviews.style.display === 'none'){ reviews.style.display = 'flex'; } else{ reviews.style.display = 'none'; } }; function togglePanel3(){ var warehouse = document.getElementById("warehouse"); if(warehouse.style.display === 'none'){ warehouse.style.display = 'flex'; } else{ warehouse.style.display = 'none'; } }; function togglePanel4(){ var add_product = document.getElementById("add_product"); if(add_product.style.display === 'none'){ add_product.style.display = 'flex'; } else{ add_product.style.display = 'none'; } }; function togglePanel5(){ var statistics = document.getElementById("statistics"); if(statistics.style.display === 'none'){ statistics.style.display = 'flex'; } else{ statistics.style.display = 'none'; } }; function togglePanel6(){ var orders = document.getElementById("orders"); if(orders.style.display === 'none'){ orders.style.display = 'flex'; } else{ orders.style.display = 'none'; } }; function openBasket(){ var Basket = document.getElementById("Basket"); if(Basket.style.display === 'none'){ Basket.style.display = 'flex'; } else{ Basket.style.display = 'none'; } }; function CloseBasket(){ var Basket = document.getElementById("Basket"); if(Basket.style.display === 'flex'){ Basket.style.display = 'none'; } }; function CloseBasket1(){ var Basket = document.getElementById("Basket1"); if(Basket.style.display === 'flex'){ Basket.style.display = 'none'; } }; function openBasket1(){ var Basket = document.getElementById("Basket1"); if(Basket.style.display === 'none'){ Basket.style.display = 'flex'; } else{ Basket.style.display = 'none'; } };