var currentlyActiveInputRef = false; var currentlyActiveInputClassName = false; function highlightActiveInput() { if(currentlyActiveInputRef) { currentlyActiveInputRef.className = currentlyActiveInputClassName; } currentlyActiveInputClassName = this.className; this.className = 'inputHighlighted'; currentlyActiveInputRef = this; } function blurActiveInput() { this.className = currentlyActiveInputClassName; } function initInputHighlightScript() { var tags = ['INPUT','TEXTAREA','PASSWORD','SELECT']; for(tagCounter=0;tagCounter Tag: After the tag *******/