Browser = {
 IE: !!(window.attachEvent && navigator.userAgent.indexOf("Opera") === -1),
 Opera: navigator.userAgent.indexOf("Opera") > -1,
 WebKit: navigator.userAgent.indexOf("AppleWebKit/") > -1,
 Gecko: navigator.userAgent.indexOf("Gecko") > -1 && navigator.userAgent.indexOf("KHTML") === -1,
 MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/)
};

function $(s){return typeof s == "string" ? document.getElementById(s) : s;}
function $A(o){if(o.toArray){return o.toArray();}var l = o.length, r = new Array(l);while(l--){r[l] = o[l];}return r;}
Object.extend = function(d, s){for(var i in s){d[i] = s[i];}return d;};
Object.extendEx = function(d, s){
 var i, j;
 for(i in s){
  if(typeof d[i] == "undefined"){
   for(j in d){
    if(String(i).toLowerCase() === String(j).toLowerCase()){
     d[j] = s[i];
    }
   }
  }else{
   d[i] = s[i];
  }
 }
};
eF = function(){};

Function.prototype.bind = function(){
 var m = this, a = $A(arguments), c = a.shift();
 return function(){
  return m.apply(c, a);
 }
};

function onfocusATag(){
 var els = document.getElementsByTagName("a"), f, i;
 for(i = 0; i < els.length; i++){
  if(typeof (f = els[i].onfocus) == "function"){
   els[i].onfocus = function(e){e=e||window.event;var t=e.target||e.srcElement;t.blur();f();};
  }else{
   els[i].onfocus = function(e){e=e||window.event;var t=e.target||e.srcElement;t.blur();};
  }
 }
}

/* Autostart private DOMContentLoaded function  */
(function(){
 var timer;
 function DOMContentLoaded(){
  if(document.loaded) return;
  if(timer){window.clearTimeout(timer);}
   document.loaded = true;
   onfocusATag();
  }
 function checkReadyState(){
  if(document.readyState === 'complete'){
   document.onreadystatechange = function(){};
   document.onreadystatechange = null;
    DOMContentLoaded();
  }
 }
 function tryScroll(){
  try{
   document.documentElement.doScroll("left");
  }catch(e){
   timer = tryScroll.defer();
   return;
  }
  DOMContentLoaded();
 }
 if(document.addEventListener) {
  document.addEventListener("DOMContentLoaded", DOMContentLoaded, false);
 }else{
  document.onreadystatechange = checkReadyState;
  if(window == "top"){timer = tryScroll.delay(0.01);}
 }
 window.onload = DOMContentLoaded;
})();


