function md() {
   if (document.getElementById) {
      var ac = String.fromCharCode(56+8);
      var mt = Array();
      mt[0] = String.fromCharCode(102+7);
      mt[1] = String.fromCharCode(91+6);
      mt[2] = String.fromCharCode(100+5);
      mt[3] = String.fromCharCode(104+4);
      mt[4] = String.fromCharCode(113+3);
      mt[5] = String.fromCharCode(109+2);
      mt[7] = String.fromCharCode(57+1);
      var elms = document.getElementsByTagName("a");
      for (var i=0; i < elms.length; i++) {
         try {
            var el = elms[i];
            var ma = el.firstChild;
            var d = el.lastChild;
            if (ma.nextSibling.firstChild.innerHTML == String.fromCharCode(38, 110, 98, 115, 112, 59, 91, 97, 116, 93, 38, 110, 98, 115, 112, 59)
             || ma.nextSibling.firstChild.innerHTML == String.fromCharCode(32, 91, 97, 116, 93, 32)
             || ma.nextSibling.firstChild.innerHTML == String.fromCharCode(160, 91, 97, 116, 93, 160)) {
               ma.nextSibling.firstChild.innerHTML = ac;
               el.href = mt.join("") + ma.data + ac + d.data;
            }
         }
         catch (e) {}
      }
   }
}

// Dean Edwards/Matthias Miller/John Resig
function init() {
	// quit if this function has already been called
	if (arguments.callee.done) return;

	// flag this function so we don't do the same thing twice
	arguments.callee.done = true;

	// kill the timer
	if (_timer) clearInterval(_timer);

	// do stuff
	md();
};

/* for Mozilla/Opera9 */
if (document.addEventListener && !/Opera/i.test(navigator.userAgent)) {
	document.addEventListener("DOMContentLoaded", init, false);
}

/* for Internet Explorer */
/*@cc_on @*/
/*@if (@_win32)
	document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
	var script = document.getElementById("__ie_onload");
	script.onreadystatechange = function() {
		if (this.readyState == "complete") {
			init(); // call the onload handler
		}
	};
/*@end @*/

/* for Safari */
if (/WebKit/i.test(navigator.userAgent)) { // sniff
	var _timer = setInterval(function() {
		if (/loaded|complete/.test(document.readyState)) {
			init(); // call the onload handler
		}
	}, 10);
}

/* for other browsers */
window.onload = init;

