function show(id, pic){
	if (document.getElementById(id).style.visibility != 'visible'){		
		//document.images[pic].src = imgs[0];
		document.getElementById(id).style.visibility = 'visible';
		document.getElementById(id).style.display = 'block';		
	}
	else{		
		//document.images[pic].src = imgs[1];
		document.getElementById(id).style.visibility = 'hidden';
		document.getElementById(id).style.display = 'none';
	}
}

function show2(id, pic){
	if (document.getElementById(id).style.visibility != 'visible'){		
		//document.images[pic].src = imgs[0];
		document.getElementById(id).style.visibility = 'visible';
	}
	else{		
		//document.images[pic].src = imgs[1];
		document.getElementById(id).style.visibility = 'hidden';
	}
}

function showTwoUnit(id1, id2){
	if (document.getElementById(id1).style.visibility != 'visible') {		
		document.getElementById(id1).style.visibility = 'visible';
		document.getElementById(id2).style.visibility = 'visible';
	}
	else{		
		document.getElementById(id1).style.visibility = 'hidden';
		document.getElementById(id2).style.visibility = 'hidden';
	}
}