function $(id) {
	return document.getElementById(id);
}

function sa_getbyid(id) {
	itm = null;
	if (document.getElementById) {
		itm = document.getElementById(id);
	} else if (document.all)	{
		itm = document.all[id];
	} else if (document.layers) {
		itm = document.layers[id];
	}
	return itm;
}

function showhide(obj) {
	$(obj).style.display = $(obj).style.display == 'none' ? 'block' : 'none';
}
