window.ActiveXObject&&!window.CanvasRenderingContext2D&&function(h,j){function D(e){this.code=e,this.message=T[e]}function U(e){this.width=e}function E(e){this.id=e.C++}function t(e){this.G=e,this.id=e.C++}function u(e,t){this.canvas=e,this.B=t,this.d=e.uniqueID,this.D(),this.C=0,this.t="";var r=this;setInterval(function(){n[r.d]===0&&r.e()},30)}function A(){if(j.readyState==="complete"){j.detachEvent(F,A);for(var e=j.getElementsByTagName(r),t=0,n=e.length;t=8?e.src:e.getAttribute("src",4)}function v(e){return(""+e).replace(/&/g,"&").replace(/0)return eval(this.B.CallFunction(''+a.join("�")+""))},I:function(t,n){this.e(),this.D(),t>0&&(this.B.width=t),n>0&&(this.B.height=n),this.a.push(e.resize,t,n)}},t.prototype={addColorStop:function(t,n){(isNaN(t)||t<0||t>1)&&i(1),this.G.a.push(e.addColorStop,this.id,t,n)}},D.prototype=Error();var T={1:"INDEX_SIZE_ERR",9:"NOT_SUPPORTED_ERR",11:"INVALID_STATE_ERR",12:"SYNTAX_ERR",17:"TYPE_MISMATCH_ERR",18:"SECURITY_ERR"},B={initElement:function(t){if(t.getContext)return t;var r=t.uniqueID,i="external"+r;x[r]=!1,n[r]=1,Q(t),t.innerHTML='',s[r]=t;var o=t.firstChild;y[r]=t.lastChild;var a=j.body.contains;if(a(t))o.movie=w;else var f=setInterval(function(){a(t)&&(clearInterval(f),o.movie=w)},0);if(j.compatMode==="BackCompat"||!h.XMLHttpRequest)y[r].style.overflow="hidden";var l=new u(t,o);return t.getContext=function(e){return e==="2d"?l:k},t.toDataURL=function(t,n){return(""+t).replace(/[A-Z]+/g,W)==="image/jpeg"?l.a.push(e.toDataURL,t,typeof n=="number"?n:""):l.a.push(e.toDataURL,t),l.e()},o.attachEvent(K,G),t},saveImage:function(e){e.firstChild.saveImage()},setOptions:function(){},trigger:function(e,t){s[e].fireEvent("on"+t)},unlock:function(e,t){n[e]&&--n[e];if(t){var r=s[e],i=r.firstChild,o,u;Q(r),o=r.width,u=r.height,r.style.width=o+"px",r.style.height=u+"px",o>0&&(i.width=o),u>0&&(i.height=u),i.resize(o,u),r.attachEvent(L,H),x[e]=!0}}};j.createElement(r),j.createStyleSheet().cssText=r+"{display:inline-block;overflow:hidden;width:300px;height:150px}",j.readyState==="complete"?A():j.attachEvent(F,A),h.attachEvent(J,I);if(w.indexOf(location.protocol+"//"+location.host+"/")===0){var S=new ActiveXObject("Microsoft.XMLHTTP");S.open("GET",w,!1),S.send(k)}h[M]=u,h[N]=t,h[O]=E,h[C]=B,h[P]={init:function(){},init_:function(){},initElement:B.initElement},keep=u.measureText}(window,document);