var e = '@';
var mt = 'o:';
var ml = 'ma'+'il'+'t'+mt;
function menu(id, idArray, mode) {
	//alert('menu filter start...');
	if (id == null || idArray == null) return;
	status = '-';
	disp = '';
	if (document.getElementById('lm_p' + id).style.display == disp
	    || document.getElementById('lm_p' + id).style.display == '') {
		status = '+';
	}
	if (status == '+') {
		document.getElementById('lm_p' + id).style.display='none';
		document.getElementById('lm_m' + id).style.display=disp;
		for (i = 0; i < idArray.length; i++) {
			document.getElementById('lm_' + idArray[i]).style.display=disp;
		}
		return;
	}
	if (status == '-') {
		document.getElementById('lm_p' + id).style.display=disp;
		document.getElementById('lm_m' + id).style.display='none';
		for (i = 0; i < idArray.length; i++) {
			document.getElementById('lm_' + idArray[i]).style.display='none';
			if (mode ==2) {
				obj = document.getElementById('lm_p' + idArray[i]);
				if (obj != null) obj.style.display=disp;
				obj = document.getElementById('lm_m' + idArray[i]);
				if (obj != null) obj.style.display='none';
			}
		}
		return;
	}
}
function cellclick(url)	
{
	window.location.href=url;
}
function cursor(obj, mode) {
	//verify for netscape/mozilla
	var isNS4 = (navigator.appName=="Netscape")?1:0;
	if (!isNS4) {
		if (mode == 1) obj.style.cursor='hand';
		else obj.style.cursor='default';
	} else {
		if (mode == 1) obj.style.cursor='pointer';
		else obj.style.cursor='default';
	}
}
