if(typeof DPU=="undefined"){var DPU={}}DPU.namespace=function(){var b=arguments,h=null,f,e,g;for(f=0;f<b.length;f=f+1){g=b[f].split(".");h=DPU;for(e=(g[0]=="DPU")?1:0;e<g.length;e=e+1){h[g[e]]=h[g[e]]||{};h=h[g[e]]}}return h};DPU.log=function(e,a,d){var b=DPU.widget.Logger;if(b&&b.log){return b.log(e,a,d)}else{return false}};DPU.register=function(a,g,f){var l=DPU.env.modules;if(!l[a]){l[a]={versions:[],builds:[]}}var d=l[a],k=f.version,j=f.build,h=DPU.env.listeners;d.name=a;d.version=k;d.build=j;d.versions.push(k);d.builds.push(j);d.mainClass=g;for(var e=0;e<h.length;e=e+1){h[e](d)}if(g){g.VERSION=k;g.BUILD=j}else{DPU.log("mainClass is undefined for module "+a,"warn")}};DPU.env=DPU.env||{modules:[],listeners:[]};DPU.env.getVersion=function(a){return DPU.env.modules[a]||null};DPU.env.ua=function(){var d={ie:0,opera:0,gecko:0,webkit:0};var b=navigator.userAgent,a;if((/KHTML/).test(b)){d.webkit=1}a=b.match(/AppleWebKit\/([^\s]*)/);if(a&&a[1]){d.webkit=parseFloat(a[1])}if(!d.webkit){a=b.match(/Opera[\s\/]([^\s]*)/);if(a&&a[1]){d.opera=parseFloat(a[1])}else{a=b.match(/MSIE\s([^;]*)/);if(a&&a[1]){d.ie=parseFloat(a[1])}else{a=b.match(/Gecko\/([^\s]*)/);if(a){d.gecko=1;a=b.match(/rv:([^\s\)]*)/);if(a&&a[1]){d.gecko=parseFloat(a[1])}}}}}return d}();(function(){DPU.namespace("util","widget","example");if(typeof DPU_config!="undefined"){var b=DPU_config.listener,a=DPU.env.listeners,e=true,d;if(b){for(d=0;d<a.length;d=d+1){if(a[d]==b){e=false;break}}if(e){a.push(b)}}}})();DPU.lang={isArray:function(b){if(b){var a=DPU.lang;return a.isNumber(b.length)&&a.isFunction(b.splice)&&!a.hasOwnProperty(b.length)}return false},isBoolean:function(a){return typeof a==="boolean"},isFunction:function(a){return typeof a==="function"},isNull:function(a){return a===null},isNumber:function(a){return typeof a==="number"&&isFinite(a)},isObject:function(a){return(a&&(typeof a==="object"||DPU.lang.isFunction(a)))||false},isString:function(a){return typeof a==="string"},isUndefined:function(a){return typeof a==="undefined"},hasOwnProperty:function(a,b){if(Object.prototype.hasOwnProperty){return a.hasOwnProperty(b)}return !DPU.lang.isUndefined(a[b])&&a.constructor.prototype[b]!==a[b]},_IEEnumFix:function(b,a){if(DPU.env.ua.ie){var e=["toString","valueOf"];for(i=0;i<e.length;i=i+1){var g=e[i],d=a[g];if(DPU.lang.isFunction(d)&&d!=Object.prototype[g]){b[g]=d}}}},extend:function(e,f,d){if(!f||!e){throw new Error("DPU.lang.extend failed, please check that all dependencies are included.")}var b=function(){};b.prototype=f.prototype;e.prototype=new b();e.prototype.constructor=e;e.superclass=f.prototype;if(f.prototype.constructor==Object.prototype.constructor){f.prototype.constructor=f}if(d){for(var a in d){e.prototype[a]=d[a]}DPU.lang._IEEnumFix(e.prototype,d)}},augmentObject:function(g,f){if(!f||!g){throw new Error("Absorb failed, verify dependencies.")}var b=arguments,e,h,d=b[2];if(d&&d!==true){for(e=2;e<b.length;e=e+1){g[b[e]]=f[b[e]]}}else{for(h in f){if(d||!g[h]){g[h]=f[h]}}DPU.lang._IEEnumFix(g,f)}},augmentProto:function(f,e){if(!e||!f){throw new Error("Augment failed, verify dependencies.")}var b=[f.prototype,e.prototype];for(var d=2;d<arguments.length;d=d+1){b.push(arguments[d])}DPU.lang.augmentObject.apply(this,b)},dump:function(a,j){var e=DPU.lang,f,h,m=[],n="{...}",b="f(){...}",k=", ",g=" => ";if(!e.isObject(a)||a instanceof Date||("nodeType" in a&&"tagName" in a)){return a}else{if(e.isFunction(a)){return b}}j=(e.isNumber(j))?j:3;if(e.isArray(a)){m.push("[");for(f=0,h=a.length;f<h;f=f+1){if(e.isObject(a[f])){m.push((j>0)?e.dump(a[f],j-1):n)}else{m.push(a[f])}m.push(k)}if(m.length>1){m.pop()}m.push("]")}else{m.push("{");for(f in a){if(e.hasOwnProperty(a,f)){m.push(f+g);if(e.isObject(a[f])){m.push((j>0)?e.dump(a[f],j-1):n)}else{m.push(a[f])}m.push(k)}}if(m.length>1){m.pop()}m.push("}")}return m.join("")},substitute:function(z,b,q){var m,h,g,u,w,y,e=DPU.lang,t=[],d,n="dump",r=" ",a="{",x="}";for(;;){m=z.lastIndexOf(a);if(m<0){break}h=z.indexOf(x,m);if(m+1>=h){break}d=z.substring(m+1,h);u=d;y=null;g=u.indexOf(r);if(g>-1){y=u.substring(g+1);u=u.substring(0,g)}w=b[u];if(q){w=q(u,w,y)}if(e.isObject(w)){if(e.isArray(w)){w=e.dump(w,parseInt(y,10))}else{y=y||"";var p=y.indexOf(n);if(p>-1){y=y.substring(4)}if(w.toString===Object.prototype.toString||p>-1){w=e.dump(w,parseInt(y,10))}else{w=w.toString()}}}else{if(!e.isString(w)&&!e.isNumber(w)){w="~-"+t.length+"-~";t[t.length]=d}}z=z.substring(0,m)+w+z.substring(h+1)}for(m=t.length-1;m>=0;m=m-1){z=z.replace(new RegExp("~-"+m+"-~"),"{"+t[m]+"}","g")}return z},trim:function(a){try{return a.replace(/^\s+|\s+$/g,"")}catch(b){return a}},merge:function(){var e={},b=arguments,d;for(d=0;d<b.length;d=d+1){DPU.lang.augmentObject(e,b[d],true)}return e},isValue:function(b){var a=DPU.lang;return(a.isObject(b)||a.isString(b)||a.isNumber(b)||a.isBoolean(b))}};DPU.util.Lang=DPU.lang;DPU.lang.augment=DPU.lang.augmentProto;DPU.augment=DPU.lang.augmentProto;DPU.extend=DPU.lang.extend;DPU.register("yahoo",DPU,{version:"2.3.0",build:"442"});(function(){var b=DPU.util,m,k,j=0,l={},g={};var d=DPU.env.ua.opera,n=DPU.env.ua.webkit,a=DPU.env.ua.gecko,h=DPU.env.ua.ie;var f={HYPHEN:/(-[a-z])/i,ROOT_TAG:/^body|html$/i};var o=function(q){if(!f.HYPHEN.test(q)){return q}if(l[q]){return l[q]}var r=q;while(f.HYPHEN.exec(r)){r=r.replace(RegExp.$1,RegExp.$1.substr(1).toUpperCase())}l[q]=r;return r};var p=function(r){var q=g[r];if(!q){q=new RegExp("(?:^|\\s+)"+r+"(?:\\s+|$)");g[r]=q}return q};if(document.defaultView&&document.defaultView.getComputedStyle){m=function(q,t){var s=null;if(t=="float"){t="cssFloat"}var r=document.defaultView.getComputedStyle(q,"");if(r){s=r[o(t)]}return q.style[t]||s}}else{if(document.documentElement.currentStyle&&h){m=function(q,s){switch(o(s)){case"opacity":var u=100;try{u=q.filters["DXImageTransform.Microsoft.Alpha"].opacity}catch(t){try{u=q.filters("alpha").opacity}catch(t){}}return u/100;case"float":s="styleFloat";default:var r=q.currentStyle?q.currentStyle[s]:null;return(q.style[s]||r)}}}else{m=function(q,r){return q.style[r]}}}if(h){k=function(q,r,s){switch(r){case"opacity":if(DPU.lang.isString(q.style.filter)){q.style.filter="alpha(opacity="+s*100+")";if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1}}break;case"float":r="styleFloat";default:q.style[r]=s}}}else{k=function(q,r,s){if(r=="float"){r="cssFloat"}q.style[r]=s}}var e=function(q,r){return q&&q.nodeType==1&&(!r||r(q))};DPU.util.Dom={get:function(s){if(!s||s.tagName||s.item){return s}if(DPU.lang.isString(s)){return document.getElementById(s)}if(s.splice){var t=[];for(var r=0,q=s.length;r<q;++r){t[t.length]=b.Dom.get(s[r])}return t}return s},getStyle:function(q,s){s=o(s);var r=function(t){return m(t,s)};return b.Dom.batch(q,r,b.Dom,true)},setStyle:function(q,s,t){s=o(s);var r=function(u){k(u,s,t)};b.Dom.batch(q,r,b.Dom,true)},getXY:function(q){var r=function(t){if((t.parentNode===null||t.offsetParent===null||this.getStyle(t,"display")=="none")&&t!=document.body){return false}var s=null;var x=[];var u;var v=t.ownerDocument;if(t.getBoundingClientRect){u=t.getBoundingClientRect();return[u.left+b.Dom.getDocumentScrollLeft(t.ownerDocument),u.top+b.Dom.getDocumentScrollTop(t.ownerDocument)]}else{x=[t.offsetLeft,t.offsetTop];s=t.offsetParent;var w=this.getStyle(t,"position")=="absolute";if(s!=t){while(s){x[0]+=s.offsetLeft;x[1]+=s.offsetTop;if(n&&!w&&this.getStyle(s,"position")=="absolute"){w=true}s=s.offsetParent}}if(n&&w){x[0]-=t.ownerDocument.body.offsetLeft;x[1]-=t.ownerDocument.body.offsetTop}}s=t.parentNode;while(s.tagName&&!f.ROOT_TAG.test(s.tagName)){if(b.Dom.getStyle(s,"display").search(/^inline|table-row.*$/i)){x[0]-=s.scrollLeft;x[1]-=s.scrollTop}s=s.parentNode}return x};return b.Dom.batch(q,r,b.Dom,true)},getX:function(q){var r=function(s){return b.Dom.getXY(s)[0]};return b.Dom.batch(q,r,b.Dom,true)},getY:function(q){var r=function(s){return b.Dom.getXY(s)[1]};return b.Dom.batch(q,r,b.Dom,true)},setXY:function(q,t,s){var r=function(w){var v=this.getStyle(w,"position");if(v=="static"){this.setStyle(w,"position","relative");v="relative"}var y=this.getXY(w);if(y===false){return false}var x=[parseInt(this.getStyle(w,"left"),10),parseInt(this.getStyle(w,"top"),10)];if(isNaN(x[0])){x[0]=(v=="relative")?0:w.offsetLeft}if(isNaN(x[1])){x[1]=(v=="relative")?0:w.offsetTop}if(t[0]!==null){w.style.left=t[0]-y[0]+x[0]+"px"}if(t[1]!==null){w.style.top=t[1]-y[1]+x[1]+"px"}if(!s){var u=this.getXY(w);if((t[0]!==null&&u[0]!=t[0])||(t[1]!==null&&u[1]!=t[1])){this.setXY(w,t,true)}}};b.Dom.batch(q,r,b.Dom,true)},setX:function(r,q){b.Dom.setXY(r,[q,null])},setY:function(q,r){b.Dom.setXY(q,[null,r])},getRegion:function(q){var r=function(s){if((s.parentNode===null||s.offsetParent===null||this.getStyle(s,"display")=="none")&&s!=document.body){return false}var t=b.Region.getRegion(s);return t};return b.Dom.batch(q,r,b.Dom,true)},getClientWidth:function(){return b.Dom.getViewportWidth()},getClientHeight:function(){return b.Dom.getViewportHeight()},getElementsByClassName:function(u,y,v,w){y=y||"*";v=(v)?b.Dom.get(v):null||document;if(!v){return[]}var r=[],q=v.getElementsByTagName(y),x=p(u);for(var s=0,t=q.length;s<t;++s){if(x.test(q[s].className)){r[r.length]=q[s];if(w){w.call(q[s],q[s])}}}return r},hasClass:function(s,r){var q=p(r);var t=function(u){return q.test(u.className)};return b.Dom.batch(s,t,b.Dom,true)},addClass:function(r,q){var s=function(t){if(this.hasClass(t,q)){return false}t.className=DPU.lang.trim([t.className,q].join(" "));return true};return b.Dom.batch(r,s,b.Dom,true)},removeClass:function(s,r){var q=p(r);var t=function(u){if(!this.hasClass(u,r)){return false}var v=u.className;u.className=v.replace(q," ");if(this.hasClass(u,r)){this.removeClass(u,r)}u.className=DPU.lang.trim(u.className);return true};return b.Dom.batch(s,t,b.Dom,true)},replaceClass:function(t,r,q){if(!q||r===q){return false}var s=p(r);var u=function(v){if(!this.hasClass(v,r)){this.addClass(v,q);return true}v.className=v.className.replace(s," "+q+" ");if(this.hasClass(v,r)){this.replaceClass(v,r,q)}v.className=DPU.lang.trim(v.className);return true};return b.Dom.batch(t,u,b.Dom,true)},generateId:function(q,s){s=s||"yui-gen";var r=function(t){if(t&&t.id){return t.id}var u=s+j++;if(t){t.id=u}return u};return b.Dom.batch(q,r,b.Dom,true)||r.apply(b.Dom,arguments)},isAncestor:function(r,s){r=b.Dom.get(r);if(!r||!s){return false}var q=function(t){if(r.contains&&t.nodeType&&!n){return r.contains(t)}else{if(r.compareDocumentPosition&&t.nodeType){return !!(r.compareDocumentPosition(t)&16)}else{if(t.nodeType){return !!this.getAncestorBy(t,function(u){return u==r})}}}return false};return b.Dom.batch(s,q,b.Dom,true)},inDocument:function(q){var r=function(s){if(n){while(s=s.parentNode){if(s==document.documentElement){return true}}return false}return this.isAncestor(document.documentElement,s)};return b.Dom.batch(q,r,b.Dom,true)},getElementsBy:function(x,r,s,u){r=r||"*";s=(s)?b.Dom.get(s):null||document;if(!s){return[]}var t=[],w=s.getElementsByTagName(r);for(var v=0,q=w.length;v<q;++v){if(x(w[v])){t[t.length]=w[v];if(u){u(w[v])}}}return t},batch:function(u,x,w,s){u=(u&&u.tagName)?u:b.Dom.get(u);if(!u||!x){return false}var t=(s)?w:window;if(u.tagName||(!u.item&&!u.slice)){return x.call(t,u,w)}var v=[];for(var r=0,q=u.length;r<q;++r){v[v.length]=x.call(t,u[r],w)}return v},getDocumentHeight:function(){var r=(document.compatMode!="CSS1Compat")?document.body.scrollHeight:document.documentElement.scrollHeight;var q=Math.max(r,b.Dom.getViewportHeight());return q},getDocumentWidth:function(){var r=(document.compatMode!="CSS1Compat")?document.body.scrollWidth:document.documentElement.scrollWidth;var q=Math.max(r,b.Dom.getViewportWidth());return q},getViewportHeight:function(){var q=self.innerHeight;var r=document.compatMode;if((r||h)&&!d){q=(r=="CSS1Compat")?document.documentElement.clientHeight:document.body.clientHeight}return q},getViewportWidth:function(){var q=self.innerWidth;var r=document.compatMode;if(r||h){q=(r=="CSS1Compat")?document.documentElement.clientWidth:document.body.clientWidth}return q},getAncestorBy:function(q,r){while(q=q.parentNode){if(e(q,r)){return q}}return null},getAncestorByClassName:function(r,q){r=b.Dom.get(r);if(!r){return null}var s=function(t){return b.Dom.hasClass(t,q)};return b.Dom.getAncestorBy(r,s)},getAncestorByTagName:function(r,q){r=b.Dom.get(r);if(!r){return null}var s=function(t){return t.tagName&&t.tagName.toUpperCase()==q.toUpperCase()};return b.Dom.getAncestorBy(r,s)},getPreviousSiblingBy:function(q,r){while(q){q=q.previousSibling;if(e(q,r)){return q}}return null},getPreviousSibling:function(q){q=b.Dom.get(q);if(!q){return null}return b.Dom.getPreviousSiblingBy(q)},getNextSiblingBy:function(q,r){while(q){q=q.nextSibling;if(e(q,r)){return q}}return null},getNextSibling:function(q){q=b.Dom.get(q);if(!q){return null}return b.Dom.getNextSiblingBy(q)},getFirstChildBy:function(q,s){var r=(e(q.firstChild,s))?q.firstChild:null;return r||b.Dom.getNextSiblingBy(q.firstChild,s)},getFirstChild:function(q,r){q=b.Dom.get(q);if(!q){return null}return b.Dom.getFirstChildBy(q)},getLastChildBy:function(q,s){if(!q){return null}var r=(e(q.lastChild,s))?q.lastChild:null;return r||b.Dom.getPreviousSiblingBy(q.lastChild,s)},getLastChild:function(q){q=b.Dom.get(q);return b.Dom.getLastChildBy(q)},getChildrenBy:function(r,t){var s=b.Dom.getFirstChildBy(r,t);var q=s?[s]:[];b.Dom.getNextSiblingBy(s,function(u){if(!t||t(u)){q[q.length]=u}return false});return q},getChildren:function(q){q=b.Dom.get(q);if(!q){}return b.Dom.getChildrenBy(q)},getDocumentScrollLeft:function(q){q=q||document;return Math.max(q.documentElement.scrollLeft,q.body.scrollLeft)},getDocumentScrollTop:function(q){q=q||document;return Math.max(q.documentElement.scrollTop,q.body.scrollTop)},insertBefore:function(r,q){r=b.Dom.get(r);q=b.Dom.get(q);if(!r||!q||!q.parentNode){return null}return q.parentNode.insertBefore(r,q)},insertAfter:function(r,q){r=b.Dom.get(r);q=b.Dom.get(q);if(!r||!q||!q.parentNode){return null}if(q.nextSibling){return q.parentNode.insertBefore(r,q.nextSibling)}else{return q.parentNode.appendChild(r)}}}})();DPU.util.Region=function(e,f,a,d){this.top=e;this[1]=e;this.right=f;this.bottom=a;this.left=d;this[0]=d};DPU.util.Region.prototype.contains=function(a){return(a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom)};DPU.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left))};DPU.util.Region.prototype.intersect=function(g){var e=Math.max(this.top,g.top);var f=Math.min(this.right,g.right);var a=Math.min(this.bottom,g.bottom);var d=Math.max(this.left,g.left);if(a>=e&&f>=d){return new DPU.util.Region(e,f,a,d)}else{return null}};DPU.util.Region.prototype.union=function(g){var e=Math.min(this.top,g.top);var f=Math.max(this.right,g.right);var a=Math.max(this.bottom,g.bottom);var d=Math.min(this.left,g.left);return new DPU.util.Region(e,f,a,d)};DPU.util.Region.prototype.toString=function(){return("Region {top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+"}")};DPU.util.Region.getRegion=function(f){var h=DPU.util.Dom.getXY(f);var e=h[1];var g=h[0]+f.offsetWidth;var a=h[1]+f.offsetHeight;var d=h[0];return new DPU.util.Region(e,g,a,d)};DPU.util.Point=function(a,b){if(DPU.lang.isArray(a)){b=a[1];a=a[0]}this.x=this.right=this.left=this[0]=a;this.y=this.top=this.bottom=this[1]=b};DPU.util.Point.prototype=new DPU.util.Region();DPU.register("dom",DPU.util.Dom,{version:"2.3.0",build:"442"});DPU.util.CustomEvent=function(e,b,d,a){this.type=e;this.scope=b||window;this.silent=d;this.signature=a||DPU.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){}var f="_YUICEOnSubscribe";if(e!==f){this.subscribeEvent=new DPU.util.CustomEvent(f,this,true)}};DPU.util.CustomEvent.LIST=0;DPU.util.CustomEvent.FLAT=1;DPU.util.CustomEvent.prototype={subscribe:function(b,d,a){if(!b){throw new Error("Invalid callback for subscriber to '"+this.type+"'")}if(this.subscribeEvent){this.subscribeEvent.fire(b,d,a)}this.subscribers.push(new DPU.util.Subscriber(b,d,a))},unsubscribe:function(e,g){if(!e){return this.unsubscribeAll()}var f=false;for(var b=0,a=this.subscribers.length;b<a;++b){var d=this.subscribers[b];if(d&&d.contains(e,g)){this._delete(b);f=true}}return f},fire:function(){var f=this.subscribers.length;if(!f&&this.silent){return true}var h=[],g=true,e,j=false;for(e=0;e<arguments.length;++e){h.push(arguments[e])}var a=h.length;if(!this.silent){}for(e=0;e<f;++e){var m=this.subscribers[e];if(!m){j=true}else{if(!this.silent){}var l=m.getScope(this.scope);if(this.signature==DPU.util.CustomEvent.FLAT){var b=null;if(h.length>0){b=h[0]}g=m.fn.call(l,b,m.obj)}else{g=m.fn.call(l,this.type,h,m.obj)}if(false===g){if(!this.silent){}return false}}}if(j){var k=[],d=this.subscribers;for(e=0,f=d.length;e<f;++e){m=d[e];k.push(d[e])}this.subscribers=k}return true},unsubscribeAll:function(){for(var b=0,a=this.subscribers.length;b<a;++b){this._delete(a-1-b)}this.subscribers=[];return b},_delete:function(a){var b=this.subscribers[a];if(b){delete b.fn;delete b.obj}this.subscribers[a]=null},toString:function(){return"CustomEvent: '"+this.type+"', scope: "+this.scope}};DPU.util.Subscriber=function(b,d,a){this.fn=b;this.obj=DPU.lang.isUndefined(d)?null:d;this.override=a};DPU.util.Subscriber.prototype.getScope=function(a){if(this.override){if(this.override===true){return this.obj}else{return this.override}}return a};DPU.util.Subscriber.prototype.contains=function(a,b){if(b){return(this.fn==a&&this.obj==b)}else{return(this.fn==a)}};DPU.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", override: "+(this.override||"no")+" }"};if(!DPU.util.Event){DPU.util.Event=function(){var j=false;var l=false;var k=[];var m=[];var h=[];var f=[];var d=0;var g=[];var b=[];var a=0;var e={63232:38,63233:40,63234:37,63235:39};return{POLL_RETRYS:4000,POLL_INTERVAL:10,EL:0,TYPE:1,FN:2,WFN:3,OBJ:3,ADJ_SCOPE:4,lastError:null,isSafari:DPU.env.ua.webkit,webkit:DPU.env.ua.webkit,isIE:DPU.env.ua.ie,_interval:null,startInterval:function(){if(!this._interval){var n=this;var o=function(){n._tryPreloadAttach()};this._interval=setInterval(o,this.POLL_INTERVAL)}},onAvailable:function(p,n,q,o){g.push({id:p,fn:n,obj:q,override:o,checkReady:false});d=this.POLL_RETRYS;this.startInterval()},onDOMReady:function(n,p,o){if(l){setTimeout(function(){var q=window;if(o){if(o===true){q=p}else{q=o}}n.call(q,"DOMReady",[],p)},0)}else{this.DOMReadyEvent.subscribe(n,p,o)}},onContentReady:function(p,n,q,o){g.push({id:p,fn:n,obj:q,override:o,checkReady:true});d=this.POLL_RETRYS;this.startInterval()},addListener:function(p,n,y,t,o){if(!y||!y.call){return false}if(this._isValidCollection(p)){var z=true;for(var u=0,w=p.length;u<w;++u){z=this.on(p[u],n,y,t,o)&&z}return z}else{if(DPU.lang.isString(p)){var s=this.getEl(p);if(s){p=s}else{this.onAvailable(p,function(){DPU.util.Event.on(p,n,y,t,o)});return true}}}if(!p){return false}if("unload"==n&&t!==this){m[m.length]=[p,n,y,t,o];return true}var B=p;if(o){if(o===true){B=t}else{B=o}}var q=function(C){return y.call(B,DPU.util.Event.getEvent(C),t)};var A=[p,n,y,q,B];var v=k.length;k[v]=A;if(this.useLegacyEvent(p,n)){var r=this.getLegacyIndex(p,n);if(r==-1||p!=h[r][0]){r=h.length;b[p.id+n]=r;h[r]=[p,n,p["on"+n]];f[r]=[];p["on"+n]=function(C){DPU.util.Event.fireLegacyEvent(DPU.util.Event.getEvent(C),r)}}f[r].push(A)}else{try{this._simpleAdd(p,n,q,false)}catch(x){this.lastError=x;this.removeListener(p,n,y);return false}}return true},fireLegacyEvent:function(r,p){var t=true,n,v,u,w,s;v=f[p];for(var o=0,q=v.length;o<q;++o){u=v[o];if(u&&u[this.WFN]){w=u[this.ADJ_SCOPE];s=u[this.WFN].call(w,r);t=(t&&s)}}n=h[p];if(n&&n[2]){n[2](r)}return t},getLegacyIndex:function(o,p){var n=this.generateId(o)+p;if(typeof b[n]=="undefined"){return -1}else{return b[n]}},useLegacyEvent:function(o,p){if(this.webkit&&("click"==p||"dblclick"==p)){var n=parseInt(this.webkit,10);if(!isNaN(n)&&n<418){return true}}return false},removeListener:function(o,n,w){var r,u;if(typeof o=="string"){o=this.getEl(o)}else{if(this._isValidCollection(o)){var x=true;for(r=0,u=o.length;r<u;++r){x=(this.removeListener(o[r],n,w)&&x)}return x}}if(!w||!w.call){return this.purgeElement(o,false,n)}if("unload"==n){for(r=0,u=m.length;r<u;r++){var y=m[r];if(y&&y[0]==o&&y[1]==n&&y[2]==w){m[r]=null;return true}}return false}var s=null;var t=arguments[3];if("undefined"==typeof t){t=this._getCacheIndex(o,n,w)}if(t>=0){s=k[t]}if(!o||!s){return false}if(this.useLegacyEvent(o,n)){var q=this.getLegacyIndex(o,n);var p=f[q];if(p){for(r=0,u=p.length;r<u;++r){y=p[r];if(y&&y[this.EL]==o&&y[this.TYPE]==n&&y[this.FN]==w){p[r]=null;break}}}}else{try{this._simpleRemove(o,n,s[this.WFN],false)}catch(v){this.lastError=v;return false}}delete k[t][this.WFN];delete k[t][this.FN];k[t]=null;return true},getTarget:function(p,o){var n=p.target||p.srcElement;return this.resolveTextNode(n)},resolveTextNode:function(n){if(n&&3==n.nodeType){return n.parentNode}else{return n}},getPageX:function(o){var n=o.pageX;if(!n&&0!==n){n=o.clientX||0;if(this.isIE){n+=this._getScrollLeft()}}return n},getPageY:function(n){var o=n.pageY;if(!o&&0!==o){o=n.clientY||0;if(this.isIE){o+=this._getScrollTop()}}return o},getXY:function(n){return[this.getPageX(n),this.getPageY(n)]},getRelatedTarget:function(o){var n=o.relatedTarget;if(!n){if(o.type=="mouseout"){n=o.toElement}else{if(o.type=="mouseover"){n=o.fromElement}}}return this.resolveTextNode(n)},getTime:function(p){if(!p.time){var o=new Date().getTime();try{p.time=o}catch(n){this.lastError=n;return o}}return p.time},stopEvent:function(n){this.stopPropagation(n);this.preventDefault(n)},stopPropagation:function(n){if(n.stopPropagation){n.stopPropagation()}else{n.cancelBubble=true}},preventDefault:function(n){if(n.preventDefault){n.preventDefault()}else{n.returnValue=false}},getEvent:function(o){var n=o||window.event;if(!n){var p=this.getEvent.caller;while(p){n=p.arguments[0];if(n&&Event==n.constructor){break}p=p.caller}}return n},getCharCode:function(o){var n=o.keyCode||o.charCode||0;if(DPU.env.ua.webkit&&(n in e)){n=e[n]}return n},_getCacheIndex:function(r,s,q){for(var p=0,o=k.length;p<o;++p){var n=k[p];if(n&&n[this.FN]==q&&n[this.EL]==r&&n[this.TYPE]==s){return p}}return -1},generateId:function(n){var o=n.id;if(!o){o="yuievtautoid-"+a;++a;n.id=o}return o},_isValidCollection:function(p){try{return(p&&p.length&&typeof p!="string"&&!p.tagName&&!p.alert&&typeof p[0]!="undefined")}catch(n){return false}},elCache:{},getEl:function(n){return document.getElementById(n)},clearCache:function(){},DOMReadyEvent:new DPU.util.CustomEvent("DOMReady",this),_load:function(o){if(!j){j=true;var n=DPU.util.Event;n._ready();n._tryPreloadAttach()}},_ready:function(o){if(!l){l=true;var n=DPU.util.Event;n.DOMReadyEvent.fire();n._simpleRemove(document,"DOMContentLoaded",n._ready)}},_tryPreloadAttach:function(){if(this.locked){return false}if(this.isIE){if(!l){this.startInterval();return false}}this.locked=true;var s=!j;if(!s){s=(d>0)}var r=[];var t=function(v,w){var u=v;if(w.override){if(w.override===true){u=w.obj}else{u=w.override}}w.fn.call(u,w.obj)};var o,n,q,p;for(o=0,n=g.length;o<n;++o){q=g[o];if(q&&!q.checkReady){p=this.getEl(q.id);if(p){t(p,q);g[o]=null}else{r.push(q)}}}for(o=0,n=g.length;o<n;++o){q=g[o];if(q&&q.checkReady){p=this.getEl(q.id);if(p){if(j||p.nextSibling){t(p,q);g[o]=null}}else{r.push(q)}}}d=(r.length===0)?0:d-1;if(s){this.startInterval()}else{clearInterval(this._interval);this._interval=null}this.locked=false;return true},purgeElement:function(q,r,t){var s=this.getListeners(q,t);if(s){for(var p=0,n=s.length;p<n;++p){var o=s[p];this.removeListener(q,o.type,o.fn,o.index)}}if(r&&q&&q.childNodes){for(p=0,n=q.childNodes.length;p<n;++p){this.purgeElement(q.childNodes[p],r,t)}}},getListeners:function(p,n){var s=[],o;if(!n){o=[k,m]}else{if(n=="unload"){o=[m]}else{o=[k]}}for(var r=0;r<o.length;++r){var v=o[r];if(v&&v.length>0){for(var t=0,u=v.length;t<u;++t){var q=v[t];if(q&&q[this.EL]===p&&(!n||n===q[this.TYPE])){s.push({type:q[this.TYPE],fn:q[this.FN],obj:q[this.OBJ],adjust:q[this.ADJ_SCOPE],index:t})}}}}return(s.length)?s:null},_unload:function(u){var t=DPU.util.Event,r,q,o,n,p;for(r=0,n=m.length;r<n;++r){o=m[r];if(o){var s=window;if(o[t.ADJ_SCOPE]){if(o[t.ADJ_SCOPE]===true){s=o[t.OBJ]}else{s=o[t.ADJ_SCOPE]}}o[t.FN].call(s,t.getEvent(u),o[t.OBJ]);m[r]=null;o=null;s=null}}m=null;if(k&&k.length>0){q=k.length;while(q){p=q-1;o=k[p];if(o){t.removeListener(o[t.EL],o[t.TYPE],o[t.FN],p)}q=q-1}o=null;t.clearCache()}for(r=0,n=h.length;r<n;++r){h[r][0]=null;h[r]=null}h=null;t._simpleRemove(window,"unload",t._unload)},_getScrollLeft:function(){return this._getScroll()[1]},_getScrollTop:function(){return this._getScroll()[0]},_getScroll:function(){var n=document.documentElement,o=document.body;if(n&&(n.scrollTop||n.scrollLeft)){return[n.scrollTop,n.scrollLeft]}else{if(o){return[o.scrollTop,o.scrollLeft]}else{return[0,0]}}},regCE:function(){},_simpleAdd:function(){if(window.addEventListener){return function(p,q,o,n){p.addEventListener(q,o,(n))}}else{if(window.attachEvent){return function(p,q,o,n){p.attachEvent("on"+q,o)}}else{return function(){}}}}(),_simpleRemove:function(){if(window.removeEventListener){return function(p,q,o,n){p.removeEventListener(q,o,(n))}}else{if(window.detachEvent){return function(o,p,n){o.detachEvent("on"+p,n)}}else{return function(){}}}}()}}();(function(){var g=DPU.util.Event;g.on=g.addListener;if(g.isIE){DPU.util.Event.onDOMReady(DPU.util.Event._tryPreloadAttach,DPU.util.Event,true);var e,h=document,a=h.body;if(("undefined"!==typeof DPU_config)&&DPU_config.injecting){e=document.createElement("script");var f=h.getElementsByTagName("head")[0]||a;f.insertBefore(e,f.firstChild)}else{h.write('<script id="_yui_eu_dr" defer="true" src="//:"><\/script>');e=document.getElementById("_yui_eu_dr")}if(e){e.onreadystatechange=function(){if("complete"===this.readyState){this.parentNode.removeChild(this);DPU.util.Event._ready()}}}else{}e=null}else{if(g.webkit){g._drwatch=setInterval(function(){var b=document.readyState;if("loaded"==b||"complete"==b){clearInterval(g._drwatch);g._drwatch=null;g._ready()}},g.POLL_INTERVAL)}else{g._simpleAdd(document,"DOMContentLoaded",g._ready)}}g._simpleAdd(window,"load",g._load);g._simpleAdd(window,"unload",g._unload);g._tryPreloadAttach()})()}DPU.util.EventProvider=function(){};DPU.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(a,d,g,f){this.__yui_events=this.__yui_events||{};var e=this.__yui_events[a];if(e){e.subscribe(d,g,f)}else{this.__yui_subscribers=this.__yui_subscribers||{};var b=this.__yui_subscribers;if(!b[a]){b[a]=[]}b[a].push({fn:d,obj:g,override:f})}},unsubscribe:function(d,f,h){this.__yui_events=this.__yui_events||{};var a=this.__yui_events;if(d){var g=a[d];if(g){return g.unsubscribe(f,h)}}else{for(var e in a){var b=true;if(DPU.lang.hasOwnProperty(a,e)){b=b&&a[e].unsubscribe(f,h)}}return b}return false},unsubscribeAll:function(a){return this.unsubscribe(a)},createEvent:function(h,e){this.__yui_events=this.__yui_events||{};var a=e||{};var k=this.__yui_events;if(k[h]){}else{var j=a.scope||this;var f=(a.silent);var b=new DPU.util.CustomEvent(h,j,f,DPU.util.CustomEvent.FLAT);k[h]=b;if(a.onSubscribeCallback){b.subscribeEvent.subscribe(a.onSubscribeCallback)}this.__yui_subscribers=this.__yui_subscribers||{};var g=this.__yui_subscribers[h];if(g){for(var d=0;d<g.length;++d){b.subscribe(g[d].fn,g[d].obj,g[d].override)}}}return k[h]},fireEvent:function(f,e,a,d){this.__yui_events=this.__yui_events||{};var h=this.__yui_events[f];if(!h){return null}var b=[];for(var g=1;g<arguments.length;++g){b.push(arguments[g])}return h.fire.apply(h,b)},hasEvent:function(a){if(this.__yui_events){if(this.__yui_events[a]){return true}}return false}};DPU.util.KeyListener=function(a,g,b,d){if(!a){}else{if(!g){}else{if(!b){}}}if(!d){d=DPU.util.KeyListener.KEYDOWN}var e=new DPU.util.CustomEvent("keyPressed");this.enabledEvent=new DPU.util.CustomEvent("enabled");this.disabledEvent=new DPU.util.CustomEvent("disabled");if(typeof a=="string"){a=document.getElementById(a)}if(typeof b=="function"){e.subscribe(b)}else{e.subscribe(b.fn,b.scope,b.correctScope)}function f(m,l){if(!g.shift){g.shift=false}if(!g.alt){g.alt=false}if(!g.ctrl){g.ctrl=false}if(m.shiftKey==g.shift&&m.altKey==g.alt&&m.ctrlKey==g.ctrl){var j;var h;if(g.keys instanceof Array){for(var k=0;k<g.keys.length;k++){j=g.keys[k];if(j==m.charCode){e.fire(m.charCode,m);break}else{if(j==m.keyCode){e.fire(m.keyCode,m);break}}}}else{j=g.keys;if(j==m.charCode){e.fire(m.charCode,m)}else{if(j==m.keyCode){e.fire(m.keyCode,m)}}}}}this.enable=function(){if(!this.enabled){DPU.util.Event.addListener(a,d,f);this.enabledEvent.fire(g)}this.enabled=true};this.disable=function(){if(this.enabled){DPU.util.Event.removeListener(a,d,f);this.disabledEvent.fire(g)}this.enabled=false};this.toString=function(){return"KeyListener ["+g.keys+"] "+a.tagName+(a.id?"["+a.id+"]":"")}};DPU.util.KeyListener.KEYDOWN="keydown";DPU.util.KeyListener.KEYUP="keyup";DPU.register("event",DPU.util.Event,{version:"2.3.0",build:"442"});DPU.util.Anim=function(b,a,d,e){if(b){this.init(b,a,d,e)}};DPU.util.Anim.prototype={toString:function(){var a=this.getEl();var b=a.id||a.tagName;return("Anim "+b)},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(a,d,b){return this.method(this.currentFrame,d,b-d,this.totalFrames)},setAttribute:function(a,d,b){if(this.patterns.noNegatives.test(a)){d=(d>0)?d:0}DPU.util.Dom.setStyle(this.getEl(),a,d+b)},getAttribute:function(b){var e=this.getEl();var g=DPU.util.Dom.getStyle(e,b);if(g!=="auto"&&!this.patterns.offsetUnit.test(g)){return parseFloat(g)}var d=this.patterns.offsetAttribute.exec(b)||[];var h=!!(d[3]);var f=!!(d[2]);if(f||(DPU.util.Dom.getStyle(e,"position")=="absolute"&&h)){g=e["offset"+d[0].charAt(0).toUpperCase()+d[0].substr(1)]}else{g=0}return g},getDefaultUnit:function(a){if(this.patterns.defaultUnit.test(a)){return"px"}return""},setRuntimeAttribute:function(b){var h;var d;var e=this.attributes;this.runtimeAttributes[b]={};var g=function(j){return(typeof j!=="undefined")};if(!g(e[b]["to"])&&!g(e[b]["by"])){return false}h=(g(e[b]["from"]))?e[b]["from"]:this.getAttribute(b);if(g(e[b]["to"])){d=e[b]["to"]}else{if(g(e[b]["by"])){if(h.constructor==Array){d=[];for(var f=0,a=h.length;f<a;++f){d[f]=h[f]+e[b]["by"][f]}}else{d=h+e[b]["by"]}}}this.runtimeAttributes[b].start=h;this.runtimeAttributes[b].end=d;this.runtimeAttributes[b].unit=(g(e[b].unit))?e[b]["unit"]:this.getDefaultUnit(b)},init:function(d,j,h,a){var b=false;var e=null;var g=0;d=DPU.util.Dom.get(d);this.attributes=j||{};this.duration=h||1;this.method=a||DPU.util.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=DPU.util.AnimMgr.fps;this.getEl=function(){return d};this.isAnimated=function(){return b};this.getStartTime=function(){return e};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return false}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(DPU.util.AnimMgr.fps*this.duration):this.duration;DPU.util.AnimMgr.registerElement(this)};this.stop=function(m){if(m){this.currentFrame=this.totalFrames;this._onTween.fire()}DPU.util.AnimMgr.stop(this)};var l=function(){this.onStart.fire();this.runtimeAttributes={};for(var m in this.attributes){this.setRuntimeAttribute(m)}b=true;g=0;e=new Date()};var k=function(){var o={duration:new Date()-this.getStartTime(),currentFrame:this.currentFrame};o.toString=function(){return("duration: "+o.duration+", currentFrame: "+o.currentFrame)};this.onTween.fire(o);var n=this.runtimeAttributes;for(var m in n){this.setAttribute(m,this.doMethod(m,n[m].start,n[m].end),n[m].unit)}g+=1};var f=function(){var m=(new Date()-e)/1000;var n={duration:m,frames:g,fps:g/m};n.toString=function(){return("duration: "+n.duration+", frames: "+n.frames+", fps: "+n.fps)};b=false;g=0;this.onComplete.fire(n)};this._onStart=new DPU.util.CustomEvent("_start",this,true);this.onStart=new DPU.util.CustomEvent("start",this);this.onTween=new DPU.util.CustomEvent("tween",this);this._onTween=new DPU.util.CustomEvent("_tween",this,true);this.onComplete=new DPU.util.CustomEvent("complete",this);this._onComplete=new DPU.util.CustomEvent("_complete",this,true);this._onStart.subscribe(l);this._onTween.subscribe(k);this._onComplete.subscribe(f)}};DPU.util.AnimMgr=new function(){var d=null;var b=[];var a=0;this.fps=1000;this.delay=1;this.registerElement=function(g){b[b.length]=g;a+=1;g._onStart.fire();this.start()};this.unRegister=function(h,g){h._onComplete.fire();g=g||f(h);if(g!=-1){b.splice(g,1)}a-=1;if(a<=0){this.stop()}};this.start=function(){if(d===null){d=setInterval(this.run,this.delay)}};this.stop=function(j){if(!j){clearInterval(d);for(var h=0,g=b.length;h<g;++h){if(b[0].isAnimated()){this.unRegister(b[0],0)}}b=[];d=null;a=0}else{this.unRegister(j)}};this.run=function(){for(var j=0,g=b.length;j<g;++j){var h=b[j];if(!h||!h.isAnimated()){continue}if(h.currentFrame<h.totalFrames||h.totalFrames===null){h.currentFrame+=1;if(h.useSeconds){e(h)}h._onTween.fire()}else{DPU.util.AnimMgr.stop(h,j)}}};var f=function(j){for(var h=0,g=b.length;h<g;++h){if(b[h]==j){return h}}return -1};var e=function(h){var l=h.totalFrames;var k=h.currentFrame;var j=(h.currentFrame*h.duration*1000/h.totalFrames);var g=(new Date()-h.getStartTime());var m=0;if(g<h.duration*1000){m=Math.round((g/j-1)*h.currentFrame)}else{m=l-(k+1)}if(m>0&&isFinite(m)){if(h.currentFrame+m>=l){m=l-(k+1)}h.currentFrame+=m}}};DPU.util.Bezier=new function(){this.getPosition=function(f,e){var g=f.length;var d=[];for(var b=0;b<g;++b){d[b]=[f[b][0],f[b][1]]}for(var a=1;a<g;++a){for(b=0;b<g-a;++b){d[b][0]=(1-e)*d[b][0]+e*d[parseInt(b+1,10)][0];d[b][1]=(1-e)*d[b][1]+e*d[parseInt(b+1,10)][1]}}return[d[0][0],d[0][1]]}};(function(){DPU.util.ColorAnim=function(f,e,g,h){DPU.util.ColorAnim.superclass.constructor.call(this,f,e,g,h)};DPU.extend(DPU.util.ColorAnim,DPU.util.Anim);var b=DPU.util;var d=b.ColorAnim.superclass;var a=b.ColorAnim.prototype;a.toString=function(){var e=this.getEl();var f=e.id||e.tagName;return("ColorAnim "+f)};a.patterns.color=/color$/i;a.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;a.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;a.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;a.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;a.parseColor=function(e){if(e.length==3){return e}var f=this.patterns.hex.exec(e);if(f&&f.length==4){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}f=this.patterns.rgb.exec(e);if(f&&f.length==4){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}f=this.patterns.hex3.exec(e);if(f&&f.length==4){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}return null};a.getAttribute=function(e){var g=this.getEl();if(this.patterns.color.test(e)){var h=DPU.util.Dom.getStyle(g,e);if(this.patterns.transparent.test(h)){var f=g.parentNode;h=b.Dom.getStyle(f,e);while(f&&this.patterns.transparent.test(h)){f=f.parentNode;h=b.Dom.getStyle(f,e);if(f.tagName.toUpperCase()=="HTML"){h="#fff"}}}}else{h=d.getAttribute.call(this,e)}return h};a.doMethod=function(f,k,g){var j;if(this.patterns.color.test(f)){j=[];for(var h=0,e=k.length;h<e;++h){j[h]=d.doMethod.call(this,f,k[h],g[h])}j="rgb("+Math.floor(j[0])+","+Math.floor(j[1])+","+Math.floor(j[2])+")"}else{j=d.doMethod.call(this,f,k,g)}return j};a.setRuntimeAttribute=function(f){d.setRuntimeAttribute.call(this,f);if(this.patterns.color.test(f)){var h=this.attributes;var k=this.parseColor(this.runtimeAttributes[f].start);var g=this.parseColor(this.runtimeAttributes[f].end);if(typeof h[f]["to"]==="undefined"&&typeof h[f]["by"]!=="undefined"){g=this.parseColor(h[f].by);for(var j=0,e=k.length;j<e;++j){g[j]=k[j]+g[j]}}this.runtimeAttributes[f].start=k;this.runtimeAttributes[f].end=g}}})();DPU.util.Easing={easeNone:function(e,a,g,f){return g*e/f+a},easeIn:function(e,a,g,f){return g*(e/=f)*e+a},easeOut:function(e,a,g,f){return -g*(e/=f)*(e-2)+a},easeBoth:function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e+a}return -g/2*((--e)*(e-2)-1)+a},easeInStrong:function(e,a,g,f){return g*(e/=f)*e*e*e+a},easeOutStrong:function(e,a,g,f){return -g*((e=e/f-1)*e*e*e-1)+a},easeBothStrong:function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e*e+a}return -g/2*((e-=2)*e*e*e-2)+a},elasticIn:function(g,e,l,k,f,j){if(g==0){return e}if((g/=k)==1){return e+l}if(!j){j=k*0.3}if(!f||f<Math.abs(l)){f=l;var h=j/4}else{var h=j/(2*Math.PI)*Math.asin(l/f)}return -(f*Math.pow(2,10*(g-=1))*Math.sin((g*k-h)*(2*Math.PI)/j))+e},elasticOut:function(g,e,l,k,f,j){if(g==0){return e}if((g/=k)==1){return e+l}if(!j){j=k*0.3}if(!f||f<Math.abs(l)){f=l;var h=j/4}else{var h=j/(2*Math.PI)*Math.asin(l/f)}return f*Math.pow(2,-10*g)*Math.sin((g*k-h)*(2*Math.PI)/j)+l+e},elasticBoth:function(g,e,l,k,f,j){if(g==0){return e}if((g/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(!f||f<Math.abs(l)){f=l;var h=j/4}else{var h=j/(2*Math.PI)*Math.asin(l/f)}if(g<1){return -0.5*(f*Math.pow(2,10*(g-=1))*Math.sin((g*k-h)*(2*Math.PI)/j))+e}return f*Math.pow(2,-10*(g-=1))*Math.sin((g*k-h)*(2*Math.PI)/j)*0.5+l+e},backIn:function(e,a,h,g,f){if(typeof f=="undefined"){f=1.70158}return h*(e/=g)*e*((f+1)*e-f)+a},backOut:function(e,a,h,g,f){if(typeof f=="undefined"){f=1.70158}return h*((e=e/g-1)*e*((f+1)*e+f)+1)+a},backBoth:function(e,a,h,g,f){if(typeof f=="undefined"){f=1.70158}if((e/=g/2)<1){return h/2*(e*e*(((f*=(1.525))+1)*e-f))+a}return h/2*((e-=2)*e*(((f*=(1.525))+1)*e+f)+2)+a},bounceIn:function(e,a,g,f){return g-DPU.util.Easing.bounceOut(f-e,0,g,f)+a},bounceOut:function(e,a,g,f){if((e/=f)<(1/2.75)){return g*(7.5625*e*e)+a}else{if(e<(2/2.75)){return g*(7.5625*(e-=(1.5/2.75))*e+0.75)+a}else{if(e<(2.5/2.75)){return g*(7.5625*(e-=(2.25/2.75))*e+0.9375)+a}}}return g*(7.5625*(e-=(2.625/2.75))*e+0.984375)+a},bounceBoth:function(e,a,g,f){if(e<f/2){return DPU.util.Easing.bounceIn(e*2,0,g,f)*0.5+a}return DPU.util.Easing.bounceOut(e*2-f,0,g,f)*0.5+g*0.5+a}};(function(){DPU.util.Motion=function(h,g,j,k){if(h){DPU.util.Motion.superclass.constructor.call(this,h,g,j,k)}};DPU.extend(DPU.util.Motion,DPU.util.ColorAnim);var e=DPU.util;var f=e.Motion.superclass;var b=e.Motion.prototype;b.toString=function(){var g=this.getEl();var h=g.id||g.tagName;return("Motion "+h)};b.patterns.points=/^points$/i;b.setAttribute=function(g,j,h){if(this.patterns.points.test(g)){h=h||"px";f.setAttribute.call(this,"left",j[0],h);f.setAttribute.call(this,"top",j[1],h)}else{f.setAttribute.call(this,g,j,h)}};b.getAttribute=function(g){if(this.patterns.points.test(g)){var h=[f.getAttribute.call(this,"left"),f.getAttribute.call(this,"top")]}else{h=f.getAttribute.call(this,g)}return h};b.doMethod=function(g,l,h){var k=null;if(this.patterns.points.test(g)){var j=this.method(this.currentFrame,0,100,this.totalFrames)/100;k=e.Bezier.getPosition(this.runtimeAttributes[g],j)}else{k=f.doMethod.call(this,g,l,h)}return k};b.setRuntimeAttribute=function(q){if(this.patterns.points.test(q)){var h=this.getEl();var k=this.attributes;var g;var m=k.points["control"]||[];var j;var n,p;if(m.length>0&&!(m[0] instanceof Array)){m=[m]}else{var l=[];for(n=0,p=m.length;n<p;++n){l[n]=m[n]}m=l}if(e.Dom.getStyle(h,"position")=="static"){e.Dom.setStyle(h,"position","relative")}if(d(k.points["from"])){e.Dom.setXY(h,k.points["from"])}else{e.Dom.setXY(h,e.Dom.getXY(h))}g=this.getAttribute("points");if(d(k.points["to"])){j=a.call(this,k.points["to"],g);var o=e.Dom.getXY(this.getEl());for(n=0,p=m.length;n<p;++n){m[n]=a.call(this,m[n],g)}}else{if(d(k.points["by"])){j=[g[0]+k.points["by"][0],g[1]+k.points["by"][1]];for(n=0,p=m.length;n<p;++n){m[n]=[g[0]+m[n][0],g[1]+m[n][1]]}}}this.runtimeAttributes[q]=[g];if(m.length>0){this.runtimeAttributes[q]=this.runtimeAttributes[q].concat(m)}this.runtimeAttributes[q][this.runtimeAttributes[q].length]=j}else{f.setRuntimeAttribute.call(this,q)}};var a=function(g,j){var h=e.Dom.getXY(this.getEl());g=[g[0]-h[0]+j[0],g[1]-h[1]+j[1]];return g};var d=function(g){return(typeof g!=="undefined")}})();(function(){DPU.util.Scroll=function(f,e,g,h){if(f){DPU.util.Scroll.superclass.constructor.call(this,f,e,g,h)}};DPU.extend(DPU.util.Scroll,DPU.util.ColorAnim);var b=DPU.util;var d=b.Scroll.superclass;var a=b.Scroll.prototype;a.toString=function(){var e=this.getEl();var f=e.id||e.tagName;return("Scroll "+f)};a.doMethod=function(e,h,f){var g=null;if(e=="scroll"){g=[this.method(this.currentFrame,h[0],f[0]-h[0],this.totalFrames),this.method(this.currentFrame,h[1],f[1]-h[1],this.totalFrames)]}else{g=d.doMethod.call(this,e,h,f)}return g};a.getAttribute=function(e){var g=null;var f=this.getEl();if(e=="scroll"){g=[f.scrollLeft,f.scrollTop]}else{g=d.getAttribute.call(this,e)}return g};a.setAttribute=function(e,h,g){var f=this.getEl();if(e=="scroll"){f.scrollLeft=h[0];f.scrollTop=h[1]}else{d.setAttribute.call(this,e,h,g)}}})();DPU.register("animation",DPU.util.Anim,{version:"2.2.2",build:"204"});if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(f,d,n,g,k,m,o,j,a,e){if(!document.getElementById){return}this.DETECT_KEY=e?e:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(f){this.setAttribute("swf",f)}if(d){this.setAttribute("id",d)}if(n){this.setAttribute("width",n)}if(g){this.setAttribute("height",g)}if(k){this.setAttribute("version",new deconcept.PlayerVersion(k.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(m){this.addParam("bgcolor",m)}var b=o?o:"high";this.addParam("quality",b);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var l=(j)?j:window.location;this.setAttribute("xiRedirectUrl",l);this.setAttribute("redirectUrl","");if(a){this.setAttribute("redirectUrl",a)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=new Array();var b;var d=this.getVariables();for(b in d){a[a.length]=b+"="+d[b]}return a},getSWFHTML:function(){var e="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}e='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';e+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var d=this.getParams();for(var a in d){e+=[a]+'="'+d[a]+'" '}var b=this.getVariablePairs().join("&");if(b.length>0){e+='flashvars="'+b+'"'}e+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}e='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';e+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var d=this.getParams();for(var a in d){e+='<param name="'+a+'" value="'+d[a]+'" />'}var b=this.getVariablePairs().join("&");if(b.length>0){e+='<param name="flashvars" value="'+b+'" />'}e+="</object>"}return e},write:function(a){if(this.getAttribute("useExpressInstall")){var b=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(b)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var d=(typeof a=="string")?document.getElementById(a):a;d.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var d=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){d=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var f=1;var b=3;while(f){try{b++;f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+b);d=new deconcept.PlayerVersion([b,0,0])}catch(g){f=null}}}else{try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(g){try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");d=new deconcept.PlayerVersion([6,0,21]);f.AllowScriptAccess="always"}catch(g){if(d.major==6){return d}}try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(g){}}if(f!=null){d=new deconcept.PlayerVersion(f.GetVariable("$version").split(" ")[1].split(","))}}}return d};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(e){var d=document.location.search||document.location.hash;if(e==null){return d}if(d){var b=d.substring(1).split("&");for(var a=0;a<b.length;a++){if(b[a].substring(0,b[a].indexOf("="))==e){return b[a].substring((b[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var d=document.getElementsByTagName("OBJECT");for(var b=d.length-1;b>=0;b--){d[b].style.display="none";for(var a in d[b]){if(typeof d[b][a]=="function"){d[b][a]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;if(!DPU.ULT){DPU.ULT={}}if(!DPU.ULT.CONF){DPU.ULT.CONF={}}if(!DPU.ULT.BEACON){DPU.ULT.BEACON="http://geo.yahoo.com/t"}if(!DPU.ULT.IMG){DPU.ULT.IMG=new Image()}if(typeof(DPU.ULT.DEBUG)==="undefined"){DPU.ULT.DEBUG=0}DPU.ULT.DELIMITERS={"/":"P",";":"1","?":"P","&":"1"};(function(){var a=DPU.ULT;a.set_href=function(b,d,e){if(d.html){b.href=d[e];b.innerHTML=d.html}else{b.href=d[e]}};a.strip_rd=function(d,e){var b=d.indexOf("/**");if(b!=-1){e.clean=d.substr(b+3);e.clean=decodeURIComponent(e.clean)}return e};a.strip=function(d){var h=a.DELIMITERS;var g={url:d,clean:"",cookie:"",keys:[]};var b=0;while(d.indexOf("_yl",b)!=-1){var j=d.indexOf("_yl",b);if(b<j){g.clean+=d.slice(b,j-1)}b=j+3;if(h[d.charAt(j-1)]&&d.charAt(j+4)==="="){g.ult=1;var e="_yl"+d.charAt(j+3);var f="";for(j=j+5;j<d.length&&!h[d.charAt(j)];j++){f+=d.charAt(j)}g.keys.push(e);g[e]=f;if(e!="_ylv"){g.cookie+="&"+e+"="+f}if(h[d.charAt(j)]&&h[d.charAt(j)]=="P"){g.clean+=d.charAt(j)}b=j+1}else{g.clean+=d.slice(j-1,b)}}if(g.ult){g.cookie=g.cookie.substr(1);g.clean+=d.substr(b);a.strip_rd(d,g)}return g};a.clnclk=function(g,f){var d=g.target||g.srcElement;if(f._ylv==3){var b="D="+f.cookie+"; Max-Age=10; Path=/; Domain=.yahoo.com";document.cookie=b}else{var h=a.BEACON+"?"+f.cookie+"&t="+Math.random();if(g.altKey||g.ctrlKey||g.shiftKey||f.target=="_blank"){}else{a.IMG.onerror=a.IMG.onload=function(){location=f.clean};DPU.util.Event.preventDefault(g)}a.IMG.src=h}};a.clicked=function(g,f){var d=g.target||g.srcElement;if(d.nodeName!=="A"){if(d.parentNode.nodeName==="A"){d=d.parentNode}}if(f._ylv==3){a.set_href(d,f,"clean");var b="D="+f.cookie+"; Max-Age=10; Path=/; Domain=.yahoo.com";document.cookie=b}else{if(g.altKey||g.ctrlKey||g.shiftKey){}else{if(f._ylv==8||f._ylv==9){}else{var h=a.BEACON+"?"+f.cookie+"&t="+Math.random();if(f.target=="_blank"){a.set_href(d,f,"clean")}else{a.IMG.onerror=a.IMG.onload=function(){location=f.clean};DPU.util.Event.preventDefault(g)}a.IMG.src=h}}}};a.revert=function(f,d){var b=f.target||f.srcElement;if(b.nodeName==="A"){a.set_href(b,d,"url")}else{if(b.parentNode.nodeName==="A"){b.parentNode.href=d.url}}};a.clean=function(){a.isIE=(typeof(ActiveXObject)=="function");if(navigator.userAgent.toLowerCase().indexOf("safari")!=-1){a.isSafari=true}for(var d=0;d<document.links.length;d++){var e=document.links[d];if(e.className.indexOf("yltasis")!=-1){continue}var f=a.strip(e.getAttribute("href",2));var b;if(!f.ult){continue}else{if(a.isSafari&&f._ylv!=3){continue}}for(b=0;b<f.keys.length;b++){if(f.keys[b]!="_ylv"){delete f[f.keys[b]]}}delete f.keys;delete f.ult;f.target=e.target;if(a.isIE&&(e.innerHTML.indexOf("http")===0||e.className.indexOf("yltiefix")!=-1)){f.html=e.innerHTML}a.set_href(e,f,"clean");if(a.CONF.cleanest){DPU.util.Event.addListener(e,"click",a.clnclk,f)}else{DPU.util.Event.addListener(e,"click",a.clicked,f);DPU.util.Event.addListener(e,"mousedown",a.revert,f)}}}})();DPU.util.Event.addListener(window,"load",function(){setTimeout(function(){DPU.ULT.clean()},1500)});function openas(b){var a=document.getElementById(b);a.style.display=(a.style.display!="block")?"block":"none"}function closeas(a){var b=document.getElementById(a);b.style.display="none"}(function(){var f=DPU.util;var b=f.Dom;var a=f.Event;var d=f.Anim;var e=DPU.namespace("Media.Dtk");DPU.namespace("Media.Dtk.util");e.toString=function(){var h=[];for(var g in this){if(typeof(this[g])=="function"){h.push(g+": [function]")}else{h.push(g+": "+this[g].toString())}}return"DPU.Media.Dtk = "+h.join(", \n")};e.util.toString=function(){var h=[];for(var g in this){if(typeof(this[g])=="function"){h.push(g+": [function]")}else{h.push(g+": "+this[g].toString())}}return"{\n\t"+h.join(", \n\t")+"\n}"};e.util.clickFn=function(h,j){if(this.didMouseDown){try{this.blur()}catch(g){}}else{j.f.call(j.s||window,j.a)}this.didMouseDown=(h.type=="mousedown");a.stopEvent(h);return false};e.util.Cookie={jar:{},get:function(g,j){if(this.jar[g]&&this.jar[g].value&&!j){return this.jar[g].value}var k=false,l=" "+document.cookie+";";var h=l.split((" "+g+"="));if(h.length>1){h=h[1].split(";")[0];k=unescape(h);this.jar[g]={value:k,toString:function(){return"[Cookie] "+g+": "+k}}}return k},getObj:function(k,o){if(this.jar[k]&&this.jar[k].obj&&!o){return this.jar[k].obj}var n=this.get(k,o);if(n===false){return null}var g=n.split("&"),p={},m,h;for(var l=g.length-1;l>-1;l--){if(g[l]==="="){continue}h=g[l].indexOf("=");if(h===-1){p[g[l]]=""}else{p[g[l].substr(0,h)]=g[l].substr(h+1)}}this.jar[k].obj=p;this.jar[k].obj.toString=function(){return"[Cookie] "+k+": "+n};return p},set:function(p){p=p||{};if(!p.name){return false}var h=p.name;if(!this.jar[h]){this.jar[h]={}}var l=this.jar[h];var n={};var t=p.path||l.path||"/";var s=p.days||l.days||0;var q=p.value||l.value||"";var k=p.domain||l.domain||window.location.hostname||"";var g=(p.secure===false||p.secure)?!!p.secure:!!l.secure;if(k.indexOf(".yahoo.com")===-1){k+=".yahoo.com"}if(k.indexOf(":")!==-1){k=k.split(":")[0]}while(k.indexOf("..")!==-1){k=k.replace(/\.\./g,".")}if(typeof(q)==="object"){var r=q;q=[];for(var m in r){if(typeof(r[m])!="function"&&typeof(r[m]!="object")&&m!==""){q[q.length]=([m,r[m]]).join("=")}}q=q.join("&");r.toString=function(){return"[Cookie] "+h+": "+q};n.obj=r}var o;if(s){o=new Date();o.setTime(o.getTime()+s*1000*60*60*24);o=";expires="+o.toGMTString()}else{o=""}n.value=q;n.days=s;n.path=t;n.domain=k;n.secure=g;n.toString=function(){return"[Cookie] "+h+": "+q};n.cstr=([h,"=",escape(q),o,";path=",t,";domain=",k,(g?";secure":"")]).join("");document.cookie=n.cstr;if((this.get(h,true)===n.value)){this.jar[h]=n;l=null;return true}else{this.jar[h]=l;n=null;return false}},remove:function(g){this.set({name:g,value:"",days:-1});delete this.jar[g];return true}};(function(){var g=f.CustomEvent;var h=function(j,k){if(!k instanceof Array){k=[k]}var l=function(){};l.prototype=j.prototype;l.prototype.constructor=j;var m=new l();j.apply(m,k);return m};e.util.Manager=function(m){var l={};var j=[0];var n=m.prototype;if(typeof n.getId!=="function"){n.getId=function(){if(this.id){return this.id}return(this.id="daemon_"+(j[0]++))}}if(typeof n.toString!=="function"){n.toString=function(){return"Daemon "+this.getId()}}this.onCreate=new g("create",this);this.onDaemonEvent=new g("daemonEvent");this.daemonClass=m;var k=function(q){var p=this.stack;for(var o=p.length-1;o>-1;o--){if(p[o]){p[o].manager=null;if(typeof(p[o].unload)=="function"){p[o].unload()}this.daemons[p[o].getId()]=null;p[o]=null}}};f.Event.addListener(window,"unload",k,this,true)};e.util.Manager.prototype={daemons:{},stack:[],daemonEvents:{},spawnDaemon:function(){var j=h(this.daemonClass,arguments);this.onCreate.fire(j);return j},idString:"Generic Daemon Manager",toString:function(){var j=[this.idString,"{\n"];for(var k in this.daemons){if(this.daemons[k] instanceof this.daemonClass){j.push("\t",k," : (",this.daemons[k].toString(),")\n")}}j.push("}");return j.join("")},init:function(){var n=this.spawnDaemon.apply(this,arguments);if(n&&n.manager!=this){var l=this.onDaemonEvent;n.manager=this;this.daemons[n.getId()]=n;this.stack.push(n);for(var m in n){if(n[m] instanceof g){if(!this.daemonEvents[m]){this.daemonEvents[m]=new g(n[m].type)}var j=this.daemonEvents[m];var k=function(o,p){j.scope=this;j.fire.apply(j,p);l.scope=this;l.type=o;l.fire.apply(l,p)};n[m].subscribe(k)}}}return n},initAll:function(o){if(typeof(o)!="function"){return[]}var q=o();var l=[];var j=q.length;var k=[null];var n=arguments.length;for(var m=1;m<n;m++){k.push(arguments[m])}for(var m=0;m<j;m++){k[0]=q[m];var p=this.init.apply(this,k);if(p){l.push(p)}}return l},getDaemonById:function(j){if(j.id){return this.getDaemonById(j.id)}return this.daemons[j]||null}}})()})();(function(){var f=DPU.util;var b=f.Dom;var a=f.Event;var e=DPU.namespace("Media.Dtk");var g=4000;var d=function(k,j,h){this.init(k,j,h)};d.prototype={init:function(h,j,r){if(!h){return}var n=b.getElementsByClassName(j,"div",h)[0];this.boxCls=j;this.box=n;this.box.hasLayout=true;var o=b.getElementsByClassName("close","span",n);this.closers=[];for(var p=o.length-1;p>-1;p--){var k=document.createElement("a");k.className=o[p].className;k.innerHTML=o[p].innerHTML;k.href="#";this.closers.push(k);o[p].parentNode.insertBefore(k,o[p]);o[p].parentNode.removeChild(o[p]);a.addListener(k,"click",function(l,s){a.stopEvent(l);s.hideNow();if(this.blur){this.blur()}},this)}a.addListener(n,"mouseover",this.clearHide,this,true);a.addListener(n,"focus",this.show,this,true);a.addListener(document.body,"mouseover",this.hide,this,true);a.addListener(document.body,"click",this.hideNow,this,true);var q=b.getElementsByClassName(r,"a",h);for(var m=q.length-1;m>-1;m--){a.addListener(q[m],"mouseover",e.util.clickFn,{s:this,f:this.show});a.addListener(q[m],"click",e.util.clickFn,{s:this,f:this.show});a.addListener(q[m],"mousedown",e.util.clickFn,{s:this,f:this.show})}h=n=null},hideNow:function(){this.clearHide();this.box.style.display="none"},hide:function(h){var j=this;if(!this.timeOut){this.timeOut=window.setTimeout(function(){j.hideNow()},0)}},clearHide:function(h){if(h){a.stopEvent(h)}window.clearTimeout(this.timeOut);this.timeOut=0;return false},hideOtherDropDowns:function(k){var j=b.getElementsByClassName(this.boxCls);for(var h=0;h<j.length;h++){j[h].style.display="none"}},show:function(h){if(h){a.stopPropagation(h)}this.clearHide();this.hideOtherDropDowns(h);this.box.style.zIndex=g++;this.box.style.visibility="hidden";this.box.style.display="block";if(!this.box.region){this.box.region=b.getRegion(this.box)}if(this.box.region.right>b.getViewportWidth()){b.addClass(this.box,"offscreen")}else{b.removeClass(this.box,"offscreen")}this.box.style.visibility="visible"}};e.showBox=function(){var h=[],j=function(m,n,l){var k=new d(b.get(m),n||"show-box",l||"spill");if(k.initDone){h.push(k);return k}return null};return{init:j,boxes:h}}()})();var $G=DPU.namespace("Green");$G.PromoModule=function(b){b=b||{};if(!b.prefix&&(!b.menu&&!b.content)){return false}this.elMenu=b.menu||b.prefix+"-menu";this.elContent=b.content||b.prefix+"-content";this.sContentClass=b.slideClass||"promoCard";this.elBtn=(typeof b.button!="undefined")?DPU.util.Dom.get(b.button):DPU.util.Dom.get(b.prefix+"-btn");this.iInterval=b.interval||7;this.iFadeRate=b.fadeRate||1;this.bFadeOnClick=b.fadeOnClick||false;this.aElOvf=b.overflow||false;this.iMinHeight=b.minHeight||false;this.sItemHtml=b.itemHtml||"<div></div>";this.aElItems=[];this.iCurItem=-1;this.iLastItem=-1;this.bItemClicked=false;this.bCycleStopped=false;this.bCyclePaused=false;var a;if(document.all){a=document.getElementsByTagName("body")[0].style.filter}else{a=document.getElementsByTagName("body")[0].style.opacity}if(a===undefined){this.iFadeRate=0.01}if(navigator.userAgent.indexOf("Firefox")!=-1&&navigator.userAgent.indexOf("Mac")!=-1){this.bFfMac=true}else{this.bFfMac=false}this.initPromo()};$G.PromoModule.prototype={initPromo:function(){var b=DPU.util.Dom.get(this.elMenu).getElementsByTagName("li");var d=b.length;for(var h=0;h<d;h++){this.aElItems[h]={};b[h].innerHTML=this.sItemHtml+b[h].innerHTML;this.aElItems[h].elMenuItem=b[h].firstChild;var g=b[h].getElementsByTagName("a")[0];g.num=h;DPU.util.Event.addListener(g,"click",this.selectItem,this);g=null}this.iTotItems=h;var e=DPU.util.Dom.getElementsByClassName(this.sContentClass,"div",DPU.util.Dom.get(this.elContent));d=e.length;var a=DPU.util.Dom.get(this.elMenu).offsetHeight;var k=(this.iMinHeight&&this.iMinHeight>a)?this.iMinHeight:a;if(this.iMinHeight&&document.all&&navigator.appVersion.charAt(0)==6){this.setMinHeight=function(l){DPU.util.Dom.setStyle(l,"height",k+"px")}}else{if(this.iMinHeight){this.setMinHeight=function(l){DPU.util.Dom.setStyle(l,"minHeight",k+"px")}}}for(h=0;h<d;h++){this.aElItems[h].elContent=e[h];DPU.util.Event.addListener(e[h],"mouseover",this.pauseCycle,this);DPU.util.Event.addListener(e[h],"mouseout",this.resumeCycle,this);if(this.iMinHeight){this.setMinHeight(e[h])}if(this.bFfMac&&this.aElOvf[h]){var j=DPU.util.Dom.get(this.aElOvf[h]);var f=DPU.util.Dom.getStyle(j,"overflow");if(f=="auto"||f=="scroll"){this.aElOvf[h]={ovf:f,el:this.aElOvf[h]};DPU.util.Dom.setStyle(j,"overflow","hidden")}}}if(this.elBtn){DPU.util.Event.addListener(this.elBtn,"click",this.toggleCycle,this)}DPU.util.Event.addListener(window,"blur",this.pauseCycle,this);DPU.util.Event.addListener(window,"focus",this.resumeCycle,this);this.cycleItems()},changeItem:function(j,d){if(this.aElItems[j].elMenuItem.style.visibility=="visible"&&this.iLastItem!=-1){return false}if(d&&this.bFadeOnClick===false){this.iTmpRate=this.iFadeRate;this.iFadeRate=0.001}if(this.iLastItem!=-1){var g=new DPU.util.Anim(this.aElItems[this.iLastItem].elMenuItem,{opacity:{to:0}},this.iFadeRate);g.onStart.subscribe(function(){this.getEl().parentNode.className=""});g.onComplete.subscribe(function(){this.getEl().style.visibility="hidden"});g.animate()}var f=new DPU.util.Anim(this.aElItems[j].elMenuItem,{opacity:{to:0.99}},this.iFadeRate);f.onStart.subscribe(function(){var m=this.getEl();var n=m.parentNode;var k=n.offsetHeight;n.className="selected";m.style.visibility="visible";var l=parseInt(m.getAttribute("height"),10);DPU.util.Dom.setStyle(m,"height",k+(l?l:0)-2+"px");for(var o=0;o<m.childNodes.length;o++){l=parseInt(m.childNodes[o].getAttribute("height"),10);DPU.util.Dom.setStyle(m.childNodes[o],"height",k+(l?l:0)+"px")}});f.animate();var b;if(this.iLastItem!=-1){var e=new DPU.util.Anim(this.aElItems[this.iLastItem].elContent,{opacity:{to:0}},this.iFadeRate);if(this.bFfMac&&this.aElOvf[this.iLastItem]){b=DPU.util.Dom.get(this.aElOvf[this.iLastItem].el);e.onStart.subscribe(function(){DPU.util.Dom.setStyle(b,"overflow","hidden")})}e.onComplete.subscribe(function(){this.getEl().style.visibility="hidden"});e.animate()}var a=new DPU.util.Anim(this.aElItems[j].elContent,{opacity:{to:0.99}},this.iFadeRate);a.onStart.subscribe(function(){this.getEl().style.visibility="visible";if(DPU.env.ua.ie!=0){this.getEl().style.left="0px"}});if(this.bFfMac&&this.aElOvf[j]){b=DPU.util.Dom.get(this.aElOvf[j].el);var h=this.aElOvf[j].ovf;a.onComplete.subscribe(function(){DPU.util.Dom.setStyle(b,"overflow",h)})}a.animate();this.iCurItem=this.iLastItem=j;if(d){this.bItemClicked=true;this.stopCycle();if(DPU.env.ua.ie==0){this.aElItems[j].elContent.focus()}if(this.bFadeOnClick===false){this.iFadeRate=this.iTmpRate}}},selectItem:function(b,f){this.blur();DPU.util.Event.preventDefault(b);if(f.iLastItem!=this.num){f.changeItem(this.num,true)}else{var a="featureUrl_"+this.num;var d=document.getElementById(a);window.location=d.href}},cycleItems:function(){this.stopCycle(true);if(this.bItemClicked){this.bItemClicked=false}else{if(!this.bCyclePaused){if(++this.iCurItem>=this.iTotItems){this.iCurItem=0}this.changeItem(this.iCurItem,false)}this.startCycle()}},startCycle:function(b){var a=function(d){return function(){d.cycleItems()}};this.tCycle=setTimeout(a(this),this.iInterval*1000);if(this.elBtn&&!this.bCyclePaused){this.elBtn.className="stop"}this.bCycleStopped=false},stopCycle:function(a){if(typeof(this.tCycle)=="number"){clearTimeout(this.tCycle)}if(this.elBtn&&!a){this.elBtn.className="start"}this.bCycleStopped=true},pauseCycle:function(a,b){b.bCyclePaused=true;if(b.elBtn){b.elBtn.className="start"}},resumeCycle:function(a,b){b.bCyclePaused=false;if(b.elBtn&&!b.bCycleStopped){b.elBtn.className="stop"}},toggleCycle:function(a,b){this.blur();DPU.util.Event.preventDefault(a);if(b.bCycleStopped){b.bItemClicked=false;b.cycleItems()}else{b.stopCycle()}}};function oLocationTextInput(a){DPU.util.Event.onAvailable(a,this.prepareFocus,this)}oLocationTextInput.prototype.prepareFocus=function(a){this.onfocus=function(){this.select()}};var obj=new oLocationTextInput("csz");DPU.Green.universalheader=(function(){var a;return{moreToggle:function(d){var f=DPU.util.Event.getTarget(d);var b=DPU.util.Dom.hasClass("morelinks","open");if(f===a&&!b){DPU.Green.universalheader.show(d)}else{if(b){DPU.Green.universalheader.hide(d)}}},init:function(){var b=document.getElementsByTagName("body")[0];a=document.getElementById("ygmamorelink");DPU.util.Event.addListener(a,"click",DPU.Green.universalheader.moreToggle);DPU.util.Event.addListener(b,"click",DPU.Green.universalheader.moreToggle);DPU.util.Event.addListener("morelinks","mouseout",function(f){DPU.util.Event.stopEvent(f);var d=DPU.util.Event.getTarget(f);if(d.nodeName.toLowerCase()!="ul"){window.clearTimeout(DPU.Green.universalheader.timeout)}else{DPU.Green.universalheader.timeout=setTimeout(function(g){DPU.Green.universalheader.hide()},1000)}})},show:function(b){DPU.util.Event.stopEvent(b);DPU.util.Dom.addClass("morelinks","open")},hide:function(b){if(b){DPU.util.Event.stopEvent(b)}DPU.util.Dom.removeClass("morelinks","open")}}})();DPU.util.Event.addListener(window,"load",DPU.Green.universalheader.init);DPU.Green.aliasDropdown=(function(){var e=DPU.util;var b=e.Dom;var a=e.Event;var d=function(){var g=b.getElementsByClassName("show","li","yid-update")[0];g=b.removeClass(g,"show");var f=b.getElementsByClassName(this.value,"li","yid-update")[0];b.addClass(f,"show")};return{preInit:function(){b.addClass("yid-update","jsenabled")},init:function(){b.addClass("yid-update","jsenabled");var f=b.get("yid-aliases");a.addListener(f,"change",d)}}})();DPU.Green.validate=function(){return{comments:function(d){var a=true;var b=DPU.util.Dom.get(d).value;if(!b){DPU.util.Dom.get("comment-error").style.display="";DPU.util.Dom.get("error_msg").innerHTML="Please enter a comment to post";a=false}else{DPU.util.Dom.get("comment-error").style.display="none"}return a},discuss:function(b,e){var a=true;var b=DPU.util.Dom.get(b).value;var d=DPU.util.Dom.get(e).value;if(!b){DPU.util.Dom.get("comment-error").style.display="";DPU.util.Dom.get("error_msg").innerHTML="Please write a subject line for this discussion topic.";a=false}else{if(!d){DPU.util.Dom.get("comment-error").style.display="";DPU.util.Dom.get("error_msg").innerHTML="Please write a description for this discussion topic.";a=false}else{DPU.util.Dom.get("comment-error").style.display="none"}}return a},alerts:function(){var a=DPU.util.Dom.getElementsByClassName("alert_chk");var b=a.length;for(var d=0;d<b;d++){if(a[d].checked){DPU.util.Dom.get("alerts_notify").style.display="none";return true}}DPU.util.Dom.replaceClass("alerts_notify","added","error");DPU.util.Dom.get("alerts_notify").innerHTML="<span>Please select a topic</span>";return false}}}();DPU.namespace("Green.MB.Comments");DPU.Green.MB.Comments=function(){var a="module module-discussion-post-comment post-box-middle";var d="module module-discussion-post-comment post-box-middle hide";var b=function(k){var h=DPU.util.Dom.get(DPU.util.Event.getTarget(k).id);var g=DPU.util.Dom.getNextSibling(h);var j=DPU.util.Dom.getElementsByClassName("show","li",g)[0];j=DPU.util.Dom.removeClass(j,"show");var f=DPU.util.Dom.getElementsByClassName(this.value,"li",g)[0];DPU.util.Dom.addClass(f,"show")};return{init:function(e){this.first_comment_id=e;var f=DPU.util.Dom.getElementsByClassName("reply-to-post");for(var g=0;g<f.length;g++){f[g].setAttribute("href","javascript:void(0)");DPU.util.Event.addListener(f[g],"click",DPU.Green.MB.Comments.show,DPU.Green.MB.Comments,true)}},aliasDropdownInit:function(e){DPU.util.Event.addListener(e,"change",b)},show:function(h){DPU.util.Event.stopEvent(h);var g=DPU.util.Event.getTarget(h).id;this.hide();this.id=g.substring(2);divParent=DPU.util.Dom.getAncestorByTagName(g,"div");var f=DPU.util.Dom.getNextSibling(divParent);if(f&&f.getAttribute("class")==d){DPU.util.Dom.removeClass(f,"hide");return}this.newDiv=document.createElement("div");DPU.util.Dom.addClass(this.newDiv,a);DPU.util.Dom.insertAfter(this.newDiv,divParent);html=this.getContent();this.newDiv.innerHTML=html;this.changeContent();DPU.util.Event.stopEvent(h)},hide:function(){boxes=DPU.util.Dom.getElementsByClassName(a,"div");for(c=0;c<boxes.length;c++){DPU.util.Dom.addClass(boxes[c],"hide")}},getContent:function(){var e=DPU.util.Dom.get(this.first_comment_id);return e.innerHTML},changeContent:function(){this.newDiv.setAttribute("id","reply-for-"+this.id);var j=this.newDiv.getElementsByTagName("form");if(j[0]!=null){var h="return DPU.Green.MB.Comments.validate('"+this.id+"-comment', '"+this.id+"');";j[0].setAttribute("onsubmit",h);var g=j[0].getElementsByTagName("textarea");g[0].setAttribute("id",this.id+"-comment");var k=j[0].getElementsByTagName("input");for(var m=0;m<k.length;m++){if(k[m].getAttribute("name")=="pid"){k[m].setAttribute("value",this.id);break}}var e=this.newDiv.getElementsByTagName("select");var l="yid-aliases-"+this.id;e[0].setAttribute("id",l);var f=DPU.util.Dom.getElementsByClassName("yid-update","ul",this.newDiv);f[0].setAttribute("id","yid-update-"+this.id);DPU.util.Event.addListener(l,"change",b)}},validate:function(g,l){var e=true;var k=DPU.util.Dom.get(g).value;var j=DPU.util.Dom.get("reply-for-"+l);var f=DPU.util.Dom.getElementsByClassName("error","div",j);var h=DPU.util.Dom.getElementsByClassName("error_msg","span",j);if(!k){j=DPU.util.Dom.get("reply-for-"+l);f[0].style.display="";h[0].innerHTML="Please enter a comment to post";e=false}else{f[0].style.display="none"}return e}}}();var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var a;var b;var d;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=b.GetVariable("$version")}catch(d){}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a="WIN 6,0,21,0";b.AllowScriptAccess="always";a=b.GetVariable("$version")}catch(d){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a=b.GetVariable("$version")}catch(d){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a="WIN 3,0,18,0"}catch(d){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");a="WIN 2,0,0,11"}catch(d){a=-1}}return a}function GetSwfVer(){var h=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var g=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var a=navigator.plugins["Shockwave Flash"+g].description;var f=a.split(" ");var d=f[2].split(".");var j=d[0];var b=d[1];var e=f[3];if(e==""){e=f[4]}if(e[0]=="d"){e=e.substring(1)}else{if(e[0]=="r"){e=e.substring(1);if(e.indexOf("d")>0){e=e.substring(0,e.indexOf("d"))}}}var h=j+"."+b+"."+e}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){h=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){h=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){h=2}else{if(isIE&&isWin&&!isOpera){h=ControlVersion()}}}}}return h}function DetectFlashVer(g,e,d){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var f=versionArray[0];var a=versionArray[1];var b=versionArray[2];if(f>parseFloat(g)){return true}else{if(f==parseFloat(g)){if(a>parseFloat(e)){return true}else{if(a==parseFloat(e)){if(b>=parseFloat(d)){return true}}}}}return false}}}function AC_AddExtension(b,a){if(b.indexOf("?")!=-1){return b.replace(/\?/,a+"?")}else{return b+a}}function AC_Generateobj(f,e,a){var d="";if(isIE&&isWin&&!isOpera){d+="<object ";for(var b in f){d+=b+'="'+f[b]+'" '}d+=">";for(var b in e){d+='<param name="'+b+'" value="'+e[b]+'" /> '}d+="</object>"}else{d+="<embed ";for(var b in a){d+=b+'="'+a[b]+'" '}d+="> </embed>"}document.write(d)}function AC_FL_RunContent(){var a=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_SW_RunContent(){var a=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_GetArgs(b,f,h,e,j){var a=new Object();a.embedAttrs=new Object();a.params=new Object();a.objAttrs=new Object();for(var d=0;d<b.length;d=d+2){var g=b[d].toLowerCase();switch(g){case"classid":break;case"pluginspage":a.embedAttrs[b[d]]=b[d+1];break;case"src":case"movie":b[d+1]=AC_AddExtension(b[d+1],f);a.embedAttrs.src=b[d+1];a.params[h]=b[d+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblclick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":a.objAttrs[b[d]]=b[d+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":a.embedAttrs[b[d]]=a.objAttrs[b[d]]=b[d+1];break;default:a.embedAttrs[b[d]]=a.params[b[d]]=b[d+1]}}a.objAttrs.classid=e;if(j){a.embedAttrs.type=j}return a};