﻿function blurAnchors() {
    if (document.getElementsByTagName) {
        var a = document.getElementsByTagName("a");
        //collect all anchors A 
        for (var i = 0; i < a.length; i++) {
            // mouse onfocus, blur anchors 
            a[i].onfocus = function () { this.blur(); };
        }
    }
    //if (document.getElementsByTagName) {
        //var input = document.getElementsByTagName("input");
        //collect all anchors input
        //for (var i = 0; i < input.length; i++) {
            // mouse onfocus, blur anchors 
            //input[i].onfocus = function () { this.blur(); };
        //}
    //}
}
window.onload = blurAnchors;