if (!document.addEventListener) { // IE6~IE8 document.write('<script src="ieBetter.js"><\/script>'); }