<!--
PIE: CSS3 rendering for IE
Version 1.0.0
http://css3pie.com
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
-->
<PUBLIC:COMPONENT lightWeight="true">
<!-- saved from url=(0014)about:internet -->
<PUBLIC:ATTACH EVENT="oncontentready" FOR="element" ONEVENT="init()" />
<PUBLIC:ATTACH EVENT="ondocumentready" FOR="element" ONEVENT="init()" />
<PUBLIC:ATTACH EVENT="ondetach" FOR="element" ONEVENT="cleanup()" />

<script type="text/javascript">
function init(){if(doc.media!=="print"){var a=window["PIE"];if(a){a["attach"](el)}}}function cleanup(){if(doc.media!=="print"){var a=window["PIE"];if(a){a["detach"](el);el=0}}}var doc=element.document;var PIE=window["PIE"];if(!PIE){PIE=window["PIE"]={CSS_PREFIX:"-pie-",STYLE_PREFIX:"Pie",CLASS_PREFIX:"pie_",tableCellTags:{TD:1,TH:1},childlessElements:{TABLE:1,THEAD:1,TBODY:1,TFOOT:1,TR:1,INPUT:1,TEXTAREA:1,SELECT:1,OPTION:1,IMG:1,HR:1},focusableElements:{A:1,INPUT:1,TEXTAREA:1,SELECT:1,BUTTON:1},inputButtonTypes:{submit:1,button:1,reset:1},emptyFn:function(){}};try{doc.execCommand("BackgroundImageCache",false,true)}catch(e){}(function(){var a=4,b=doc.createElement("div"),c=b.getElementsByTagName("i"),d;while(b.innerHTML="<!--[if gt IE "+ ++a+"]><i></i><![endif]-->",c[0]){}PIE.ieVersion=a;if(a===6){PIE.CSS_PREFIX=PIE.CSS_PREFIX.replace(/^-/,"")}PIE.ieDocMode=doc.documentMode||PIE.ieVersion;b.innerHTML='<v:shape adj="1"/>';d=b.firstChild;d.style["behavior"]="url(#default#VML)";PIE.supportsVML=typeof d["adj"]==="object"})();(function(){var a,b=0,c={};PIE.Util={createVmlElement:function(b){var c="css3vml";if(!a){a=doc.createDocumentFragment();a.namespaces.add(c,"urn:schemas-microsoft-com:vml")}return a.createElement(c+":"+b)},getUID:function(a){return a&&a["_pieId"]||(a["_pieId"]="_"+ ++b)},merge:function(a){var b,c,d,e,f=arguments;for(b=1,c=f.length;b<c;b++){e=f[b];for(d in e){if(e.hasOwnProperty(d)){a[d]=e[d]}}}return a},withImageSize:function(a,b,d){var e=c[a],f,g;if(e){if(Object.prototype.toString.call(e)==="[object Array]"){e.push([b,d])}else{b.call(d,e)}}else{g=c[a]=[[b,d]];f=new Image;f.onload=function(){e=c[a]={w:f.width,h:f.height};for(var b=0,d=g.length;b<d;b++){g[b][0].call(g[b][1],e)}f.onload=null};f.src=a}}}})();PIE.GradientUtil={getGradientMetrics:function(a,b,c,d){function s(){k=e>=90&&e<270?b:0;l=e<180?c:0;m=b-k;n=c-l}function t(){while(e<0){e+=360}e=e%360}var e=d.angle,f=d.gradientStart,g,h,i,j,k,l,m,n,o,p,q,r;if(f){f=f.coords(a,b,c);g=f.x;h=f.y}if(e){e=e.degrees();t();s();if(!f){g=k;h=l}q=PIE.GradientUtil.perpendicularIntersect(g,h,e,m,n);i=q[0];j=q[1]}else if(f){i=b-g;j=c-h}else{g=h=i=0;j=c}o=i-g;p=j-h;if(e===r){e=!o?p<0?90:270:!p?o<0?180:0:-Math.atan2(p,o)/Math.PI*180;t();s()}return{angle:e,startX:g,startY:h,endX:i,endY:j,startCornerX:k,startCornerY:l,endCornerX:m,endCornerY:n,deltaX:o,deltaY:p,lineLength:PIE.GradientUtil.distance(g,h,i,j)}},perpendicularIntersect:function(a,b,c,d,e){if(c===0||c===180){return[d,b]}else if(c===90||c===270){return[a,e]}else{var f=Math.tan(-c*Math.PI/180),g=f*a-b,h=-1/f,i=h*d-e,j=h-f,k=(i-g)/j,l=(f*i-h*g)/j;return[k,l]}},distance:function(a,b,c,d){var e=c-a,f=d-b;return Math.abs(e===0?f:f===0?e:Math.sqrt(e*e+f*f))}};PIE.Observable=function(){this.observers=[];this.indexes={}};PIE.Observable.prototype={observe:function(a){var b=PIE.Util.getUID(a),c=this.indexes,d=this.observers;if(!(b in c)){c[b]=d.length;d.push(a)}},unobserve:function(a){var b=PIE.Util.getUID(a),c=this.indexes;if(b&&b in c){delete this.observers[c[b]];delete c[b]}},fire:function(){var a=this.observers,b=a.length;while(b--){a[b]&&a[b]()}}};PIE.Heartbeat=new PIE.Observable;PIE.Heartbeat.run=function(){var a=this,b;if(!a.running){b=doc.documentElement.currentStyle.getAttribute(PIE.CSS_PREFIX+"poll-interval")||250;(function c(){a.fire();setTimeout(c,b)})();a.running=1}};(function(){function a(){PIE.OnUnload.fire();window.detachEvent("onunload",a);window["PIE"]=null}PIE.OnUnload=new PIE.Observable;window.attachEvent("onunload",a);PIE.OnUnload.attachManagedEvent=function(a,b,c){a.attachEvent(b,c);this.observe(function(){a.detachEvent(b,c)})}})();PIE.OnResize=new PIE.Observable;PIE.OnUnload.attachManagedEvent(window,"onresize",function(){PIE.OnResize.fire()});(function(){function a(){PIE.OnScroll.fire()}PIE.OnScroll=new PIE.Observable;PIE.OnUnload.attachManagedEvent(window,"onscroll",a);PIE.OnResize.observe(a)})();(function(){function b(){a=PIE.Element.destroyAll()}function c(){if(a){for(var b=0,c=a.length;b<c;b++){PIE["attach"](a[b])}a=0}}var a;if(PIE.ieDocMode<9){PIE.OnUnload.attachManagedEvent(window,"onbeforeprint",b);PIE.OnUnload.attachManagedEvent(window,"onafterprint",c)}})();PIE.OnMouseup=new PIE.Observable;PIE.OnUnload.attachManagedEvent(doc,"onmouseup",function(){PIE.OnMouseup.fire()});PIE.Length=function(){function h(a){this.val=a}var a=doc.createElement("length-calc"),b=doc.body||doc.documentElement,c=a.style,d={},e=["mm","cm","in","pt","pc"],f=e.length,g={};c.position="absolute";c.top=c.left="-9999px";b.appendChild(a);while(f--){c.width="100"+e[f];d[e[f]]=a.offsetWidth/100}b.removeChild(a);c.width="1em";h.prototype={unitRE:/(px|em|ex|mm|cm|in|pt|pc|%)$/,getNumber:function(){var a=this.num,b;if(a===b){a=this.num=parseFloat(this.val)}return a},getUnit:function(){var a=this.unit,b;if(!a){b=this.val.match(this.unitRE);a=this.unit=b&&b[0]||"px"}return a},isPercentage:function(){return this.getUnit()==="%"},pixels:function(a,b){var c=this.getNumber(),e=this.getUnit();switch(e){case"px":return c;case"%":return c*(typeof b==="function"?b():b)/100;case"em":return c*this.getEmPixels(a);case"ex":return c*this.getEmPixels(a)/2;default:return c*d[e]}},getEmPixels:function(b){var c=b.currentStyle.fontSize,d,e,f;if(c.indexOf("px")>0){return parseFloat(c)}else if(b.tagName in PIE.childlessElements){f=this;e=b.parentNode;return PIE.getLength(c).pixels(e,function(){return f.getEmPixels(e)})}else{b.appendChild(a);d=a.offsetWidth;if(a.parentNode===b){b.removeChild(a)}return d}}};PIE.getLength=function(a){return g[a]||(g[a]=new h(a))};return h}();PIE.BgPosition=function(){function d(a){this.tokens=a}var a=PIE.getLength("50%"),b={top:1,center:1,bottom:1},c={left:1,center:1,right:1};d.prototype={getValues:function(){if(!this._values){var d=this.tokens,e=d.length,f=PIE.Tokenizer,g=f.Type,h=PIE.getLength("0"),i=g.IDENT,j=g.LENGTH,k=g.PERCENT,l,m,n=["left",h,"top",h];if(e===1){d.push(new f.Token(i,"center"));e++}if(e===2){if(i&(d[0].tokenType|d[1].tokenType)&&d[0].tokenValue in b&&d[1].tokenValue in c){d.push(d.shift())}if(d[0].tokenType&i){if(d[0].tokenValue==="center"){n[1]=a}else{n[0]=d[0].tokenValue}}else if(d[0].isLengthOrPercent()){n[1]=PIE.getLength(d[0].tokenValue)}if(d[1].tokenType&i){if(d[1].tokenValue==="center"){n[3]=a}else{n[2]=d[1].tokenValue}}else if(d[1].isLengthOrPercent()){n[3]=PIE.getLength(d[1].tokenValue)}}else{}this._values=n}return this._values},coords:function(a,b,c){var d=this.getValues(),e=d[1].pixels(a,b),f=d[3].pixels(a,c);return{x:d[0]==="right"?b-e:e,y:d[2]==="bottom"?c-f:f}}};return d}();PIE.BgSize=function(){function d(a,b){this.w=a;this.h=b}var a="contain",b="cover",c="auto";d.prototype={pixels:function(d,e,f,g,h){var i=this,j=i.w,k=i.h,l=e/f,m=g/h;if(j===a){j=m>l?e:f*m;k=m>l?e/m:f}else if(j===b){j=m<l?e:f*m;k=m<l?e/m:f}else if(j===c){k=k===c?h:k.pixels(d,f);j=k*m}else{j=j.pixels(d,e);k=k===c?j/m:k.pixels(d,f)}return{w:j,h:k}}};d.DEFAULT=new d(c,c);return d}();PIE.Angle=function(){function a(a){this.val=a}a.prototype={unitRE:/[a-z]+$/i,getUnit:function(){return this._unit||(this._unit=this.val.match(this.unitRE)[0].toLowerCase())},degrees:function(){var a=this._deg,b,c;if(a===undefined){b=this.getUnit();c=parseFloat(this.val,10);a=this._deg=b==="deg"?c:b==="rad"?c/Math.PI*180:b==="grad"?c/400*360:b==="turn"?c*360:0}return a}};return a}();PIE.Color=function(){function b(a){this.val=a}var a={};b.rgbaRE=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d+|\d*\.\d+)\s*\)\s*/;b.names={aliceblue:"F0F8FF",antiquewhite:"FAEBD7",aqua:"0FF",aquamarine:"7FFFD4",azure:"F0FFFF",beige:"F5F5DC",bisque:"FFE4C4",black:"000",blanchedalmond:"FFEBCD",blue:"00F",blueviolet:"8A2BE2",brown:"A52A2A",burlywood:"DEB887",cadetblue:"5F9EA0",chartreuse:"7FFF00",chocolate:"D2691E",coral:"FF7F50",cornflowerblue:"6495ED",cornsilk:"FFF8DC",crimson:"DC143C",cyan:"0FF",darkblue:"00008B",darkcyan:"008B8B",darkgoldenrod:"B8860B",darkgray:"A9A9A9",darkgreen:"006400",darkkhaki:"BDB76B",darkmagenta:"8B008B",darkolivegreen:"556B2F",darkorange:"FF8C00",darkorchid:"9932CC",darkred:"8B0000",darksalmon:"E9967A",darkseagreen:"8FBC8F",darkslateblue:"483D8B",darkslategray:"2F4F4F",darkturquoise:"00CED1",darkviolet:"9400D3",deeppink:"FF1493",deepskyblue:"00BFFF",dimgray:"696969",dodgerblue:"1E90FF",firebrick:"B22222",floralwhite:"FFFAF0",forestgreen:"228B22",fuchsia:"F0F",gainsboro:"DCDCDC",ghostwhite:"F8F8FF",gold:"FFD700",goldenrod:"DAA520",gray:"808080",green:"008000",greenyellow:"ADFF2F",honeydew:"F0FFF0",hotpink:"FF69B4",indianred:"CD5C5C",indigo:"4B0082",ivory:"FFFFF0",khaki:"F0E68C",lavender:"E6E6FA",lavenderblush:"FFF0F5",lawngreen:"7CFC00",lemonchiffon:"FFFACD",lightblue:"ADD8E6",lightcoral:"F08080",lightcyan:"E0FFFF",lightgoldenrodyellow:"FAFAD2",lightgreen:"90EE90",lightgrey:"D3D3D3",lightpink:"FFB6C1",lightsalmon:"FFA07A",lightseagreen:"20B2AA",lightskyblue:"87CEFA",lightslategray:"789",lightsteelblue:"B0C4DE",lightyellow:"FFFFE0",lime:"0F0",limegreen:"32CD32",linen:"FAF0E6",magenta:"F0F",maroon:"800000",mediumauqamarine:"66CDAA",mediumblue:"0000CD",mediumorchid:"BA55D3",mediumpurple:"9370D8",mediumseagreen:"3CB371",mediumslateblue:"7B68EE",mediumspringgreen:"00FA9A",mediumturquoise:"48D1CC",mediumvioletred:"C71585",midnightblue:"191970",mintcream:"F5FFFA",mistyrose:"FFE4E1",moccasin:"FFE4B5",navajowhite:"FFDEAD",navy:"000080",oldlace:"FDF5E6",olive:"808000",olivedrab:"688E23",orange:"FFA500",orangered:"FF4500",orchid:"DA70D6",palegoldenrod:"EEE8AA",palegreen:"98FB98",paleturquoise:"AFEEEE",palevioletred:"D87093",papayawhip:"FFEFD5",peachpuff:"FFDAB9",peru:"CD853F",pink:"FFC0CB",plum:"DDA0DD",powderblue:"B0E0E6",purple:"800080",red:"F00",rosybrown:"BC8F8F",royalblue:"4169E1",saddlebrown:"8B4513",salmon:"FA8072",sandybrown:"F4A460",seagreen:"2E8B57",seashell:"FFF5EE",sienna:"A0522D",silver:"C0C0C0",skyblue:"87CEEB",slateblue:"6A5ACD",slategray:"708090",snow:"FFFAFA",springgreen:"00FF7F",steelblue:"4682B4",tan:"D2B48C",teal:"008080",thistle:"D8BFD8",tomato:"FF6347",turquoise:"40E0D0",violet:"EE82EE",wheat:"F5DEB3",white:"FFF",whitesmoke:"F5F5F5",yellow:"FF0",yellowgreen:"9ACD32"};b.prototype={parse:function(){if(!this._color){var a=this,c=a.val,d,e=c.match(b.rgbaRE);if(e){a._color="rgb("+e[1]+","+e[2]+","+e[3]+")";a._alpha=parseFloat(e[4])}else{if((d=c.toLowerCase())in b.names){c="#"+b.names[d]}a._color=c;a._alpha=c==="transparent"?0:1}}},colorValue:function(a){this.parse();return this._color==="currentColor"?a.currentStyle.color:this._color},alpha:function(){this.parse();return this._alpha}};PIE.getColor=function(c){return a[c]||(a[c]=new b(c))};return b}();PIE.Tokenizer=function(){function a(a){this.css=a;this.ch=0;this.tokens=[];this.tokenIndex=0}var b=a.Type={ANGLE:1,CHARACTER:2,COLOR:4,DIMEN:8,FUNCTION:16,IDENT:32,LENGTH:64,NUMBER:128,OPERATOR:256,PERCENT:512,STRING:1024,URL:2048};a.Token=function(a,b){this.tokenType=a;this.tokenValue=b};a.Token.prototype={isLength:function(){return this.tokenType&b.LENGTH||this.tokenType&b.NUMBER&&this.tokenValue==="0"},isLengthOrPercent:function(){return this.isLength()||this.tokenType&b.PERCENT}};a.prototype={whitespace:/\s/,number:/^[\+\-]?(\d*\.)?\d+/,url:/^url\(\s*("([^"]*)"|'([^']*)'|([!#$%&*-~]*))\s*\)/i,ident:/^\-?[_a-z][\w-]*/i,string:/^("([^"]*)"|'([^']*)')/,operator:/^[\/,]/,hash:/^#[\w]+/,hashColor:/^#([\da-f]{6}|[\da-f]{3})/i,unitTypes:{px:b.LENGTH,em:b.LENGTH,ex:b.LENGTH,mm:b.LENGTH,cm:b.LENGTH,"in":b.LENGTH,pt:b.LENGTH,pc:b.LENGTH,deg:b.ANGLE,rad:b.ANGLE,grad:b.ANGLE},colorFunctions:{rgb:1,rgba:1,hsl:1,hsla:1},next:function(c){function j(b,d){var e=new a.Token(b,d);if(!c){i.tokens.push(e);i.tokenIndex++}return e}function k(){i.tokenIndex++;return null}var d,e,f,g,h,i=this;if(this.tokenIndex<this.tokens.length){return this.tokens[this.tokenIndex++]}while(this.whitespace.test(this.css.charAt(this.ch))){this.ch++}if(this.ch>=this.css.length){return k()}e=this.ch;d=this.css.substring(this.ch);f=d.charAt(0);switch(f){case"#":if(g=d.match(this.hashColor)){this.ch+=g[0].length;return j(b.COLOR,g[0])}break;case'"':case"'":if(g=d.match(this.string)){this.ch+=g[0].length;return j(b.STRING,g[2]||g[3]||"")}break;case"/":case",":this.ch++;return j(b.OPERATOR,f);case"u":if(g=d.match(this.url)){this.ch+=g[0].length;return j(b.URL,g[2]||g[3]||g[4]||"")}}if(g=d.match(this.number)){h=g[0];this.ch+=h.length;if(d.charAt(h.length)==="%"){this.ch++;return j(b.PERCENT,h+"%")}if(g=d.substring(h.length).match(this.ident)){h+=g[0];this.ch+=g[0].length;return j(this.unitTypes[g[0].toLowerCase()]||b.DIMEN,h)}return j(b.NUMBER,h)}if(g=d.match(this.ident)){h=g[0];this.ch+=h.length;if(h.toLowerCase()in PIE.Color.names||h==="currentColor"||h==="transparent"){return j(b.COLOR,h)}if(d.charAt(h.length)==="("){this.ch++;if(h.toLowerCase()in this.colorFunctions){function l(a){return a&&a.tokenType&b.NUMBER}function m(a){return a&&a.tokenType&(b.NUMBER|b.PERCENT)}function n(a,b){return a&&a.tokenValue===b}function o(){return i.next(1)}if((h.charAt(0)==="r"?m(o()):l(o()))&&n(o(),",")&&m(o())&&n(o(),",")&&m(o())&&(h==="rgb"||h==="hsa"||n(o(),",")&&l(o()))&&n(o(),")")){return j(b.COLOR,this.css.substring(e,this.ch))}return k()}return j(b.FUNCTION,h)}return j(b.IDENT,h)}this.ch++;return j(b.CHARACTER,f)},hasNext:function(){var a=this.next();this.prev();return!!a},prev:function(){return this.tokens[this.tokenIndex-- -2]},all:function(){while(this.next()){}return this.tokens},until:function(a,b){var c=[],d,e;while(d=this.next()){if(a(d)){e=true;this.prev();break}c.push(d)}return b&&!e?null:c}};return a}();PIE.BoundsInfo=function(a){this.targetElement=a};PIE.BoundsInfo.prototype={_locked:0,positionChanged:function(){var a=this._lastBounds,b;return!a||(b=this.getBounds())&&(a.x!==b.x||a.y!==b.y)},sizeChanged:function(){var a=this._lastBounds,b;return!a||(b=this.getBounds())&&(a.w!==b.w||a.h!==b.h)},getLiveBounds:function(){var a=this.targetElement,b=a.getBoundingClientRect(),c=PIE.ieDocMode===9,d=PIE.ieVersion===7,e=b.right-b.left;return{x:b.left,y:b.top,w:c||d?a.offsetWidth:e,h:c||d?a.offsetHeight:b.bottom-b.top,logicalZoomRatio:d&&e?a.offsetWidth/e:1}},getBounds:function(){return this._locked?this._lockedBounds||(this._lockedBounds=this.getLiveBounds()):this.getLiveBounds()},hasBeenQueried:function(){return!!this._lastBounds},lock:function(){++this._locked},unlock:function(){if(!--this._locked){if(this._lockedBounds)this._lastBounds=this._lockedBounds;this._lockedBounds=null}}};(function(){function a(a){var b=PIE.Util.getUID(a);return function(){if(this._locked){var c=this._lockedValues||(this._lockedValues={});return b in c?c[b]:c[b]=a.call(this)}else{return a.call(this)}}}PIE.StyleInfoBase={_locked:0,newStyleInfo:function(a){function b(a){this.targetElement=a;this._lastCss=this.getCss()}PIE.Util.merge(b.prototype,PIE.StyleInfoBase,a);b._propsCache={};return b},getProps:function(){var a=this.getCss(),b=this.constructor._propsCache;return a?a in b?b[a]:b[a]=this.parseCss(a):null},getCss:a(function(){var a=this.targetElement,b=this.constructor,c=a.style,d=a.currentStyle,e=this.cssProperty,f=this.styleProperty,g=b._prefixedCssProp||(b._prefixedCssProp=PIE.CSS_PREFIX+e),h=b._prefixedStyleProp||(b._prefixedStyleProp=PIE.STYLE_PREFIX+f.charAt(0).toUpperCase()+f.substring(1));return c[h]||d.getAttribute(g)||c[f]||d.getAttribute(e)}),isActive:a(function(){return!!this.getProps()}),changed:a(function(){var a=this.getCss(),b=a!==this._lastCss;this._lastCss=a;return b}),cacheWhenLocked:a,lock:function(){++this._locked},unlock:function(){if(!--this._locked){delete this._lockedValues}}}})();PIE.BackgroundStyleInfo=PIE.StyleInfoBase.newStyleInfo({cssProperty:PIE.CSS_PREFIX+"background",styleProperty:PIE.STYLE_PREFIX+"Background",attachIdents:{scroll:1,fixed:1,local:1},repeatIdents:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},originAndClipIdents:{"padding-box":1,"border-box":1,"content-box":1},positionIdents:{top:1,right:1,bottom:1,left:1,center:1},sizeIdents:{contain:1,cover:1},propertyNames:{CLIP:"backgroundClip",COLOR:"backgroundColor",IMAGE:"backgroundImage",ORIGIN:"backgroundOrigin",POSITION:"backgroundPosition",REPEAT:"backgroundRepeat",SIZE:"backgroundSize"},parseCss:function(a){function t(a){return a&&a.isLengthOrPercent()||a.tokenType&i&&a.tokenValue in n}function u(a){return a&&(a.isLengthOrPercent()&&PIE.getLength(a.tokenValue)||a.tokenValue==="auto"&&"auto")}var b=this.targetElement,c=b.currentStyle,d,e,f,g=PIE.Tokenizer.Type,h=g.OPERATOR,i=g.IDENT,j=g.COLOR,k,l,m=0,n=this.positionIdents,o,p,q,r,s={bgImages:[]};if(this.getCss3()){d=new PIE.Tokenizer(a);f={};while(e=d.next()){k=e.tokenType;l=e.tokenValue;if(!f.imgType&&k&g.FUNCTION&&l==="linear-gradient"){o={stops:[],imgType:l};p={};while(e=d.next()){k=e.tokenType;l=e.tokenValue;if(k&g.CHARACTER&&l===")"){if(p.color){o.stops.push(p)}if(o.stops.length>1){PIE.Util.merge(f,o)}break}if(k&j){if(o.angle||o.gradientStart){e=d.prev();if(e.tokenType!==h){break}d.next()}p={color:PIE.getColor(l)};e=d.next();if(e.isLengthOrPercent()){p.offset=PIE.getLength(e.tokenValue)}else{d.prev()}}else if(k&g.ANGLE&&!o.angle&&!p.color&&!o.stops.length){o.angle=new PIE.Angle(e.tokenValue)}else if(t(e)&&!o.gradientStart&&!p.color&&!o.stops.length){d.prev();o.gradientStart=new PIE.BgPosition(d.until(function(a){return!t(a)},false))}else if(k&h&&l===","){if(p.color){o.stops.push(p);p={}}}else{break}}}else if(!f.imgType&&k&g.URL){f.imgUrl=l;f.imgType="image"}else if(t(e)&&!f.bgPosition){d.prev();f.bgPosition=new PIE.BgPosition(d.until(function(a){return!t(a)},false))}else if(k&i){if(l in this.repeatIdents&&!f.imgRepeat){f.imgRepeat=l}else if(l in this.originAndClipIdents&&!f.bgOrigin){f.bgOrigin=l;if((e=d.next())&&e.tokenType&i&&e.tokenValue in this.originAndClipIdents){f.bgClip=e.tokenValue}else{f.bgClip=l;d.prev()}}else if(l in this.attachIdents&&!f.bgAttachment){f.bgAttachment=l}else{return null}}else if(k&j&&!s.color){s.color=PIE.getColor(l)}else if(k&h&&l==="/"&&!f.bgSize&&f.bgPosition){e=d.next();if(e.tokenType&i&&e.tokenValue in this.sizeIdents){f.bgSize=new PIE.BgSize(e.tokenValue)}else if(q=u(e)){r=u(d.next());if(!r){r=q;d.prev()}f.bgSize=new PIE.BgSize(q,r)}else{return null}}else if(k&h&&l===","&&f.imgType){f.origString=a.substring(m,d.ch-1);m=d.ch;s.bgImages.push(f);f={}}else{return null}}if(f.imgType){f.origString=a.substring(m);s.bgImages.push(f)}}else{this.withActualBg(PIE.ieDocMode<9?function(){var a=this.propertyNames,b=c[a.POSITION+"X"],d=c[a.POSITION+"Y"],e=c[a.IMAGE],f=c[a.COLOR];if(f!=="transparent"){s.color=PIE.getColor(f)}if(e!=="none"){s.bgImages=[{imgType:"image",imgUrl:(new PIE.Tokenizer(e)).next().tokenValue,imgRepeat:c[a.REPEAT],bgPosition:new PIE.BgPosition((new PIE.Tokenizer(b+" "+d)).all())}]}}:function(){var a=this.propertyNames,b=/\s*,\s*/,d=c[a.IMAGE].split(b),e=c[a.COLOR],f,g,h,i,j,k,l,m,n;if(e!=="transparent"){s.color=PIE.getColor(e)}l=d.length;if(l&&d[0]!=="none"){f=c[a.REPEAT].split(b);g=c[a.POSITION].split(b);h=c[a.ORIGIN].split(b);i=c[a.CLIP].split(b);j=c[a.SIZE].split(b);s.bgImages=[];for(k=0;k<l;k++){m=d[k];if(m&&m!=="none"){n=j[k].split(" ");s.bgImages.push({origString:m+" "+f[k]+" "+g[k]+" / "+j[k]+" "+h[k]+" "+i[k],imgType:"image",imgUrl:(new PIE.Tokenizer(m)).next().tokenValue,imgRepeat:f[k],bgPosition:new PIE.BgPosition((new PIE.Tokenizer(g[k])).all()),bgOrigin:h[k],bgClip:i[k],bgSize:new PIE.BgSize(n[0],n[1])})}}}})}return s.color||s.bgImages[0]?s:null},withActualBg:function(a){var b=PIE.ieDocMode>8,c=this.propertyNames,d=this.targetElement.runtimeStyle,e=d[c.IMAGE],f=d[c.COLOR],g=d[c.REPEAT],h,i,j,k,l;if(e)d[c.IMAGE]="";if(f)d[c.COLOR]="";if(g)d[c.REPEAT]="";if(b){h=d[c.CLIP];i=d[c.ORIGIN];k=d[c.POSITION];j=d[c.SIZE];if(h)d[c.CLIP]="";if(i)d[c.ORIGIN]="";if(k)d[c.POSITION]="";if(j)d[c.SIZE]=""}l=a.call(this);if(e)d[c.IMAGE]=e;if(f)d[c.COLOR]=f;if(g)d[c.REPEAT]=g;if(b){if(h)d[c.CLIP]=h;if(i)d[c.ORIGIN]=i;if(k)d[c.POSITION]=k;if(j)d[c.SIZE]=j}return l},getCss:PIE.StyleInfoBase.cacheWhenLocked(function(){return this.getCss3()||this.withActualBg(function(){var a=this.targetElement.currentStyle,b=this.propertyNames;return a[b.COLOR]+" "+a[b.IMAGE]+" "+a[b.REPEAT]+" "+a[b.POSITION+"X"]+" "+a[b.POSITION+"Y"]})}),getCss3:PIE.StyleInfoBase.cacheWhenLocked(function(){var a=this.targetElement;return a.style[this.styleProperty]||a.currentStyle.getAttribute(this.cssProperty)}),isPngFix:function(){var a=0,b;if(PIE.ieVersion<7){b=this.targetElement;a=""+(b.style[PIE.STYLE_PREFIX+"PngFix"]||b.currentStyle.getAttribute(PIE.CSS_PREFIX+"png-fix"))==="true"}return a},isActive:PIE.StyleInfoBase.cacheWhenLocked(function(){return(this.getCss3()||this.isPngFix())&&!!this.getProps()})});PIE.BorderStyleInfo=PIE.StyleInfoBase.newStyleInfo({sides:["Top","Right","Bottom","Left"],namedWidths:{thin:"1px",medium:"3px",thick:"5px"},parseCss:function(a){var b={},c={},d={},e=false,f=true,g=true,h=true;this.withActualBorder(function(){var a=this.targetElement,i=a.currentStyle,j=0,k,l,m,n,o,p,q,r;for(;j<4;j++){q=this.sides[j];r=q.charAt(0).toLowerCase();k=c[r]=i["border"+q+"Style"];l=i["border"+q+"Color"];m=i["border"+q+"Width"];if(j>0){if(k!==n){g=false}if(l!==o){f=false}if(m!==p){h=false}}n=k;o=l;p=m;d[r]=PIE.getColor(l);m=b[r]=PIE.getLength(c[r]==="none"?"0":this.namedWidths[m]||m);if(m.pixels(this.targetElement)>0){e=true}}});return e?{widths:b,styles:c,colors:d,widthsSame:h,colorsSame:f,stylesSame:g}:null},getCss:PIE.StyleInfoBase.cacheWhenLocked(function(){var a=this.targetElement,b=a.currentStyle,c;if(!(a.tagName in PIE.tableCellTags&&a.offsetParent.currentStyle.borderCollapse==="collapse")){this.withActualBorder(function(){c=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor})}return c}),withActualBorder:function(a){var b=this.targetElement.runtimeStyle,c=b.borderWidth,d=b.borderColor,e;if(c)b.borderWidth="";if(d)b.borderColor="";e=a.call(this);if(c)b.borderWidth=c;if(d)b.borderColor=d;return e}});(function(){PIE.BorderRadiusStyleInfo=PIE.StyleInfoBase.newStyleInfo({cssProperty:"border-radius",styleProperty:"borderRadius",parseCss:function(a){var b=null,c,d,e,f,g,h=false;if(a){e=new PIE.Tokenizer(a);function i(){var a=[],b;while((f=e.next())&&f.isLengthOrPercent()){g=PIE.getLength(f.tokenValue);b=g.getNumber();if(b<0){return null}if(b>0){h=true}a.push(g)}return a.length>0&&a.length<5?{tl:a[0],tr:a[1]||a[0],br:a[2]||a[0],bl:a[3]||a[1]||a[0]}:null}if(c=i()){if(f){if(f.tokenType&PIE.Tokenizer.Type.OPERATOR&&f.tokenValue==="/"){d=i()}}else{d=c}if(h&&c&&d){b={x:c,y:d}}}}return b}});var a=PIE.getLength("0"),b={tl:a,tr:a,br:a,bl:a};PIE.BorderRadiusStyleInfo.ALL_ZERO={x:b,y:b}})();PIE.BorderImageStyleInfo=PIE.StyleInfoBase.newStyleInfo({cssProperty:"border-image",styleProperty:"borderImage",repeatIdents:{stretch:1,round:1,repeat:1,space:1},parseCss:function(a){var b=null,c,d,e,f,g,h,i,j=0,k=PIE.Tokenizer.Type,l=k.IDENT,m=k.NUMBER,n=k.PERCENT;if(a){c=new PIE.Tokenizer(a);b={};function o(a){return a&&a.tokenType&k.OPERATOR&&a.tokenValue==="/"}function p(a){return a&&a.tokenType&l&&a.tokenValue==="fill"}function q(){g=c.until(function(a){return!(a.tokenType&(m|n))});if(p(c.next())&&!b.fill){b.fill=true}else{c.prev()}if(o(c.next())){j++;h=c.until(function(a){return!a.isLengthOrPercent()&&!(a.tokenType&l&&a.tokenValue==="auto")});if(o(c.next())){j++;i=c.until(function(a){return!a.isLength()})}}else{c.prev()}}while(d=c.next()){e=d.tokenType;f=d.tokenValue;if(e&(m|n)&&!g){c.prev();q()}else if(p(d)&&!b.fill){b.fill=true;q()}else if(e&l&&this.repeatIdents[f]&&!b.repeat){b.repeat={h:f};if(d=c.next()){if(d.tokenType&l&&this.repeatIdents[d.tokenValue]){b.repeat.v=d.tokenValue}else{c.prev()}}}else if(e&k.URL&&!b.src){b.src=f}else{return null}}if(!b.src||!g||g.length<1||g.length>4||h&&h.length>4||j===1&&h.length<1||i&&i.length>4||j===2&&i.length<1){return null}if(!b.repeat){b.repeat={h:"stretch"}}if(!b.repeat.v){b.repeat.v=b.repeat.h}function r(a,b){return{t:b(a[0]),r:b(a[1]||a[0]),b:b(a[2]||a[0]),l:b(a[3]||a[1]||a[0])}}b.slice=r(g,function(a){return PIE.getLength(a.tokenType&m?a.tokenValue+"px":a.tokenValue)});if(h&&h[0]){b.widths=r(h,function(a){return a.isLengthOrPercent()?PIE.getLength(a.tokenValue):a.tokenValue})}if(i&&i[0]){b.outset=r(i,function(a){return a.isLength()?PIE.getLength(a.tokenValue):a.tokenValue})}}return b}});PIE.BoxShadowStyleInfo=PIE.StyleInfoBase.newStyleInfo({cssProperty:"box-shadow",styleProperty:"boxShadow",parseCss:function(a){var b,c=PIE.getLength,d=PIE.Tokenizer.Type,e;if(a){e=new PIE.Tokenizer(a);b={outset:[],inset:[]};function f(){var a,f,g,h,i,j,k;while(a=e.next()){g=a.tokenValue;f=a.tokenType;if(f&d.OPERATOR&&g===","){break}else if(a.isLength()&&!i){e.prev();i=e.until(function(a){return!a.isLength()})}else if(f&d.COLOR&&!h){h=g}else if(f&d.IDENT&&g==="inset"&&!j){j=true}else{return false}}k=i&&i.length;if(k>1&&k<5){(j?b.inset:b.outset).push({xOffset:c(i[0].tokenValue),yOffset:c(i[1].tokenValue),blur:c(i[2]?i[2].tokenValue:"0"),spread:c(i[3]?i[3].tokenValue:"0"),color:PIE.getColor(h||"currentColor")});return true}return false}while(f()){}}return b&&(b.inset.length||b.outset.length)?b:null}});PIE.VisibilityStyleInfo=PIE.StyleInfoBase.newStyleInfo({getCss:PIE.StyleInfoBase.cacheWhenLocked(function(){var a=this.targetElement.currentStyle;return a.visibility+"|"+a.display}),parseCss:function(){var a=this.targetElement,b=a.runtimeStyle,c=a.currentStyle,d=b.visibility,e;b.visibility="";e=c.visibility;b.visibility=d;return{visible:e!=="hidden",displayed:c.display!=="none"}},isActive:function(){return false}});PIE.RendererBase={newRenderer:function(a){function b(a,b,c,d){this.targetElement=a;this.boundsInfo=b;this.styleInfos=c;this.parent=d}PIE.Util.merge(b.prototype,PIE.RendererBase,a);return b},isPositioned:false,needsUpdate:function(){return false},prepareUpdate:PIE.emptyFn,updateProps:function(){this.destroy();if(this.isActive()){this.draw()}},updatePos:function(){this.isPositioned=true},updateSize:function(){if(this.isActive()){this.draw()}else{this.destroy()}},addLayer:function(a,b){this.removeLayer(a);for(var c=this._layers||(this._layers=[]),d=a+1,e=c.length,f;d<e;d++){f=c[d];if(f){break}}c[a]=b;this.getBox().insertBefore(b,f||null)},getLayer:function(a){var b=this._layers;return b&&b[a]||null},removeLayer:function(a){var b=this.getLayer(a),c=this._box;if(b&&c){c.removeChild(b);this._layers[a]=null}},getShape:function(a,b,c,d){var e=this._shapes||(this._shapes={}),f=e[a],g;if(!f){f=e[a]=PIE.Util.createVmlElement("shape");if(b){f.appendChild(f[b]=PIE.Util.createVmlElement(b))}if(d){c=this.getLayer(d);if(!c){this.addLayer(d,doc.createElement("group"+d));c=this.getLayer(d)}}c.appendChild(f);g=f.style;g.position="absolute";g.left=g.top=0;g["behavior"]="url(#default#VML)"}return f},deleteShape:function(a){var b=this._shapes,c=b&&b[a];if(c){c.parentNode.removeChild(c);delete b[a]}return!!c},getRadiiPixels:function(a){var b=this.targetElement,c=this.boundsInfo.getBounds(),d=c.w,e=c.h,f,g,h,i,j,k,l,m,n;f=a.x["tl"].pixels(b,d);g=a.y["tl"].pixels(b,e);h=a.x["tr"].pixels(b,d);i=a.y["tr"].pixels(b,e);j=a.x["br"].pixels(b,d);k=a.y["br"].pixels(b,e);l=a.x["bl"].pixels(b,d);m=a.y["bl"].pixels(b,e);n=Math.min(d/(f+h),e/(i+k),d/(l+j),e/(g+m));if(n<1){f*=n;g*=n;h*=n;i*=n;j*=n;k*=n;l*=n;m*=n}return{x:{tl:f,tr:h,br:j,bl:l},y:{tl:g,tr:i,br:k,bl:m}}},getBoxPath:function(a,b,c){b=b||1;var d,e,f=this.boundsInfo.getBounds(),g=f.w*b,h=f.h*b,i=this.styleInfos.borderRadiusInfo,j=Math.floor,k=Math.ceil,l=a?a.t*b:0,m=a?a.r*b:0,n=a?a.b*b:0,o=a?a.l*b:0,p,q,r,s,t,u,v,w;if(c||i.isActive()){d=this.getRadiiPixels(c||i.getProps());p=d.x["tl"]*b;q=d.y["tl"]*b;r=d.x["tr"]*b;s=d.y["tr"]*b;t=d.x["br"]*b;u=d.y["br"]*b;v=d.x["bl"]*b;w=d.y["bl"]*b;e="m"+j(o)+","+j(q)+"qy"+j(p)+","+j(l)+"l"+k(g-r)+","+j(l)+"qx"+k(g-m)+","+j(s)+"l"+k(g-m)+","+k(h-u)+"qy"+k(g-t)+","+k(h-n)+"l"+j(v)+","+k(h-n)+"qx"+j(o)+","+k(h-w)+" x e"}else{e="m"+j(o)+","+j(l)+"l"+k(g-m)+","+j(l)+"l"+k(g-m)+","+k(h-n)+"l"+j(o)+","+k(h-n)+"xe"}return e},getBox:function(){var a=this.parent.getLayer(this.boxZIndex),b;if(!a){a=doc.createElement(this.boxName);b=a.style;b.position="absolute";b.top=b.left=0;this.parent.addLayer(this.boxZIndex,a)}return a},hideBorder:function(){var a=this.targetElement,b=a.currentStyle,c=a.runtimeStyle,d=a.tagName,e=PIE.ieVersion===6,f,g,h;if(e&&(d in PIE.childlessElements||d==="FIELDSET")||d==="BUTTON"||d==="INPUT"&&a.type in PIE.inputButtonTypes){c.borderWidth="";f=this.styleInfos.borderInfo.sides;for(h=f.length;h--;){g=f[h];c["padding"+g]="";c["padding"+g]=PIE.getLength(b["padding"+g]).pixels(a)+PIE.getLength(b["border"+g+"Width"]).pixels(a)+(PIE.ieVersion!==8&&h%2?1:0)}c.borderWidth=0}else if(e){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){var i=doc.createElement("ie6-mask"),j=i.style,k;j.visibility="visible";j.zoom=1;while(k=a.firstChild){i.appendChild(k)}a.appendChild(i);c.visibility="hidden"}}else{c.borderColor="transparent"}},unhideBorder:function(){},destroy:function(){this.parent.removeLayer(this.boxZIndex);delete this._shapes;delete this._layers}};PIE.RootRenderer=PIE.RendererBase.newRenderer({isActive:function(){var a=this.childRenderers;for(var b in a){if(a.hasOwnProperty(b)&&a[b].isActive()){return true}}return false},needsUpdate:function(){return this.styleInfos.visibilityInfo.changed()},updatePos:function(){if(this.isActive()){var a=this.getPositioningElement(),b=a,c,d,e=a.currentStyle,f=e.position,g,h=this.getBox().style,i,j=0,k=0,l=this.boundsInfo.getBounds(),m=l.logicalZoomRatio;if(f==="fixed"&&PIE.ieVersion>6){j=l.x*m;k=l.y*m;g=f}else{do{b=b.offsetParent}while(b&&b.currentStyle.position==="static");if(b){d=b.getBoundingClientRect();i=b.currentStyle;j=(l.x-d.left)*m-(parseFloat(i.borderLeftWidth)||0);k=(l.y-d.top)*m-(parseFloat(i.borderTopWidth)||0)}else{c=doc.documentElement;j=(l.x+c.scrollLeft-c.clientLeft)*m;k=(l.y+c.scrollTop-c.clientTop)*m}g="absolute"}h.position=g;h.left=j;h.top=k;h.zIndex=f==="static"?-1:e.zIndex;this.isPositioned=true}},updateSize:PIE.emptyFn,updateVisibility:function(){var a=this.styleInfos.visibilityInfo.getProps();this.getBox().style.display=a.visible&&a.displayed?"":"none"},updateProps:function(){if(this.isActive()){this.updateVisibility()}else{this.destroy()}},getPositioningElement:function(){var a=this.targetElement;return a.tagName in PIE.tableCellTags?a.offsetParent:a},getBox:function(){var a=this._box,b;if(!a){b=this.getPositioningElement();a=this._box=doc.createElement("css3-container");a.style["direction"]="ltr";this.updateVisibility();b.parentNode.insertBefore(a,b)}return a},finishUpdate:PIE.emptyFn,destroy:function(){var a=this._box,b;if(a&&(b=a.parentNode)){b.removeChild(a)}delete this._box;delete this._layers}});PIE.BackgroundRenderer=PIE.RendererBase.newRenderer({boxZIndex:2,boxName:"background",needsUpdate:function(){var a=this.styleInfos;return a.backgroundInfo.changed()||a.borderRadiusInfo.changed()},isActive:function(){var a=this.styleInfos;return a.borderImageInfo.isActive()||a.borderRadiusInfo.isActive()||a.backgroundInfo.isActive()||a.boxShadowInfo.isActive()&&a.boxShadowInfo.getProps().inset},draw:function(){var a=this.boundsInfo.getBounds();if(a.w&&a.h){this.drawBgColor();this.drawBgImages()}},drawBgColor:function(){var a=this.styleInfos.backgroundInfo.getProps(),b=this.boundsInfo.getBounds(),c=this.targetElement,d=a&&a.color,e,f,g,h,i;if(d&&d.alpha()>0){this.hideBackground();e=this.getShape("bgColor","fill",this.getBox(),1);f=b.w;g=b.h;e.stroked=false;e.coordsize=f*2+","+g*2;e.coordorigin="1,1";e.path=this.getBoxPath(null,2);h=e.style;h.width=f;h.height=g;e.fill.color=d.colorValue(c);i=d.alpha();if(i<1){e.fill.opacity=i}}else{this.deleteShape("bgColor")}},drawBgImages:function(){var a=this.styleInfos.backgroundInfo.getProps(),b=this.boundsInfo.getBounds(),c=a&&a.bgImages,d,e,f,g,h,i;if(c){this.hideBackground();f=b.w;g=b.h;i=c.length;while(i--){d=c[i];e=this.getShape("bgImage"+i,"fill",this.getBox(),2);e.stroked=false;e.fill.type="tile";e.fillcolor="none";e.coordsize=f*2+","+g*2;e.coordorigin="1,1";e.path=this.getBoxPath(0,2);h=e.style;h.width=f;h.height=g;if(d.imgType==="linear-gradient"){this.addLinearGradient(e,d)}else{e.fill.src=d.imgUrl;this.positionBgImage(e,i)}}}i=c?c.length:0;while(this.deleteShape("bgImage"+i++)){}},positionBgImage:function(a,b){var c=this;PIE.Util.withImageSize(a.fill.src,function(d){var e=c.targetElement,f=c.boundsInfo.getBounds(),g=f.w,h=f.h;if(g&&h){var i=a.fill,j=c.styleInfos,k=j.borderInfo.getProps(),l=k&&k.widths,m=l?l["t"].pixels(e):0,n=l?l["r"].pixels(e):0,o=l?l["b"].pixels(e):0,p=l?l["l"].pixels(e):0,q=j.backgroundInfo.getProps().bgImages[b],r=q.bgPosition?q.bgPosition.coords(e,g-d.w-p-n,h-d.h-m-o):{x:0,y:0},s=q.imgRepeat,t,u,v=0,w=0,x=g+1,y=h+1,z=PIE.ieVersion===8?0:1;t=Math.round(r.x)+p+.5;u=Math.round(r.y)+m+.5;i.position=t/g+","+u/h;i["size"]["x"]=1;i["size"]=d.w+"px,"+d.h+"px";if(s&&s!=="repeat"){if(s==="repeat-x"||s==="no-repeat"){v=u+1;y=u+d.h+z}if(s==="repeat-y"||s==="no-repeat"){w=t+1;x=t+d.w+z}a.style.clip="rect("+v+"px,"+x+"px,"+y+"px,"+w+"px)"}}})},addLinearGradient:function(a,b){var c=this.targetElement,d=this.boundsInfo.getBounds(),e=d.w,f=d.h,g=a.fill,h=b.stops,i=h.length,j=Math.PI,k=PIE.GradientUtil,l=k.perpendicularIntersect,m=k.distance,n=k.getGradientMetrics(c,e,f,b),o=n.angle,p=n.startX,q=n.startY,r=n.startCornerX,s=n.startCornerY,t=n.endCornerX,u=n.endCornerY,v=n.deltaX,w=n.deltaY,x=n.lineLength,y,z,A,B,C,D,E,F,G,H;y=o%90?Math.atan2(v*e/f,w)/j*180:o+90;y+=180;y=y%360;D=l(r,s,o,t,u);z=m(r,s,D[0],D[1]);A=[];D=l(p,q,o,r,s);C=m(p,q,D[0],D[1])/z*100;B=[];for(E=0;E<i;E++){B.push(h[E].offset?h[E].offset.pixels(c,x):E===0?0:E===i-1?x:null)}for(E=1;E<i;E++){if(B[E]===null){G=B[E-1];F=E;do{H=B[++F]}while(H===null);B[E]=G+(H-G)/(F-E+1)}B[E]=Math.max(B[E],B[E-1])}for(E=0;E<i;E++){A.push(C+B[E]/z*100+"% "+h[E].color.colorValue(c))}g["angle"]=y;g["type"]="gradient";g["method"]="sigma";g["color"]=h[0].color.colorValue(c);g["color2"]=h[i-1].color.colorValue(c);if(g["colors"]){g["colors"].value=A.join(",")}else{g["colors"]=A.join(",")}},hideBackground:function(){var a=this.targetElement.runtimeStyle;a.backgroundImage="url(about:blank)";a.backgroundColor="transparent"},destroy:function(){PIE.RendererBase.destroy.call(this);var a=this.targetElement.runtimeStyle;a.backgroundImage=a.backgroundColor=""}});PIE.BorderRenderer=PIE.RendererBase.newRenderer({boxZIndex:4,boxName:"border",needsUpdate:function(){var a=this.styleInfos;return a.borderInfo.changed()||a.borderRadiusInfo.changed()},isActive:function(){var a=this.styleInfos;return a.borderRadiusInfo.isActive()&&!a.borderImageInfo.isActive()&&a.borderInfo.isActive()},draw:function(){var a=this.targetElement,b=this.styleInfos.borderInfo.getProps(),c=this.boundsInfo.getBounds(),d=c.w,e=c.h,f,g,h,i,j,k,l;if(b){this.hideBorder();i=this.getBorderSegments(2);for(k=0,l=i.length;k<l;k++){j=i[k];f=this.getShape("borderPiece"+k,j.stroke?"stroke":"fill",this.getBox());f.coordsize=d*2+","+e*2;f.coordorigin="1,1";f.path=j.path;h=f.style;h.width=d;h.height=e;f.filled=!!j.fill;f.stroked=!!j.stroke;if(j.stroke){g=f.stroke;g["weight"]=j.weight+"px";g.color=j.color.colorValue(a);g["dashstyle"]=j.stroke==="dashed"?"2 2":j.stroke==="dotted"?"1 1":"solid";g["linestyle"]=j.stroke==="double"&&j.weight>2?"ThinThin":"Single"}else{f.fill.color=j.fill.colorValue(a)}}while(this.deleteShape("borderPiece"+k++)){}}},getBorderSegments:function(a){var b=this.targetElement,c,d,e,f=this.styleInfos.borderInfo,g=[],h,i,j,k,l,m,n=Math.round,o,p,q,r,s,t;if(f.isActive()){o=f.getProps();r=o.widths;s=o.styles;t=o.colors;if(o.widthsSame&&o.stylesSame&&o.colorsSame){if(t["t"].alpha()>0){j=r["t"].pixels(b);k=j/2;g.push({path:this.getBoxPath({t:k,r:k,b:k,l:k},a),stroke:s["t"],color:t["t"],weight:j})}}else{a=a||1;c=this.boundsInfo.getBounds();d=c.w;e=c.h;j=n(r["t"].pixels(b));k=n(r["r"].pixels(b));l=n(r["b"].pixels(b));m=n(r["l"].pixels(b));var u={t:j,r:k,b:l,l:m};p=this.styleInfos.borderRadiusInfo;if(p.isActive()){q=this.getRadiiPixels(p.getProps())}h=Math.floor;i=Math.ceil;function v(a,b){return q?q[a][b]:0}function w(b,c,f,g,j,k){var l=v("x",b),m=v("y",b),n=65535,o=b.charAt(1)==="r",p=b.charAt(0)==="b";return l>0&&m>0?(k?"al":"ae")+(o?i(d-l):h(l))*a+","+(p?i(e-m):h(m))*a+","+(h(l)-c)*a+","+(h(m)-f)*a+","+g*n+","+45*n*(j?1:-1):(k?"m":"l")+(o?d-c:c)*a+","+(p?e-f:f)*a}function x(b,c,f,g){var j=b==="t"?h(v("x","tl"))*a+","+i(c)*a:b==="r"?i(d-c)*a+","+h(v("y","tr"))*a:b==="b"?i(d-v("x","br"))*a+","+h(e-c)*a:h(c)*a+","+i(e-v("y","bl"))*a,k=b==="t"?i(d-v("x","tr"))*a+","+i(c)*a:b==="r"?i(d-c)*a+","+i(e-v("y","br"))*a:b==="b"?h(v("x","bl"))*a+","+h(e-c)*a:h(c)*a+","+h(v("y","tl"))*a;return f?(g?"m"+k:"")+"l"+j:(g?"m"+j:"")+"l"+k}function y(a,b,c,d,e,f){var j=a==="l"||a==="r",k=u[a],l,m,n,o;if(k>0&&s[a]!=="none"&&t[a].alpha()>0){l=u[j?a:b];m=u[j?b:a];n=u[j?a:c];o=u[j?c:a];if(s[a]==="dashed"||s[a]==="dotted"){g.push({path:w(d,l,m,f+45,0,1)+w(d,0,0,f,1,0),fill:t[a]});g.push({path:x(a,k/2,0,1),stroke:s[a],weight:k,color:t[a]});g.push({path:w(e,n,o,f,0,1)+w(e,0,0,f-45,1,0),fill:t[a]})}else{g.push({path:w(d,l,m,f+45,0,1)+x(a,k,0,0)+w(e,n,o,f,0,0)+(s[a]==="double"&&k>2?w(e,n-h(n/3),o-h(o/3),f-45,1,0)+x(a,i(k/3*2),1,0)+w(d,l-h(l/3),m-h(m/3),f,1,0)+"x "+w(d,h(l/3),h(m/3),f+45,0,1)+x(a,h(k/3),1,0)+w(e,h(n/3),h(o/3),f,0,0):"")+w(e,0,0,f-45,1,0)+x(a,0,1,0)+w(d,0,0,f,1,0),fill:t[a]})}}}y("t","l","r","tl","tr",90);y("r","t","b","tr","br",0);y("b","r","l","br","bl",-90);y("l","b","t","bl","tl",-180)}}return g},destroy:function(){var a=this;if(a.finalized||!a.styleInfos.borderImageInfo.isActive()){a.targetElement.runtimeStyle.borderColor=""}PIE.RendererBase.destroy.call(a)}});PIE.BorderImageRenderer=PIE.RendererBase.newRenderer({boxZIndex:5,pieceNames:["t","tr","r","br","b","bl","l","tl","c"],needsUpdate:function(){return this.styleInfos.borderImageInfo.changed()},isActive:function(){return this.styleInfos.borderImageInfo.isActive()},draw:function(){this.getBox();var a=this.styleInfos.borderImageInfo.getProps(),b=this.styleInfos.borderInfo.getProps(),c=this.boundsInfo.getBounds(),d=this.targetElement,e=this.pieces;PIE.Util.withImageSize(a.src,function(f){function t(a,b,c,d,f){var g=e[a].style,h=Math.max;g.width=h(b,0);g.height=h(c,0);g.left=d;g.top=f}function u(a,b,c){for(var d=0,f=a.length;d<f;d++){e[a[d]]["imagedata"][b]=c}}var g=c.w,h=c.h,i=PIE.getLength("0"),j=a.widths||(b?b.widths:{t:i,r:i,b:i,l:i}),k=j["t"].pixels(d),l=j["r"].pixels(d),m=j["b"].pixels(d),n=j["l"].pixels(d),o=a.slice,p=o["t"].pixels(d),q=o["r"].pixels(d),r=o["b"].pixels(d),s=o["l"].pixels(d);t("tl",n,k,0,0);t("t",g-n-l,k,n,0);t("tr",l,k,g-l,0);t("r",l,h-k-m,g-l,k);t("br",l,m,g-l,h-m);t("b",g-n-l,m,n,h-m);t("bl",n,m,0,h-m);t("l",n,h-k-m,0,k);t("c",g-n-l,h-k-m,n,k);u(["tl","t","tr"],"cropBottom",(f.h-p)/f.h);u(["tl","l","bl"],"cropRight",(f.w-s)/f.w);u(["bl","b","br"],"cropTop",(f.h-r)/f.h);u(["tr","r","br"],"cropLeft",(f.w-q)/f.w);u(["l","r","c"],"cropTop",p/f.h);u(["l","r","c"],"cropBottom",r/f.h);u(["t","b","c"],"cropLeft",s/f.w);u(["t","b","c"],"cropRight",q/f.w);e["c"].style.display=a.fill?"":"none"},this)},getBox:function(){var a=this.parent.getLayer(this.boxZIndex),b,c,d,e=this.pieceNames,f=e.length;if(!a){a=doc.createElement("border-image");b=a.style;b.position="absolute";this.pieces={};for(d=0;d<f;d++){c=this.pieces[e[d]]=PIE.Util.createVmlElement("rect");c.appendChild(PIE.Util.createVmlElement("imagedata"));b=c.style;b["behavior"]="url(#default#VML)";b.position="absolute";b.top=b.left=0;c["imagedata"].src=this.styleInfos.borderImageInfo.getProps().src;c.stroked=false;c.filled=false;a.appendChild(c)}this.parent.addLayer(this.boxZIndex,a)}return a},prepareUpdate:function(){if(this.isActive()){var a=this,b=a.targetElement,c=b.runtimeStyle,d=a.styleInfos.borderImageInfo.getProps().widths;c.borderStyle="solid";if(d){c.borderTopWidth=d["t"].pixels(b)+"px";c.borderRightWidth=d["r"].pixels(b)+"px";c.borderBottomWidth=d["b"].pixels(b)+"px";c.borderLeftWidth=d["l"].pixels(b)+"px"}a.hideBorder()}},destroy:function(){var a=this,b=a.targetElement.runtimeStyle;b.borderStyle="";if(a.finalized||!a.styleInfos.borderInfo.isActive()){b.borderColor=b.borderWidth=""}PIE.RendererBase.destroy.call(this)}});PIE.BoxShadowOutsetRenderer=PIE.RendererBase.newRenderer({boxZIndex:1,boxName:"outset-box-shadow",needsUpdate:function(){var a=this.styleInfos;return a.boxShadowInfo.changed()||a.borderRadiusInfo.changed()},isActive:function(){var a=this.styleInfos.boxShadowInfo;return a.isActive()&&a.getProps().outset[0]},draw:function(){function H(d,e,f,h,i,j,m){var n=a.getShape("shadow"+d+e,"fill",c,g-d),o=n.fill;n["coordsize"]=k*2+","+l*2;n["coordorigin"]="1,1";n["stroked"]=false;n["filled"]=true;o.color=i.colorValue(b);if(j){o["type"]="gradienttitle";o["color2"]=o.color;o["opacity"]=0}n.path=m;s=n.style;s.left=f;s.top=h;s.width=k;s.height=l;return n}var a=this,b=this.targetElement,c=this.getBox(),d=this.styleInfos,e=d.boxShadowInfo.getProps().outset,f=d.borderRadiusInfo.getProps(),g=e.length,h=g,i,j=this.boundsInfo.getBounds(),k=j.w,l=j.h,m=PIE.ieVersion===8?1:0,n=["tl","tr","br","bl"],o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G;while(h--){p=e[h];t=p.xOffset.pixels(b);u=p.yOffset.pixels(b);v=p.spread.pixels(b);w=p.blur.pixels(b);y=p.color;x=-v-w;if(!f&&w){f=PIE.BorderRadiusStyleInfo.ALL_ZERO}A=this.getBoxPath({t:x,r:x,b:x,l:x},2,f);if(w){B=(v+w)*2+k;C=(v+w)*2+l;D=B?w*2/B:0;E=C?w*2/C:0;if(w-v>k/2||w-v>l/2){for(i=4;i--;){o=n[i];F=o.charAt(0)==="b";G=o.charAt(1)==="r";q=H(h,o,t,u,y,w,A);r=q.fill;r["focusposition"]=(G?1-D:D)+","+(F?1-E:E);r["focussize"]="0,0";q.style.clip="rect("+((F?C/2:0)+m)+"px,"+(G?B:B/2)+"px,"+(F?C:C/2)+"px,"+((G?B/2:0)+m)+"px)"}}else{q=H(h,"",t,u,y,w,A);r=q.fill;r["focusposition"]=D+","+E;r["focussize"]=1-D*2+","+(1-E*2)}}else{q=H(h,"",t,u,y,w,A);z=y.alpha();if(z<1){q.fill.opacity=z}}}}});PIE.ImgRenderer=PIE.RendererBase.newRenderer({boxZIndex:6,boxName:"imgEl",needsUpdate:function(){var a=this.styleInfos;return this.targetElement.src!==this._lastSrc||a.borderRadiusInfo.changed()},isActive:function(){var a=this.styleInfos;return a.borderRadiusInfo.isActive()||a.backgroundInfo.isPngFix()},draw:function(){this._lastSrc=i;this.hideActualImg();var a=this.getShape("img","fill",this.getBox()),b=a.fill,c=this.boundsInfo.getBounds(),d=c.w,e=c.h,f=this.styleInfos.borderInfo.getProps(),g=f&&f.widths,h=this.targetElement,i=h.src,j=Math.round,k=h.currentStyle,l=PIE.getLength,m,n;if(!g||PIE.ieVersion<7){n=PIE.getLength("0");g={t:n,r:n,b:n,l:n}}a.stroked=false;b.type="frame";b.src=i;b.position=(d?.5/d:0)+","+(e?.5/e:0);a.coordsize=d*2+","+e*2;a.coordorigin="1,1";a.path=this.getBoxPath({t:j(g["t"].pixels(h)+l(k.paddingTop).pixels(h)),r:j(g["r"].pixels(h)+l(k.paddingRight).pixels(h)),b:j(g["b"].pixels(h)+l(k.paddingBottom).pixels(h)),l:j(g["l"].pixels(h)+l(k.paddingLeft).pixels(h))},2);m=a.style;m.width=d;m.height=e},hideActualImg:function(){this.targetElement.runtimeStyle.filter="alpha(opacity=0)"},destroy:function(){PIE.RendererBase.destroy.call(this);this.targetElement.runtimeStyle.filter=""}});PIE.IE9RootRenderer=PIE.RendererBase.newRenderer({updatePos:PIE.emptyFn,updateSize:PIE.emptyFn,updateVisibility:PIE.emptyFn,updateProps:PIE.emptyFn,outerCommasRE:/^,+|,+$/g,innerCommasRE:/,+/g,setBackgroundLayer:function(a,b){var c=this,d=c._bgLayers||(c._bgLayers=[]),e;d[a]=b||e},finishUpdate:function(){var a=this,b=a._bgLayers,c;if(b&&(c=b.join(",").replace(a.outerCommasRE,"").replace(a.innerCommasRE,","))!==a._lastBg){a._lastBg=a.targetElement.runtimeStyle.background=c}},destroy:function(){this.targetElement.runtimeStyle.background="";delete this._bgLayers}});PIE.IE9BackgroundRenderer=PIE.RendererBase.newRenderer({bgLayerZIndex:1,needsUpdate:function(){var a=this.styleInfos;return a.backgroundInfo.changed()},isActive:function(){var a=this.styleInfos;return a.backgroundInfo.isActive()||a.borderImageInfo.isActive()},draw:function(){var a=this,b=a.styleInfos.backgroundInfo.getProps(),c,d,e=0,f,g,h;if(b){c=[];d=b.bgImages;if(d){while(f=d[e++]){if(f.imgType==="linear-gradient"){g=a.getBgAreaSize(f.bgOrigin);h=(f.bgSize||PIE.BgSize.DEFAULT).pixels(a.targetElement,g.w,g.h,g.w,g.h),c.push("url(data:image/svg+xml,"+escape(a.getGradientSvg(f,h.w,h.h))+") "+a.bgPositionToString(f.bgPosition)+" / "+h.w+"px "+h.h+"px "+(f.bgAttachment||"")+" "+(f.bgOrigin||"")+" "+(f.bgClip||""))}else{c.push(f.origString)}}}if(b.color){c.push(b.color.val)}a.parent.setBackgroundLayer(a.bgLayerZIndex,c.join(","))}},bgPositionToString:function(a){return a?a.tokens.map(function(a){return a.tokenValue}).join(" "):"0 0"},getBgAreaSize:function(a){var b=this,c=b.targetElement,d=b.boundsInfo.getBounds(),e=d.w,f=d.h,g=e,h=f,i,j,k;if(a!=="border-box"){i=b.styleInfos.borderInfo.getProps();if(i&&(i=i.widths)){g-=i["l"].pixels(c)+i["l"].pixels(c);h-=i["t"].pixels(c)+i["b"].pixels(c)}}if(a==="content-box"){j=PIE.getLength;k=c.currentStyle;g-=j(k.paddingLeft).pixels(c)+j(k.paddingRight).pixels(c);h-=j(k.paddingTop).pixels(c)+j(k.paddingBottom).pixels(c)}return{w:g,h:h}},getGradientSvg:function(a,b,c){var d=this.targetElement,e=a.stops,f=e.length,g=PIE.GradientUtil.getGradientMetrics(d,b,c,a),h=g.startX,i=g.startY,j=g.endX,k=g.endY,l=g.lineLength,m,n,o,p,q,r;m=[];for(n=0;n<f;n++){m.push(e[n].offset?e[n].offset.pixels(d,l):n===0?0:n===f-1?l:null)}for(n=1;n<f;n++){if(m[n]===null){p=m[n-1];o=n;do{q=m[++o]}while(q===null);m[n]=p+(q-p)/(o-n+1)}}r=['<svg width="'+b+'" height="'+c+'" xmlns="http://www.w3.org/2000/svg">'+"<defs>"+'<linearGradient id="g" gradientUnits="userSpaceOnUse"'+' x1="'+h/b*100+'%" y1="'+i/c*100+'%" x2="'+j/b*100+'%" y2="'+k/c*100+'%">'];for(n=0;n<f;n++){r.push('<stop offset="'+m[n]/l+'" stop-color="'+e[n].color.colorValue(d)+'" stop-opacity="'+e[n].color.alpha()+'"/>')}r.push("</linearGradient>"+"</defs>"+'<rect width="100%" height="100%" fill="url(#g)"/>'+"</svg>");return r.join("")},destroy:function(){this.parent.setBackgroundLayer(this.bgLayerZIndex)}});PIE.IE9BorderImageRenderer=PIE.RendererBase.newRenderer({REPEAT:"repeat",STRETCH:"stretch",ROUND:"round",bgLayerZIndex:0,needsUpdate:function(){return this.styleInfos.borderImageInfo.changed()},isActive:function(){return this.styleInfos.borderImageInfo.isActive()},draw:function(){var a=this,b=a.styleInfos.borderImageInfo.getProps(),c=a.styleInfos.borderInfo.getProps(),d=a.boundsInfo.getBounds(),e=b.repeat,f=e.h,g=e.v,h=a.targetElement,i=0;PIE.Util.withImageSize(b.src,function(e){function P(a,b,c,d,e,h,i,j,k,p){M.push('<pattern patternUnits="userSpaceOnUse" id="pattern'+O+'" '+'x="'+(f===o?a+c/2-k/2:a)+'" '+'y="'+(g===o?b+d/2-p/2:b)+'" '+'width="'+k+'" height="'+p+'">'+'<svg width="'+k+'" height="'+p+'" viewBox="'+e+" "+h+" "+i+" "+j+'" preserveAspectRatio="none">'+'<image xlink:href="'+n+'" x="0" y="0" width="'+l+'" height="'+m+'" />'+"</svg>"+"</pattern>");N.push('<rect x="'+a+'" y="'+b+'" width="'+c+'" height="'+d+'" fill="url(#pattern'+O+')" />');O++}var j=d.w,k=d.h,l=e.w,m=e.h,n=a.imageToDataURI(b.src,l,m),o=a.REPEAT,p=a.STRETCH,q=a.ROUND,r=Math.ceil,s=PIE.getLength("0"),t=b.widths||(c?c.widths:{t:s,r:s,b:s,l:s}),u=t["t"].pixels(h),v=t["r"].pixels(h),w=t["b"].pixels(h),x=t["l"].pixels(h),y=b.slice,z=y["t"].pixels(h),A=y["r"].pixels(h),B=y["b"].pixels(h),C=y["l"].pixels(h),D=j-x-v,E=k-u-w,F=l-C-A,G=m-z-B,H=f===p?D:F*u/z,I=g===p?E:G*v/A,J=f===p?D:F*w/B,K=g===p?E:G*x/C,L,M=[],N=[],O=0;if(f===q){H-=(H-(D%H||H))/r(D/H);J-=(J-(D%J||J))/r(D/J)}if(g===q){I-=(I-(E%I||I))/r(E/I);K-=(K-(E%K||K))/r(E/K)}L=['<svg width="'+j+'" height="'+k+'" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'];P(0,0,x,u,0,0,C,z,x,u);P(x,0,D,u,C,0,F,z,H,u);P(j-v,0,v,u,l-A,0,A,z,v,u);P(0,u,x,E,0,z,C,G,x,K);if(b.fill){P(x,u,D,E,C,z,F,G,H||J||F,K||I||G)}P(j-v,u,v,E,l-A,z,A,G,v,I);P(0,k-w,x,w,0,m-B,C,B,x,w);P(x,k-w,D,w,C,m-B,F,B,J,w);P(j-v,k-w,v,w,l-A,m-B,A,B,v,w);L.push("<defs>"+M.join("\n")+"</defs>"+N.join("\n")+"</svg>");a.parent.setBackgroundLayer(a.bgLayerZIndex,"url(data:image/svg+xml,"+escape(L.join(""))+") no-repeat border-box border-box");if(i){a.parent.finishUpdate()}},a);i=1},imageToDataURI:function(){var a={};return function(b,c,d){var e=a[b],f,g;if(!e){f=new Image;g=doc.createElement("canvas");f.src=b;g.width=c;g.height=d;g.getContext("2d").drawImage(f,0,0);e=a[b]=g.toDataURL()}return e}}(),prepareUpdate:PIE.BorderImageRenderer.prototype.prepareUpdate,destroy:function(){var a=this,b=a.targetElement.runtimeStyle;a.parent.setBackgroundLayer(a.bgLayerZIndex);b.borderColor=b.borderStyle=b.borderWidth=""}});PIE.Element=function(){function m(a,b){a.className+=" "+b}function n(a,b){var c=k[b]||(k[b]=new RegExp("\\b"+b+"\\b","g"));a.className=a.className.replace(c,"")}function o(a,b){var c=l.slice.call(arguments,1),d=c.length;setTimeout(function(){if(a){while(d--){m(a,c[d])}}},0)}function p(a,b){var c=l.slice.call(arguments,1),d=c.length;setTimeout(function(){if(a){while(d--){n(a,c[d])}}},0)}function q(a){function z(){if(!t){var f,g,h=PIE.ieDocMode,i=a.currentStyle,j=i.getAttribute(b)==="true",m=i.getAttribute(d)!=="false",o=i.getAttribute(e)!=="false",p;y=i.getAttribute(c);y=h>7?y!=="false":y==="true";if(!s){s=1;a.runtimeStyle.zoom=1;Q()}n.lock();if(j&&(g=n.getBounds())&&(f=doc.documentElement||doc.body)&&(g.y>f.clientHeight||g.x>f.clientWidth||g.y+g.h<0||g.x+g.w<0)){if(!w){w=1;PIE.OnScroll.observe(z)}}else{t=1;w=s=0;PIE.OnScroll.unobserve(z);if(h===9){q={backgroundInfo:new PIE.BackgroundStyleInfo(a),borderImageInfo:new PIE.BorderImageStyleInfo(a),borderInfo:new PIE.BorderStyleInfo(a)};r=[q.backgroundInfo,q.borderImageInfo];l=new PIE.IE9RootRenderer(a,n,q);p=[new PIE.IE9BackgroundRenderer(a,n,q,l),new PIE.IE9BorderImageRenderer(a,n,q,l)]}else{q={backgroundInfo:new PIE.BackgroundStyleInfo(a),borderInfo:new PIE.BorderStyleInfo(a),borderImageInfo:new PIE.BorderImageStyleInfo(a),borderRadiusInfo:new PIE.BorderRadiusStyleInfo(a),boxShadowInfo:new PIE.BoxShadowStyleInfo(a),visibilityInfo:new PIE.VisibilityStyleInfo(a)};r=[q.backgroundInfo,q.borderInfo,q.borderImageInfo,q.borderRadiusInfo,q.boxShadowInfo,q.visibilityInfo];l=new PIE.RootRenderer(a,n,q);p=[new PIE.BoxShadowOutsetRenderer(a,n,q,l),new PIE.BackgroundRenderer(a,n,q,l),new PIE.BorderRenderer(a,n,q,l),new PIE.BorderImageRenderer(a,n,q,l)];if(a.tagName==="IMG"){p.push(new PIE.ImgRenderer(a,n,q,l))}l.childRenderers=p}k=[l].concat(p);P();if(y){PIE.Heartbeat.observe(B);PIE.Heartbeat.run()}B(1)}if(!u){u=1;if(h<9){M(a,"onmove",A)}M(a,"onresize",A);M(a,"onpropertychange",C);if(o){M(a,"onmouseenter",D)}if(o||m){M(a,"onmouseleave",E)}if(m){M(a,"onmousedown",F)}if(a.tagName in PIE.focusableElements){M(a,"onfocus",H);M(a,"onblur",I)}PIE.OnResize.observe(A);PIE.OnUnload.observe(N)}n.unlock()}}function A(){if(n&&n.hasBeenQueried()){B()}}function B(a){if(!x){if(t){var b,c=k.length;K();for(b=0;b<c;b++){k[b].prepareUpdate()}if(a||n.positionChanged()){for(b=0;b<c;b++){k[b].updatePos()}}if(a||n.sizeChanged()){for(b=0;b<c;b++){k[b].updateSize()}}l.finishUpdate();L()}else if(!s){z()}}}function C(){var a=0;if(k)a=k.length;var b,c,d=event;if(!x&&!(d&&d.propertyName in j)){if(t){K();for(b=0;b<a;b++){k[b].prepareUpdate()}for(b=0;b<a;b++){c=k[b];if(!c.isPositioned){c.updatePos()}if(c.needsUpdate()){c.updateProps()}}l.finishUpdate();L()}else if(!s){z()}}}function D(){o(a,f)}function E(){p(a,f,g)}function F(){o(a,g);PIE.OnMouseup.observe(G)}function G(){p(a,g);PIE.OnMouseup.unobserve(G)}function H(){o(a,h)}function I(){p(a,h)}function J(){var a=event.propertyName;if(a==="className"||a==="id"){C()}}function K(){n.lock();for(var a=r.length;a--;){r[a].lock()}}function L(){for(var a=r.length;a--;){r[a].unlock()}n.unlock()}function M(a,b,c){a.attachEvent(b,c);v.push([a,b,c])}function N(){if(u){var a=v.length,b;while(a--){b=v[a];b[0].detachEvent(b[1],b[2])}PIE.OnUnload.unobserve(N);u=0;v=[]}}function O(){if(!x){var b,c;N();x=1;if(k){for(b=0,c=k.length;b<c;b++){k[b].finalized=1;k[b].destroy()}}if(y){PIE.Heartbeat.unobserve(B)}PIE.OnResize.unobserve(B);k=n=q=r=a=null}}function P(){var b=a.currentStyle.getAttribute(PIE.CSS_PREFIX+"watch-ancestors"),c,d;if(b){b=parseInt(b,10);c=0;d=a.parentNode;while(d&&(b==="NaN"||c++<b)){M(d,"onpropertychange",J);M(d,"onmouseenter",D);M(d,"onmouseleave",E);M(d,"onmousedown",F);if(d.tagName in PIE.focusableElements){M(d,"onfocus",H);M(d,"onblur",I)}d=d.parentNode}}}function Q(){var b=a,c=1;while(b=b.previousSibling){if(b.nodeType===1){c=0;break}}if(c){m(a,i)}}var k,l,n=new PIE.BoundsInfo(a),q,r,s,t,u,v=[],w,x,y;this.init=z;this.update=B;this.destroy=O;this.el=a}var a={},b=PIE.CSS_PREFIX+"lazy-init",c=PIE.CSS_PREFIX+"poll",d=PIE.CSS_PREFIX+"track-active",e=PIE.CSS_PREFIX+"track-hover",f=PIE.CLASS_PREFIX+"hover",g=PIE.CLASS_PREFIX+"active",h=PIE.CLASS_PREFIX+"focus",i=PIE.CLASS_PREFIX+"first-child",j={background:1,bgColor:1,display:1},k={},l=[];q.getInstance=function(b){var c=PIE.Util.getUID(b);return a[c]||(a[c]=new q(b))};q.destroy=function(b){var c=PIE.Util.getUID(b),d=a[c];if(d){d.destroy();delete a[c]}};q.destroyAll=function(){var b=[],c;if(a){for(var d in a){if(a.hasOwnProperty(d)){c=a[d];b.push(c.el);c.destroy()}}a={}}return b};return q}();PIE["supportsVML"]=PIE.supportsVML;PIE["attach"]=function(a){if(PIE.ieDocMode<10&&PIE.supportsVML){PIE.Element.getInstance(a).init()}};PIE["detach"]=function(a){PIE.Element.destroy(a)}}var el=element;if(el.readyState==="complete"){init()}
</script>
</PUBLIC:COMPONENT>
