function gE(id) {
	return document.getElementById(id);
}
function sE(e) {
}
function hE(e) {
}
function isD(e) {
	return (e.style.display == 'block');
}
function sD(e) {
	if (e) {
		e.style.display = 'block';
	}
}
function hD(e) {
	if (e) {
		e.style.display = 'none';
	}
}
function tD(e) {
	if (e) {
		if (isD(e)) {
			hD(e);
		} else {
			sD(e);
		}
	}
}
function flulab_switch(ff,field) {
	g = gE(field+'_sel');
	if (isD(g))	{
		hD(g);
		ff.elements[field].selectedIndex = 0;
		sD(gE(field+'_txt'));
	} else {
		ff.elements[field+'2'].value = '';
		hD(gE(field+'_txt'));
		sD(g);
	}
}

window.onload = function() {
	s_2 = document.getElementsByTagName('LABEL');
	for (i=0; i<s_2.length; i++) {
		s_1 = s_2[i];
		s_1.onclick = function() {
			s_3 = this.parentNode;
			for (j=0; j<s_3.childNodes.length; j++) {
				if (s_3.childNodes[j].tagName == 'INPUT') {
					s_3.childNodes[j].click();
				}
			}
		}
	}
	if (gE('flulab_cal_b')) {
		Calendar.setup({});
	}
}
