			var currentTime = new Date();
			var months = currentTime.getMonth() + 1;
			var days = currentTime.getDate();
			var year = currentTime.getFullYear();
			var channel = 1;
			function showLog(){
				$("#irclog").load("irclog.php?month="+months+"&day="+days+"&year="+year+"&channel="+channel);

			}

			function chooseMonth(m){
				months = m;
				showLog();
			}

			function chooseDay(d){
				days = d;
				showLog();
			}
			function chooseYear(y){
				year = y;
				showLog();
			}

			function chooseChannel(c){
				channel = c;
				showLog();
			}
