function hidecurrent(current){
	if (document.body.id == "productspage" && current != "subproducts"){
		document.getElementById('subproducts').style.display = "none";
	} else if (document.body.id == "servicespage" && current != "subservices"){
		document.getElementById('subservices').style.display = "none";
	}
}
function showcurrent(current){
	if (document.body.id == "productspage" && current != "subproducts"){
		document.getElementById('subproducts').style.display = "block";
	} else if (document.body.id == "servicespage" && current != "subservices"){
		document.getElementById('subservices').style.display = "block";
	}
}