function $(id) {
	var obj = null;
	if(document.getElementById) {
		obj = document.getElementById(id);
	}else if(document.all){
		obj = document.all[id];
	}
	return obj;
}

function toggle(id) {
	//alert(id);
	disp=$(id).style.display=='none' ? 'block' : 'none';
	$(id).style.display = disp;	
}
