var BBDN=function(){return{util:{},core:{}};}();if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={};}YAHOO.namespace=function(){var a=arguments,o=null,i,j,d;for(i=0;i<a.length;i=i+1){d=(""+a[i]).split(".");o=YAHOO;for(j=(d[0]=="YAHOO")?1:0;j<d.length;j=j+1){o[d[j]]=o[d[j]]||{};o=o[d[j]];}}return o;};YAHOO.log=function(msg,cat,src){var l=YAHOO.widget.Logger;if(l&&l.log){return l.log(msg,cat,src);}else{return false;}};YAHOO.register=function(name,mainClass,data){var mods=YAHOO.env.modules,m,v,b,ls,i;if(!mods[name]){mods[name]={versions:[],builds:[]};}m=mods[name];v=data.version;b=data.build;ls=YAHOO.env.listeners;m.name=name;m.version=v;m.build=b;m.versions.push(v);m.builds.push(b);m.mainClass=mainClass;for(i=0;i<ls.length;i=i+1){ls[i](m);}if(mainClass){mainClass.VERSION=v;mainClass.BUILD=b;}else{YAHOO.log("mainClass is undefined for module "+name,"warn");}};YAHOO.env=YAHOO.env||{modules:[],listeners:[]};YAHOO.env.getVersion=function(name){return YAHOO.env.modules[name]||null;};YAHOO.env.ua=function(){var numberfy=function(s){var c=0;return parseFloat(s.replace(/\./g,function(){return(c++==1)?'':'.';}));},nav=navigator,o={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0,caja:nav.cajaVersion,secure:false,os:null},ua=navigator&&navigator.userAgent,loc=window&&window.location,href=loc&&loc.href,m;o.secure=href&&(href.toLowerCase().indexOf("https")===0);if(ua){if((/windows|win32/i).test(ua)){o.os='windows';}else if((/macintosh/i).test(ua)){o.os='macintosh';}if((/KHTML/).test(ua)){o.webkit=1;}m=ua.match(/AppleWebKit\/([^\s]*)/);if(m&&m[1]){o.webkit=numberfy(m[1]);if(/ Mobile\//.test(ua)){o.mobile="Apple";}else{m=ua.match(/NokiaN[^\/]*/);if(m){o.mobile=m[0];}}m=ua.match(/AdobeAIR\/([^\s]*)/);if(m){o.air=m[0];}}if(!o.webkit){m=ua.match(/Opera[\s\/]([^\s]*)/);if(m&&m[1]){o.opera=numberfy(m[1]);m=ua.match(/Opera Mini[^;]*/);if(m){o.mobile=m[0];}}else{m=ua.match(/MSIE\s([^;]*)/);if(m&&m[1]){o.ie=numberfy(m[1]);}else{m=ua.match(/Gecko\/([^\s]*)/);if(m){o.gecko=1;m=ua.match(/rv:([^\s\)]*)/);if(m&&m[1]){o.gecko=numberfy(m[1]);}}}}}}return o;}();(function(){YAHOO.namespace("util","widget","example");if("undefined"!==typeof YAHOO_config){var l=YAHOO_config.listener,ls=YAHOO.env.listeners,unique=true,i;if(l){for(i=0;i<ls.length;i++){if(ls[i]==l){unique=false;break;}}if(unique){ls.push(l);}}}})();YAHOO.lang=YAHOO.lang||{};(function(){var L=YAHOO.lang,OP=Object.prototype,ARRAY_TOSTRING='[object Array]',FUNCTION_TOSTRING='[object Function]',OBJECT_TOSTRING='[object Object]',NOTHING=[],ADD=["toString","valueOf"],OB={isArray:function(o){return OP.toString.apply(o)===ARRAY_TOSTRING;},isBoolean:function(o){return typeof o==='boolean';},isFunction:function(o){return(typeof o==='function')||OP.toString.apply(o)===FUNCTION_TOSTRING;},isNull:function(o){return o===null;},isNumber:function(o){return typeof o==='number'&&isFinite(o);},isObject:function(o){return(o&&(typeof o==='object'||L.isFunction(o)))||false;},isString:function(o){return typeof o==='string';},isUndefined:function(o){return typeof o==='undefined';},_IEEnumFix:(YAHOO.env.ua.ie)?function(r,s){var i,fname,f;for(i=0;i<ADD.length;i=i+1){fname=ADD[i];f=s[fname];if(L.isFunction(f)&&f!=OP[fname]){r[fname]=f;}}}:function(){},extend:function(subc,superc,overrides){if(!superc||!subc){throw new Error("extend failed, please check that "+"all dependencies are included.");}var F=function(){},i;F.prototype=superc.prototype;subc.prototype=new F();subc.prototype.constructor=subc;subc.superclass=superc.prototype;if(superc.prototype.constructor==OP.constructor){superc.prototype.constructor=superc;}if(overrides){for(i in overrides){if(L.hasOwnProperty(overrides,i)){subc.prototype[i]=overrides[i];}}L._IEEnumFix(subc.prototype,overrides);}},augmentObject:function(r,s){if(!s||!r){throw new Error("Absorb failed, verify dependencies.");}var a=arguments,i,p,overrideList=a[2];if(overrideList&&overrideList!==true){for(i=2;i<a.length;i=i+1){r[a[i]]=s[a[i]];}}else{for(p in s){if(overrideList||!(p in r)){r[p]=s[p];}}L._IEEnumFix(r,s);}},augmentProto:function(r,s){if(!s||!r){throw new Error("Augment failed, verify dependencies.");}var a=[r.prototype,s.prototype],i;for(i=2;i<arguments.length;i=i+1){a.push(arguments[i]);}L.augmentObject.apply(this,a);},dump:function(o,d){var i,len,s=[],OBJ="{...}",FUN="f(){...}",COMMA=', ',ARROW=' => ';if(!L.isObject(o)){return o+"";}else if(o instanceof Date||("nodeType"in o&&"tagName"in o)){return o;}else if(L.isFunction(o)){return FUN;}d=(L.isNumber(d))?d:3;if(L.isArray(o)){s.push("[");for(i=0,len=o.length;i<len;i=i+1){if(L.isObject(o[i])){s.push((d>0)?L.dump(o[i],d-1):OBJ);}else{s.push(o[i]);}s.push(COMMA);}if(s.length>1){s.pop();}s.push("]");}else{s.push("{");for(i in o){if(L.hasOwnProperty(o,i)){s.push(i+ARROW);if(L.isObject(o[i])){s.push((d>0)?L.dump(o[i],d-1):OBJ);}else{s.push(o[i]);}s.push(COMMA);}}if(s.length>1){s.pop();}s.push("}");}return s.join("");},substitute:function(s,o,f){var i,j,k,key,v,meta,saved=[],token,DUMP='dump',SPACE=' ',LBRACE='{',RBRACE='}',dump,objstr;for(;;){i=s.lastIndexOf(LBRACE);if(i<0){break;}j=s.indexOf(RBRACE,i);if(i+1>=j){break;}token=s.substring(i+1,j);key=token;meta=null;k=key.indexOf(SPACE);if(k>-1){meta=key.substring(k+1);key=key.substring(0,k);}v=o[key];if(f){v=f(key,v,meta);}if(L.isObject(v)){if(L.isArray(v)){v=L.dump(v,parseInt(meta,10));}else{meta=meta||"";dump=meta.indexOf(DUMP);if(dump>-1){meta=meta.substring(4);}objstr=v.toString();if(objstr===OBJECT_TOSTRING||dump>-1){v=L.dump(v,parseInt(meta,10));}else{v=objstr;}}}else if(!L.isString(v)&&!L.isNumber(v)){v="~-"+saved.length+"-~";saved[saved.length]=token;}s=s.substring(0,i)+v+s.substring(j+1);}for(i=saved.length-1;i>=0;i=i-1){s=s.replace(new RegExp("~-"+i+"-~"),"{"+saved[i]+"}","g");}return s;},trim:function(s){try{return s.replace(/^\s+|\s+$/g,"");}catch(e){return s;}},merge:function(){var o={},a=arguments,l=a.length,i;for(i=0;i<l;i=i+1){L.augmentObject(o,a[i],true);}return o;},later:function(when,o,fn,data,periodic){when=when||0;o=o||{};var m=fn,d=data,f,r;if(L.isString(fn)){m=o[fn];}if(!m){throw new TypeError("method undefined");}if(d&&!L.isArray(d)){d=[data];}f=function(){m.apply(o,d||NOTHING);};r=(periodic)?setInterval(f,when):setTimeout(f,when);return{interval:periodic,cancel:function(){if(this.interval){clearInterval(r);}else{clearTimeout(r);}}};},isValue:function(o){return(L.isObject(o)||L.isString(o)||L.isNumber(o)||L.isBoolean(o));}};L.hasOwnProperty=(OP.hasOwnProperty)?function(o,prop){return o&&o.hasOwnProperty(prop);}:function(o,prop){return!L.isUndefined(o[prop])&&o.constructor.prototype[prop]!==o[prop];};OB.augmentObject(L,OB,true);YAHOO.util.Lang=L;L.augment=L.augmentProto;YAHOO.augment=L.augmentProto;YAHOO.extend=L.extend;})();YAHOO.register("yahoo",YAHOO,{version:"2.8.0r4",build:"2449"});(function(){YAHOO.env._id_counter=YAHOO.env._id_counter||0;var Y=YAHOO.util,lang=YAHOO.lang,UA=YAHOO.env.ua,trim=YAHOO.lang.trim,propertyCache={},reCache={},RE_TABLE=/^t(?:able|d|h)$/i,RE_COLOR=/color$/i,document=window.document,documentElement=document.documentElement,OWNER_DOCUMENT='ownerDocument',DEFAULT_VIEW='defaultView',DOCUMENT_ELEMENT='documentElement',COMPAT_MODE='compatMode',OFFSET_LEFT='offsetLeft',OFFSET_TOP='offsetTop',OFFSET_PARENT='offsetParent',PARENT_NODE='parentNode',NODE_TYPE='nodeType',TAG_NAME='tagName',SCROLL_LEFT='scrollLeft',SCROLL_TOP='scrollTop',GET_BOUNDING_CLIENT_RECT='getBoundingClientRect',GET_COMPUTED_STYLE='getComputedStyle',CURRENT_STYLE='currentStyle',CSS1_COMPAT='CSS1Compat',_BACK_COMPAT='BackCompat',_CLASS='class',CLASS_NAME='className',EMPTY='',SPACE=' ',C_START='(?:^|\\s)',C_END='(?= |$)',G='g',POSITION='position',FIXED='fixed',RELATIVE='relative',LEFT='left',TOP='top',MEDIUM='medium',BORDER_LEFT_WIDTH='borderLeftWidth',BORDER_TOP_WIDTH='borderTopWidth',isOpera=UA.opera,isSafari=UA.webkit,isGecko=UA.gecko,isIE=UA.ie;Y.Dom={CUSTOM_ATTRIBUTES:(!documentElement.hasAttribute)?{'for':'htmlFor','class':CLASS_NAME}:{'htmlFor':'for','className':_CLASS},DOT_ATTRIBUTES:{},get:function(el){var id,nodes,c,i,len,attr;if(el){if(el[NODE_TYPE]||el.item){return el;}if(typeof el==='string'){id=el;el=document.getElementById(el);attr=(el)?el.attributes:null;if(el&&attr&&attr.id&&attr.id.value===id){return el;}else if(el&&document.all){el=null;nodes=document.all[id];for(i=0,len=nodes.length;i<len;++i){if(nodes[i].id===id){return nodes[i];}}}return el;}if(YAHOO.util.Element&&el instanceof YAHOO.util.Element){el=el.get('element');}if('length'in el){c=[];for(i=0,len=el.length;i<len;++i){c[c.length]=Y.Dom.get(el[i]);}return c;}return el;}return null;},getComputedStyle:function(el,property){if(window[GET_COMPUTED_STYLE]){return el[OWNER_DOCUMENT][DEFAULT_VIEW][GET_COMPUTED_STYLE](el,null)[property];}else if(el[CURRENT_STYLE]){return Y.Dom.IE_ComputedStyle.get(el,property);}},getStyle:function(el,property){return Y.Dom.batch(el,Y.Dom._getStyle,property);},_getStyle:function(){if(window[GET_COMPUTED_STYLE]){return function(el,property){property=(property==='float')?property='cssFloat':Y.Dom._toCamel(property);var value=el.style[property],computed;if(!value){computed=el[OWNER_DOCUMENT][DEFAULT_VIEW][GET_COMPUTED_STYLE](el,null);if(computed){value=computed[property];}}return value;};}else if(documentElement[CURRENT_STYLE]){return function(el,property){var value;switch(property){case'opacity':value=100;try{value=el.filters['DXImageTransform.Microsoft.Alpha'].opacity;}catch(e){try{value=el.filters('alpha').opacity;}catch(err){}}return value/100;case'float':property='styleFloat';default:property=Y.Dom._toCamel(property);value=el[CURRENT_STYLE]?el[CURRENT_STYLE][property]:null;return(el.style[property]||value);}};}}(),setStyle:function(el,property,val){Y.Dom.batch(el,Y.Dom._setStyle,{prop:property,val:val});},_setStyle:function(){if(isIE){return function(el,args){var property=Y.Dom._toCamel(args.prop),val=args.val;if(el){switch(property){case'opacity':if(lang.isString(el.style.filter)){el.style.filter='alpha(opacity='+val*100+')';if(!el[CURRENT_STYLE]||!el[CURRENT_STYLE].hasLayout){el.style.zoom=1;}}break;case'float':property='styleFloat';default:el.style[property]=val;}}else{}};}else{return function(el,args){var property=Y.Dom._toCamel(args.prop),val=args.val;if(el){if(property=='float'){property='cssFloat';}el.style[property]=val;}else{}};}}(),getXY:function(el){return Y.Dom.batch(el,Y.Dom._getXY);},_canPosition:function(el){return(Y.Dom._getStyle(el,'display')!=='none'&&Y.Dom._inDoc(el));},_getXY:function(){if(document[DOCUMENT_ELEMENT][GET_BOUNDING_CLIENT_RECT]){return function(node){var scrollLeft,scrollTop,box,doc,off1,off2,mode,bLeft,bTop,floor=Math.floor,xy=false;if(Y.Dom._canPosition(node)){box=node[GET_BOUNDING_CLIENT_RECT]();doc=node[OWNER_DOCUMENT];scrollLeft=Y.Dom.getDocumentScrollLeft(doc);scrollTop=Y.Dom.getDocumentScrollTop(doc);xy=[floor(box[LEFT]),floor(box[TOP])];if(isIE&&UA.ie<8){off1=2;off2=2;mode=doc[COMPAT_MODE];if(UA.ie===6){if(mode!==_BACK_COMPAT){off1=0;off2=0;}}if((mode===_BACK_COMPAT)){bLeft=_getComputedStyle(doc[DOCUMENT_ELEMENT],BORDER_LEFT_WIDTH);bTop=_getComputedStyle(doc[DOCUMENT_ELEMENT],BORDER_TOP_WIDTH);if(bLeft!==MEDIUM){off1=parseInt(bLeft,10);}if(bTop!==MEDIUM){off2=parseInt(bTop,10);}}xy[0]-=off1;xy[1]-=off2;}if((scrollTop||scrollLeft)){xy[0]+=scrollLeft;xy[1]+=scrollTop;}xy[0]=floor(xy[0]);xy[1]=floor(xy[1]);}else{}return xy;};}else{return function(node){var docScrollLeft,docScrollTop,scrollTop,scrollLeft,bCheck,xy=false,parentNode=node;if(Y.Dom._canPosition(node)){xy=[node[OFFSET_LEFT],node[OFFSET_TOP]];docScrollLeft=Y.Dom.getDocumentScrollLeft(node[OWNER_DOCUMENT]);docScrollTop=Y.Dom.getDocumentScrollTop(node[OWNER_DOCUMENT]);bCheck=((isGecko||UA.webkit>519)?true:false);while((parentNode=parentNode[OFFSET_PARENT])){xy[0]+=parentNode[OFFSET_LEFT];xy[1]+=parentNode[OFFSET_TOP];if(bCheck){xy=Y.Dom._calcBorders(parentNode,xy);}}if(Y.Dom._getStyle(node,POSITION)!==FIXED){parentNode=node;while((parentNode=parentNode[PARENT_NODE])&&parentNode[TAG_NAME]){scrollTop=parentNode[SCROLL_TOP];scrollLeft=parentNode[SCROLL_LEFT];if(isGecko&&(Y.Dom._getStyle(parentNode,'overflow')!=='visible')){xy=Y.Dom._calcBorders(parentNode,xy);}if(scrollTop||scrollLeft){xy[0]-=scrollLeft;xy[1]-=scrollTop;}}xy[0]+=docScrollLeft;xy[1]+=docScrollTop;}else{if(isOpera){xy[0]-=docScrollLeft;xy[1]-=docScrollTop;}else if(isSafari||isGecko){xy[0]+=docScrollLeft;xy[1]+=docScrollTop;}}xy[0]=Math.floor(xy[0]);xy[1]=Math.floor(xy[1]);}else{}return xy;};}}(),getX:function(el){var f=function(el){return Y.Dom.getXY(el)[0];};return Y.Dom.batch(el,f,Y.Dom,true);},getY:function(el){var f=function(el){return Y.Dom.getXY(el)[1];};return Y.Dom.batch(el,f,Y.Dom,true);},setXY:function(el,pos,noRetry){Y.Dom.batch(el,Y.Dom._setXY,{pos:pos,noRetry:noRetry});},_setXY:function(node,args){var pos=Y.Dom._getStyle(node,POSITION),setStyle=Y.Dom.setStyle,xy=args.pos,noRetry=args.noRetry,delta=[parseInt(Y.Dom.getComputedStyle(node,LEFT),10),parseInt(Y.Dom.getComputedStyle(node,TOP),10)],currentXY,newXY;if(pos=='static'){pos=RELATIVE;setStyle(node,POSITION,pos);}currentXY=Y.Dom._getXY(node);if(!xy||currentXY===false){return false;}if(isNaN(delta[0])){delta[0]=(pos==RELATIVE)?0:node[OFFSET_LEFT];}if(isNaN(delta[1])){delta[1]=(pos==RELATIVE)?0:node[OFFSET_TOP];}if(xy[0]!==null){setStyle(node,LEFT,xy[0]-currentXY[0]+delta[0]+'px');}if(xy[1]!==null){setStyle(node,TOP,xy[1]-currentXY[1]+delta[1]+'px');}if(!noRetry){newXY=Y.Dom._getXY(node);if((xy[0]!==null&&newXY[0]!=xy[0])||(xy[1]!==null&&newXY[1]!=xy[1])){Y.Dom._setXY(node,{pos:xy,noRetry:true});}}},setX:function(el,x){Y.Dom.setXY(el,[x,null]);},setY:function(el,y){Y.Dom.setXY(el,[null,y]);},getRegion:function(el){var f=function(el){var region=false;if(Y.Dom._canPosition(el)){region=Y.Region.getRegion(el);}else{}return region;};return Y.Dom.batch(el,f,Y.Dom,true);},getClientWidth:function(){return Y.Dom.getViewportWidth();},getClientHeight:function(){return Y.Dom.getViewportHeight();},getElementsByClassName:function(className,tag,root,apply,o,overrides){tag=tag||'*';root=(root)?Y.Dom.get(root):null||document;if(!root){return[];}var nodes=[],elements=root.getElementsByTagName(tag),hasClass=Y.Dom.hasClass;for(var i=0,len=elements.length;i<len;++i){if(hasClass(elements[i],className)){nodes[nodes.length]=elements[i];}}if(apply){Y.Dom.batch(nodes,apply,o,overrides);}return nodes;},hasClass:function(el,className){return Y.Dom.batch(el,Y.Dom._hasClass,className);},_hasClass:function(el,className){var ret=false,current;if(el&&className){current=Y.Dom._getAttribute(el,CLASS_NAME)||EMPTY;if(className.exec){ret=className.test(current);}else{ret=className&&(SPACE+current+SPACE).indexOf(SPACE+className+SPACE)>-1;}}else{}return ret;},addClass:function(el,className){return Y.Dom.batch(el,Y.Dom._addClass,className);},_addClass:function(el,className){var ret=false,current;if(el&&className){current=Y.Dom._getAttribute(el,CLASS_NAME)||EMPTY;if(!Y.Dom._hasClass(el,className)){Y.Dom.setAttribute(el,CLASS_NAME,trim(current+SPACE+className));ret=true;}}else{}return ret;},removeClass:function(el,className){return Y.Dom.batch(el,Y.Dom._removeClass,className);},_removeClass:function(el,className){var ret=false,current,newClass,attr;if(el&&className){current=Y.Dom._getAttribute(el,CLASS_NAME)||EMPTY;Y.Dom.setAttribute(el,CLASS_NAME,current.replace(Y.Dom._getClassRegex(className),EMPTY));newClass=Y.Dom._getAttribute(el,CLASS_NAME);if(current!==newClass){Y.Dom.setAttribute(el,CLASS_NAME,trim(newClass));ret=true;if(Y.Dom._getAttribute(el,CLASS_NAME)===''){attr=(el.hasAttribute&&el.hasAttribute(_CLASS))?_CLASS:CLASS_NAME;el.removeAttribute(attr);}}}else{}return ret;},replaceClass:function(el,oldClassName,newClassName){return Y.Dom.batch(el,Y.Dom._replaceClass,{from:oldClassName,to:newClassName});},_replaceClass:function(el,classObj){var className,from,to,ret=false,current;if(el&&classObj){from=classObj.from;to=classObj.to;if(!to){ret=false;}else if(!from){ret=Y.Dom._addClass(el,classObj.to);}else if(from!==to){current=Y.Dom._getAttribute(el,CLASS_NAME)||EMPTY;className=(SPACE+current.replace(Y.Dom._getClassRegex(from),SPACE+to)).split(Y.Dom._getClassRegex(to));className.splice(1,0,SPACE+to);Y.Dom.setAttribute(el,CLASS_NAME,trim(className.join(EMPTY)));ret=true;}}else{}return ret;},generateId:function(el,prefix){prefix=prefix||'yui-gen';var f=function(el){if(el&&el.id){return el.id;}var id=prefix+YAHOO.env._id_counter++;if(el){if(el[OWNER_DOCUMENT]&&el[OWNER_DOCUMENT].getElementById(id)){return Y.Dom.generateId(el,id+prefix);}el.id=id;}return id;};return Y.Dom.batch(el,f,Y.Dom,true)||f.apply(Y.Dom,arguments);},isAncestor:function(haystack,needle){haystack=Y.Dom.get(haystack);needle=Y.Dom.get(needle);var ret=false;if((haystack&&needle)&&(haystack[NODE_TYPE]&&needle[NODE_TYPE])){if(haystack.contains&&haystack!==needle){ret=haystack.contains(needle);}else if(haystack.compareDocumentPosition){ret=!!(haystack.compareDocumentPosition(needle)&16);}}else{}return ret;},inDocument:function(el,doc){return Y.Dom._inDoc(Y.Dom.get(el),doc);},_inDoc:function(el,doc){var ret=false;if(el&&el[TAG_NAME]){doc=doc||el[OWNER_DOCUMENT];ret=Y.Dom.isAncestor(doc[DOCUMENT_ELEMENT],el);}else{}return ret;},getElementsBy:function(method,tag,root,apply,o,overrides,firstOnly){tag=tag||'*';root=(root)?Y.Dom.get(root):null||document;if(!root){return[];}var nodes=[],elements=root.getElementsByTagName(tag);for(var i=0,len=elements.length;i<len;++i){if(method(elements[i])){if(firstOnly){nodes=elements[i];break;}else{nodes[nodes.length]=elements[i];}}}if(apply){Y.Dom.batch(nodes,apply,o,overrides);}return nodes;},getElementBy:function(method,tag,root){return Y.Dom.getElementsBy(method,tag,root,null,null,null,true);},batch:function(el,method,o,overrides){var collection=[],scope=(overrides)?o:window;el=(el&&(el[TAG_NAME]||el.item))?el:Y.Dom.get(el);if(el&&method){if(el[TAG_NAME]||el.length===undefined){return method.call(scope,el,o);}for(var i=0;i<el.length;++i){collection[collection.length]=method.call(scope,el[i],o);}}else{return false;}return collection;},getDocumentHeight:function(){var scrollHeight=(document[COMPAT_MODE]!=CSS1_COMPAT||isSafari)?document.body.scrollHeight:documentElement.scrollHeight,h=Math.max(scrollHeight,Y.Dom.getViewportHeight());return h;},getDocumentWidth:function(){var scrollWidth=(document[COMPAT_MODE]!=CSS1_COMPAT||isSafari)?document.body.scrollWidth:documentElement.scrollWidth,w=Math.max(scrollWidth,Y.Dom.getViewportWidth());return w;},getViewportHeight:function(){var height=self.innerHeight,mode=document[COMPAT_MODE];if((mode||isIE)&&!isOpera){height=(mode==CSS1_COMPAT)?documentElement.clientHeight:document.body.clientHeight;}return height;},getViewportWidth:function(){var width=self.innerWidth,mode=document[COMPAT_MODE];if(mode||isIE){width=(mode==CSS1_COMPAT)?documentElement.clientWidth:document.body.clientWidth;}return width;},getAncestorBy:function(node,method){while((node=node[PARENT_NODE])){if(Y.Dom._testElement(node,method)){return node;}}return null;},getAncestorByClassName:function(node,className){node=Y.Dom.get(node);if(!node){return null;}var method=function(el){return Y.Dom.hasClass(el,className);};return Y.Dom.getAncestorBy(node,method);},getAncestorByTagName:function(node,tagName){node=Y.Dom.get(node);if(!node){return null;}var method=function(el){return el[TAG_NAME]&&el[TAG_NAME].toUpperCase()==tagName.toUpperCase();};return Y.Dom.getAncestorBy(node,method);},getPreviousSiblingBy:function(node,method){while(node){node=node.previousSibling;if(Y.Dom._testElement(node,method)){return node;}}return null;},getPreviousSibling:function(node){node=Y.Dom.get(node);if(!node){return null;}return Y.Dom.getPreviousSiblingBy(node);},getNextSiblingBy:function(node,method){while(node){node=node.nextSibling;if(Y.Dom._testElement(node,method)){return node;}}return null;},getNextSibling:function(node){node=Y.Dom.get(node);if(!node){return null;}return Y.Dom.getNextSiblingBy(node);},getFirstChildBy:function(node,method){var child=(Y.Dom._testElement(node.firstChild,method))?node.firstChild:null;return child||Y.Dom.getNextSiblingBy(node.firstChild,method);},getFirstChild:function(node,method){node=Y.Dom.get(node);if(!node){return null;}return Y.Dom.getFirstChildBy(node);},getLastChildBy:function(node,method){if(!node){return null;}var child=(Y.Dom._testElement(node.lastChild,method))?node.lastChild:null;return child||Y.Dom.getPreviousSiblingBy(node.lastChild,method);},getLastChild:function(node){node=Y.Dom.get(node);return Y.Dom.getLastChildBy(node);},getChildrenBy:function(node,method){var child=Y.Dom.getFirstChildBy(node,method),children=child?[child]:[];Y.Dom.getNextSiblingBy(child,function(node){if(!method||method(node)){children[children.length]=node;}return false;});return children;},getChildren:function(node){node=Y.Dom.get(node);if(!node){}return Y.Dom.getChildrenBy(node);},getDocumentScrollLeft:function(doc){doc=doc||document;return Math.max(doc[DOCUMENT_ELEMENT].scrollLeft,doc.body.scrollLeft);},getDocumentScrollTop:function(doc){doc=doc||document;return Math.max(doc[DOCUMENT_ELEMENT].scrollTop,doc.body.scrollTop);},insertBefore:function(newNode,referenceNode){newNode=Y.Dom.get(newNode);referenceNode=Y.Dom.get(referenceNode);if(!newNode||!referenceNode||!referenceNode[PARENT_NODE]){return null;}return referenceNode[PARENT_NODE].insertBefore(newNode,referenceNode);},insertAfter:function(newNode,referenceNode){newNode=Y.Dom.get(newNode);referenceNode=Y.Dom.get(referenceNode);if(!newNode||!referenceNode||!referenceNode[PARENT_NODE]){return null;}if(referenceNode.nextSibling){return referenceNode[PARENT_NODE].insertBefore(newNode,referenceNode.nextSibling);}else{return referenceNode[PARENT_NODE].appendChild(newNode);}},getClientRegion:function(){var t=Y.Dom.getDocumentScrollTop(),l=Y.Dom.getDocumentScrollLeft(),r=Y.Dom.getViewportWidth()+l,b=Y.Dom.getViewportHeight()+t;return new Y.Region(t,r,b,l);},setAttribute:function(el,attr,val){Y.Dom.batch(el,Y.Dom._setAttribute,{attr:attr,val:val});},_setAttribute:function(el,args){var attr=Y.Dom._toCamel(args.attr),val=args.val;if(el&&el.setAttribute){if(Y.Dom.DOT_ATTRIBUTES[attr]){el[attr]=val;}else{attr=Y.Dom.CUSTOM_ATTRIBUTES[attr]||attr;el.setAttribute(attr,val);}}else{}},getAttribute:function(el,attr){return Y.Dom.batch(el,Y.Dom._getAttribute,attr);},_getAttribute:function(el,attr){var val;attr=Y.Dom.CUSTOM_ATTRIBUTES[attr]||attr;if(el&&el.getAttribute){val=el.getAttribute(attr,2);}else{}return val;},_toCamel:function(property){var c=propertyCache;function tU(x,l){return l.toUpperCase();}return c[property]||(c[property]=property.indexOf('-')===-1?property:property.replace(/-([a-z])/gi,tU));},_getClassRegex:function(className){var re;if(className!==undefined){if(className.exec){re=className;}else{re=reCache[className];if(!re){className=className.replace(Y.Dom._patterns.CLASS_RE_TOKENS,'\\$1');re=reCache[className]=new RegExp(C_START+className+C_END,G);}}}return re;},_patterns:{ROOT_TAG:/^body|html$/i,CLASS_RE_TOKENS:/([\.\(\)\^\$\*\+\?\|\[\]\{\}\\])/g},_testElement:function(node,method){return node&&node[NODE_TYPE]==1&&(!method||method(node));},_calcBorders:function(node,xy2){var t=parseInt(Y.Dom[GET_COMPUTED_STYLE](node,BORDER_TOP_WIDTH),10)||0,l=parseInt(Y.Dom[GET_COMPUTED_STYLE](node,BORDER_LEFT_WIDTH),10)||0;if(isGecko){if(RE_TABLE.test(node[TAG_NAME])){t=0;l=0;}}xy2[0]+=l;xy2[1]+=t;return xy2;}};var _getComputedStyle=Y.Dom[GET_COMPUTED_STYLE];if(UA.opera){Y.Dom[GET_COMPUTED_STYLE]=function(node,att){var val=_getComputedStyle(node,att);if(RE_COLOR.test(att)){val=Y.Dom.Color.toRGB(val);}return val;};}if(UA.webkit){Y.Dom[GET_COMPUTED_STYLE]=function(node,att){var val=_getComputedStyle(node,att);if(val==='rgba(0, 0, 0, 0)'){val='transparent';}return val;};}if(UA.ie&&UA.ie>=8&&document.documentElement.hasAttribute){Y.Dom.DOT_ATTRIBUTES.type=true;}})();YAHOO.util.Region=function(t,r,b,l){this.top=t;this.y=t;this[1]=t;this.right=r;this.bottom=b;this.left=l;this.x=l;this[0]=l;this.width=this.right-this.left;this.height=this.bottom-this.top;};YAHOO.util.Region.prototype.contains=function(region){return(region.left>=this.left&&region.right<=this.right&&region.top>=this.top&&region.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(region){var t=Math.max(this.top,region.top),r=Math.min(this.right,region.right),b=Math.min(this.bottom,region.bottom),l=Math.max(this.left,region.left);if(b>=t&&r>=l){return new YAHOO.util.Region(t,r,b,l);}else{return null;}};YAHOO.util.Region.prototype.union=function(region){var t=Math.min(this.top,region.top),r=Math.max(this.right,region.right),b=Math.max(this.bottom,region.bottom),l=Math.min(this.left,region.left);return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+", height: "+this.height+", width: "+this.width+"}");};YAHOO.util.Region.getRegion=function(el){var p=YAHOO.util.Dom.getXY(el),t=p[1],r=p[0]+el.offsetWidth,b=p[1]+el.offsetHeight,l=p[0];return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Point=function(x,y){if(YAHOO.lang.isArray(x)){y=x[1];x=x[0];}YAHOO.util.Point.superclass.constructor.call(this,y,x,y,x);};YAHOO.extend(YAHOO.util.Point,YAHOO.util.Region);(function(){var Y=YAHOO.util,CLIENT_TOP='clientTop',CLIENT_LEFT='clientLeft',PARENT_NODE='parentNode',RIGHT='right',HAS_LAYOUT='hasLayout',PX='px',OPACITY='opacity',AUTO='auto',BORDER_LEFT_WIDTH='borderLeftWidth',BORDER_TOP_WIDTH='borderTopWidth',BORDER_RIGHT_WIDTH='borderRightWidth',BORDER_BOTTOM_WIDTH='borderBottomWidth',VISIBLE='visible',TRANSPARENT='transparent',HEIGHT='height',WIDTH='width',STYLE='style',CURRENT_STYLE='currentStyle',re_size=/^width|height$/,re_unit=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,ComputedStyle={get:function(el,property){var value='',current=el[CURRENT_STYLE][property];if(property===OPACITY){value=Y.Dom.getStyle(el,OPACITY);}else if(!current||(current.indexOf&&current.indexOf(PX)>-1)){value=current;}else if(Y.Dom.IE_COMPUTED[property]){value=Y.Dom.IE_COMPUTED[property](el,property);}else if(re_unit.test(current)){value=Y.Dom.IE.ComputedStyle.getPixel(el,property);}else{value=current;}return value;},getOffset:function(el,prop){var current=el[CURRENT_STYLE][prop],capped=prop.charAt(0).toUpperCase()+prop.substr(1),offset='offset'+capped,pixel='pixel'+capped,value='',actual;if(current==AUTO){actual=el[offset];if(actual===undefined){value=0;}value=actual;if(re_size.test(prop)){el[STYLE][prop]=actual;if(el[offset]>actual){value=actual-(el[offset]-actual);}el[STYLE][prop]=AUTO;}}else{if(!el[STYLE][pixel]&&!el[STYLE][prop]){el[STYLE][prop]=current;}value=el[STYLE][pixel];}return value+PX;},getBorderWidth:function(el,property){var value=null;if(!el[CURRENT_STYLE][HAS_LAYOUT]){el[STYLE].zoom=1;}switch(property){case BORDER_TOP_WIDTH:value=el[CLIENT_TOP];break;case BORDER_BOTTOM_WIDTH:value=el.offsetHeight-el.clientHeight-el[CLIENT_TOP];break;case BORDER_LEFT_WIDTH:value=el[CLIENT_LEFT];break;case BORDER_RIGHT_WIDTH:value=el.offsetWidth-el.clientWidth-el[CLIENT_LEFT];break;}return value+PX;},getPixel:function(node,att){var val=null,styleRight=node[CURRENT_STYLE][RIGHT],current=node[CURRENT_STYLE][att];node[STYLE][RIGHT]=current;val=node[STYLE].pixelRight;node[STYLE][RIGHT]=styleRight;return val+PX;},getMargin:function(node,att){var val;if(node[CURRENT_STYLE][att]==AUTO){val=0+PX;}else{val=Y.Dom.IE.ComputedStyle.getPixel(node,att);}return val;},getVisibility:function(node,att){var current;while((current=node[CURRENT_STYLE])&&current[att]=='inherit'){node=node[PARENT_NODE];}return(current)?current[att]:VISIBLE;},getColor:function(node,att){return Y.Dom.Color.toRGB(node[CURRENT_STYLE][att])||TRANSPARENT;},getBorderColor:function(node,att){var current=node[CURRENT_STYLE],val=current[att]||current.color;return Y.Dom.Color.toRGB(Y.Dom.Color.toHex(val));}},IEComputed={};IEComputed.top=IEComputed.right=IEComputed.bottom=IEComputed.left=IEComputed[WIDTH]=IEComputed[HEIGHT]=ComputedStyle.getOffset;IEComputed.color=ComputedStyle.getColor;IEComputed[BORDER_TOP_WIDTH]=IEComputed[BORDER_RIGHT_WIDTH]=IEComputed[BORDER_BOTTOM_WIDTH]=IEComputed[BORDER_LEFT_WIDTH]=ComputedStyle.getBorderWidth;IEComputed.marginTop=IEComputed.marginRight=IEComputed.marginBottom=IEComputed.marginLeft=ComputedStyle.getMargin;IEComputed.visibility=ComputedStyle.getVisibility;IEComputed.borderColor=IEComputed.borderTopColor=IEComputed.borderRightColor=IEComputed.borderBottomColor=IEComputed.borderLeftColor=ComputedStyle.getBorderColor;Y.Dom.IE_COMPUTED=IEComputed;Y.Dom.IE_ComputedStyle=ComputedStyle;})();(function(){var TO_STRING='toString',PARSE_INT=parseInt,RE=RegExp,Y=YAHOO.util;Y.Dom.Color={KEYWORDS:{black:'000',silver:'c0c0c0',gray:'808080',white:'fff',maroon:'800000',red:'f00',purple:'800080',fuchsia:'f0f',green:'008000',lime:'0f0',olive:'808000',yellow:'ff0',navy:'000080',blue:'00f',teal:'008080',aqua:'0ff'},re_RGB:/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,re_hex:/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,re_hex3:/([0-9A-F])/gi,toRGB:function(val){if(!Y.Dom.Color.re_RGB.test(val)){val=Y.Dom.Color.toHex(val);}if(Y.Dom.Color.re_hex.exec(val)){val='rgb('+[PARSE_INT(RE.$1,16),PARSE_INT(RE.$2,16),PARSE_INT(RE.$3,16)].join(', ')+')';}return val;},toHex:function(val){val=Y.Dom.Color.KEYWORDS[val]||val;if(Y.Dom.Color.re_RGB.exec(val)){var r=(RE.$1.length===1)?'0'+RE.$1:Number(RE.$1),g=(RE.$2.length===1)?'0'+RE.$2:Number(RE.$2),b=(RE.$3.length===1)?'0'+RE.$3:Number(RE.$3);val=[r[TO_STRING](16),g[TO_STRING](16),b[TO_STRING](16)].join('');}if(val.length<6){val=val.replace(Y.Dom.Color.re_hex3,'$1$1');}if(val!=='transparent'&&val.indexOf('#')<0){val='#'+val;}return val.toLowerCase();}};}());YAHOO.register("dom",YAHOO.util.Dom,{version:"2.8.0r4",build:"2449"});YAHOO.util.CustomEvent=function(type,context,silent,signature,fireOnce){this.type=type;this.scope=context||window;this.silent=silent;this.fireOnce=fireOnce;this.fired=false;this.firedWith=null;this.signature=signature||YAHOO.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){}var onsubscribeType="_YUICEOnSubscribe";if(type!==onsubscribeType){this.subscribeEvent=new YAHOO.util.CustomEvent(onsubscribeType,this,true);}this.lastError=null;};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;YAHOO.util.CustomEvent.prototype={subscribe:function(fn,obj,overrideContext){if(!fn){throw new Error("Invalid callback for subscriber to '"+this.type+"'");}if(this.subscribeEvent){this.subscribeEvent.fire(fn,obj,overrideContext);}var s=new YAHOO.util.Subscriber(fn,obj,overrideContext);if(this.fireOnce&&this.fired){this.notify(s,this.firedWith);}else{this.subscribers.push(s);}},unsubscribe:function(fn,obj){if(!fn){return this.unsubscribeAll();}var found=false;for(var i=0,len=this.subscribers.length;i<len;++i){var s=this.subscribers[i];if(s&&s.contains(fn,obj)){this._delete(i);found=true;}}return found;},fire:function(){this.lastError=null;var errors=[],len=this.subscribers.length;var args=[].slice.call(arguments,0),ret=true,i,rebuild=false;if(this.fireOnce){if(this.fired){return true;}else{this.firedWith=args;}}this.fired=true;if(!len&&this.silent){return true;}if(!this.silent){}var subs=this.subscribers.slice();for(i=0;i<len;++i){var s=subs[i];if(!s){rebuild=true;}else{ret=this.notify(s,args);if(false===ret){if(!this.silent){}break;}}}return(ret!==false);},notify:function(s,args){var ret,param=null,scope=s.getScope(this.scope),throwErrors=YAHOO.util.Event.throwErrors;if(!this.silent){}if(this.signature==YAHOO.util.CustomEvent.FLAT){if(args.length>0){param=args[0];}try{ret=s.fn.call(scope,param,s.obj);}catch(e){this.lastError=e;if(throwErrors){throw e;}}}else{try{ret=s.fn.call(scope,this.type,args,s.obj);}catch(ex){this.lastError=ex;if(throwErrors){throw ex;}}}return ret;},unsubscribeAll:function(){var l=this.subscribers.length,i;for(i=l-1;i>-1;i--){this._delete(i);}this.subscribers=[];return l;},_delete:function(index){var s=this.subscribers[index];if(s){delete s.fn;delete s.obj;}this.subscribers.splice(index,1);},toString:function(){return"CustomEvent: "+"'"+this.type+"', "+"context: "+this.scope;}};YAHOO.util.Subscriber=function(fn,obj,overrideContext){this.fn=fn;this.obj=YAHOO.lang.isUndefined(obj)?null:obj;this.overrideContext=overrideContext;};YAHOO.util.Subscriber.prototype.getScope=function(defaultScope){if(this.overrideContext){if(this.overrideContext===true){return this.obj;}else{return this.overrideContext;}}return defaultScope;};YAHOO.util.Subscriber.prototype.contains=function(fn,obj){if(obj){return(this.fn==fn&&this.obj==obj);}else{return(this.fn==fn);}};YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", overrideContext: "+(this.overrideContext||"no")+" }";};if(!YAHOO.util.Event){YAHOO.util.Event=function(){var loadComplete=false,listeners=[],unloadListeners=[],retryCount=0,onAvailStack=[],counter=0,webkitKeymap={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9},isIE=YAHOO.env.ua.ie,FOCUSIN="focusin",FOCUSOUT="focusout";return{POLL_RETRYS:500,POLL_INTERVAL:40,EL:0,TYPE:1,FN:2,WFN:3,UNLOAD_OBJ:3,ADJ_SCOPE:4,OBJ:5,OVERRIDE:6,CAPTURE:7,lastError:null,isSafari:YAHOO.env.ua.webkit,webkit:YAHOO.env.ua.webkit,isIE:isIE,_interval:null,_dri:null,_specialTypes:{focusin:(isIE?"focusin":"focus"),focusout:(isIE?"focusout":"blur")},DOMReady:false,throwErrors:false,startInterval:function(){if(!this._interval){this._interval=YAHOO.lang.later(this.POLL_INTERVAL,this,this._tryPreloadAttach,null,true);}},onAvailable:function(id,fn,obj,overrideContext,checkContent){var a=(YAHOO.lang.isString(id))?[id]:id;for(var i=0;i<a.length;i=i+1){onAvailStack.push({id:a[i],fn:fn,obj:obj,overrideContext:overrideContext,checkReady:checkContent});}retryCount=this.POLL_RETRYS;this.startInterval();},onContentReady:function(id,fn,obj,overrideContext){this.onAvailable(id,fn,obj,overrideContext,true);},onDOMReady:function(){this.DOMReadyEvent.subscribe.apply(this.DOMReadyEvent,arguments);},_addListener:function(el,sType,fn,obj,overrideContext,bCapture){if(!fn||!fn.call){return false;}if(this._isValidCollection(el)){var ok=true;for(var i=0,len=el.length;i<len;++i){ok=this.on(el[i],sType,fn,obj,overrideContext)&&ok;}return ok;}else if(YAHOO.lang.isString(el)){var oEl=this.getEl(el);if(oEl){el=oEl;}else{this.onAvailable(el,function(){YAHOO.util.Event._addListener(el,sType,fn,obj,overrideContext,bCapture);});return true;}}if(!el){return false;}if("unload"==sType&&obj!==this){unloadListeners[unloadListeners.length]=[el,sType,fn,obj,overrideContext];return true;}var context=el;if(overrideContext){if(overrideContext===true){context=obj;}else{context=overrideContext;}}var wrappedFn=function(e){return fn.call(context,YAHOO.util.Event.getEvent(e,el),obj);};var li=[el,sType,fn,wrappedFn,context,obj,overrideContext,bCapture];var index=listeners.length;listeners[index]=li;try{this._simpleAdd(el,sType,wrappedFn,bCapture);}catch(ex){this.lastError=ex;this.removeListener(el,sType,fn);return false;}return true;},_getType:function(type){return this._specialTypes[type]||type;},addListener:function(el,sType,fn,obj,overrideContext){var capture=((sType==FOCUSIN||sType==FOCUSOUT)&&!YAHOO.env.ua.ie)?true:false;return this._addListener(el,this._getType(sType),fn,obj,overrideContext,capture);},addFocusListener:function(el,fn,obj,overrideContext){return this.on(el,FOCUSIN,fn,obj,overrideContext);},removeFocusListener:function(el,fn){return this.removeListener(el,FOCUSIN,fn);},addBlurListener:function(el,fn,obj,overrideContext){return this.on(el,FOCUSOUT,fn,obj,overrideContext);},removeBlurListener:function(el,fn){return this.removeListener(el,FOCUSOUT,fn);},removeListener:function(el,sType,fn){var i,len,li;sType=this._getType(sType);if(typeof el=="string"){el=this.getEl(el);}else if(this._isValidCollection(el)){var ok=true;for(i=el.length-1;i>-1;i--){ok=(this.removeListener(el[i],sType,fn)&&ok);}return ok;}if(!fn||!fn.call){return this.purgeElement(el,false,sType);}if("unload"==sType){for(i=unloadListeners.length-1;i>-1;i--){li=unloadListeners[i];if(li&&li[0]==el&&li[1]==sType&&li[2]==fn){unloadListeners.splice(i,1);return true;}}return false;}var cacheItem=null;var index=arguments[3];if("undefined"===typeof index){index=this._getCacheIndex(listeners,el,sType,fn);}if(index>=0){cacheItem=listeners[index];}if(!el||!cacheItem){return false;}var bCapture=cacheItem[this.CAPTURE]===true?true:false;try{this._simpleRemove(el,sType,cacheItem[this.WFN],bCapture);}catch(ex){this.lastError=ex;return false;}delete listeners[index][this.WFN];delete listeners[index][this.FN];listeners.splice(index,1);return true;},getTarget:function(ev,resolveTextNode){var t=ev.target||ev.srcElement;return this.resolveTextNode(t);},resolveTextNode:function(n){try{if(n&&3==n.nodeType){return n.parentNode;}}catch(e){}return n;},getPageX:function(ev){var x=ev.pageX;if(!x&&0!==x){x=ev.clientX||0;if(this.isIE){x+=this._getScrollLeft();}}return x;},getPageY:function(ev){var y=ev.pageY;if(!y&&0!==y){y=ev.clientY||0;if(this.isIE){y+=this._getScrollTop();}}return y;},getXY:function(ev){return[this.getPageX(ev),this.getPageY(ev)];},getRelatedTarget:function(ev){var t=ev.relatedTarget;if(!t){if(ev.type=="mouseout"){t=ev.toElement;}else if(ev.type=="mouseover"){t=ev.fromElement;}}return this.resolveTextNode(t);},getTime:function(ev){if(!ev.time){var t=new Date().getTime();try{ev.time=t;}catch(ex){this.lastError=ex;return t;}}return ev.time;},stopEvent:function(ev){this.stopPropagation(ev);this.preventDefault(ev);},stopPropagation:function(ev){if(ev.stopPropagation){ev.stopPropagation();}else{ev.cancelBubble=true;}},preventDefault:function(ev){if(ev.preventDefault){ev.preventDefault();}else{ev.returnValue=false;}},getEvent:function(e,boundEl){var ev=e||window.event;if(!ev){var c=this.getEvent.caller;while(c){ev=c.arguments[0];if(ev&&Event==ev.constructor){break;}c=c.caller;}}return ev;},getCharCode:function(ev){var code=ev.keyCode||ev.charCode||0;if(YAHOO.env.ua.webkit&&(code in webkitKeymap)){code=webkitKeymap[code];}return code;},_getCacheIndex:function(a,el,sType,fn){for(var i=0,l=a.length;i<l;i=i+1){var li=a[i];if(li&&li[this.FN]==fn&&li[this.EL]==el&&li[this.TYPE]==sType){return i;}}return-1;},generateId:function(el){var id=el.id;if(!id){id="yuievtautoid-"+counter;++counter;el.id=id;}return id;},_isValidCollection:function(o){try{return(o&&typeof o!=="string"&&o.length&&!o.tagName&&!o.alert&&typeof o[0]!=="undefined");}catch(ex){return false;}},elCache:{},getEl:function(id){return(typeof id==="string")?document.getElementById(id):id;},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",YAHOO,0,0,1),_load:function(e){if(!loadComplete){loadComplete=true;var EU=YAHOO.util.Event;EU._ready();EU._tryPreloadAttach();}},_ready:function(e){var EU=YAHOO.util.Event;if(!EU.DOMReady){EU.DOMReady=true;EU.DOMReadyEvent.fire();EU._simpleRemove(document,"DOMContentLoaded",EU._ready);}},_tryPreloadAttach:function(){if(onAvailStack.length===0){retryCount=0;if(this._interval){this._interval.cancel();this._interval=null;}return;}if(this.locked){return;}if(this.isIE){if(!this.DOMReady){this.startInterval();return;}}this.locked=true;var tryAgain=!loadComplete;if(!tryAgain){tryAgain=(retryCount>0&&onAvailStack.length>0);}var notAvail=[];var executeItem=function(el,item){var context=el;if(item.overrideContext){if(item.overrideContext===true){context=item.obj;}else{context=item.overrideContext;}}item.fn.call(context,item.obj);};var i,len,item,el,ready=[];for(i=0,len=onAvailStack.length;i<len;i=i+1){item=onAvailStack[i];if(item){el=this.getEl(item.id);if(el){if(item.checkReady){if(loadComplete||el.nextSibling||!tryAgain){ready.push(item);onAvailStack[i]=null;}}else{executeItem(el,item);onAvailStack[i]=null;}}else{notAvail.push(item);}}}for(i=0,len=ready.length;i<len;i=i+1){item=ready[i];executeItem(this.getEl(item.id),item);}retryCount--;if(tryAgain){for(i=onAvailStack.length-1;i>-1;i--){item=onAvailStack[i];if(!item||!item.id){onAvailStack.splice(i,1);}}this.startInterval();}else{if(this._interval){this._interval.cancel();this._interval=null;}}this.locked=false;},purgeElement:function(el,recurse,sType){var oEl=(YAHOO.lang.isString(el))?this.getEl(el):el;var elListeners=this.getListeners(oEl,sType),i,len;if(elListeners){for(i=elListeners.length-1;i>-1;i--){var l=elListeners[i];this.removeListener(oEl,l.type,l.fn);}}if(recurse&&oEl&&oEl.childNodes){for(i=0,len=oEl.childNodes.length;i<len;++i){this.purgeElement(oEl.childNodes[i],recurse,sType);}}},getListeners:function(el,sType){var results=[],searchLists;if(!sType){searchLists=[listeners,unloadListeners];}else if(sType==="unload"){searchLists=[unloadListeners];}else{sType=this._getType(sType);searchLists=[listeners];}var oEl=(YAHOO.lang.isString(el))?this.getEl(el):el;for(var j=0;j<searchLists.length;j=j+1){var searchList=searchLists[j];if(searchList){for(var i=0,len=searchList.length;i<len;++i){var l=searchList[i];if(l&&l[this.EL]===oEl&&(!sType||sType===l[this.TYPE])){results.push({type:l[this.TYPE],fn:l[this.FN],obj:l[this.OBJ],adjust:l[this.OVERRIDE],scope:l[this.ADJ_SCOPE],index:i});}}}}return(results.length)?results:null;},_unload:function(e){var EU=YAHOO.util.Event,i,j,l,len,index,ul=unloadListeners.slice(),context;for(i=0,len=unloadListeners.length;i<len;++i){l=ul[i];if(l){context=window;if(l[EU.ADJ_SCOPE]){if(l[EU.ADJ_SCOPE]===true){context=l[EU.UNLOAD_OBJ];}else{context=l[EU.ADJ_SCOPE];}}l[EU.FN].call(context,EU.getEvent(e,l[EU.EL]),l[EU.UNLOAD_OBJ]);ul[i]=null;}}l=null;context=null;unloadListeners=null;if(listeners){for(j=listeners.length-1;j>-1;j--){l=listeners[j];if(l){EU.removeListener(l[EU.EL],l[EU.TYPE],l[EU.FN],j);}}l=null;}EU._simpleRemove(window,"unload",EU._unload);},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var dd=document.documentElement,db=document.body;if(dd&&(dd.scrollTop||dd.scrollLeft)){return[dd.scrollTop,dd.scrollLeft];}else if(db){return[db.scrollTop,db.scrollLeft];}else{return[0,0];}},regCE:function(){},_simpleAdd:function(){if(window.addEventListener){return function(el,sType,fn,capture){el.addEventListener(sType,fn,(capture));};}else if(window.attachEvent){return function(el,sType,fn,capture){el.attachEvent("on"+sType,fn);};}else{return function(){};}}(),_simpleRemove:function(){if(window.removeEventListener){return function(el,sType,fn,capture){el.removeEventListener(sType,fn,(capture));};}else if(window.detachEvent){return function(el,sType,fn){el.detachEvent("on"+sType,fn);};}else{return function(){};}}()};}();(function(){var EU=YAHOO.util.Event;EU.on=EU.addListener;EU.onFocus=EU.addFocusListener;EU.onBlur=EU.addBlurListener;if(EU.isIE){if(self!==self.top){document.onreadystatechange=function(){if(document.readyState=='complete'){document.onreadystatechange=null;EU._ready();}};}else{YAHOO.util.Event.onDOMReady(YAHOO.util.Event._tryPreloadAttach,YAHOO.util.Event,true);var n=document.createElement('p');EU._dri=setInterval(function(){try{n.doScroll('left');clearInterval(EU._dri);EU._dri=null;EU._ready();n=null;}catch(ex){}},EU.POLL_INTERVAL);}}else if(EU.webkit&&EU.webkit<525){EU._dri=setInterval(function(){var rs=document.readyState;if("loaded"==rs||"complete"==rs){clearInterval(EU._dri);EU._dri=null;EU._ready();}},EU.POLL_INTERVAL);}else{EU._simpleAdd(document,"DOMContentLoaded",EU._ready);}EU._simpleAdd(window,"load",EU._load);EU._simpleAdd(window,"unload",EU._unload);EU._tryPreloadAttach();})();}YAHOO.util.EventProvider=function(){};YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(p_type,p_fn,p_obj,overrideContext){this.__yui_events=this.__yui_events||{};var ce=this.__yui_events[p_type];if(ce){ce.subscribe(p_fn,p_obj,overrideContext);}else{this.__yui_subscribers=this.__yui_subscribers||{};var subs=this.__yui_subscribers;if(!subs[p_type]){subs[p_type]=[];}subs[p_type].push({fn:p_fn,obj:p_obj,overrideContext:overrideContext});}},unsubscribe:function(p_type,p_fn,p_obj){this.__yui_events=this.__yui_events||{};var evts=this.__yui_events;if(p_type){var ce=evts[p_type];if(ce){return ce.unsubscribe(p_fn,p_obj);}}else{var ret=true;for(var i in evts){if(YAHOO.lang.hasOwnProperty(evts,i)){ret=ret&&evts[i].unsubscribe(p_fn,p_obj);}}return ret;}return false;},unsubscribeAll:function(p_type){return this.unsubscribe(p_type);},createEvent:function(p_type,p_config){this.__yui_events=this.__yui_events||{};var opts=p_config||{},events=this.__yui_events,ce;if(events[p_type]){}else{ce=new YAHOO.util.CustomEvent(p_type,opts.scope||this,opts.silent,YAHOO.util.CustomEvent.FLAT,opts.fireOnce);events[p_type]=ce;if(opts.onSubscribeCallback){ce.subscribeEvent.subscribe(opts.onSubscribeCallback);}this.__yui_subscribers=this.__yui_subscribers||{};var qs=this.__yui_subscribers[p_type];if(qs){for(var i=0;i<qs.length;++i){ce.subscribe(qs[i].fn,qs[i].obj,qs[i].overrideContext);}}}return events[p_type];},fireEvent:function(p_type){this.__yui_events=this.__yui_events||{};var ce=this.__yui_events[p_type];if(!ce){return null;}var args=[];for(var i=1;i<arguments.length;++i){args.push(arguments[i]);}return ce.fire.apply(ce,args);},hasEvent:function(type){if(this.__yui_events){if(this.__yui_events[type]){return true;}}return false;}};(function(){var Event=YAHOO.util.Event,Lang=YAHOO.lang;YAHOO.util.KeyListener=function(attachTo,keyData,handler,event){if(!attachTo){}else if(!keyData){}else if(!handler){}if(!event){event=YAHOO.util.KeyListener.KEYDOWN;}var keyEvent=new YAHOO.util.CustomEvent("keyPressed");this.enabledEvent=new YAHOO.util.CustomEvent("enabled");this.disabledEvent=new YAHOO.util.CustomEvent("disabled");if(Lang.isString(attachTo)){attachTo=document.getElementById(attachTo);}if(Lang.isFunction(handler)){keyEvent.subscribe(handler);}else{keyEvent.subscribe(handler.fn,handler.scope,handler.correctScope);}function handleKeyPress(e,obj){if(!keyData.shift){keyData.shift=false;}if(!keyData.alt){keyData.alt=false;}if(!keyData.ctrl){keyData.ctrl=false;}if(e.shiftKey==keyData.shift&&e.altKey==keyData.alt&&e.ctrlKey==keyData.ctrl){var dataItem,keys=keyData.keys,key;if(YAHOO.lang.isArray(keys)){for(var i=0;i<keys.length;i++){dataItem=keys[i];key=Event.getCharCode(e);if(dataItem==key){keyEvent.fire(key,e);break;}}}else{key=Event.getCharCode(e);if(keys==key){keyEvent.fire(key,e);}}}}this.enable=function(){if(!this.enabled){Event.on(attachTo,event,handleKeyPress);this.enabledEvent.fire(keyData);}this.enabled=true;};this.disable=function(){if(this.enabled){Event.removeListener(attachTo,event,handleKeyPress);this.disabledEvent.fire(keyData);}this.enabled=false;};this.toString=function(){return"KeyListener ["+keyData.keys+"] "+attachTo.tagName+(attachTo.id?"["+attachTo.id+"]":"");};};var KeyListener=YAHOO.util.KeyListener;KeyListener.KEYDOWN="keydown";KeyListener.KEYUP="keyup";KeyListener.KEY={ALT:18,BACK_SPACE:8,CAPS_LOCK:20,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,META:224,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PRINTSCREEN:44,RIGHT:39,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,UP:38};})();YAHOO.register("event",YAHOO.util.Event,{version:"2.8.0r4",build:"2449"});(function(){var Y=YAHOO.util;var Anim=function(el,attributes,duration,method){if(!el){}this.init(el,attributes,duration,method);};Anim.NAME='Anim';Anim.prototype={toString:function(){var el=this.getEl()||{};var id=el.id||el.tagName;return(this.constructor.NAME+': '+id);},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(attr,start,end){return this.method(this.currentFrame,start,end-start,this.totalFrames);},setAttribute:function(attr,val,unit){var el=this.getEl();if(this.patterns.noNegatives.test(attr)){val=(val>0)?val:0;}if(attr in el&&!('style'in el&&attr in el.style)){el[attr]=val;}else{Y.Dom.setStyle(el,attr,val+unit);}},getAttribute:function(attr){var el=this.getEl();var val=Y.Dom.getStyle(el,attr);if(val!=='auto'&&!this.patterns.offsetUnit.test(val)){return parseFloat(val);}var a=this.patterns.offsetAttribute.exec(attr)||[];var pos=!!(a[3]);var box=!!(a[2]);if('style'in el){if(box||(Y.Dom.getStyle(el,'position')=='absolute'&&pos)){val=el['offset'+a[0].charAt(0).toUpperCase()+a[0].substr(1)];}else{val=0;}}else if(attr in el){val=el[attr];}return val;},getDefaultUnit:function(attr){if(this.patterns.defaultUnit.test(attr)){return'px';}return'';},setRuntimeAttribute:function(attr){var start;var end;var attributes=this.attributes;this.runtimeAttributes[attr]={};var isset=function(prop){return(typeof prop!=='undefined');};if(!isset(attributes[attr]['to'])&&!isset(attributes[attr]['by'])){return false;}start=(isset(attributes[attr]['from']))?attributes[attr]['from']:this.getAttribute(attr);if(isset(attributes[attr]['to'])){end=attributes[attr]['to'];}else if(isset(attributes[attr]['by'])){if(start.constructor==Array){end=[];for(var i=0,len=start.length;i<len;++i){end[i]=start[i]+attributes[attr]['by'][i]*1;}}else{end=start+attributes[attr]['by']*1;}}this.runtimeAttributes[attr].start=start;this.runtimeAttributes[attr].end=end;this.runtimeAttributes[attr].unit=(isset(attributes[attr].unit))?attributes[attr]['unit']:this.getDefaultUnit(attr);return true;},init:function(el,attributes,duration,method){var isAnimated=false;var startTime=null;var actualFrames=0;el=Y.Dom.get(el);this.attributes=attributes||{};this.duration=!YAHOO.lang.isUndefined(duration)?duration:1;this.method=method||Y.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=Y.AnimMgr.fps;this.setEl=function(element){el=Y.Dom.get(element);};this.getEl=function(){return el;};this.isAnimated=function(){return isAnimated;};this.getStartTime=function(){return startTime;};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return false;}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(Y.AnimMgr.fps*this.duration):this.duration;if(this.duration===0&&this.useSeconds){this.totalFrames=1;}Y.AnimMgr.registerElement(this);return true;};this.stop=function(finish){if(!this.isAnimated()){return false;}if(finish){this.currentFrame=this.totalFrames;this._onTween.fire();}Y.AnimMgr.stop(this);};var onStart=function(){this.onStart.fire();this.runtimeAttributes={};for(var attr in this.attributes){this.setRuntimeAttribute(attr);}isAnimated=true;actualFrames=0;startTime=new Date();};var onTween=function(){var data={duration:new Date()-this.getStartTime(),currentFrame:this.currentFrame};data.toString=function(){return('duration: '+data.duration+', currentFrame: '+data.currentFrame);};this.onTween.fire(data);var runtimeAttributes=this.runtimeAttributes;for(var attr in runtimeAttributes){this.setAttribute(attr,this.doMethod(attr,runtimeAttributes[attr].start,runtimeAttributes[attr].end),runtimeAttributes[attr].unit);}actualFrames+=1;};var onComplete=function(){var actual_duration=(new Date()-startTime)/1000;var data={duration:actual_duration,frames:actualFrames,fps:actualFrames/actual_duration};data.toString=function(){return('duration: '+data.duration+', frames: '+data.frames+', fps: '+data.fps);};isAnimated=false;actualFrames=0;this.onComplete.fire(data);};this._onStart=new Y.CustomEvent('_start',this,true);this.onStart=new Y.CustomEvent('start',this);this.onTween=new Y.CustomEvent('tween',this);this._onTween=new Y.CustomEvent('_tween',this,true);this.onComplete=new Y.CustomEvent('complete',this);this._onComplete=new Y.CustomEvent('_complete',this,true);this._onStart.subscribe(onStart);this._onTween.subscribe(onTween);this._onComplete.subscribe(onComplete);}};Y.Anim=Anim;})();YAHOO.util.AnimMgr=new function(){var thread=null;var queue=[];var tweenCount=0;this.fps=1000;this.delay=1;this.registerElement=function(tween){queue[queue.length]=tween;tweenCount+=1;tween._onStart.fire();this.start();};this.unRegister=function(tween,index){index=index||getIndex(tween);if(!tween.isAnimated()||index===-1){return false;}tween._onComplete.fire();queue.splice(index,1);tweenCount-=1;if(tweenCount<=0){this.stop();}return true;};this.start=function(){if(thread===null){thread=setInterval(this.run,this.delay);}};this.stop=function(tween){if(!tween){clearInterval(thread);for(var i=0,len=queue.length;i<len;++i){this.unRegister(queue[0],0);}queue=[];thread=null;tweenCount=0;}else{this.unRegister(tween);}};this.run=function(){for(var i=0,len=queue.length;i<len;++i){var tween=queue[i];if(!tween||!tween.isAnimated()){continue;}if(tween.currentFrame<tween.totalFrames||tween.totalFrames===null){tween.currentFrame+=1;if(tween.useSeconds){correctFrame(tween);}tween._onTween.fire();}else{YAHOO.util.AnimMgr.stop(tween,i);}}};var getIndex=function(anim){for(var i=0,len=queue.length;i<len;++i){if(queue[i]===anim){return i;}}return-1;};var correctFrame=function(tween){var frames=tween.totalFrames;var frame=tween.currentFrame;var expected=(tween.currentFrame*tween.duration*1000/tween.totalFrames);var elapsed=(new Date()-tween.getStartTime());var tweak=0;if(elapsed<tween.duration*1000){tweak=Math.round((elapsed/expected-1)*tween.currentFrame);}else{tweak=frames-(frame+1);}if(tweak>0&&isFinite(tweak)){if(tween.currentFrame+tweak>=frames){tweak=frames-(frame+1);}tween.currentFrame+=tweak;}};this._queue=queue;this._getIndex=getIndex;};YAHOO.util.Bezier=new function(){this.getPosition=function(points,t){var n=points.length;var tmp=[];for(var i=0;i<n;++i){tmp[i]=[points[i][0],points[i][1]];}for(var j=1;j<n;++j){for(i=0;i<n-j;++i){tmp[i][0]=(1-t)*tmp[i][0]+t*tmp[parseInt(i+1,10)][0];tmp[i][1]=(1-t)*tmp[i][1]+t*tmp[parseInt(i+1,10)][1];}}return[tmp[0][0],tmp[0][1]];};};(function(){var ColorAnim=function(el,attributes,duration,method){ColorAnim.superclass.constructor.call(this,el,attributes,duration,method);};ColorAnim.NAME='ColorAnim';ColorAnim.DEFAULT_BGCOLOR='#fff';var Y=YAHOO.util;YAHOO.extend(ColorAnim,Y.Anim);var superclass=ColorAnim.superclass;var proto=ColorAnim.prototype;proto.patterns.color=/color$/i;proto.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;proto.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;proto.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;proto.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;proto.parseColor=function(s){if(s.length==3){return s;}var c=this.patterns.hex.exec(s);if(c&&c.length==4){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)];}c=this.patterns.rgb.exec(s);if(c&&c.length==4){return[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)];}c=this.patterns.hex3.exec(s);if(c&&c.length==4){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)];}return null;};proto.getAttribute=function(attr){var el=this.getEl();if(this.patterns.color.test(attr)){var val=YAHOO.util.Dom.getStyle(el,attr);var that=this;if(this.patterns.transparent.test(val)){var parent=YAHOO.util.Dom.getAncestorBy(el,function(node){return!that.patterns.transparent.test(val);});if(parent){val=Y.Dom.getStyle(parent,attr);}else{val=ColorAnim.DEFAULT_BGCOLOR;}}}else{val=superclass.getAttribute.call(this,attr);}return val;};proto.doMethod=function(attr,start,end){var val;if(this.patterns.color.test(attr)){val=[];for(var i=0,len=start.length;i<len;++i){val[i]=superclass.doMethod.call(this,attr,start[i],end[i]);}val='rgb('+Math.floor(val[0])+','+Math.floor(val[1])+','+Math.floor(val[2])+')';}else{val=superclass.doMethod.call(this,attr,start,end);}return val;};proto.setRuntimeAttribute=function(attr){superclass.setRuntimeAttribute.call(this,attr);if(this.patterns.color.test(attr)){var attributes=this.attributes;var start=this.parseColor(this.runtimeAttributes[attr].start);var end=this.parseColor(this.runtimeAttributes[attr].end);if(typeof attributes[attr]['to']==='undefined'&&typeof attributes[attr]['by']!=='undefined'){end=this.parseColor(attributes[attr].by);for(var i=0,len=start.length;i<len;++i){end[i]=start[i]+end[i];}}this.runtimeAttributes[attr].start=start;this.runtimeAttributes[attr].end=end;}};Y.ColorAnim=ColorAnim;})();YAHOO.util.Easing={easeNone:function(t,b,c,d){return c*t/d+b;},easeIn:function(t,b,c,d){return c*(t/=d)*t+b;},easeOut:function(t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeBoth:function(t,b,c,d){if((t/=d/2)<1){return c/2*t*t+b;}return-c/2*((--t)*(t-2)-1)+b;},easeInStrong:function(t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutStrong:function(t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeBothStrong:function(t,b,c,d){if((t/=d/2)<1){return c/2*t*t*t*t+b;}return-c/2*((t-=2)*t*t*t-2)+b;},elasticIn:function(t,b,c,d,a,p){if(t==0){return b;}if((t/=d)==1){return b+c;}if(!p){p=d*.3;}if(!a||a<Math.abs(c)){a=c;var s=p/4;}else{var s=p/(2*Math.PI)*Math.asin(c/a);}return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},elasticOut:function(t,b,c,d,a,p){if(t==0){return b;}if((t/=d)==1){return b+c;}if(!p){p=d*.3;}if(!a||a<Math.abs(c)){a=c;var s=p/4;}else{var s=p/(2*Math.PI)*Math.asin(c/a);}return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},elasticBoth:function(t,b,c,d,a,p){if(t==0){return b;}if((t/=d/2)==2){return b+c;}if(!p){p=d*(.3*1.5);}if(!a||a<Math.abs(c)){a=c;var s=p/4;}else{var s=p/(2*Math.PI)*Math.asin(c/a);}if(t<1){return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;}return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},backIn:function(t,b,c,d,s){if(typeof s=='undefined'){s=1.70158;}return c*(t/=d)*t*((s+1)*t-s)+b;},backOut:function(t,b,c,d,s){if(typeof s=='undefined'){s=1.70158;}return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},backBoth:function(t,b,c,d,s){if(typeof s=='undefined'){s=1.70158;}if((t/=d/2)<1){return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;}return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},bounceIn:function(t,b,c,d){return c-YAHOO.util.Easing.bounceOut(d-t,0,c,d)+b;},bounceOut:function(t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;},bounceBoth:function(t,b,c,d){if(t<d/2){return YAHOO.util.Easing.bounceIn(t*2,0,c,d)*.5+b;}return YAHOO.util.Easing.bounceOut(t*2-d,0,c,d)*.5+c*.5+b;}};(function(){var Motion=function(el,attributes,duration,method){if(el){Motion.superclass.constructor.call(this,el,attributes,duration,method);}};Motion.NAME='Motion';var Y=YAHOO.util;YAHOO.extend(Motion,Y.ColorAnim);var superclass=Motion.superclass;var proto=Motion.prototype;proto.patterns.points=/^points$/i;proto.setAttribute=function(attr,val,unit){if(this.patterns.points.test(attr)){unit=unit||'px';superclass.setAttribute.call(this,'left',val[0],unit);superclass.setAttribute.call(this,'top',val[1],unit);}else{superclass.setAttribute.call(this,attr,val,unit);}};proto.getAttribute=function(attr){if(this.patterns.points.test(attr)){var val=[superclass.getAttribute.call(this,'left'),superclass.getAttribute.call(this,'top')];}else{val=superclass.getAttribute.call(this,attr);}return val;};proto.doMethod=function(attr,start,end){var val=null;if(this.patterns.points.test(attr)){var t=this.method(this.currentFrame,0,100,this.totalFrames)/100;val=Y.Bezier.getPosition(this.runtimeAttributes[attr],t);}else{val=superclass.doMethod.call(this,attr,start,end);}return val;};proto.setRuntimeAttribute=function(attr){if(this.patterns.points.test(attr)){var el=this.getEl();var attributes=this.attributes;var start;var control=attributes['points']['control']||[];var end;var i,len;if(control.length>0&&!(control[0]instanceof Array)){control=[control];}else{var tmp=[];for(i=0,len=control.length;i<len;++i){tmp[i]=control[i];}control=tmp;}if(Y.Dom.getStyle(el,'position')=='static'){Y.Dom.setStyle(el,'position','relative');}if(isset(attributes['points']['from'])){Y.Dom.setXY(el,attributes['points']['from']);}else{Y.Dom.setXY(el,Y.Dom.getXY(el));}start=this.getAttribute('points');if(isset(attributes['points']['to'])){end=translateValues.call(this,attributes['points']['to'],start);var pageXY=Y.Dom.getXY(this.getEl());for(i=0,len=control.length;i<len;++i){control[i]=translateValues.call(this,control[i],start);}}else if(isset(attributes['points']['by'])){end=[start[0]+attributes['points']['by'][0],start[1]+attributes['points']['by'][1]];for(i=0,len=control.length;i<len;++i){control[i]=[start[0]+control[i][0],start[1]+control[i][1]];}}this.runtimeAttributes[attr]=[start];if(control.length>0){this.runtimeAttributes[attr]=this.runtimeAttributes[attr].concat(control);}this.runtimeAttributes[attr][this.runtimeAttributes[attr].length]=end;}else{superclass.setRuntimeAttribute.call(this,attr);}};var translateValues=function(val,start){var pageXY=Y.Dom.getXY(this.getEl());val=[val[0]-pageXY[0]+start[0],val[1]-pageXY[1]+start[1]];return val;};var isset=function(prop){return(typeof prop!=='undefined');};Y.Motion=Motion;})();(function(){var Scroll=function(el,attributes,duration,method){if(el){Scroll.superclass.constructor.call(this,el,attributes,duration,method);}};Scroll.NAME='Scroll';var Y=YAHOO.util;YAHOO.extend(Scroll,Y.ColorAnim);var superclass=Scroll.superclass;var proto=Scroll.prototype;proto.doMethod=function(attr,start,end){var val=null;if(attr=='scroll'){val=[this.method(this.currentFrame,start[0],end[0]-start[0],this.totalFrames),this.method(this.currentFrame,start[1],end[1]-start[1],this.totalFrames)];}else{val=superclass.doMethod.call(this,attr,start,end);}return val;};proto.getAttribute=function(attr){var val=null;var el=this.getEl();if(attr=='scroll'){val=[el.scrollLeft,el.scrollTop];}else{val=superclass.getAttribute.call(this,attr);}return val;};proto.setAttribute=function(attr,val,unit){var el=this.getEl();if(attr=='scroll'){el.scrollLeft=val[0];el.scrollTop=val[1];}else{superclass.setAttribute.call(this,attr,val,unit);}};Y.Scroll=Scroll;})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.8.0r4",build:"2449"});BBDN.util.BrowserSniff=new function(){var agt=navigator.userAgent.toLowerCase();var appVer=navigator.appVersion.toLowerCase();var iePos=appVer.indexOf('msie');this.is_opera=(agt.indexOf("opera")!=-1);this.is_mac=(agt.indexOf("mac")!=-1);this.is_konq=(agt.indexOf('konqueror')!=-1);var is_getElementById=(document.getElementById)?"true":"false";var is_getElementsByTagName=(document.getElementsByTagName)?"true":"false";var is_documentElement=(document.documentElement)?"true":"false";this.is_safari=((agt.indexOf('safari')!=-1)&&(agt.indexOf('mac')!=-1))?true:false;this.is_khtml=(this.is_safari||this.is_konq);this.is_gecko=((!this.is_khtml)&&(navigator.product)&&(navigator.product.toLowerCase()=="gecko"))?true:false;this.is_fb=((agt.indexOf('mozilla/5')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1)&&(agt.indexOf('hotjava')==-1)&&(this.is_gecko)&&(navigator.vendor=="Firebird"));this.is_fx=((agt.indexOf('mozilla/5')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1)&&(agt.indexOf('hotjava')==-1)&&(this.is_gecko)&&((navigator.vendor=="Firefox")||(agt.indexOf('firefox')!=-1)));this.is_moz=((agt.indexOf('mozilla/5')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1)&&(agt.indexOf('hotjava')==-1)&&(this.is_gecko)&&(!this.is_fb)&&(!this.is_fx)&&((navigator.vendor=="")||(navigator.vendor=="Mozilla")||(navigator.vendor=="Debian")));this.is_nav=((agt.indexOf('mozilla')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1)&&(agt.indexOf('hotjava')==-1)&&(!this.is_khtml)&&(!(this.is_moz))&&(!this.is_fb)&&(!this.is_fx));this.is_ie=((iePos!=-1)&&(!this.is_opera)&&(!this.is_khtml));};BBDN.util.Dom=new function(){this.verticalScrollBarVisible=function(){return(document.documentElement.clientHeight<document.documentElement.scrollHeight);};this.horizontalScrollBarVisible=function(){return(document.documentElement.clientWidth<document.documentElement.scrollWidth);};this.bothScrollBarsVisible=function(){return(this.verticalScrollBarVisible()&&this.horizontalScrollBarVisible());};this.getTotalWidth=function(){var width;if(BBDN.util.BrowserSniff.is_fx||BBDN.util.BrowserSniff.is_nav)if(this.verticalScrollBarVisible()&&!this.bothScrollBarsVisible())return document.documentElement.clientWidth;this.getInnerWidth()>this.getScrollWidth()?width=this.getInnerWidth():width=this.getScrollWidth();return width;};this.getTotalHeight=function(){var height;if(BBDN.util.BrowserSniff.is_fx||BBDN.util.BrowserSniff.is_nav)if(this.horizontalScrollBarVisible()&&!this.bothScrollBarsVisible())return document.documentElement.clientHeight;this.getInnerHeight()>this.getScrollHeight()?height=this.getInnerHeight():height=this.getScrollHeight();return height;};this.getInnerWidth=function(){var x;if(self.innerWidth)x=self.innerWidth;else if(document.documentElement&&document.documentElement.clientWidth)x=document.documentElement.clientWidth;else if(document.body)x=document.body.clientWidth;return x;};this.getInnerHeight=function(){var y;if(self.innerHeight)y=self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)y=document.documentElement.clientHeight;else if(document.body)y=document.body.clientHeight;return y;};this.getScrollOffsetWidth=function(){var x;if(self.pageYOffset)x=self.pageXOffset;else if(document.documentElement&&document.documentElement.scrollTop)x=document.documentElement.scrollLeft;else if(document.body)x=document.body.scrollLeft;return x;};this.getScrollOffsetHeight=function(){var y;if(self.pageYOffset)y=self.pageYOffset;else if(document.documentElement&&document.documentElement.scrollTop)y=document.documentElement.scrollTop;else if(document.body)y=document.body.scrollTop;return y;};this.getScrollWidth=function(){var x=0;if(document.documentElement&&document.documentElement.scrollWidth)x=document.documentElement.scrollWidth;else if(document.body)x=document.body.scrollWidth;return x;};this.getScrollHeight=function(){var y=0;if(document.documentElement&&document.documentElement.scrollHeight)y=document.documentElement.scrollHeight;else if(document.body)y=document.body.scrollHeight;return y;};this.getBodyWidth=function(){var x;var test1=document.body.scrollWidth;var test2=document.body.offsetWidth;if(test1>test2)x=document.body.scrollWidth;else x=document.body.offsetWidth;return x;};this.getBodyHeight=function(){var y;var test1=document.body.scrollHeight;var test2=document.body.offsetHeight;if(test1>test2)y=document.body.scrollHeight;else y=document.body.offsetHeight;return y;};this.hideSelects=function(){if(BBDN.util.BrowserSniff.is_ie){var selects=[];selects=document.all.tags("SELECT");for(var i=0;i<selects.length;i++)selects[i].runtimeStyle.visibility="hidden";}};this.showSelects=function(){if(BBDN.util.BrowserSniff.is_ie){var selects=[];selects=document.all.tags("SELECT");for(var i=0;i<selects.length;i++)selects[i].runtimeStyle.visibility="";}};this.setOpacity=function(element,opacity){element.style.filter="alpha(opacity:"+opacity+")";element.style.KHTMLOpacity=opacity/100;element.style.MozOpacity=opacity/100;element.style.opacity=opacity/100;};this.documentLoaded=function(){if(document.readyState!="complete")return false;return true;};this.checkValidators=function(){try{if(Page_IsValid!=null)return Page_IsValid;return true;}catch(e){return true;}};this.$=function(){var elements=new Array();for(var i=0;i<arguments.length;i++){var element=arguments[i];if(typeof element=='string')element=document.getElementById(element);if(arguments.length==1)return element;elements.push(element);}return elements;};this.getAbsoluteLeft=function(o){var oLeft=o.offsetLeft;var oParent;while(o.offsetParent!==null){oParent=o.offsetParent;oLeft+=oParent.offsetLeft;o=oParent;}return oLeft;};this.getAbsoluteTop=function(o){var oTop=o.offsetTop;var oParent;while(o.offsetParent!=null){oParent=o.offsetParent;oTop+=oParent.offsetTop;o=oParent;}return oTop;};this.getElementSize=function(obj){var w=obj.offsetWidth;var h=obj.offsetHeight;return{width:w,height:h};};};BBDN.util.Yahoo=new function(){this.getEasingFromString=function(easing){switch(easing){case"easeout":return YAHOO.util.Easing.easeOut;case"easeboth":return YAHOO.util.Easing.easeBoth;case"easein":return YAHOO.util.Easing.easeIn;case"easenone":return YAHOO.util.Easing.easeNone;case"backboth":return YAHOO.util.Easing.backBoth;case"backin":return YAHOO.util.Easing.backIn;case"backout":return YAHOO.util.Easing.backOut;default:return YAHOO.util.Easing.easeOut;}}};// BusyBoxDotNet. Web control library for ASP.NET to enhance user experience.
// Copyright (C) 2006  Simone Busoli, simone_b@tin.it
BBDN.core.BusyBox=function(id,title,text,width,height,imageUrl,layout,overlay,immediatelyOverlay,keepOverlay,overlayColor,overlayOpacity,opacity,borderWidth,borderColor,borderStyle,backColor,textWeight,textStyle,textSize,textFamily,titleWeight,titleStyle,titleSize,titleFamily,textColor,titleColor,fadeInDuration,fadeInEasing,fadeOnMouseOver,fadeOnMouseOverOpacity,position,keepPosition,slideDuration,slideEasing,roundCorners,showOnLoad,anchorControlID,dockPosition){var self=this;this.ID=id;this.Title=title;this.Text=text;if(width!=="")this.Width=width;else this.Width="300px";if(height!=="")this.Height=height;else this.Height="60px";this.ImageUrl=imageUrl;this.Layout=layout;this.Overlay=overlay;this.ImmediatelyOverlay=immediatelyOverlay;this.KeepOverlay=keepOverlay;if(overlayColor===""){if(document.body.currentStyle)this.OverlayColor=document.body.currentStyle.backgroundColor;if(document.defaultView)this.OverlayColor=document.defaultView.getComputedStyle(document.body,"").getPropertyValue("background-color");if(this.OverlayColor=="transparent")this.OverlayColor="#fff";}else{this.OverlayColor=overlayColor;}this.OverlayOpacity=overlayOpacity;this.Opacity=opacity;if(borderWidth!=="")this.BorderWidth=borderWidth;else this.BorderWidth="1px";if(borderColor!=="")this.BorderColor=borderColor;else this.BorderColor="black";if(borderStyle!=="NotSet")this.BorderStyle=borderStyle;else this.BorderStyle="solid";if(backColor==="")this.BackColor="#ffffff";else this.BackColor=backColor;this.TextWeight=textWeight;this.TextStyle=textStyle;this.TextSize=textSize;this.TextFamily=textFamily;this.TitleWeight=titleWeight;this.TitleStyle=titleStyle;this.TitleSize=titleSize;this.TitleFamily=titleFamily;if(textColor!=="")this.TextColor=textColor;else this.TextColor="black";if(titleColor!=="")this.TitleColor=titleColor;else this.TitleColor="black";this.FadeInDuration=fadeInDuration;this.FadeOnMouseOver=fadeOnMouseOver;this.FadeOnMouseOverOpacity=fadeOnMouseOverOpacity;this.FinishedFading=false;this.Visible=false;this.Position=position;this.KeepPosition=keepPosition;this.SlideDuration=slideDuration;this.SlideEasing=BBDN.util.Yahoo.getEasingFromString(slideEasing);this.FadeInEasing=BBDN.util.Yahoo.getEasingFromString(fadeInEasing);this.RoundCorners=roundCorners;this.ShowOnLoad=showOnLoad;this.AnchorControlID=anchorControlID;this.DockPosition=dockPosition;this.Show=function(){if(!BBDN.util.Dom.checkValidators())return;this.container=BBDN.util.Dom.$(this.ID+"Container");create();BBDN.util.Dom.hideSelects();if(this.KeepPosition&&this.Position!=="dock"){YAHOO.util.Event.addListener(window,"resize",slideToPosition,this,true);YAHOO.util.Event.addListener(window,"scroll",slideToPosition,this,true);YAHOO.util.Event.addListener(window,"DOMMouseScroll",slideToPosition,this,true);}if(this.Overlay&&!this.ImmediatelyOverlay&&!this.ShowOnLoad){this.CreateOverlay();}if(this.FadeOnMouseOver){YAHOO.util.Event.addListener(this.box,"mouseover",makeTransparent,this,true);YAHOO.util.Event.addListener(this.box,"mouseout",resetTransparency,this,true);}};this.Close=function(){if(this.Overlay&&!this.KeepOverlay&&!this.ShowOnLoad){var overlay=BBDN.util.Dom.$(this.ID+"Overlay");if(overlay!==null)try{document.body.removeChild(overlay);}catch(Error){}}this.Visible=false;if(this.box!==null){if(this.ShowOnLoad){this.container.removeChild(this.box);window.clearInterval(this.hideSelectsTimer);BBDN.util.Dom.showSelects();}else try{document.body.removeChild(this.box);}catch(Error){}}BBDN.util.Dom.showSelects();};this.CreateOverlay=function(){var d=document;var overlay=d.createElement("div");document.body.appendChild(overlay);overlay.id=this.ID+"Overlay";overlay.style.position="absolute";overlay.style.top="0px";overlay.style.left="0px";overlay.style.zIndex="9998";overlay.style.width=BBDN.util.Dom.getTotalWidth()+"px";overlay.style.height=BBDN.util.Dom.getTotalHeight()+"px";if(BBDN.util.BrowserSniff.is_opera){overlay.style.backgroundImage="url(BusyBoxDotNet.axd?res=maskBG.png)";overlay.style.backgroundRepeat="repeat";}else{overlay.style.backgroundColor=this.OverlayColor;BBDN.util.Dom.setOpacity(overlay,this.OverlayOpacity);}};function create(){if(BBDN.util.Dom.$(self.ID))self.Close();self.box=document.createElement("div");if(self.ShowOnLoad){self.container.appendChild(self.box);self.hideSelectsTimer=window.setInterval(BBDN.util.Dom.hideSelects,100);}else document.body.appendChild(self.box);self.box.style.display="none";self.box.id=self.ID;self.box.style.position="absolute";self.box.style.zIndex="9999";self.box.style.borderWidth=self.BorderWidth;self.box.style.borderColor=self.BorderColor;self.box.style.borderStyle=self.BorderStyle;self.box.style.backgroundColor=self.BackColor;setTemplate();self.box.style.display="block";self.Visible=true;setPosition();fadeIn();}function setPosition(){if(self.Visible){var fullHeight=BBDN.util.Dom.getInnerHeight();var fullWidth=BBDN.util.Dom.getInnerWidth();var scTop=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;var scrollTop=parseInt(scTop,10);var scLeft=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;var scrollLeft=parseInt(scLeft,10);if(self.ShowOnLoad){scrollTop=scrollTop-BBDN.util.Dom.getAbsoluteTop(self.container.offsetParent);scrollLeft=scrollLeft-BBDN.util.Dom.getAbsoluteLeft(self.container.offsetParent);}switch(self.Position){case"center":self.box.style.top=(scrollTop+((fullHeight-self.box.offsetHeight)/2))+"px";self.box.style.left=(scrollLeft+((fullWidth-self.box.offsetWidth)/2))+"px";break;case"righttop":self.box.style.top=(scrollTop+10)+"px";self.box.style.left=(scrollLeft+fullWidth-self.box.offsetWidth-20)+"px";break;case"lefttop":self.box.style.top=(scrollTop+10)+"px";self.box.style.left=(scrollLeft+10)+"px";break;case"leftbottom":self.box.style.top=(scrollTop+fullHeight-self.box.offsetHeight-20)+"px";self.box.style.left=(scrollLeft+10)+"px";break;case"rightbottom":self.box.style.top=(scrollTop+fullHeight-self.box.offsetHeight-20)+"px";self.box.style.left=(scrollLeft+fullWidth-self.box.offsetWidth-20)+"px";break;case"dock":var size=BBDN.util.Dom.getElementSize(self.box);var windowsize=BBDN.util.Dom.getElementSize(document.body);var parentelementposition=YAHOO.util.Dom.getXY(BBDN.util.Dom.$(self.AnchorControlID));var parentelementsize=BBDN.util.Dom.getElementSize(BBDN.util.Dom.$(self.AnchorControlID));if(self.DockPosition==="auto"){if((windowsize.width-parentelementposition[0]-parentelementsize.width-size.width)>0&&(parentelementposition[1]+parentelementsize.height/2-size.height/2)>0)self.DockPosition="right";else if((parentelementposition[0]-size.width)>0&&(parentelementposition[1]+parentelementsize.height/2-size.height/2)>0)self.DockPosition="left";else if((parentelementposition[0]+parentelementsize.width/2-size.width/2)>0&&(parentelementposition[1]-size.height)>0)self.DockPosition="top";else self.DockPosition="bottom";}switch(self.DockPosition){case"right":self.box.style.left=parentelementposition[0]+parentelementsize.width+"px";self.box.style.top=parentelementposition[1]+parentelementsize.height/2-size.height/2+"px";break;case"left":self.box.style.left=parentelementposition[0]-size.width+"px";self.box.style.top=parentelementposition[1]+parentelementsize.height/2-size.height/2+"px";break;case"top":self.box.style.left=parentelementposition[0]+parentelementsize.width/2-size.width/2+"px";self.box.style.top=parentelementposition[1]-size.height+"px";break;case"bottom":self.box.style.left=parentelementposition[0]+parentelementsize.width/2-size.width/2+"px";self.box.style.top=parentelementposition[1]+parentelementsize.height+"px";break;}break;}}}function slideToPosition(){if(self.Visible){var fullHeight=BBDN.util.Dom.getInnerHeight();var fullWidth=BBDN.util.Dom.getInnerWidth();var scTop=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;var scrollTop=parseInt(scTop,10);var scLeft=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;var scrollLeft=parseInt(scLeft,10);if(self.ShowOnLoad){scrollTop=scrollTop-BBDN.util.Dom.getAbsoluteTop(self.container.offsetParent);scrollLeft=scrollLeft-BBDN.util.Dom.getAbsoluteLeft(self.container.offsetParent);}var xPos,yPos;switch(self.Position){case"center":xPos=scrollLeft+((fullWidth-self.box.offsetWidth)/2);yPos=scrollTop+((fullHeight-self.box.offsetHeight)/2);break;case"righttop":yPos=scrollTop+10;xPos=scrollLeft+fullWidth-self.box.offsetWidth-20;break;case"lefttop":yPos=scrollTop+10;xPos=scrollLeft+10;break;case"leftbottom":yPos=scrollTop+fullHeight-self.box.offsetHeight-20;xPos=scrollLeft+10;break;case"rightbottom":yPos=scrollTop+fullHeight-self.box.offsetHeight-20;xPos=scrollLeft+fullWidth-self.box.offsetWidth-20;break;}var attributes={top:{to:yPos},left:{to:xPos}};var anim=new YAHOO.util.Anim(self.ID,attributes,(self.SlideDuration/1000),self.SlideEasing);anim.animate();}}function fadeIn(){if(self.Visible){if(self.FadeInDuration>0){BBDN.util.Dom.setOpacity(self.box,0);var attributes={opacity:{to:(self.Opacity/100)}};var anim=new YAHOO.util.Anim(self.ID,attributes,(self.FadeInDuration/1000),self.FadeInEasing);anim.onComplete.subscribe(onFinishedFading,self,true);anim.animate();}else{BBDN.util.Dom.setOpacity(self.box,self.Opacity);self.FinishedFading=true;}}}function onFinishedFading(){self.FinishedFading=true;}function makeTransparent(){if(self.FinishedFading)BBDN.util.Dom.setOpacity(self.box,self.FadeOnMouseOverOpacity);}function resetTransparency(){if(self.FinishedFading)BBDN.util.Dom.setOpacity(self.box,self.Opacity);}function setTemplate(){var tableID=self.ID+"Table";var textID=self.ID+"Text";var titleID=self.ID+"Title";var imageID=self.ID+"Image";switch(self.Layout){case"classic":self.box.innerHTML="<table id=\""+tableID+"\" border=0 cellpadding=0 cellspacing=0>"+"	<tr valign=\"top\">"+"		<td rowspan=\"2\"><img border=\"0\" id=\""+imageID+"\" src=\""+self.ImageUrl+"\" /></td>"+"		<td width=\"100%\"><p id=\""+titleID+"\">"+self.Title+"</p></td>"+"	</tr>"+"	<tr valign=\"top\">"+"		<td><p id=\""+textID+"\">"+self.Text+"</p></td>"+"	</tr>"+"</table>";var table=BBDN.util.Dom.$(tableID);table.style.width=self.Width;table.style.height=self.Height;var title=BBDN.util.Dom.$(titleID);title.style.fontWeight=self.TitleWeight;title.style.fontStyle=self.TitleStyle;title.style.fontSize=self.TitleSize;title.style.fontFamily=self.TitleFamily;title.style.margin="15px 10px 0px 10px";title.style.color=self.TitleColor;var text=BBDN.util.Dom.$(textID);text.style.fontWeight=self.TextWeight;text.style.fontStyle=self.TextStyle;text.style.fontSize=self.TextSize;text.style.fontFamily=self.TextFamily;text.style.margin="20px 10px 15px 10px";text.style.color=self.TextColor;var image=BBDN.util.Dom.$(imageID);image.style.margin="15px 5px 10px 10px";break;case"classicbottomimage":self.box.innerHTML="<table id=\""+tableID+"\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"+"	<tr valign=\"top\">"+"		<td width=\"100%\"><p id=\""+titleID+"\">"+self.Title+"</p></td>"+"	</tr>"+"	<tr valign=\"top\">"+"		<td><p id=\""+textID+"\">"+self.Text+"</p></td>"+"	</tr>"+"	<tr valign=\"top\">"+"		<td align=\"center\"><img border=\"0\" id=\""+imageID+"\" src=\""+self.ImageUrl+"\" /></td>"+"	</tr>"+"</table>";var table=BBDN.util.Dom.$(tableID);table.style.width=self.Width;table.style.height=self.Height;var title=BBDN.util.Dom.$(titleID);title.style.fontWeight=self.TitleWeight;title.style.fontStyle=self.TitleStyle;title.style.fontSize=self.TitleSize;title.style.fontFamily=self.TitleFamily;title.style.margin="15px 10px 0px 10px";title.style.color=self.TitleColor;var text=BBDN.util.Dom.$(textID);text.style.fontWeight=self.TextWeight;text.style.fontStyle=self.TextStyle;text.style.fontSize=self.TextSize;text.style.fontFamily=self.TextFamily;text.style.margin="20px 10px 15px 10px";text.style.color=self.TextColor;var image=BBDN.util.Dom.$(imageID);image.style.margin="0px 0px 10px 0px";break;case"imageonly":self.box.innerHTML="<img border=\"0\" id=\""+imageID+"\" src=\""+self.ImageUrl+"\" />";var image=BBDN.util.Dom.$(imageID);image.style.margin="0px 0px 0px 0px";break;case"textonly":self.box.innerHTML="<span id=\""+textID+"\">"+self.Text+"</span>";var text=BBDN.util.Dom.$(textID);text.style.fontWeight=self.TextWeight;text.style.fontStyle=self.TextStyle;text.style.fontSize=self.TextSize;text.style.fontFamily=self.TextFamily;text.style.margin="20px 10px 15px 10px";text.style.color=self.TextColor;break;}}}