// JavaScript Document
function toggleBox(id){
	var box = document.getElementById(id)
	if(box.style.display == 'inline'){
		box.style.display = 'none';
	}else{
		box.style.display = 'inline';			
	}
}
function toggleChecked(img){
	var iLen = String(img.src).length;
	if(String(img.src).substring(iLen-18)=='images/checked.png'){
		img.src='images/unchecked.png';
	}else{
		img.src='images/checked.png';
	}
}
function toggleSwitch(div1, div2){
	var box1 = document.getElementById(div1);
	var box2 = document.getElementById(div2);
	if(box1.style.display=='inline'){
		box1.style.display = 'none';
		box2.style.display = 'inline';
	}else{
		box1.style.display = 'inline';
		box2.style.display = 'none';
	}
}