var showMenu=0;
var showMenu2=0;
var showMenu3=0;
var showMenu4=0;
var showMenu5=0;

function showHideDiv(a) {
	showMenu=a;	
}
function showHideDiv2(a) {
	showMenu2=a;	
}

function showHideDiv3(a) {
	showMenu3=a;	
}

function showHideDiv4(a) {
	showMenu4=a;	
}
function showHideDiv5(a) {
	showMenu5=a;	
}

setInterval('checkShowHideMenu()', 1000);

function checkShowHideMenu() {
	if(showMenu==1) {
		SBshowDescriptions();
	} else {
		SBhideDescriptions();
	}
	
	if(showMenu2==1) {
		SBshowDescriptions2();
	} else {
		SBhideDescriptions2();
	}
	
	if(showMenu3==1) {
		SBshowDescriptions3();
	} else {
		SBhideDescriptions3();
	}
	
	if(showMenu4==1) {
		SBshowDescriptions4();
	} else {
		SBhideDescriptions4();
	}
	
	if(showMenu5==1) {
		SBshowDescriptions5();
	} else {
		SBhideDescriptions5();
	}
}

function SBshowDescriptions() {
	if(document.getElementById("desc_content")){
		document.getElementById("desc_content").style.display = "block";
	}	
}

function SBhideDescriptions() {
	if(document.getElementById("desc_content")){
		document.getElementById("desc_content").style.display = "none";
	}	
}

function SBshowDescriptions2() {
	if(document.getElementById("desc_content2")){
		document.getElementById("desc_content2").style.display = "block";
	}	
}

function SBhideDescriptions2() {
	if(document.getElementById("desc_content2")){
		document.getElementById("desc_content2").style.display = "none";
	}	
}

function SBshowDescriptions3() {
	if(document.getElementById("desc_content3")){
		document.getElementById("desc_content3").style.display = "block";
	}	
}

function SBhideDescriptions3() {
	if(document.getElementById("desc_content3")){
		document.getElementById("desc_content3").style.display = "none";
	}	
}

function SBshowDescriptions4() {
	if(document.getElementById("desc_content4")){
		document.getElementById("desc_content4").style.display = "block";
	}	
}

function SBhideDescriptions4() {
	if(document.getElementById("desc_content4")){
		document.getElementById("desc_content4").style.display = "none";
	}	
}

function SBshowDescriptions5() {
	if(document.getElementById("desc_content5")){
		document.getElementById("desc_content5").style.display = "block";
	}	
}

function SBhideDescriptions5() {
	if(document.getElementById("desc_content5")){
		document.getElementById("desc_content5").style.display = "none";
	}	
}