function hideFocusBorders() {
	var theahrefs = document.getElementsByTagName("a");
	if (!theahrefs) { return; }
	for(var x=0;x!=theahrefs.length;x++) {
		theahrefs[x].onfocus = function stopLinkFocus() { this.hideFocus=true; };
	}
}

if (navigator.userAgent.indexOf('MSIE') !=-1) {
	hideFocusBorders();
}