add: if (!document.forms.dialog) return; 
context: function setFocus(fieldName){	var field = "document.forms.dialog."+fieldName;	if(eval(field))	{		var focusMethod = eval(field+".focus");		if (focusMethod)		{			focusMethod();		}	}}
meta: 8498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8498/a9dbece80b9edbef7a21afcf2fe3da22ba64aa38/page.js/clean/HealthSuite/WebSite/lib/page.js