function switchTransparency(selection, which_column, which_div, kurasu) {

	if (selection == 'on') {
		document.getElementById(which_column).style.display="block";
		document.getElementById(which_div).style.display="block";
		document.getElementById(which_div).style.opacity="1.0";
		document.getElementById(which_div).style.filter="alpha(opacity=100)";
		document.getElementById(which_div).style.color="#222";
		/*document.getElementById(which_div).style.display="none";*/

		switch (kurasu)
		{
		case 'type1':
		document.getElementById(which_div).style.backgroundColor="#C4E1EB";
		break;
		
		case 'type2':
		document.getElementById(which_div).style.backgroundColor="#C3EAD3";
		break;
		
		case 'type3':
		document.getElementById(which_div).style.backgroundColor="#f3e4af";
		break;
		
		case 'type4':
		document.getElementById(which_div).style.backgroundColor="#ECE0DD";
		break;
		
		case 'type5':
		document.getElementById(which_div).style.backgroundColor="#E2E0F0";
		break;
		
		case 'type6':
		document.getElementById(which_div).style.backgroundColor="#B3D0DA";
		break;
		}	

	} else {
		document.getElementById(which_column).style.display="none";
		document.getElementById(which_div).style.display="block";
		document.getElementById(which_div).style.opacity=".8";
		document.getElementById(which_div).style.filter="alpha(opacity=80)";
		document.getElementById(which_div).style.color="#666";

		switch (kurasu)
		{
		case 'type1':
		document.getElementById(which_div).style.backgroundColor="#BBD7E0";
		break;
		
		case 'type2':
		document.getElementById(which_div).style.backgroundColor="#BBE0CA";
		break;
		
		case 'type3':
		document.getElementById(which_div).style.backgroundColor="#e6d8a5";
		break;
		
		case 'type4':
		document.getElementById(which_div).style.backgroundColor="#E0D4D1";
		break;
		
		case 'type5':
		document.getElementById(which_div).style.backgroundColor="#D2D1E0";
		break;
		
		case 'type6':
		document.getElementById(which_div).style.backgroundColor="#AAC6D0";
		break;
		}	

	}

}
