﻿

function SelectAll(id)
{
    document.getElementById(id).focus();
    document.getElementById(id).select();
}


/* to remove ghost outline on links */

// var link_nohandler= window.clientInformation? null : window.undefined; function link_down() { this.onfocus= this.blur; } function link_up() { this.onfocus= link_nohandler; } function link_bind() {  for (var i= document.links.length; i-->0;) {  document.links[i].onmousedown= link_down; document.links[i].onmouseup= link_up;  } }




// Name: Blur Anchors 
// Language: JavaScript 
// Author: Travis Beckham ¦ squidfingers.com 
// Description: Remove anchor outlines from all links in the document 
// -------------------------------------------------- 
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();}; 
} 
} 
} 

addLoadEvent (window,'load',blurAnchors) 

/* helper function */ 

function addLoadEvent(func){if(document.getElementById&&document.createTextNode){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){oldonload();func();}}}} 
