var current = "0";
function workSwitch(id){
	if(!document.getElementById) return false;
	var work = document.getElementById("work"+id);
	var curWork = document.getElementById("work"+current);
	if(current!="0"){
		curWork.style.display = "none";
	}
	if(current==id){
		work.style.display = "none";
		current = "0";
	} else {
		work.style.display = "block";
		current = id;
	}
}