var article_new_tab; var article_info_tab; var article_news_tab; var article_events_tab; var article_new; var article_info; var article_news; var article_events; function buttons() { /* article_new_tab = document.getElementById("article_new_tab"); article_info_tab = document.getElementById("article_info_tab"); article_news_tab = document.getElementById("article_news_tab"); article_events_tab = document.getElementById("article_events_tab"); article_new = document.getElementById("article_new"); article_info = document.getElementById("article_info"); article_news = document.getElementById("article_news"); article_events = document.getElementById("article_events"); article_new_tab.addEventListener('click', function(event) { article_new.style.display = "block"; article_info.style.display = "none"; article_news.style.display = "none"; article_events.style.display = "none"; }, false); article_info_tab.addEventListener('click', function(event) { article_new.style.display = "none"; article_info.style.display = "block"; article_news.style.display = "none"; article_events.style.display = "none"; }, false); article_news_tab.addEventListener('click', function(event) { article_new.style.display = "none"; article_info.style.display = "none"; article_news.style.display = "block"; article_events.style.display = "none"; }, false); article_events_tab.addEventListener('click', function(event) { article_new.style.display = "none"; article_info.style.display = "none"; article_news.style.display = "none"; article_events.style.display = "block"; }, false); */ } function buttons_ie8() { /* article_new_tab = document.getElementById('article_new_tab'); article_info_tab = document.getElementById('article_info_tab'); article_news_tab = document.getElementById('article_news_tab'); article_events_tab = document.getElementById('article_events_tab'); article_new = document.getElementById('article_new'); article_info = document.getElementById('article_info'); article_news = document.getElementById('article_news'); article_events = document.getElementById('article_events'); article_new_tab.attachEvent('onclick', function(event) { article_new.style.display = "block"; article_info.style.display = "none"; article_news.style.display = "none"; article_events.style.display = "none"; }); article_info_tab.attachEvent('onclick', function(event) { article_new.style.display = "none"; article_info.style.display = "block"; article_news.style.display = "none"; article_events.style.display = "none"; }); article_news_tab.attachEvent('onclick', function(event) { article_new.style.display = "none"; article_info.style.display = "none"; article_news.style.display = "block"; article_events.style.display = "none"; }); article_events_tab.attachEvent('onclick', function(event) { article_new.style.display = "none"; article_info.style.display = "none"; article_news.style.display = "none"; article_events.style.display = "block"; }); */ }