function SetFocus() {
	f=document.forms[0];
	if (!f) return;

	// If point 'don`t change focus'
	if (f.id == 'NotSetFocus') return;

	for(id=0; id<f.length; id++) {
		// If 'text' or 'textarea' set focus
		if (f[id].type == 'text' || f[id].type == 'textarea') {
			f[id].focus();
			return;
		}
	}
}
