function registerTagName_FocusEffect(tagName){
	var arrInput=document.getElementsByTagName(tagName);
	for(var i=0; i<arrInput.length; i++)
		if(arrInput[i].className=='onBlur'){
			var inp=arrInput[i];
			inp.onfocus=function(){
				this.className='onFocus';
			}
			inp.onblur=function(){
				this.className='onBlur';
			}
		}
	return true;
}
function addFocusEffects(){
	var arrTagName=Array('input', 'textarea', 'select');
	for(var i=0; i<arrTagName.length; i++)
		registerTagName_FocusEffect(arrTagName[i]);
	return true;
}
addEvent(window, 'load', addFocusEffects, true);
