function g(namex){
	if (document.getElementById){
		return document.getElementById(namex);
	}else if (document.all){
		return document.all[namex];
	}else{
		return null;
	}
}