// JavaScript Document
//控制INPUT控件获得焦点与失去焦点时的CLASSNAME
window.onload = function() {
    var ipt = document.getElementsByTagName("input");
    if (ipt != null) {
        for (i = 0; i < ipt.length; i++) {
            if (ipt[i].type == "text" || ipt[i].type == "password") {
                ipt[i].className = 'input_blur';
//                ipt[i].onfocus = function() {
//                    this.className = 'input_focus';
//                }
//                ipt[i].onblur = function() {
//                    this.className = 'input_blur';
//                }
            }
        }
    }
}
//-------------------------------------------------------