function hide(path) {
	document.getElementById(path).style.visibility = 'hidden';
}

function show(path) {
	document.getElementById(path).style.visibility = 'visible';
}

function changeMode(path) {
	if (document.getElementById(path).checked == false) {
		hide('rightText');
		hide('leftWidth');
		hide('rightBackground');
		hide('rightTextColor');
	} else {
		show('rightText');
		show('leftWidth');
		show('rightBackground');
		show('rightTextColor');
	}
}

function showHideWindow(path) {
	if (document.getElementById(path).style.display == 'none') {
		 document.getElementById(path).style.display = 'block';
	} else {
		document.getElementById(path).style.display = 'none';
	}
}