(function(){ var UA = {}; var ua = navigator.userAgent.toLowerCase(),s; (s = ua.match(/msie ([\d.]+)/)) ? UA.ie = s[1] : (s = ua.match(/firefox\/([\d.]+)/)) ? UA.firefox = s[1] : (s = ua.match(/chrome\/([\d.]+)/)) ? UA.chrome = s[1] : (s = ua.match(/opera.([\d.]+)/)) ? UA.opera = s[1] : (s = ua.match(/version\/([\d.]+).*safari/)) ? UA.safari = s[1] : 0; window.UA=UA; })(); var is_ie =!!UA.ie; var is_gecko=!!UA.firefox; var is_webkit=!!UA.chrome; var is_safari =!!UA.safari; var is_ie6 = UA.ie==6; if(is_ie6){ try{ document.execCommand("BackgroundImageCache", false, true); }catch(e){} } //comatibility.js (function () { if(!window.opera && !is_ie){ if (window.HTMLElement) { var hp = HTMLElement.prototype; function _attachEvent(o,e,h) { e=/^onmousewheel$/i.test(e)?"DOMMouseScroll":e.replace(/^on/i,""); return o.addEventListener(e, h, false) } hp.attachEvent = function(e, h) { return _attachEvent(this,e,h) }; window.attachEvent = function(e, h){ return _attachEvent(window, e, h) }; document.attachEvent = function(e, h){ return _attachEvent(window, e, h) }; function _detachEvent(o, e, h) { e=/^onmousewheel$/i.test(e)?"DOMMouseScroll":e.replace(/^on/i,""); return o.removeEventListener(e, h, false) } hp.detachEvent = function(e, h){ return _detachEvent(this, e, h) }; window.detachEvent = function(e, h){ return _detachEvent(window, e, h) }; document.detachEvent = function(e, h){ return _detachEvent(window, e, h) }; hp.__defineGetter__("children", function() { var tmp = []; var j = 0; var n; for (var i=0; i"+this.innerHTML+"" }); hp.__defineSetter__("innerText",function (sText){ var parsedText=document.createTextNode(sText); this.innerHTML=parsedText; return parsedText }); hp.__defineGetter__("innerText",function (){ var r=this.ownerDocument.createRange(); r.selectNodeContents(this); return r.toString () }); hp.__defineGetter__("uniqueID",function (){ if(!this.id){ this.id="control_"+parseInt(Math.random()*1000000) } return this.id }); hp.setCapture=function (){ document.onselectstart=function (){ return false }; window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP) }; hp.releaseCapture=function (){ document.onselectstart=null; window.releaseEvents(Event.MOUSEMOVE); window.releaseEvents(Event.MOUSEUP) } } } })(); document.write("