var Flow={Utils:{stripWhitespace:function(D){var C=0,B=D.childNodes;var A=function(F){if(F){if((/pre|code/).test(F.nodeName.toLowerCase())||((F.style)&&(F.style.whiteSpace))){return true}}return false};var E=D;while(E){if(A(E)){return }E=E.parentNode}while(C<B.length){if((B[C].nodeType==3)&&!(/\S/.test(B[C].nodeValue))){D.removeChild(B[C])}C++}},match:function(A){return new RegExp("(^|\\s)"+A.replace(/\-/g,"\\-")+"(\\s|$)")},xpath:{snapshot:(window.XPathResult)?XPathResult.ORDERED_NODE_SNAPSHOT_TYPE:null,contains:function(B,C,A){return document.evaluate(".//*[contains(concat(' ', @"+B+", ' '), ' "+C+" ')]",A,null,this.snapshot,null)}},liveNodeList:function(A){var E=Flow,H=E.Browser;if(H.GK||H.S3){return[].slice.call(A,0,A.length)}else{var C=0,D,G=[];if(A&&A.length){while(C<A.length){D=A[C];if(D){G.push(D)}C++}}return G}},toCamelCase:function(A){var B=/(-[a-z])/ig;while(B.exec(A)){A=A.replace(RegExp.$1,RegExp.$1.substr(1).toUpperCase())}return A},RGBtoHex:function(D,C,A){var B=function(E){if(E===null){return"00"}E=parseInt(E);if((E===0)||isNaN(E)){return"00"}E=Math.max(0,E);E=Math.min(E,255);E=Math.round(E);return"0123456789ABCDEF".charAt((E-E%16)/16)+"0123456789ABCDEF".charAt(E%16)};return"#"+B(D)+B(C)+B(A)}},Augment:function(A,E){A=A[0]?A:[A];for(var D=0,B=A.length;D<B;D++){for(var C in E){if(!A[D][C]&&E.hasOwnProperty(C)){A[D][C]=E[C]}}}},Browser:{IEWhich:function(){var e=this;e.IE={};e.IE.jscript
/*@cc_on =@_jscript_version@*/
;switch(e.IE.jscript){case 5.7:e.IE7=true;break;case 5.6:e.IE6=true;break;default:e.IE5=true;break}},init:function(){var B=Flow.Browser,A=Array,proto=A.prototype;var ua=function(browser){return(browser).test(navigator.userAgent.toLowerCase())};Flow.Augment(B,{W3:!!(document.getElementById&&document.createElement),IE:
/*@cc_on !@*/
false,GK:!!(ua(/gecko/)),WK:!!(ua(/webkit/)),S3:!!(ua(/webkit/)&&window.devicePixelRatio),KHTML:!!(ua(/khtml|webkit|icab/i)),OP:!!(ua(/opera/))});Flow.Augment([proto,A],{every:function(fun){var that=this;var len=this.length,i=0;var caller=arguments[1];while(i<len){if(i in this&&!fun.call(caller,this[i],i,this)){return false}i++}return true},some:function(fun){var that=this;var len=this.length,i=0;var caller=arguments[1];while(i<len){if(i in this&&fun.call(caller,this[i],i,this)){return true}i++}return false},filter:function(fun){var that=this;var res=[],caller=arguments[1];var i=0;while(i<that.length){if(i in that){var val=that[i];if(fun.call(caller,val,i,that)){res.push(val)}}i++}return res},map:function(fun){var that=this,len=this.length;var res=[len],i=0;var caller=arguments[1];while(i<len){if(i in this){res[i]=fun.call(caller,this[i],i,this)}i++}return res},indexOf:function(fun,start){var that=this;var i=start||0;while(i<that.length){if(j===fun){return i}i++}},lastIndexOf:function(elt,from){var that=this,length=that.length;from=from||length;if(from>=length){from=length}if(from<0){from=length+from}var i=from;while(i>=0){if(that[i]===elt){return i}i--}return -1},forEach:function(fun){var that=this;var caller=arguments[1],i=0;while(i<that.length){if(i in that){fun.call(caller,that[i],i,that)}i++}},reduce:function(fun){var that=this;var len=that.length,i=0;if(arguments.length>=2){var rv=arguments[1]}else{do{if(i in that){rv=that[i++];break}}while(true)}for(;i<len;i++){if(i in that){rv=fun.call(null,rv,that[i],i,that)}}return rv},reduceRight:function(fun){var that=this;var len=that.length,i=len-1;if(arguments.length>=2){var rv=arguments[1]}else{do{if(i in that){rv=that[i--];break}}while(true)}for(;i>=0;i--){if(i in that){rv=fun.call(null,rv,that[i],i,that)}}return rv},exit:function(index){var that=this;return that.concat(that.splice(index,that.length-index))}});if(B.IE){B.IEWhich();try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}}},Apply:function(A){return Flow.Bind.extend(A)},Bind:{UNIQUE:1,methods:{DOM:"DOM"},apply:function(A){var B=this;B.objects=B.objects||[];B.objects.push(A);B.document(document)},extend:function(A){var G=this,E=Flow;if(!A){return }var C,B,D;if(A.nodeName){C=true;A=[A]}B=A.length;while(B>=0){D=A[B];if((D&&!D.DOM)||(D&&D.nodeType===9)){G.bind(D);E.Utils.stripWhitespace(D);D.DOM=D.DOM||("SCH_"+G.UNIQUE++)}B--}return C?A[0]:A},document:function(D){var C=this;var A=0,E,B=Flow;D.DOM=D.DOM||("SCH_"+C.UNIQUE++);while(A<C.objects.length){E=C.objects[A];E.boundElements=E.boundElements||{};if(!E.boundElements[D.DOM]){C.iterate(E.document,D);D._defaultView=D.defaultView;if(typeof D.defaultView==="undefined"){D.defaultView=window}C.iterate(E.computed,D.defaultView);E.boundElements[D.DOM]=D.DOM}A++}C.extend(D)},iterate:function(A,D){var C=this;for(var B in A){if(A.hasOwnProperty(B)){if(!D.DOM||!D[B]||!C.methods[B]){try{if(D==Array.prototype){D[B]=function(){var J=0,N=this,K,I=arguments,M=[];var G=["getFirstChild","getLastChild"],L=I.callee.key;while(J<G.length){if(L==G[J]){throw L+" property can only be called on single element."}J++}J=0;while(J<N.length){K=N[J][L].apply(N[J],I);if(K){var H=0;while(H<K.length){if(K[H]){M.push(K[H])}H++}}J++}return M[0]?M:N};D[B].key=B}else{if(D[B]){var F="_"+B;D[F]=D[B];C.methods[F]=C.methods[F]||F}D[B]=A[B]}C.methods[B]=C.methods[B]||B;C.shortcut(D,B)}catch(E){}}}}},shortcut:function(E,B){var D=this;var C=/(get|query)(Element[s]?|Selector)?(By(Class|Tag|Id|Attr)|All)?(Name|ibute)?/;if(C.test(B)){var A=B.replace(C,"$1$3");E[A]=E[B];D.methods[A]=D.methods[A]||A}},bind:function(F){var E=this;if(!F.DOM||(F&&F.nodeType===9)){var C=0,B,A,G=E.objects;while(C<G.length){B=G[C];if(B.nodes&&B.nodes.limit){A=0;while(A<B.nodes.limit.length){var D=B.nodes.limit[A];if(F.nodeName.toLowerCase()==D){E.iterate(B.nodes,F)}A++}}else{E.iterate(B.nodes,F)}if(Flow.Browser.IE){E.iterate(B.ie,F)}C++}}}},Plugin:function(A){if(A.name){if(Flow[A.name]){throw"Flow."+A.name+" already exists"}Flow[A.name]=A.constructor;if(A.bind){Flow.Bind.apply(A.constructor)}}else{A.constructor()}}};Flow.Browser.init();new Flow.Plugin({name:"Dom",version:"1.0.6",bind:true,constructor:function(){var P=Flow,A=P.Dom,H=P.Bind,G=P.Browser,J=P.Utils,R=P.Event;var M="className",N="firstChild",C="lastChild",I="evaluate",O=document,L=null,K;return{nodes:{getElementsByClassName:function(){var F=function(T){if(!(T instanceof Array)){T=T.replace(/^\s?|\s?$/g,"");if(/ /.test(T)){T=T.split(" ")}T=(typeof T=="string")?[T]:T}return T};var D=function(U,T){return new RegExp("(?:^|\\s+)"+U+"(?:\\s+|$)").test(T[M])};var B=function(W,V){var U=0,T;while(T=W[U++]){if(!T.test(V[M])){V=L;break}}return V};var S=function(W,X){var Y=[],V=[],U=0,T;while(T=W[U++]){if(O[I]&&X){Y.push(J.xpath.contains("class",T,X))}V.push(J.match(T))}return{evals:Y,reg:V}};var E=function(T){return(typeof T=="object"&&!T[0])||(T==="")};if(O._getElementsByClassName){return function(U){var V=this;var T=new J.liveNodeList(V._getElementsByClassName(U));return H.extend(T)}}if(O[I]){return function(a){var Y=this;if(E(a)){return[]}a=F(a);var T=[],V,W=0,b=0,c=S(a,Y),d=c.evals,X,U=c.reg,Z;while(X=d[W++]){while(V=X.snapshotItem(b++)){Z=B(U,V);if(Z){T.push(Z)}}}return H.extend(new J.liveNodeList(T))}}return function(a){var Y=this;if(E(a)){return[]}a=F(a);var T,V=[],W,X=0,Z;T=Y._getElementsByTagName("*");var b=S(a),U=b.reg;while(W=T[X++]){Z=B(U,W);if(Z){V.push(Z)}}return H.extend(V)}}(),getElementsByTagName:function(){if(O[I]){return function(S){S=S.toLowerCase();switch(S){case"applet":case"embed":return document._getElementsByTagName(S);default:var F=0,E,T=this;var D=O[I](".//"+S,T,L,J.xpath.snapshot,L),B=[];while(E=D.snapshotItem(F++)){B.push(E)}B=H.extend(B);return B}}}return function(F){F=F.toLowerCase();var S=this;switch(F){case"applet":case"embed":return document._getElementsByTagName(F);default:var B=H.extend(S._getElementsByTagName(F));var T=[];for(var E=0,D=B.length;E<D;E++){T.push(B[E])}return T}}}(),cloneNode:function(B){var F=this._cloneNode(B);if(B){var E=0,D=F.getElementsByTagName("*");while(E<D.length){H.extend(D[E]);D[E].DOM="SCH_"+H.UNIQUE++;E++}}F=H.extend(F);F.DOM="SCH_"+H.UNIQUE++;return F},removeChild:function(B){R=R||P.Event;if(R&&B&&B.DOM&&B.nodeType==1){R.cache.flush(B)}if(typeof this._removeChild!=="undefined"){this._removeChild(B)}},replaceChild:function(D,B){R=R||P.Event;if(R&&B&&B.DOM&&B.nodeType==1){R.cache.flush(B)}if(this.replaceNode){B.replaceNode(D)}else{this._replaceChild(D,B)}}},document:{getElementById:function(D){A=A||P.Dom;var F=O._getElementById(D);if(F){var B=F.attributes.id;if(B&&B.value&&(B.value==D)){return H.extend(F)}else{if(G.WK){return H.extend(F)}else{for(var E=1;E<document.all[D].length;E++){if(document.all[D][E].id==D){return H.extend(document.all[D][E])}}}}}},getElementsByName:function(B){A=A||P.Dom;var D=H.extend(O._getElementsByName(B));D=new J.liveNodeList(D);return D},createElement:function(B){var D=this._createElement(B);return H.extend(D)}},ie:{getAttribute:function(D){K=this;switch(D){case"style":var B=K.style.cssText.toLowerCase();if(!(/;$/.test(B))){B+=";"}return B;case"class":return K[M];case"for":return K.htmlFor;case"href":case"src":case"type":case"value":return K._getAttribute(D,2);default:return K._getAttribute(D)}},setAttribute:function(B,D){K=this;switch(B){case"style":K.style.cssText=D;return ;case"class":K[M]=D;return ;case"for":K.htmlFor=D;return ;case"title":K.title=D;return ;default:K._setAttribute(B,D);return }},hasAttribute:function(B){return this.getAttribute(B)!==L}},computed:{getComputedStyle:function(D,F){var E=J.RGBtoHex;if(document.defaultView._getComputedStyle){var B=document.defaultView._getComputedStyle(D,F);B.getPropertyValue=function(U){var T=document.defaultView._getComputedStyle(D,F).getPropertyValue(U);switch(/color|background/.test(U)){case true:if(/rgb/.test(T)){var S=(/rgb\(([^\)]+)\)/).exec(T);if(S&&S[1]){S=S[1].split(/\, ?/);return E(S[0],S[1],S[2]).toLowerCase()}}else{var V=(/\#[a-zA-Z0-9]+/).exec(T);if(V&&V[0]){T=T.replace(V[0],V[0].toLowerCase())}return T}break;default:return T}};return B}else{D.getPropertyValue=function(X){X=J.toCamelCase(X);var T=function(b){var a=function(h,e){var k;e=e.replace(e.charAt(0),e.charAt(0).toUpperCase());var c={visibility:"hidden",position:"absolute",left:"-9999px",top:"-9999px"};var l=D.cloneNode(true);for(var g=0,d=h.length;g<d;g++){l.style[h[g]]="0"}for(var f in c){l.style[f]=c[f]}document.body.appendChild(l);k=l["offset"+e];document.body.removeChild(l);return k};switch(b){case"width":props=["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"];b=a(props,b);break;case"height":props=["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"];b=a(props,b);break;default:b=style[b];break}return b};var U=/^\d+(px)?$/i;var S=/color|backgroundColor/i;var V=/width|height|top|bottom|left|right|margin|padding|border(.*)?Width/;var Z={aqua:"00FFFF",black:"000000",blue:"0000FF",fuchsia:"FF00FF",green:"008000",grey:"808080",lime:"00FF00",maroon:"800000",navy:"000080",olive:"808000",purple:"800080",red:"FF0000",silver:"C0C0C0",teal:"008080",white:"FFFFFF",yellow:"FFFF00"};var W=function(d,a){if(U.test(d)){return d}if(d==="auto"){d=T(a)}else{var c=this.style.left,b=this.runtimeStyle.left;this.runtimeStyle.left=this.currentStyle.left;this.style.left=d||0;d=this.style.pixelLeft;this.style.left=c;this.runtimeStyle.left=b}return d+"px"};var Y=function(b){if(/#/.test(b)&&b.length!==7){var a=(/[a-zA-Z0-9]+/).exec(b)[0].split("");b="#"+[a[0]+a[0]+a[1]+a[1]+a[2]+a[2]].join("").toLowerCase()}else{if(/rgb/.test(b)){b=(/rgb\(([^\)]+)\)/).exec(b)[1].split(/\, ?/);return E(b[0],b[1],b[2]).toLowerCase()}else{if(Z[b]){b="#"+Z[b].toLowerCase()}}}return b};if(S.test(X)){X=Y(this.currentStyle[X])}else{if(V.test(X)){X=W.call(this,this.currentStyle[X],X)}else{X=this.currentStyle[X]}}return X||""};D.removeProperty=function(S){S=J.toCamelCase(S);this.currentStyle[S]=""};D.setProperty=function(T,S){T=J.toCamelCase(T);this.currentStyle[T]=S};return D}}},init:function(){O.getByTag("*")}}}()});new Flow.Plugin({name:"Event",version:"1.0.6",bind:true,constructor:function(){var M=Flow,D=M.Browser,N=M.Event,G=M.Utils,A=M.CustomEvent,K,I=1,L=document,J="readyState",H=/ContentLoaded/;return{nodes:{addEventListener:function(F,E,B){N=N||M.Event;N.cache.add(this,F,E,B);if((F=="DOMContentLoaded")&&(D.IE||D.WK)){if(D.WK){N.stack.push(E);var P=setInterval(function(){if(/loaded|complete/.test(L[J])){clearInterval(P);N.fire()}},10)}else{if(D.IE){N.stack.push(E);L.write("<script id=_ready defer src=//:><\/script>");L.all._ready.onreadystatechange=function(){if(this.readyState=="complete"){this.removeNode();Flow.Event.fire()}}}}}else{var C=function(U){U=U||function(X){X.preventDefault=function(){this.returnValue=false};X.stopPropagation=function(){this.cancelBubble=true};X.relatedTarget=X.toElement;X.target=X.srcElement||document;var W=L.documentElement,V=L.body;X.pageX=X.clientX+(W&&W.scrollLeft||V&&V.scrollLeft||0)-(W.clientLeft||0);X.pageY=X.clientY+(W&&W.scrollTop||V&&V.scrollTop||0)-(W.clientTop||0);X.which=(X.charCode||X.keyCode);X.metaKey=X.ctrlKey;return X}(window.event);var R=this.events[U.type],T,S;for(S in R){if(R.hasOwnProperty(S)&&R[S].call(this,U)===false){T=false}}return T};var O=function(S,R){var T=this;R.SCH=R.SCH||I++;T.events=T.events||{};if(!T.events[S]){T.events[S]={};if(T["on"+S]){T.events[S][0]=T["on"+S]}if(D.IE&&(typeof (this.event)!=="undefined")){T=window}if(/DOM/.test(S)){T._addEventListener(S,R,false)}else{T["on"+S]=C}}T.events[S][R.SCH]=R};if((/firebug/).test(F)){this._addEventListener(F,E,false)}else{O.call(this,F,E)}}return K},removeEventListener:function(O,F,B){K=this;var E,C;if(K.events){if(!O){for(E in K.events){for(C in K.events[E]){delete K.events[E][C]}}}else{if(O&&!F){for(E in K.events[O]){delete K.events[O][E]}}else{if(F.SCH){delete K.events[O][F.SCH]}}}}},dispatchEvent:function(E){K=this;var C;var B=function(){if((typeof E==="string")&&K.events&&K.events[E]){for(C in K.events[E]){K.events[E][C].call(K)}}};if(typeof window.console!=="undefined"){try{K._dispatchEvent(E)}catch(F){B()}}else{B()}return K}},stack:[],cache:function(){var B={};return{add:function(F,P,O,C){var E=F.DOM;B[E]=B[E]||[];B[E].push(arguments)},list:function(C){return C?(B[C.DOM]||null):B},flush:function(O){var S=M.Event.cache,F;var C=M.Bind.methods;if(O&&O.DOM){F=O.DOM;S.iterate(B[F],F);S.nullify(O,C)}else{for(F in B){S.iterate(B[F],F)}var P=document._getElementsByTagName("*"),R,E=0;while(R=P[E++]){if(R&&R.DOM){S.nullify(R,C)}}}},iterate:function(O,E){if(O&&E){var C,F;for(C=O.length-1;C>=0;C=C-1){F=O[C];F[0].removeEventListener(F[1],F[2],F[3])}B[E]=null}},nullify:function(F,C){var E;try{for(E in C){if(!(/^\_/).test(E)){F[E]=F["_"+E]||null}}for(E in C){if((/^\_/).test(E)){F[E]=null}}}catch(O){}}}}(),fire:function(){if(arguments.callee.done){return }arguments.callee.done=true;var B=0,C=this;while(B<C.stack.length){C.stack[B]();B++}},init:function(){var P=[window,document],R=P[0].onload,E=0,O,B,C,F;if(!L._addEventListener||D.WK){while(E<P.length){O=P[E];B=Flow.Event.nodes;for(C in B){if(O[C]){O["_"+C]=O[C]}O[C]=B[C]}E++}}if(Flow.Dom){P[0].addEventListener("DOMContentLoaded",Flow.Dom.init,false)}}}}()});(function(){var A=Flow.Event;A.init();window.addEventListener("unload",A.cache.flush,false)})();new Flow.Plugin({name:"Extend",version:"1.0.6",bind:true,constructor:function(){var G=Flow,J=G.Browser,A=G.Utils,I=G.Bind;var H=document,C="className",E=null,D;return{nodes:{addClass:function(B){D=this;var F=D[C];if(!new RegExp(("(^|\\s)"+B+"(\\s|$)"),"i").test(F)){D[C]=F+((F.length>0)?" ":"")+B}return D},removeClass:function(F){D=this;if(F){var B=new RegExp(("(^|\\s)"+F+"(\\s|$)"),"i");D[C]=D[C].replace(B,function(L){var K="";if(new RegExp("^\\s+.*\\s+$").test(L)){K=L.replace(/(\s+).+/,"$1")}return K}).replace(/^\s+|\s+$/g,"");if(D.getAttribute("class")===""){D.removeAttribute("class")}}else{D[C]="";D.removeAttribute("class")}return D},replaceClass:function(B,F){D=this;if(D.hasClass(B)){D.removeClass(B).addClass(F)}if(D.getAttribute("class")===""){D.removeAttribute("class")}return D},hasClass:function(B){D=this;return new RegExp(("(^|\\s)"+B+"(\\s|$)"),"i").test(D[C])},toggleClass:function(B){D=this;D.hasClass(B)?D.removeClass(B):D.addClass(B);return D},getElementsByAttribute:function(){var B=/class/;if(H._getElementsByAttribute){return function(F,M){var L=this;var K=new A.liveNodeList(L._getElementsByAttribute(F,M));return I.extend(K)}}if(H.evaluate){return function(K,O){D=this;if(B.test(K)&&O){return D.getByClass(O)}var M,F=0,N,L=[];O=(O=="*")?null:O;if(O){M=A.xpath.contains(K,O,D)}else{M=H.evaluate(".//*[@"+K+"]",D,E,A.xpath.snapshot,E)}F=0;while(N=M.snapshotItem(F++)){L.push(N)}return I.extend(L)}}return function(K,P){D=this;if(B.test(K)&&P){return D.getByClass(P)}var L=D._getElementsByTagName("*"),N=0,O,M,F=[];while(M=L[N++]){if(M.getAttribute){O=M.getAttribute(K)}if(O&&(!P||(P=="*")||A.match(P).test(O))){F.push(M)}}return I.extend(F)}}(),insertAfter:function(F,B){D=this;if(D._insertAfter){D._insertAfter(F,B)}else{(D.lastChild==B)?D.appendChild(F):D.insertBefore(F,B.nextSibling)}},elementName:function(){return this.nodeName.toLowerCase()},getFirstChild:function(F){D=this;if(F){var B=D._getElementsByTagName(F);return(B&&B[0])?B[0]:null}return D.childNodes[0]},getLastChild:function(F){D=this;var B;if(F){B=D._getElementsByTagName(F);return(B&&B[0])?B[B.length-1]:null}B=D.childNodes;return B[0]?B[B.length-1]:null},hasChildNode:function(F){var B=this._getElementsByTagName(F);return(B&&B[0])?true:false},hasParentNode:function(B){var F=this.parentNode;while(F.parentNode&&(F.nodeName.toLowerCase()!=B)){F=F.parentNode}if(F.nodeName.toLowerCase()==B){return I.extend(F)}return false},getChildNodes:function(L){var F;if(J.WK&&!J.S3){F=[];for(var K=0,B=this.childNodes.length;K<B;K++){F.push(this.childNodes[K])}}else{F=new A.liveNodeList(this.childNodes)}if(L){F=F.filter(function(M){return(M.nodeName.toLowerCase()==L)})}return F},getParentNode:function(B){var F=this.parentNode;if(B){while(F.parentNode&&(F.nodeName.toLowerCase()!=B)){if(F.nodeName.toLowerCase()=="body"){return null}F=F.parentNode}}return I.extend(F)},removeNode:function(){D=this;if(D._removeNode){D._removeNode()}else{D.parentNode.removeChild(D)}},getText:function(){var B=this.firstChild;if(B&&B.nodeValue){return this.firstChild.nodeValue}return false},setText:function(B,F){var K=this.firstChild;if(!K){this.appendChild(document.createTextNode(" "));K=this.firstChild}if(F){K.nodeValue=K.nodeValue.replace(B,F)}else{K.nodeValue=B}},setOpacity:function(F){var B=this;F=parseFloat(F);F=(F<1)?F:(F/100);if(G.Browser.IE){B.style.zoom=B.style.zoom||1;B.style.filter="alpha(opacity="+(F*100)+")"}else{B.style.opacity=F}},getComputedStyle:function(F){var B=document.defaultView.getComputedStyle(this,null);if(F){B=B.getPropertyValue(F)}return B},setStyle:function(F,K){if(F instanceof Object){for(var B in F){this.setStyle(B,A.toCamelCase(F[B]))}}else{if(F&&(typeof K!=="undefined")){switch(F){case"opacity":this.setOpacity(K);break;default:if(/rgb/.test(K)){K=(/rgb\(([^\)]+)\)/).exec(K)[1].split(/\, ?/);K=A.RGBtoHex(K[0],K[1],K[2]).toLowerCase()}this.style[A.toCamelCase(F)]=K;break}}}return this},getPosition:function(){var F=this.offsetLeft,B=this.offsetTop;element=this;return{x:F,y:B}},getDocumentPosition:function(){var K=0,F=0,B=this;if(B.offsetParent){K=B.offsetLeft;F=B.offsetTop;while(B=B.offsetParent){K+=B.offsetLeft;F+=B.offsetTop}}return{x:K,y:F}},setInnerHTML:function(B,M){var L=function(N){var S=H.createElement("div");S.innerHTML=N;A.stripWhitespace(S);var R=S._getElementsByTagName("*"),P=0;while(P<R.length){var O=R[P];A.stripWhitespace(O);O.DOM=null;I.extend(O);P++}return S}(B),K=this;if(!M){while(K.hasChildNodes()){K.removeChild(K.lastChild)}}var F=L.childNodes;if(!F[1]){F=F[0]}while(L.hasChildNodes()){if(M&&(/(^pre)|before/).test(M)){K.insertBefore(L.lastChild,K.firstChild)}else{K.appendChild(L.firstChild)}}return F},getInnerHTML:function(){return this.innerHTML}},chaining:{}}}()});Flow.Bind.bind(Array.prototype);if(Flow.Dom){Flow.Bind.iterate(Flow.Dom.ie,Array.prototype)}new Flow.Plugin({name:"Query",version:"1.0.6",bind:true,constructor:function(){var D=Flow,H=D.Browser,G=D.Bind,A=D.Utils;var E=document,C;return{document:{querySelectorAll:function(){if(E.querySelectorAll){return function(F){var B=new A.liveNodeList(this._querySelectorAll(F));return G.extend(B)}}if(E.evaluate){return function(N,f){var g=N.replace(/\s*(,)\s*/g,"$1").split(",");var O=[];var c,J,k,Y,L,M,R,d;var F=/^(\w+)?(#[\w\-_]+|\*)?((\.[\w\-_]+)*)?((\[\w+(\^|\$|\*|\||\~)?=?[\w\-\_]+\]+)*)?(((:\w+[\w\-]*)(\((odd|even|\d+n?((\+|\-)\d+)?|\w+|((\w*\.[\w\-_]+)*)?|(\[#?\w+(\^|\$|\*)?=?[\w\-\_]+\]+))\))?)*)?(>|\+|~)?/;for(var a=0,S=g.length;a<S;a++){c=g[a];if(a>0){J=false;for(var T=0,V=a;T<V;T++){if(g[a]===g[T]){J=true;break}}if(J){continue}}k=c.split(" ");Y=".";for(var Z=0,b=k.length;Z<b;Z++){L=F.exec(k[Z]);M={tag:(!L[1]||L[2]==="*")?"*":L[1],id:(L[2]!=="*")?L[2]:null,allClasses:L[3],allAttr:L[5],pseudoClass:L[10],pseudoValue:L[12],tagRelation:L[19]};if(M.tagRelation){switch(M.tagRelation){case">":Y+="/child::";break;case"+":Y+="/following-sibling::*[1]/self::";break;case"~":Y+="/following-sibling::";break}}else{Y+=(Z>0&&(/(>|\+|~)/).test(k[Z-1]))?M.tag:("/descendant::"+M.tag)}if(M.id){Y+="[@id = '"+M.id.replace(/^#/,"")+"']"}if(M.allClasses){Y+=M.allClasses.replace(/\.([\w\-_]+)/g,"[contains(concat(' ', @class, ' '), ' $1 ')]")}if(M.allAttr){Y+=M.allAttr.replace(/(\w+)(\^|\$|\*|\||\~)?=?([\w\-_]+)?/g,function(i,p,o,n,m){var l=i;switch(o){case"^":l="starts-with(@"+p+", '"+n+"')";break;case"$":l="substring(@"+p+", (string-length(@"+p+") - "+(n.length-1)+"), 6) = '"+n+"'";break;case"*":case"~":l="contains(concat(' ', @"+p+", ' '), '"+n+"')";break;default:l="@"+p+((n)?"='"+n+"'":"");break}return l})}if(M.pseudoClass){var K=M.pseudoValue;switch(M.pseudoClass.replace(/^:/,"")){case"first-child":Y+="[count(preceding-sibling::*) = 0]";break;case"first-of-type":Y+="[count(preceding-sibling::"+M.tag+") = 0]";break;case"last-child":Y+="[count(following-sibling::*) = 0]";break;case"last-of-type":Y+="[count(following-sibling::"+M.tag+") = 0]";break;case"only-child":Y+="[count(preceding-sibling::*) = 0 and count(following-sibling::*) = 0]";break;case"only-of-type":Y+="[count(preceding-sibling::"+M.tag+") = 0 and count(following-sibling::"+M.tag+") = 0]";break;case"nth-of-type":Y+="["+K+"]";break;case"empty":Y+="[count(child::*) = 0 and string-length(text()) = 0]";break;case"contains":Y+="[contains(., '"+K+"')]";break;case"enabled":Y+="[not(@disabled)]";break;case"disabled":Y+="[@disabled]";break;case"checked":Y+="[@checked='checked']";break;case"nth-child":var B="[";if(/^\d+$/.test(K)){B+="position() = "+K}else{if(/^n$/.test(K)){B=""}else{if(/^odd$/.test(K)){K="2n+1"}else{if(/^even$/.test(K)){K="2n+0"}}var h=/^(\d+)n((\+|\-)(\d+))?$/.exec(K);var P=parseInt(h[1],10);var e=0;if(h[3]&&h[4]){e=parseInt((h[3]+h[4]),10);if(e<0){e=P+e}}B+="(count(./preceding-sibling::*) + 1)";if(P<e){var U=((e-P)%2===0)?0:1;B+=" mod "+P+" = "+U+" and position() > "+e}else{if(e===P){B+=" mod "+P+" = 0"}else{B+=" mod "+P+" = "+e}}}}if(!(/^n$/).test(K)){B+="]"}Y+=B;break;case"not":K=K.replace(/^\[#([\w\-\_]+)\]$/,"[id=$1]");var I=K.replace(/^(\w+)/,"self::$1");I=I.replace(/\.([\w\-_]+)/g,"contains(concat(' ', @class, ' '), ' $1 ')");I=I.replace(/\[(\w+)(\^|\$|\*)?=?([\w\-_]+)?\]/g,function(i,p,o,n,m){var l=i;switch(o){case"^":l="starts-with(@"+p+", '"+n+"')";break;case"$":l="substring(@"+p+", (string-length(@"+p+") - "+(n.length-1)+"), 6) = '"+n+"'";break;case"*":l="contains(concat(' ', @"+p+", ' '), '"+n+"')";break;default:l="@"+p+((n)?"='"+n+"'":"");break}return l});Y+="[not("+I+")]";break}}}var X=this.evaluate(Y,this,null,0,null);var W=X.iterateNext();while(W){O.push(W);W=X.iterateNext()}}O=G.extend(O);return f?O[0]:O}}return function(Av,BY){var BT=Av.replace(/\s*(,)\s*/g,"$1").split(",");var BX=[];var BC=[];var Bm=[];var B3,AC,Al,e,AT,BK,J,T,A7,Ai,B0,As,V,AH,BF,BW,AA,f,AL,BN,A2;var Bi=/^(>|\+|~)$/;var AF=/^(\w+)?(#[\w\-_]+|\*)?((\.[\w\-_]+)*)?((\[\w+(\^|\$|\*|\||\~)?=?[\w\-\_]+\]+)*)?(((:\w+[\w\-]*)(\((odd|even|\d*n?((\+|\-)\d+)?|\w+|((\w*\.[\w\-_]+)*)?|(\[#?\w+(\^|\$|\*)?=?[\w\-\_]+\]+))\))?)*)?/;var F;function Bv(){for(var b=0,a=BC.length;b<a;b++){BC[b].added=false}}function d(){for(var b=0,a=B3.length;b<a;b++){B3[b].childElms=null}}for(var Az=0,BO=BT.length;Az<BO;Az++){AC=BT[Az];if(Az>0){Al=false;for(var Ay=0,A3=Az;Ay<A3;Ay++){if(BT[Az]===BT[Ay]){Al=true;break}}if(Al){continue}}e=AC.split(" ");BC=[];BC.push(this);for(var At=0,AW=e.length;At<AW;At++){var h=e[At];Bm=[];if(At>0&&Bi.test(h)){AT=Bi.exec(h);if(AT){BK=/^\S+/.exec(e[At+1]);if(BK){J=new RegExp("(^|\\s)"+BK+"(\\s|$)","i");T=AT[0];if(T===">"){for(var Ar=0,g=BC.length,Bf;Ar<g;Ar++){Bf=BC[Ar].childNodes;for(var Ao=0,N=Bf.length;Ao<N;Ao++){if(J.test(Bf[Ao].nodeName)){Bm.push(Bf[Ao])}}}}else{if(T==="+"){for(var An=0,Bt=BC.length;An<Bt;An++){Ai=BC[An].nextSibling;while(Ai&&Ai.nodeType!==1){Ai=Ai.nextSibling}if(Ai){if(J.test(Ai.nodeName)){Bm.push(Ai)}}}}else{if(T==="~"){for(var Ak=0,Ba=BC.length;Ak<Ba;Ak++){Ai=BC[Ak].nextSibling;while(Ai&&Ai.nodeType!==1){Ai=Ai.nextSibling}while(Ai){if(!Ai.added&&J.test(Ai.nodeName)){Ai.added=true;Bm.push(Ai)}Ai=Ai.nextSibling}}Bv()}}}}}BC=Bm;At=At+1}else{var BJ=AF.exec(h);var Bg={tag:(!BJ[1]||BJ[2]==="*")?"*":BJ[1],id:(BJ[2]!=="*")?BJ[2]:null,allClasses:BJ[3],allAttr:BJ[5],pseudoClass:BJ[10],pseudoValue:BJ[12]};if(Bg.id){Bm.push(this.getElementById(Bg.id.replace(/#/,"")));BC=Bm}else{if(Bg.tag){var BV;for(var Ah=0,A8=BC.length;Ah<A8;Ah++){BV=BC[Ah].getElementsByTagName(Bg.tag);for(var Ae=0,Af=BV.length;Ae<Af;Ae++){if(!BV[Ae].added){BV[Ae].added=true;Bm.push(BV[Ae])}}}BC=Bm;Bv()}}if(Bg.allClasses){Bg.allClasses=Bg.allClasses.replace(/^\./,"").split(".");var B1=[];for(var P=0,BS=Bg.allClasses.length,AD,Aw;P<BS;P++){B1.push(new RegExp("(^|\\s)"+Bg.allClasses[P]+"(\\s|$)"))}var Am=[];for(var Ac=0,AB=Bm.length,BR;Ac<AB;Ac++){As=Bm[Ac];if(!As.added){BF=false;BR=As.className;for(var Ab=0,S=B1.length;Ab<S;Ab++){BF=B1[Ab].test(BR);if(!BF){break}}}if(BF){As.added=true;Am.push(As)}}Bv();Bm=Am;BC=Bm}if(Bg.allAttr){Bg.allAttr=Bg.allAttr.replace(/(\])(\[)/,"$1 $2").split(" ");var BZ=[];var I=/(\w+)(\^|\$|\*|\||\~)?=?([\w\-_]+)?/;for(var Bc=0,BH=Bg.allAttr.length,Aa,AO,M,Bu,O,BE;Bc<BH;Bc++){Aa=I.exec(Bg.allAttr[Bc]);M=Aa[3]||null;Bu=(M)?("^"+M+"$"):null;BE=Aa[2]||null;if(typeof BE==="string"){switch(BE){case"^":Bu=("^"+M);break;case"$":Bu=(M+"$");break;case"*":case"~":Bu=(M);break}}BZ.push([((Bu)?new RegExp(Bu):null),Aa[1]])}var Aj=[];for(var AZ=0,Bx=Bm.length,Ax;AZ<Bx;AZ++){As=Bm[AZ];if(!As.added){for(var AY=0,Be=BZ.length,BU;AY<Be;AY++){BF=false;BU=BZ[AY][0];Ax=As.getAttribute(BZ[AY][1]);if((typeof Ax==="string")&&(Ax.length>0)&&(Ax!=="")){if(!BU||typeof BU==="undefined"||(BU&&BU.test(Ax))){BF=true}}if(!BF){break}}if(BF){As.added=true;Aj.push(As)}}}Bv();Bm=Aj;BC=Bm}if(Bg.pseudoClass){var AJ=Bg.pseudoClass;var Bq=Bg.pseudoValue;var Bd=Bm;Bm=[];B3=[];if(/^:not$/.test(AJ)){Bq=Bq.replace(/^\[#([\w\-\_]+)\]$/,"[id=$1]");var AK=/^(\w+)/.exec(Bq);var A4=/\.([\w\-_]+)/.exec(Bq);var A1=/\[(\w+)(\^|\$|\*)?=?([\w\-_]+)?\]/.exec(Bq);var Br=new RegExp("(^|\\s)"+((AK)?AK[1]:(A4)?A4[1]:"")+"(\\s|$)","i");if(A1){var Bp=A1[3];var Bk="^"+A1[3]+"$";var AG=A1[2];if(typeof AG==="string"){switch(AG){case"^":Bk=("^"+Bp);break;case"$":Bk=(Bp+"$");break;case"*":Bk=(Bp);break}}Br=new RegExp(Bk,"i")}for(var AV=0,BB=Bd.length,B;AV<BB;AV++){B=Bd[AV];BF=null;if(AK&&!Br.test(B.nodeName)){BF=B}else{if(A4&&!Br.test(B.className)){BF=B}else{if(A1){if(!B.getAttribute(A1[1])||!Br.test(B.getAttribute(A1[1]))){BF=B}}}}if(BF&&!BF.added){BF.added=true;Bm.push(BF)}}Bv();BC=Bm}else{if(/first-child/.test(AJ)){for(var AU=0,Aq=Bd.length;AU<Aq;AU++){V=Bd[AU];AH=V.parentNode;BW=AH.firstChild;while(BW.nodeType!==1&&BW.nextSibling){BW=BW.nextSibling}if(BW===V){Bm.push(V)}}BC=Bm}else{if(/last-child/.test(AJ)){for(var AS=0,AE=Bd.length;AS<AE;AS++){V=Bd[AS];AH=V.parentNode;AA=AH.lastChild;while(AA.nodeType!==1&&AA.previousSibling){AA=AA.previousSibling}if(AA===V){Bm.push(V)}}BC=Bm}else{if(/only-child/.test(AJ)){for(var AR=0,W=Bd.length;AR<W;AR++){V=Bd[AR];AH=V.parentNode;BW=AH.firstChild;while(BW.nodeType!==1&&BW.nextSibling){BW=BW.nextSibling}AA=AH.lastChild;while(AA.nodeType!==1&&AA.previousSibling){AA=AA.previousSibling}if(BW===V&&AA===V){Bm.push(V)}}BC=Bm}else{if(/nth-child/.test(AJ)){if(/^\d+$/.test(Bq)){var BD=parseInt(Bq,10);for(var AQ=0,Bz=Bd.length,Y;AQ<Bz;AQ++){Y=0;V=Bd[AQ];AH=V.parentNode;AL=AH.firstChild;if(AL.nodeType===1){Y=Y+1}while(Y<BD&&AL.nextSibling){AL=AL.nextSibling;if(AL.nodeType===1){Y=Y+1}}if(Y===BD&&AL&&!AL.added&&(AL.nodeName===V.nodeName)){AL.added=true;Bm.push(V)}}Bv()}else{if(/^n$/.test(Bq)){for(var AN=0,Bh=Bd.length;AN<Bh;AN++){Bm.push(Bd[AN])}}else{var Bl=/^(odd|even)|(\d+)n((\+|\-)(\d+))?$/.exec(Bq);var A5=parseInt(Bl[2],10);var c=(Bl[1]==="even")?1:0;var Ad=2;if(A5>0){Ad=A5;var U=(Bl[4])?parseInt((Bl[4]+Bl[5]),10):0;c=U-1}for(var AM=0,BG=Bd.length;AM<BG;AM++){V=Bd[AM];AH=V.parentNode;if(!AH.childElms){BN=AH.childNodes;A2=[];var L=AH.firstChild;if(L.nodeType===1){A2.push(L)}while(L&&L.nextSibling){L=L.nextSibling;if(L.nodeType===1){A2.push(L)}}AH.childElms=A2;B3.push(AH)}else{A2=AH.childElms}for(var A6=c,Bj=A2.length;A6<Bj;A6=A6+Ad){if(A6<0){continue}As=A2[A6];if(!As.added&&As.nodeName===V.nodeName){As.added=true;Bm.push(As)}}}Bv();d()}}BC=Bm}else{if(/first-of-type/.test(AJ)){for(var Bb=0,A0=Bd.length;Bb<A0;Bb++){V=Bd[Bb];AH=V.parentNode;f=AH.getElementsByTagName(V.nodeName);BW=f[0];if(BW===V){Bm.push(V)}}BC=Bm}else{if(/last-of-type/.test(AJ)){for(var BM=0,Ag=Bd.length,BI;BM<Ag;BM++){V=Bd[BM];if(!V.added){AH=V.parentNode;f=AH.getElementsByTagName(V.nodeName);AA=f[f.length-1];while(AA.parentNode!==AH){AA=AA.parentNode}if(AA===V){V.added=true;Bm.push(V)}}}Bv();BC=Bm}else{if(/only-of-type/.test(AJ)){for(var Au=0,BA=Bd.length;Au<BA;Au++){V=Bd[Au];AH=V.parentNode;f=AH.getElementsByTagName(V.nodeName);if(f.length===1){Bm.push(V)}}BC=Bm}else{if(/nth-of-type/.test(AJ)){var Bo=parseInt(Bq,10);for(var AP=0,X=Bd.length;AP<X;AP++){V=Bd[AP];AH=V.parentNode;A2=[];f=AH.childNodes;if(f.length>=Bo){for(var Bs=0,Bn=f.length,K;Bs<Bn;Bs++){if(Bs===Bo){break}K=f[Bs];if(K.nodeName===V.nodeName){A2.push(K)}}As=A2[A2.length-1];if(As&&As===V){Bm.push(V)}}}BC=Bm}else{if(/empty/.test(AJ)){for(var Bw=0,BP=Bd.length;Bw<BP;Bw++){V=Bd[Bw];AH=V.parentNode;BN=AH.childNodes;if(BN.length===0){Bm.push(V)}}BC=Bm}else{if(/enabled/.test(AJ)){for(var BQ=0,AX=Bd.length;BQ<AX;BQ++){V=Bd[BQ];if(!V.disabled){Bm.push(V)}}BC=Bm}else{if(/disabled/.test(AJ)){for(var R=0,A9=Bd.length;R<A9;R++){V=Bd[R];if(V.disabled){Bm.push(V)}}BC=Bm}else{if(/checked/.test(AJ)){for(var Ap=0,By=Bd.length;Ap<By;Ap++){V=Bd[Ap];if(V.checked){Bm.push(V)}}BC=Bm}else{if(/contains/.test(AJ)){for(var BL=0,Z=Bd.length;BL<Z;BL++){V=Bd[BL];if(!V.added){if(new RegExp("(^|\\s)"+Bq+"(\\s|$)").test(V.innerHTML)){V.added=true;Bm.push(V)}}}Bv();BC=Bm}}}}}}}}}}}}}}}}}for(var AI=0,B2=BC.length;AI<B2;AI++){BX.push(BC[AI])}}BX=G.extend(BX);return BY?BX[0]:BX}}(),querySelector:function(){if(E.querySelector){return function(B){return G.extend(this._querySelector(B))}}return function(B){return this.querySelectorAll(B,true)}}()}}}()});if(typeof Flow!="object"||!Flow.Dom){throw"Missing required JavaScript. Flow Core is required."}new Flow.Plugin({name:"Animate",version:"1.0.6",constructor:function(B,G){var D,E=document,C=Flow,A=C.Utils;return{init:function(F,J){D=this;F.suffix=F.suffix||"px";D.objects=D.objects||[];D.duration=J||0.25;if(typeof F.node=="string"){F.node=E.getById(F.node)}D.node=F.node;if(!F.from){F.from=D.getFrom(F.to,F.node)}for(H in F.from){if(F.from.hasOwnProperty(H)){F.from[A.toCamelCase(H)]=F.from[H]}}for(var H in F.to){var I={node:F.node,prop:H,begin:F.from[H],end:F.to[H],tween:F.tween};D.objects.push(I)}return D},start:function(){C.Animate.animations=C.Animate.animations||{};var M=C.Animate.animations[D.node.DOM];if(M){D.stop(M)}C.Animate.animations[D.node.DOM]=[];M=C.Animate.animations[D.node.DOM];for(var K=0,J=D.objects.length;K<J;K++){var I=D.objects[K];D.ani=new D.object(I,D.duration);if(D.events&&(K==[D.objects.length-1])){for(var H=0,F=D.events.length;H<F;H++){var L=D.events[H];D.ani.addEventListener(L.type,L.handler,L.useCapture)}}M.push(D.ani);D.ani.start()}return D},stop:function(I){I=I||C.Animate.animations[D.node.DOM];for(var H=0,F=I.length;H<F;H++){I[H].stop()}},resume:function(){D.ani.resume()},getFrom:function(M,F){var J=function(S){var R=S.match(/[a-z]+([A-Z]+)/g);if(RegExp.$1){S=S.replace(RegExp.$1,"-"+RegExp.$1.toLowerCase())}return S};var H=E.defaultView.getComputedStyle(F,null),P,N,O;var I={};for(P in M){if(M.hasOwnProperty(P)){if(P=="borderWidth"){P="borderTopWidth"}try{N=H.getPropertyValue(J(P))}catch(L){N=0}I[P]=(!N||(N=="auto"))?0:parseFloat(N)}}var K=I.opacity;if(K){I.opacity=(K<=1)?(K*100):K}return I},addEventListener:function(I,H,F){D.events=D.events||[];D.events.push({type:I,handler:H,useCapture:F})},object:function(F,I){var H;return{linearTween:function(L,J,M,K){return M*L/K+J},init:function(L,R){H=this;H.addEventListener(H);for(var O in L){H[O]=L[O]}var J=C.Animate.equations;if(H.tween&&J){var N=H.tween.split(".");H.tween=J;for(var M=0,K=N.length;M<K;M++){var P=N[M];switch(P.toLowerCase()){case"easein":case"in":P="i";break;case"easeout":case"out":P="o";break;case"easeinout":case"inout":P="io";break}H.tween=H.tween[P]}}else{H.tween=H.linearTween}H.suffix=H.suffix||"px";H.begin=H.begin||0;if(C.Browser.IE&&(H.prop=="opacity")&&(H.node.style.filter==="")){H.begin=100}H._pos=L.begin;H.setDuration(R);H.setFinish(H.end);return H},setTime:function(J){H.prevTime=H._time;if(J>H._duration){H._time=H._duration;H.update();H.stop();H.dispatchEvent("oncomplete")}else{if(J<0){H.rewind();H.update()}else{H._time=J;H.update()}}},getTime:function(){return H._time},setDuration:function(J){H._duration=(J===null||J<=0)?500:J},setPosition:function(L){H.prevPos=H._pos;var J=H.suffix;if(H.prop=="opacity"){H.node.style[H.prop]=(L/100);if(C.Browser.IE){H.node.style.zoom=H.node.style.zoom||1;H.node.style.filter="alpha(opacity="+L+")"}}else{try{H.node.style[A.toCamelCase(H.prop)]=Math.round(L)+J}catch(K){}}H._pos=L;H.dispatchEvent("onreadystatechange")},getPosition:function(J){if(J==undefined){J=H._time}return H.tween(J,H.begin,H.change,H._duration)},setFinish:function(J){H.change=J-H.begin},rewind:function(J){H.stop();H._time=(J==undefined)?0:J;H.fixTime();H.update()},update:function(){H.setPosition(H.getPosition(H._time))},startEnterFrame:function(){H.stopEnterFrame();H.isPlaying=true;H.onEnterFrame()},onEnterFrame:function(){if(H.isPlaying){H.nextFrame();var J=H;setTimeout(function(){J.onEnterFrame.call(J,J.onEnterFrame)},0)}},nextFrame:function(){H.setTime((H.getTimer()-H._startTime)/1000)},start:function(){H.rewind();H.startEnterFrame();H.dispatchEvent("onstart")},stop:function(){H.stopEnterFrame();H.dispatchEvent("onstop",{halted:true})},stopEnterFrame:function(){H.isPlaying=false},continueTo:function(J,K){H.begin=H._pos;H.setFinish(J);if(H._duration!=undefined){H.setDuration(K)}H.start()},resume:function(){H.fixTime();H.startEnterFrame();H.dispatchEvent("onresume")},addEventListener:function(J,K){H.events=H.events||{};J="on"+J;if(!H.events[J]){H.events[J]=[]}H.events[J].push(K);return H},dispatchEvent:function(L,M){M=M||{};M.type=L;M.tween=H;if(H.events[L]){for(var K=0,J=H.events[L].length;K<J;K++){H.events[L][K].call(H.node,M)}}},fixTime:function(){H._startTime=H.getTimer()-H._time*1000},getTimer:function(){return new Date().getTime()-H._time}}.init(F,I)}}.init(B,G)}});new Flow.Plugin({name:"Fx",version:"1.0.6",constructor:function(A){Flow.Fx[A.name]=A.constructor}});if(!Flow||!Flow.Animate){throw"Flow.Animate is required."}var Q={};Q.Back={i:function(D,B,E,C){if(A==undefined){var A=1.70158}return E*(D/=C)*D*((A+1)*D-A)+B},o:function(D,B,E,C){if(A==undefined){var A=1.70158}return E*((D=D/C-1)*D*((A+1)*D+A)+1)+B},io:function(D,B,E,C){if(A==undefined){var A=1.70158}if((D/=C/2)<1){return E/2*(D*D*(((A*=(1.525))+1)*D-A))+B}return E/2*((D-=2)*D*(((A*=(1.525))+1)*D+A)+2)+B}};Q.Bounce=function(){var A=Flow.Animate;return{o:function(D,B,E,C){if((D/=C)<(1/2.75)){return E*(7.5625*D*D)+B}else{if(D<(2/2.75)){return E*(7.5625*(D-=(1.5/2.75))*D+0.75)+B}else{if(D<(2.5/2.75)){return E*(7.5625*(D-=(2.25/2.75))*D+0.9375)+B}else{return E*(7.5625*(D-=(2.625/2.75))*D+0.984375)+B}}}},i:function(E,B,F,D){var C=(this.o)?this:A.equations.Bounce;return F-C.o(D-E,0,F,D)+B},io:function(E,B,F,D){var C=A.equations.Bounce;if(E<D/2){return C.i(E*2,0,F,D)*0.5+B}else{return C.o(E*2-D,0,F,D)*0.5+F*0.5+B}}}}();Q.Circ={i:function(C,A,D,B){return -D*(Math.sqrt(1-(C/=B)*C)-1)+A},o:function(C,A,D,B){return D*Math.sqrt(1-(C=C/B-1)*C)+A},io:function(C,A,D,B){if((C/=B/2)<1){return -D/2*(Math.sqrt(1-C*C)-1)+A}return D/2*(Math.sqrt(1-(C-=2)*C)+1)+A}};Q.Cubic={i:function(C,A,D,B){return D*(C/=B)*C*C+A},o:function(C,A,D,B){return D*((C=C/B-1)*C*C+1)+A},io:function(C,A,D,B){if((C/=B/2)<1){return D/2*C*C*C+A}return D/2*((C-=2)*C*C+2)+A}};Q.Elastic={i:function(F,C,G,E,A,D){if(F===0){return C}if((F/=E)==1){return C+G}if(!D){D=E*0.3}var B;if(!A||A<Math.abs(G)){A=G;B=D/4}else{B=D/(2*Math.PI)*Math.asin(G/A)}return -(A*Math.pow(2,10*(F-=1))*Math.sin((F*E-B)*(2*Math.PI)/D))+C},o:function(F,C,G,E,A,D){if(F===0){return C}if((F/=E)==1){return C+G}if(!D){D=E*0.3}var B;if(!A||A<Math.abs(G)){A=G;B=D/4}else{B=D/(2*Math.PI)*Math.asin(G/A)}return(A*Math.pow(2,-10*F)*Math.sin((F*E-B)*(2*Math.PI)/D)+G+C)},io:function(F,C,G,E,A,D){if(F===0){return C}if((F/=E/2)==2){return C+G}if(!D){D=E*(0.3*1.5)}var B;if(!A||A<Math.abs(G)){A=G;B=D/4}else{B=D/(2*Math.PI)*Math.asin(G/A)}if(F<1){return -0.5*(A*Math.pow(2,10*(F-=1))*Math.sin((F*E-B)*(2*Math.PI)/D))+C}return A*Math.pow(2,-10*(F-=1))*Math.sin((F*E-B)*(2*Math.PI)/D)*0.5+G+C}};Q.Expo={i:function(C,A,D,B){return(C===0)?A:D*Math.pow(2,10*(C/B-1))+A},o:function(C,A,D,B){return(C==B)?A+D:D*(-Math.pow(2,-10*C/B)+1)+A},io:function(C,A,D,B){if(C===0){return A}if(C==B){return A+D}if((C/=B/2)<1){return D/2*Math.pow(2,10*(C-1))+A}return D/2*(-Math.pow(2,-10*--C)+2)+A}};Q.Quad={i:function(C,A,D,B){return D*(C/=B)*C+A},o:function(C,A,D,B){return -D*(C/=B)*(C-2)+A},io:function(C,A,D,B){if((C/=B/2)<1){return D/2*C*C+A}return -D/2*((--C)*(C-2)-1)+A}};Q.Quart={i:function(C,A,D,B){return D*(C/=B)*C*C*C+A},o:function(C,A,D,B){return -D*((C=C/B-1)*C*C*C-1)+A},io:function(C,A,D,B){if((C/=B/2)<1){return D/2*C*C*C*C+A}return -D/2*((C-=2)*C*C*C-2)+A}};Q.Quint={i:function(C,A,D,B){return D*(C/=B)*C*C*C*C+A},o:function(C,A,D,B){return D*((C=C/B-1)*C*C*C*C+1)+A},io:function(C,A,D,B){if((C/=B/2)<1){return D/2*C*C*C*C*C+A}return D/2*((C-=2)*C*C*C*C+2)+A}};Q.Regular={i:function(C,A,D,B){return D*(C/=B)*C+A},o:function(C,A,D,B){return -D*(C/=B)*(C-2)+A},io:function(C,A,D,B){if((C/=B/2)<1){return D/2*C*C+A}return -D/2*((--C)*(C-2)-1)+A}};Q.Sine={i:function(C,A,D,B){return -D*Math.cos(C/B*(Math.PI/2))+D+A},o:function(C,A,D,B){return D*Math.sin(C/B*(Math.PI/2))+A},io:function(C,A,D,B){return -D/2*(Math.cos(Math.PI*C/B)-1)+A}};Flow.Augment(Flow.Animate,{equations:Q});Q=undefined;new Flow.Fx({name:"Accordion",version:"1.0.6",constructor:function(C,A){var B;return{init:function(H,D){B=this;if(H instanceof Array){H.reverse()}B.size={old:{},"new":{}};D=D||{};var G={speed:0.25,event:"click",autofold:(D.autofold!==false)?true:false,property:"height"};for(var F in G){D[F]=D[F]||G[F]}B.options=D;H.addClass("FlowToggleAccordion");var E=H.getChildNodes();E.forEach(function(K){var R=B.size,N=K.DOM,L=R.old,M=R["new"],I=D,P=K.getByClass("toggle")[0];var J=I.property;J=J.replace(J.charAt(0),J.charAt(0).toUpperCase());L[N]=parseFloat(K["offset"+J]);M[N]=parseFloat(P["offset"+J]);B.overflow=B.overflow||{};B.overflow[K.DOM]=K.style.overflow;if(!K.hasClass("open")){K.style.overflow="hidden";K.style[I.property]=B.size["new"][K.DOM]+"px";var O=K.getChildNodes().filter(function(S){return !S.hasClass("toggle")});O.setOpacity(0)}P.addClass("toggle");P.addEventListener(I.event,function(S){var T=P.parentNode;while(!T.hasClass("open")){if(T.nodeName.toLowerCase()=="body"){T=null;break}T=T.parentNode}if(T&&(T.getComputedStyle("overflow")=="hidden")){T.setStyle("height","auto")}B.toggle.call(K);S.preventDefault()},false)})},toggle:function(){var N=this.parentNode,D=B.options;if(D.autofold&&this.hasClass("open")){return }while(!N.hasClass("accordion")){N=N.parentNode}var H=N.getChildNodes(),M,O=this,L;var E=function(R,S){var T={};T[D.property]=S;Flow.Animate({node:R,to:T,tween:D.tween},D.speed).start()};var P=B.size,G=P.old,I=P["new"];if(D.autofold){H.removeClass("open");this.toggleClass("open");H.forEach(function(U){var T=U.DOM;M=(U==O)?G[T]:I[T];U.scrollTop=0;E(U,M);var S=U.getChildNodes().filter(function(V){return !V.hasClass("toggle")});var R;if(U==O){L=100;U.style.overflow=B.overflow[U.DOM]}else{L=0;U.style.overflow="hidden"}S.forEach(function(V){R=Flow.Animate({node:V,to:{opacity:L}},(D.speed/4)).start()})})}else{var F=this,J=F.DOM;F.toggleClass("open");if(F.hasClass("open")){M=G[J];L=100}else{M=I[J];L=0}E(F,M);var K=F.getChildNodes().filter(function(R){return !R.hasClass("toggle")});K.forEach(function(R){Flow.Animate({node:R,to:{opacity:L}},(D.speed/4)).start()})}}}.init(C,A)}});new Flow.Fx({name:"Drag",version:"1.0.6",constructor:function(C,A){var B;return{init:function(H,D){B=this;D=D||{};var G={space:5,speed:0.1,tween:null};for(var F in G){D[F]=D[F]||G[F]}B.options=D;B.node=H;H.setStyle("position","relative");B.target=H.getDocumentPosition();var E=H.getChildNodes();E.forEach(function(I){B.bind(I)});document.addEventListener("mouseup",function(K){B.dispatchEvent("ondragstop");if(B.clone){B.curr.setOpacity(100);B.getPosition(K);var I=B.mouse,J=B.target;if((I.x<(J.x-10))||(I.x>(J.x+(B.node.offsetWidth+50)))||(I.y<J.y-10)||(I.y>J.y+B.node.offsetHeight+50)){B.poof(K)}B.clone.removeNode(B.clone);B.clone=null;document.removeEventListener("mousemove",B.mousemove,false)}},false);return B},bind:function(D){D.addEventListener("mousedown",function(E){B.dispatchEvent("ondragstart");B.ghost.call(this,E);E.preventDefault()},false);D.setStyle({cursor:"move",position:"relative"})},setInnerHTML:function(D,G){var F=document.createElement("div");F.setInnerHTML(D);element=F.firstChild;B.bind(element);var E=B.node;if(G&&G=="prepend"){E.insertBefore(element,E.firstChild)}else{E.appendChild(element)}},appendChild:function(D){B.bind(D);B.node.appendChild(D)},getPosition:function(D){B.mouse=Flow.Viewport.getMousePosition(D);B.target=B.node.getDocumentPosition()},setPosition:function(K,H){B.getPosition(H);var J=B.mouse,I=B.target;if(K){var L=(J.y-B.target.y);B.prev=B.prev||L;var D=((B.prev-L)>0),F=B.curr.previousSibling,E=B.curr.nextSibling,G=B.curr;if(F&&D&&L<(F.getPosition().y+F.offsetHeight)){G.parentNode.insertBefore(G,F);B.dispatchEvent("onmove");B.dispatchEvent("onmoveup")}if(E&&!D&&L>(E.getPosition().y)){G.parentNode.insertAfter(G,E);B.dispatchEvent("onmove");B.dispatchEvent("onmovedown")}B.prev=L;B.moveClone(K,H);B.tinyGhost(H)}},moveClone:function(H,F){B.getPosition(F);var D=B.mouse,E=B.target;var G={x:((D.x-E.x)-(H.offsetWidth/2)),y:((D.y-E.y)-(H.offsetHeight/2))};H.setStyle({top:G.y+"px",left:G.x+"px"})},tinyGhost:function(G){B.getPosition(G);var E=B.mouse,F=B.target;var D=document.getById("FlowDragTinyPoof");if((E.x<(F.x-10))||(E.x>(F.x+(B.node.offsetWidth+50)))||(E.y<F.y-10)||(E.y>F.y+B.node.offsetHeight+50)){if(!D){D=B.node.setInnerHTML('<div id="FlowDragTinyPoof"></div>',"append");B.tiny=D}if(D.setStyle){D.setStyle({position:"absolute",display:"block","z-index":9999,top:((E.y-F.y)+5)+"px",left:((E.x-F.x)+5)+"px"})}B.curr.setStyle("display","none")}else{if(D){if(D.setStyle){D.setStyle("display","none")}B.curr.setStyle("display","block")}}},cloneStyle:function(G){var E=this.getComputedStyle();for(var D in E){try{G.setStyle(D,E[D])}catch(F){}}},mousemove:function(D){B.setPosition(B.clone,D);D.preventDefault()},ghost:function(E){var D=this.getPosition();this.setOpacity(50);var F=this.cloneNode(true);F.addClass("clone");B.cloneStyle.call(this,B.clone);F.setStyle({position:"absolute",left:0,top:D.y+"px",opacity:50,width:this.getComputedStyle("width"),height:this.getComputedStyle("height")});this.parentNode.appendChild(F);B.curr=this;B.clone=F;B.current=D;document.addEventListener("mousemove",B.mousemove,false)},poof:function(G){B.getPosition(G);var E=B.mouse,F=B.target;var H=B.node.setInnerHTML('<div id="FlowDragPoof"></div>',"append");H.setStyle({position:"absolute",display:"none","z-index":9999,top:((E.y-F.y)-(H.offsetHeight/2))+"px",left:((E.x-F.x)-(H.offsetWidth/2))+"px",opacity:50});if(B.tiny){B.tiny.parentNode.removeChild(B.tiny);B.tiny=null}B.curr.removeNode();B.dispatchEvent("ondelete");var D=function(){if(B.poof.timeout){clearTimeout(B.poof.timeout)}var K=H.style.backgroundPosition.split(" ");if(!K[1]){K=["0","0"]}for(var J=0,I=K.length;J<I;J++){K[J]=parseFloat(K[J])}K[1]=(K[1]-128);H.setStyle("background-position",K[0]+" "+K[1]+"px");if(K[1]>-640){B.poof.timeout=setTimeout(D,75)}else{H.removeNode();clearTimeout(B.poof.timeout)}};H.setStyle("display","block");B.poof.timeout=setTimeout(D,75)},addEventListener:function(F,E,D){B=this;B.events=B.events||{};F="on"+F;if(!B.events[F]){B.events[F]=[]}B.events[F].push(E);return B},dispatchEvent:function(F){if(B.events&&B.events[F]){for(var E=0,D=B.events[F].length;E<D;E++){B.events[F][E].call(B.node)}}}}.init(C,A)}});new Flow.Fx({name:"Scrollbar",version:"1.0.6",constructor:function(C,A){var B;return{vars:{wheelSpeed:6,minHeight:10},init:function(F,D){B=this;D=D||{};B.options=D;for(var E in B.vars){B.options[E]=B.options[E]||B.vars[E]}B.options.targetElement=F;B.setDragEvent();B.setMouseWheelEvent();return B},setDragEvent:function(){var M=B.options.targetElement;var E=B.createScrollbar(M);var N=E.getByClass("scrollbarContent")[0],O=E.getByClass("scrollbarContainer")[0],J=O.getByClass("scrollbarHandle")[0],K=N.offsetHeight;B.setContentHeight(N,M,O);B.resetScrollbar();var H,G;if(N.scrollTop!==0){var L=(N.scrollTop/M.offsetHeight)*100;J.style.top=(L)+"%"}var I=function(T){T.preventDefault();K=parseFloat(N.getComputedStyle("height"));var S=(G+T.clientY-H),P=(K-J.offsetHeight);if((S>0)&&(S<P)){var R=Math.floor((S/K)*100);J.style.top=R+"%";N.scrollTop=M.offsetHeight*(R/100)}};var F=function(T){B.mouseCache=B.mouseCache||{};var V=B.mouseCache;V.target=V.target||T.target;if(V.target===this){if(T){T.preventDefault()}J.style.top=J.style.top||0;B.scrollOffset=B.scrollOffset||12;var W=M.offsetHeight*(B.scrollOffset/100),P=B.scrollOffset,U=parseFloat(J.style.top),X;var Z=V.valueY||(T.layerY||T.offsetY||T.clientY);V.valueY=Z;if(Z<J.offsetTop){X=U-P;J.style.top=((X>0)?X:0)+"%";W=-(W)}else{X=U+P;var Y=(K-J.offsetHeight),S=K*(X/100);J.style.top=((Y>S)?X:(S/K)*100)+"%"}N.scrollTop+=W;if(!B.initialMouseDown){var R=this;B.scrollbarTimeout=window.setTimeout(function(){D(R,Z)},500);B.initialMouseDown=true}}};var D=function(R,P){if((J.offsetTop>P)||(J.offsetTop+J.offsetHeight)<P){clearTimeout(B.scrollbarTimeout);F.call(R);B.scrollbarTimeout=window.setTimeout(function(){D(R,P)},50)}};O.addEventListener("mousedown",F,false);J.addEventListener("mousedown",function(P){P.preventDefault();H=P.clientY;G=this.offsetTop;document.addEventListener("mousemove",I,false)},false);document.addEventListener("mouseup",function(){document.removeEventListener("mousemove",I,false);clearTimeout(B.scrollbarTimeout);delete B.initialMouseDown;B.mouseCache={};delete B.mouseCache},false)},handleMouseWheelEvent:function(E,F){function D(G){var H=0;if(!G){G=window.event}if(G.wheelDelta){H=event.wheelDelta/120;if(Flow.Browser.IE){H=(H*4)}if(window.opera){H=-(H)}}else{if(G.detail){H=-(G.detail)}}if(H){F.call(E,H)}if(G.preventDefault){G.preventDefault()}else{G.returnValue=false}}if(E._addEventListener){E._addEventListener("DOMMouseScroll",D,false)}E.onmousewheel=D},setMouseWheelEvent:function(){var E=B.options.targetElement.parentNode,D=E.parentNode,G=D.getByClass("scrollbarContainer")[0],F=G.getByClass("scrollbarHandle")[0];B.handleMouseWheelEvent(D,function(J){var I=(J*B.vars.wheelSpeed);switch(J>0){case true:E.scrollTop-=I;break;case false:E.scrollTop-=I;break}var H=(E.scrollTop/E.getFirstChild().offsetHeight)*100;F.style.top=(H)+"%"})},createScrollbar:function(D){var E=document.createElement("div");E.setAttribute("class","scrollbarWrapper");D.parentNode.insertBefore(E,D);E.setInnerHTML('<div class="scrollbarContent"></div><div class="scrollbarContainer"><div class="scrollbarHandle"></div></div>',"append");E.getByClass("scrollbarContent")[0].appendChild(D);B.resetScrollbar();return E},resetScrollbar:function(){var F=document.getByClass("scrollbarContent")[0],H=F.getFirstChild(),G=document.getByClass("scrollbarHandle")[0];var D=Math.floor((F.offsetHeight/H.offsetHeight)*100);D=(D<100)?((D>B.vars.minHeight)?D:B.vars.minHeight):0;G.style.height=(D)+"%";var E=(F.scrollTop/H.offsetHeight)*100;G.style.top=(E)+"%"},setContentHeight:function(H,I,J){var F=H.parentNode;var E=function(K,L){return parseInt(K.getComputedStyle(L))};var G=E(I,"width")+E(I,"padding-left")+E(I,"padding-right");var D=E(I,"height")+E(I,"padding-top")+E(I,"padding-bottom");B.reassignProperties(F,I);H.setStyle({height:D+"px",width:G-E(J,"width")+"px"});J.setStyle("height",D+"px");F.setStyle({width:G+"px",height:D+"px"});I.setStyle({overflow:"visible",height:"auto",width:"auto"})},reassignProperties:function(M,E){var L={dimensions:["width","height"],margins:["margin-left","margin-right","margin-top","margin-bottom"],borders:{left:["border-left-width","border-left-style","border-left-color"],right:["border-right-width","border-right-style","border-right-color"],top:["border-top-width","border-top-style","border-top-color"],bottom:["border-bottom-width","border-bottom-style","border-bottom-color"]}};for(var N in L){var I,H,F,D;if(L[N] instanceof Array){for(I=0,H=L[N].length;I<H;I++){D=L[N][I];F=Flow.Utils.toCamelCase(D);M.style[F]=E.getComputedStyle(D);E.style[F]=0}}else{for(var K in L[N]){var J=[];F=Flow.Utils.toCamelCase("border-"+K);for(I=0,H=L[N][K].length;I<H;I++){D=L[N][K][I];var G=E.getComputedStyle(D);J.push(G||"solid")}M.style[F]=J.join(" ");E.style[F]=0}}}}}.init(C,A)}});new Flow.Plugin({name:"Remote",version:"1.0.6",constructor:function(){var G=window.XMLHttpRequest;var E=Flow.Browser;var A=E.GK,J=E.IE;var D=function(){this._object=G?new G:new window.ActiveXObject("Microsoft.XMLHTTP")};if(A&&G.wrapped){D.wrapped=G.wrapped}D.UNSENT=0;D.OPENED=1;D.HEADERS_RECEIVED=2;D.LOADING=3;D.DONE=4;D.prototype.readyState=D.UNSENT;D.prototype.responseText="";D.prototype.responseXML=null;D.prototype.status=0;D.prototype.statusText="";D.prototype.onreadystatechange=null;D.onreadystatechange=null;D.onopen=null;D.onsend=null;D.onabort=null;D.onsuccess=null;D.onerror=null;D.prototype.open=function(P,L,M,T,N){this._async=M;this.url=L;this.async=M;if(this.query){var S=(/\?/.test(this.url))?"&":"?",B=[];for(var O in this.query){if(this.query.hasOwnProperty(O)){B.push(O+"="+this.query[O])}}L+=S+B.join("&");this.url=L}var K=this,R=this.readyState;if(J){var U=function(){if(K._object.readyState!=D.DONE){F(K)}};if(M){window.attachEvent("onunload",U)}}this._object.onreadystatechange=function(){if(A&&!M){return }K.readyState=K._object.readyState;H(K);if(K._aborted){K.readyState=D.UNSENT;return }if(K.readyState==D.DONE){F(K);if(J&&M){window.detachEvent("onunload",U)}}if(R!=K.readyState){C(K)}R=K.readyState};if(D.onopen){D.onopen.apply(this,arguments)}this._object.open(P,L,M,T,N);if(!M&&A){this.readyState=D.OPENED;C(this)}};D.prototype.send=function(B){if(D.onsend){D.onsend.apply(this,arguments)}if(B&&B.nodeType){B=window.XMLSerializer?new window.XMLSerializer().serializeToString(B):B.xml;if(!this._headers["Content-Type"]){this._object.setRequestHeader("Content-Type","application/xml")}}this._object.send(B);if(A&&!this._async){this.readyState=D.OPENED;H(this);while(this.readyState<D.DONE){this.readyState++;C(this);if(this._aborted){return }}}};D.prototype.abort=function(){if(D.onabort){D.onabort.apply(this,arguments)}if(this.readyState>D.UNSENT){this._aborted=true}this._object.abort();F(this)};D.prototype.setquery=function(B,M){var L=this;L.query=L.query||{};if(typeof B==="object"){for(var K in B){if(B.hasOwnProperty(K)){L.query[K]=B[K]}}}else{L.query[B]=M}};D.prototype.addEventListener=function(B,K){return D.prototype["on"+B]=K};D.prototype.getAllResponseHeaders=function(){return this._object.getAllResponseHeaders()};D.prototype.getResponseHeader=function(B){return this._object.getResponseHeader(B)};D.prototype.setRequestHeader=function(B,K){if(!this._headers){this._headers={}}this._headers[B]=K;return this._object.setRequestHeader(B,K)};D.prototype.toString=function(){return"[object XMLHttpRequest]"};D.toString=function(){return"[XMLHttpRequest]"};var C=function(B){if(B.onreadystatechange){B.onreadystatechange.apply(B)}if(D.onreadystatechange){D.onreadystatechange.apply(B)}if(B.readyState==D.DONE){if(B.onsuccess&&(B.status==200||B.status==304)){B.onsuccess.apply(B)}if(B.onerror&&B.status==404){B.onerror.apply(B)}}};var I=function(K){var B=K.responseXML;if(J&&B&&!B.documentElement&&K.getResponseHeader("Content-Type").match(/[^\/]+\/[^\+]+\+xml/)){B=new ActiveXObject("Microsoft.XMLDOM");B.loadXML(K.responseText)}if(B){if((J&&B.parseError!==0)||(B.documentElement&&B.documentElement.tagName=="parsererror")){return null}}return B};var H=function(B){try{B.responseText=B._object.responseText}catch(K){}try{B.responseXML=I(B._object)}catch(K){}try{B.status=B._object.status}catch(K){}try{B.statusText=B._object.statusText}catch(K){}};var F=function(B){B._object.onreadystatechange=new window.Function;delete B._headers};window.XMLHttpRequest=window.HttpRequest=D}()});new Flow.Plugin({name:"Viewport",version:"1.0.6",constructor:function(){var D=document,A="body",B="documentElement",C=window;return{getSize:function(){var E={};if(Flow.Browser.WK){E.w=self.innerWidth;E.h=self.innerHeight}else{if(Flow.Browser.OP){E.w=D[A].clientWidth;E.h=D[A].clientHeight}else{E.w=D[B].clientWidth;E.h=D[B].clientHeight}}return E},getScreenSize:function(){return{w:(typeof self.screen.availWidth!=="undefined")?self.screen.availWidth:self.screen.width,h:(typeof self.screen.availHeight!=="undefined")?self.screen.availHeight:self.screen.height}},getOuterSize:function(){return{w:(typeof self.outerWidth!=="undefined")?self.outerWidth:null,h:(typeof self.outerHeight!=="undefined")?self.outerHeight:null}},getScrollOffset:function(){var E={};if(Flow.Browser.IE){E.x=D[B].scrollLeft;E.y=D[B].scrollTop}else{if(Flow.Browser.WK){E.x=D[A].scrollLeft;E.y=D[A].scrollTop}else{E.x=self.pageXOffset;E.y=self.pageYOffset}}return E},getScrollSize:function(){var E={};if(Flow.Browser.IE){E.w=Math.max(D[B].offsetWidth,D[B].scrollWidth);E.h=Math.max(D[B].offsetHeight,D[B].scrollHeight)}else{if(Flow.Browser.WK){E.w=D[A].scrollWidth;E.h=D[A].scrollHeight}else{E.w=D[B].scrollWidth;E.h=D[B].scrollHeight}}return E},getPosition:function(){return{x:(typeof C.screenX!=="undefined")?C.screenX:C.screenTop,y:(typeof C.screenY!=="undefined")?C.screenY:C.screenLeft}},getMousePosition:function(E){var F={};E=E||C.event;if((typeof E.pageX!=="undefined")||(typeof E.pageY!=="undefined")){F.x=E.pageX;F.y=E.pageY}else{if(E.clientX||E.clientY){F.x=E.clientX+D[A].scrollLeft+D[B].scrollLeft;F.y=E.clientY+D[A].scrollTop+D[B].scrollTop}}return F},popup:function(I){if(!I||I===""){return }var H,G,E,K,F="",J;H={width:600,height:400,scrollbars:1,resizable:1,toolbar:0,location:0,status:0,name:"popup"};if(arguments.length>1){if(typeof arguments[1]==="object"){for(J in arguments[1]){if(arguments[1].hasOwnProperty(J)){H[J]=arguments[1][J]}}}}K=Flow.Viewport.getSize();if(typeof H.left=="undefined"){H.left=(K.w/2-H.width/2)}if(typeof H.top=="undefined"){H.top=(K.h/2-H.height/2)}for(J in H){if(H.hasOwnProperty(J)){if(J==="name"){G=H[J]}else{if((typeof H[J]==="number"||typeof H[J]==="boolean")&&(J!=="height"&&J!=="width"&&J!=="top"&&J!=="left")){H[J]=(Number(H[J])===0)?"no":"yes"}F+=(J+"="+H[J]+",")}}}E=window.open(I,G,F.replace(/\,$/,""));if(E){E.focus()}}}}()});