function filterTypeSelector1() {
window.alert('ok');
	$type = document.getElementById('month1').value;
	
	window.alert($type);

}

function displaycheck1() {

	$display1 = document.getElementById('displaycolumn1').checked;
	
	if($display1 == true)
		document.getElementById('row1').style.display = "inline";
		
	if($display1 == false)
		document.getElementById('row1').style.display = "none";

}

function displaycheck2() {

	$display2 = document.getElementById('displaycolumn2').checked;
	
	if($display2 == true)
		document.getElementById('row2').style.display = "inline";
		
	if($display2 == false)
		document.getElementById('row2').style.display = "none";

}

function showsectiontable() {

	var sectionids = new Array();
	sectionids[0] = 1;
	sectionids[1] = 2;
	sectionids[2] = 3;
	sectionids[3] = 4;

	var selectedsectionid = document.getElementById('sectionid').value;
	
	for (i=0;i<sectionids.length;i++) {
	
		if(document.getElementById('tablesection'+(i+1)).value != false) {
	
			if(sectionids[i] == selectedsectionid)
				document.getElementById('tablesection'+(i+1)).style.display = "block";
			else
				document.getElementById('tablesection'+(i+1)).style.display = "none";
				
		}
			
			
			
	}
	
	

}