/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var l=this,g,z=l.jQuery,p=l.$,o=l.jQuery=l.$=function(F,G){return new o.fn.init(F,G)},E=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(F,I){F=F||document;if(F.nodeType){this[0]=F;this.length=1;this.context=F;return this}if(typeof F==="string"){var H=E.exec(F);if(H&&(H[1]||!I)){if(H[1]){F=o.clean([H[1]],I)}else{var J=document.getElementById(H[3]);if(J&&J.id!=H[3]){return o().find(F)}var G=o(J||[]);G.context=document;G.selector=F;return G}}else{return o(I).find(F)}}else{if(o.isFunction(F)){return o(document).ready(F)}}if(F.selector&&F.context){this.selector=F.selector;this.context=F.context}return this.setArray(o.isArray(F)?F:o.makeArray(F))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(F){return F===g?Array.prototype.slice.call(this):this[F]},pushStack:function(G,I,F){var H=o(G);H.prevObject=this;H.context=this.context;if(I==="find"){H.selector=this.selector+(this.selector?" ":"")+F}else{if(I){H.selector=this.selector+"."+I+"("+F+")"}}return H},setArray:function(F){this.length=0;Array.prototype.push.apply(this,F);return this},each:function(G,F){return o.each(this,G,F)},index:function(F){return o.inArray(F&&F.jquery?F[0]:F,this)},attr:function(G,I,H){var F=G;if(typeof G==="string"){if(I===g){return this[0]&&o[H||"attr"](this[0],G)}else{F={};F[G]=I}}return this.each(function(J){for(G in F){o.attr(H?this.style:this,G,o.prop(this,F[G],H,J,G))}})},css:function(F,G){if((F=="width"||F=="height")&&parseFloat(G)<0){G=g}return this.attr(F,G,"curCSS")},text:function(G){if(typeof G!=="object"&&G!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(G))}var F="";o.each(G||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){F+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return F},wrapAll:function(F){if(this[0]){var G=o(F,this[0].ownerDocument).clone();if(this[0].parentNode){G.insertBefore(this[0])}G.map(function(){var H=this;while(H.firstChild){H=H.firstChild}return H}).append(this)}return this},wrapInner:function(F){return this.each(function(){o(this).contents().wrapAll(F)})},wrap:function(F){return this.each(function(){o(this).wrapAll(F)})},append:function(){return this.domManip(arguments,true,function(F){if(this.nodeType==1){this.appendChild(F)}})},prepend:function(){return this.domManip(arguments,true,function(F){if(this.nodeType==1){this.insertBefore(F,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this)})},after:function(){return this.domManip(arguments,false,function(F){this.parentNode.insertBefore(F,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(F){if(this.length===1){var G=this.pushStack([],"find",F);G.length=0;o.find(F,this[0],G);return G}else{return this.pushStack(o.unique(o.map(this,function(H){return o.find(F,H)})),"find",F)}},clone:function(H){var F=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var J=this.outerHTML;if(!J){var K=this.ownerDocument.createElement("div");K.appendChild(this.cloneNode(true));J=K.innerHTML}return o.clean([J.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(H===true){var I=this.find("*").andSelf(),G=0;F.find("*").andSelf().each(function(){if(this.nodeName!==I[G].nodeName){return}var J=o.data(I[G],"events");for(var L in J){for(var K in J[L]){o.event.add(this,L,J[L][K],J[L][K].data)}}G++})}return F},filter:function(F){return this.pushStack(o.isFunction(F)&&o.grep(this,function(H,G){return F.call(H,G)})||o.multiFilter(F,o.grep(this,function(G){return G.nodeType===1})),"filter",F)},closest:function(F){var H=o.expr.match.POS.test(F)?o(F):null,G=0;return this.map(function(){var I=this;while(I&&I.ownerDocument){if(H?H.index(I)>-1:o(I).is(F)){o.data(I,"closest",G);return I}I=I.parentNode;G++}})},not:function(F){if(typeof F==="string"){if(f.test(F)){return this.pushStack(o.multiFilter(F,this,true),"not",F)}else{F=o.multiFilter(F,this)}}var G=F.length&&F[F.length-1]!==g&&!F.nodeType;return this.filter(function(){return G?o.inArray(this,F)<0:this!=F})},add:function(F){return this.pushStack(o.unique(o.merge(this.get(),typeof F==="string"?o(F):o.makeArray(F))))},is:function(F){return !!F&&o.multiFilter(F,this).length>0},hasClass:function(F){return !!F&&this.is("."+F)},val:function(L){if(L===g){var F=this[0];if(F){if(o.nodeName(F,"option")){return(F.attributes.value||{}).specified?F.value:F.text}if(o.nodeName(F,"select")){var J=F.selectedIndex,M=[],N=F.options,I=F.type=="select-one";if(J<0){return null}for(var G=I?J:0,K=I?J+1:N.length;G<K;G++){var H=N[G];if(H.selected){L=o(H).val();if(I){return L}M.push(L)}}return M}return(F.value||"").replace(/\r/g,"")}return g}if(typeof L==="number"){L+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(L)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,L)>=0||o.inArray(this.name,L)>=0)}else{if(o.nodeName(this,"select")){var O=o.makeArray(L);o("option",this).each(function(){this.selected=(o.inArray(this.value,O)>=0||o.inArray(this.text,O)>=0)});if(!O.length){this.selectedIndex=-1}}else{this.value=L}}})},html:function(F){return F===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(F)},replaceWith:function(F){return this.after(F).remove()},eq:function(F){return this.slice(F,+F+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(F){return this.pushStack(o.map(this,function(H,G){return F.call(H,G,H)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(K,N,M){if(this[0]){var J=(this[0].ownerDocument||this[0]).createDocumentFragment(),G=o.clean(K,(this[0].ownerDocument||this[0]),J),I=J.firstChild;if(I){for(var H=0,F=this.length;H<F;H++){M.call(L(this[H],I),this.length>1||H>0?J.cloneNode(true):J)}}if(G){o.each(G,A)}}return this;function L(O,P){return N&&o.nodeName(O,"table")&&o.nodeName(P,"tr")?(O.getElementsByTagName("tbody")[0]||O.appendChild(O.ownerDocument.createElement("tbody"))):O}}};o.fn.init.prototype=o.fn;function A(F,G){if(G.src){o.ajax({url:G.src,async:false,dataType:"script"})}else{o.globalEval(G.text||G.textContent||G.innerHTML||"")}if(G.parentNode){G.parentNode.removeChild(G)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var K=arguments[0]||{},I=1,J=arguments.length,F=false,H;if(typeof K==="boolean"){F=K;K=arguments[1]||{};I=2}if(typeof K!=="object"&&!o.isFunction(K)){K={}}if(J==I){K=this;--I}for(;I<J;I++){if((H=arguments[I])!=null){for(var G in H){var L=K[G],M=H[G];if(K===M){continue}if(F&&M&&typeof M==="object"&&!M.nodeType){K[G]=o.extend(F,L||(M.length!=null?[]:{}),M)}else{if(M!==g){K[G]=M}}}}}return K};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},t=Object.prototype.toString;o.extend({noConflict:function(F){l.$=p;if(F){l.jQuery=z}return o},isFunction:function(F){return t.call(F)==="[object Function]"},isArray:function(F){return t.call(F)==="[object Array]"},isXMLDoc:function(F){return F.nodeType===9&&F.documentElement.nodeName!=="HTML"||!!F.ownerDocument&&o.isXMLDoc(F.ownerDocument)},globalEval:function(H){if(H&&/\S/.test(H)){var G=document.getElementsByTagName("head")[0]||document.documentElement,F=document.createElement("script");F.type="text/javascript";if(o.support.scriptEval){F.appendChild(document.createTextNode(H))}else{F.text=H}G.insertBefore(F,G.firstChild);G.removeChild(F)}},nodeName:function(G,F){return G.nodeName&&G.nodeName.toUpperCase()==F.toUpperCase()},each:function(H,L,G){var F,I=0,J=H.length;if(G){if(J===g){for(F in H){if(L.apply(H[F],G)===false){break}}}else{for(;I<J;){if(L.apply(H[I++],G)===false){break}}}}else{if(J===g){for(F in H){if(L.call(H[F],F,H[F])===false){break}}}else{for(var K=H[0];I<J&&L.call(K,I,K)!==false;K=H[++I]){}}}return H},prop:function(I,J,H,G,F){if(o.isFunction(J)){J=J.call(I,G)}return typeof J==="number"&&H=="curCSS"&&!b.test(F)?J+"px":J},className:{add:function(F,G){o.each((G||"").split(/\s+/),function(H,I){if(F.nodeType==1&&!o.className.has(F.className,I)){F.className+=(F.className?" ":"")+I}})},remove:function(F,G){if(F.nodeType==1){F.className=G!==g?o.grep(F.className.split(/\s+/),function(H){return !o.className.has(G,H)}).join(" "):""}},has:function(G,F){return G&&o.inArray(F,(G.className||G).toString().split(/\s+/))>-1}},swap:function(I,H,J){var F={};for(var G in H){F[G]=I.style[G];I.style[G]=H[G]}J.call(I);for(var G in H){I.style[G]=F[G]}},css:function(I,G,K,F){if(G=="width"||G=="height"){var M,H={position:"absolute",visibility:"hidden",display:"block"},L=G=="width"?["Left","Right"]:["Top","Bottom"];function J(){M=G=="width"?I.offsetWidth:I.offsetHeight;if(F==="border"){return}o.each(L,function(){if(!F){M-=parseFloat(o.curCSS(I,"padding"+this,true))||0}if(F==="margin"){M+=parseFloat(o.curCSS(I,"margin"+this,true))||0}else{M-=parseFloat(o.curCSS(I,"border"+this+"Width",true))||0}})}if(I.offsetWidth!==0){J()}else{o.swap(I,H,J)}return Math.max(0,Math.round(M))}return o.curCSS(I,G,K)},curCSS:function(J,G,H){var M,F=J.style;if(G=="opacity"&&!o.support.opacity){M=o.attr(F,"opacity");return M==""?"1":M}if(G.match(/float/i)){G=x}if(!H&&F&&F[G]){M=F[G]}else{if(q.getComputedStyle){if(G.match(/float/i)){G="float"}G=G.replace(/([A-Z])/g,"-$1").toLowerCase();var N=q.getComputedStyle(J,null);if(N){M=N.getPropertyValue(G)}if(G=="opacity"&&M==""){M="1"}}else{if(J.currentStyle){var K=G.replace(/\-(\w)/g,function(O,P){return P.toUpperCase()});M=J.currentStyle[G]||J.currentStyle[K];if(!/^\d+(px)?$/i.test(M)&&/^\d/.test(M)){var I=F.left,L=J.runtimeStyle.left;J.runtimeStyle.left=J.currentStyle.left;F.left=M||0;M=F.pixelLeft+"px";F.left=I;J.runtimeStyle.left=L}}}}return M},clean:function(G,L,J){L=L||document;if(typeof L.createElement==="undefined"){L=L.ownerDocument||L[0]&&L[0].ownerDocument||document}if(!J&&G.length===1&&typeof G[0]==="string"){var I=/^<(\w+)\s*\/?>$/.exec(G[0]);if(I){return[L.createElement(I[1])]}}var H=[],F=[],M=L.createElement("div");o.each(G,function(Q,T){if(typeof T==="number"){T+=""}if(!T){return}if(typeof T==="string"){T=T.replace(/(<(\w+)[^>]*?)\/>/g,function(V,W,U){return U.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?V:W+"></"+U+">"});var P=T.replace(/^\s+/,"").substring(0,10).toLowerCase();var R=!P.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!P.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||P.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!P.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!P.indexOf("<td")||!P.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!P.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];M.innerHTML=R[1]+T+R[2];while(R[0]--){M=M.lastChild}if(!o.support.tbody){var S=/<tbody/i.test(T),O=!P.indexOf("<table")&&!S?M.firstChild&&M.firstChild.childNodes:R[1]=="<table>"&&!S?M.childNodes:[];for(var N=O.length-1;N>=0;--N){if(o.nodeName(O[N],"tbody")&&!O[N].childNodes.length){O[N].parentNode.removeChild(O[N])}}}if(!o.support.leadingWhitespace&&/^\s/.test(T)){M.insertBefore(L.createTextNode(T.match(/^\s*/)[0]),M.firstChild)}T=o.makeArray(M.childNodes)}if(T.nodeType){H.push(T)}else{H=o.merge(H,T)}});if(J){for(var K=0;H[K];K++){if(o.nodeName(H[K],"script")&&(!H[K].type||H[K].type.toLowerCase()==="text/javascript")){F.push(H[K].parentNode?H[K].parentNode.removeChild(H[K]):H[K])}else{if(H[K].nodeType===1){H.splice.apply(H,[K+1,0].concat(o.makeArray(H[K].getElementsByTagName("script"))))}J.appendChild(H[K])}}return F}return H},attr:function(K,H,L){if(!K||K.nodeType==3||K.nodeType==8){return g}var I=!o.isXMLDoc(K),M=L!==g;H=I&&o.props[H]||H;if(K.tagName){var G=/href|src|style/.test(H);if(H=="selected"&&K.parentNode){K.parentNode.selectedIndex}if(H in K&&I&&!G){if(M){if(H=="type"&&o.nodeName(K,"input")&&K.parentNode){throw"type property can't be changed"}K[H]=L}if(o.nodeName(K,"form")&&K.getAttributeNode(H)){return K.getAttributeNode(H).nodeValue}if(H=="tabIndex"){var J=K.getAttributeNode("tabIndex");return J&&J.specified?J.value:K.nodeName.match(/(button|input|object|select|textarea)/i)?0:K.nodeName.match(/^(a|area)$/i)&&K.href?0:g}return K[H]}if(!o.support.style&&I&&H=="style"){return o.attr(K.style,"cssText",L)}if(M){K.setAttribute(H,""+L)}var F=!o.support.hrefNormalized&&I&&G?K.getAttribute(H,2):K.getAttribute(H);return F===null?g:F}if(!o.support.opacity&&H=="opacity"){if(M){K.zoom=1;K.filter=(K.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(L)+""=="NaN"?"":"alpha(opacity="+L*100+")")}return K.filter&&K.filter.indexOf("opacity=")>=0?(parseFloat(K.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}H=H.replace(/-([a-z])/ig,function(N,O){return O.toUpperCase()});if(M){K[H]=L}return K[H]},trim:function(F){return(F||"").replace(/^\s+|\s+$/g,"")},makeArray:function(H){var F=[];if(H!=null){var G=H.length;if(G==null||typeof H==="string"||o.isFunction(H)||H.setInterval){F[0]=H}else{while(G){F[--G]=H[G]}}}return F},inArray:function(H,I){for(var F=0,G=I.length;F<G;F++){if(I[F]===H){return F}}return -1},merge:function(I,F){var G=0,H,J=I.length;if(!o.support.getAll){while((H=F[G++])!=null){if(H.nodeType!=8){I[J++]=H}}}else{while((H=F[G++])!=null){I[J++]=H}}return I},unique:function(L){var G=[],F={};try{for(var H=0,I=L.length;H<I;H++){var K=o.data(L[H]);if(!F[K]){F[K]=true;G.push(L[H])}}}catch(J){G=L}return G},grep:function(G,K,F){var H=[];for(var I=0,J=G.length;I<J;I++){if(!F!=!K(G[I],I)){H.push(G[I])}}return H},map:function(F,K){var G=[];for(var H=0,I=F.length;H<I;H++){var J=K(F[H],H);if(J!=null){G[G.length]=J}}return G.concat.apply([],G)}});var D=navigator.userAgent.toLowerCase();o.browser={version:(D.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(D),opera:/opera/.test(D),msie:/msie/.test(D)&&!/opera/.test(D),mozilla:/mozilla/.test(D)&&!/(compatible|webkit)/.test(D)};o.each({parent:function(F){return F.parentNode},parents:function(F){return o.dir(F,"parentNode")},next:function(F){return o.nth(F,2,"nextSibling")},prev:function(F){return o.nth(F,2,"previousSibling")},nextAll:function(F){return o.dir(F,"nextSibling")},prevAll:function(F){return o.dir(F,"previousSibling")},siblings:function(F){return o.sibling(F.parentNode.firstChild,F)},children:function(F){return o.sibling(F.firstChild)},contents:function(F){return o.nodeName(F,"iframe")?F.contentDocument||F.contentWindow.document:o.makeArray(F.childNodes)}},function(F,G){o.fn[F]=function(H){var I=o.map(this,G);if(H&&typeof H=="string"){I=o.multiFilter(H,I)}return this.pushStack(o.unique(I),F,H)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,G){o.fn[F]=function(H){var K=[],M=o(H);for(var L=0,I=M.length;L<I;L++){var J=(L>0?this.clone(true):this).get();o.fn[G].apply(o(M[L]),J);K=K.concat(J)}return this.pushStack(K,F,H)}});o.each({removeAttr:function(F){o.attr(this,F,"");if(this.nodeType==1){this.removeAttribute(F)}},addClass:function(F){o.className.add(this,F)},removeClass:function(F){o.className.remove(this,F)},toggleClass:function(G,F){if(typeof F!=="boolean"){F=!o.className.has(this,G)}o.className[F?"add":"remove"](this,G)},remove:function(F){if(!F||o.filter(F,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(F,G){o.fn[F]=function(){return this.each(G,arguments)}});function j(F,G){return F[0]&&parseInt(o.curCSS(F[0],G,true),10)||0}var h="jQuery"+e(),w=0,B={};o.extend({cache:{},data:function(G,F,H){G=G==l?B:G;var I=G[h];if(!I){I=G[h]=++w}if(F&&!o.cache[I]){o.cache[I]={}}if(H!==g){o.cache[I][F]=H}return F?o.cache[I][F]:I},removeData:function(G,F){G=G==l?B:G;var I=G[h];if(F){if(o.cache[I]){delete o.cache[I][F];F="";for(F in o.cache[I]){break}if(!F){o.removeData(G)}}}else{try{delete G[h]}catch(H){if(G.removeAttribute){G.removeAttribute(h)}}delete o.cache[I]}},queue:function(G,F,I){if(G){F=(F||"fx")+"queue";var H=o.data(G,F);if(!H||o.isArray(I)){H=o.data(G,F,o.makeArray(I))}else{if(I){H.push(I)}}}return H},dequeue:function(I,H){var F=o.queue(I,H),G=F.shift();if(!H||H==="fx"){G=F[0]}if(G!==g){G.call(I)}}});o.fn.extend({data:function(F,H){var I=F.split(".");I[1]=I[1]?"."+I[1]:"";if(H===g){var G=this.triggerHandler("getData"+I[1]+"!",[I[0]]);if(G===g&&this.length){G=o.data(this[0],F)}return G===g&&I[1]?this.data(I[0]):G}else{return this.trigger("setData"+I[1]+"!",[I[0],H]).each(function(){o.data(this,F,H)})}},removeData:function(F){return this.each(function(){o.removeData(this,F)})},queue:function(F,G){if(typeof F!=="string"){G=F;F="fx"}if(G===g){return o.queue(this[0],F)}return this.each(function(){var H=o.queue(this,F,G);if(F=="fx"&&H.length==1){H[0].call(this)}})},dequeue:function(F){return this.each(function(){o.dequeue(this,F)})}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var S=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,M=0,I=Object.prototype.toString;var G=function(Z,V,ac,ad){ac=ac||[];V=V||document;if(V.nodeType!==1&&V.nodeType!==9){return[]}if(!Z||typeof Z!=="string"){return ac}var aa=[],X,ag,aj,U,ae,W,Y=true;S.lastIndex=0;while((X=S.exec(Z))!==null){aa.push(X[1]);if(X[2]){W=RegExp.rightContext;break}}if(aa.length>1&&N.exec(Z)){if(aa.length===2&&J.relative[aa[0]]){ag=K(aa[0]+aa[1],V)}else{ag=J.relative[aa[0]]?[V]:G(aa.shift(),V);while(aa.length){Z=aa.shift();if(J.relative[Z]){Z+=aa.shift()}ag=K(Z,ag)}}}else{var af=ad?{expr:aa.pop(),set:F(ad)}:G.find(aa.pop(),aa.length===1&&V.parentNode?V.parentNode:V,R(V));ag=G.filter(af.expr,af.set);if(aa.length>0){aj=F(ag)}else{Y=false}while(aa.length){var ai=aa.pop(),ah=ai;if(!J.relative[ai]){ai=""}else{ah=aa.pop()}if(ah==null){ah=V}J.relative[ai](aj,ah,R(V))}}if(!aj){aj=ag}if(!aj){throw"Syntax error, unrecognized expression: "+(ai||Z)}if(I.call(aj)==="[object Array]"){if(!Y){ac.push.apply(ac,aj)}else{if(V.nodeType===1){for(var ab=0;aj[ab]!=null;ab++){if(aj[ab]&&(aj[ab]===true||aj[ab].nodeType===1&&L(V,aj[ab]))){ac.push(ag[ab])}}}else{for(var ab=0;aj[ab]!=null;ab++){if(aj[ab]&&aj[ab].nodeType===1){ac.push(ag[ab])}}}}}else{F(aj,ac)}if(W){G(W,V,ac,ad);if(H){hasDuplicate=false;ac.sort(H);if(hasDuplicate){for(var ab=1;ab<ac.length;ab++){if(ac[ab]===ac[ab-1]){ac.splice(ab--,1)}}}}}return ac};G.matches=function(U,V){return G(U,null,null,V)};G.find=function(ab,U,ac){var aa,Y;if(!ab){return[]}for(var X=0,W=J.order.length;X<W;X++){var Z=J.order[X],Y;if((Y=J.match[Z].exec(ab))){var V=RegExp.leftContext;if(V.substr(V.length-1)!=="\\"){Y[1]=(Y[1]||"").replace(/\\/g,"");aa=J.find[Z](Y,U,ac);if(aa!=null){ab=ab.replace(J.match[Z],"");break}}}}if(!aa){aa=U.getElementsByTagName("*")}return{set:aa,expr:ab}};G.filter=function(ae,ad,ah,X){var W=ae,aj=[],ab=ad,Z,U,aa=ad&&ad[0]&&R(ad[0]);while(ae&&ad.length){for(var ac in J.filter){if((Z=J.match[ac].exec(ae))!=null){var V=J.filter[ac],ai,ag;U=false;if(ab==aj){aj=[]}if(J.preFilter[ac]){Z=J.preFilter[ac](Z,ab,ah,aj,X,aa);if(!Z){U=ai=true}else{if(Z===true){continue}}}if(Z){for(var Y=0;(ag=ab[Y])!=null;Y++){if(ag){ai=V(ag,Z,Y,ab);var af=X^!!ai;if(ah&&ai!=null){if(af){U=true}else{ab[Y]=false}}else{if(af){aj.push(ag);U=true}}}}}if(ai!==g){if(!ah){ab=aj}ae=ae.replace(J.match[ac],"");if(!U){return[]}break}}}if(ae==W){if(U==null){throw"Syntax error, unrecognized expression: "+ae}else{break}}W=ae}return ab};var J=G.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(U){return U.getAttribute("href")}},relative:{"+":function(ab,U,aa){var Y=typeof U==="string",ac=Y&&!/\W/.test(U),Z=Y&&!ac;if(ac&&!aa){U=U.toUpperCase()}for(var X=0,W=ab.length,V;X<W;X++){if((V=ab[X])){while((V=V.previousSibling)&&V.nodeType!==1){}ab[X]=Z||V&&V.nodeName===U?V||false:V===U}}if(Z){G.filter(U,ab,true)}},">":function(aa,V,ab){var Y=typeof V==="string";if(Y&&!/\W/.test(V)){V=ab?V:V.toUpperCase();for(var W=0,U=aa.length;W<U;W++){var Z=aa[W];if(Z){var X=Z.parentNode;aa[W]=X.nodeName===V?X:false}}}else{for(var W=0,U=aa.length;W<U;W++){var Z=aa[W];if(Z){aa[W]=Y?Z.parentNode:Z.parentNode===V}}if(Y){G.filter(V,aa,true)}}},"":function(X,V,Z){var W=M++,U=T;if(!V.match(/\W/)){var Y=V=Z?V:V.toUpperCase();U=Q}U("parentNode",V,W,X,Y,Z)},"~":function(X,V,Z){var W=M++,U=T;if(typeof V==="string"&&!V.match(/\W/)){var Y=V=Z?V:V.toUpperCase();U=Q}U("previousSibling",V,W,X,Y,Z)}},find:{ID:function(V,W,X){if(typeof W.getElementById!=="undefined"&&!X){var U=W.getElementById(V[1]);return U?[U]:[]}},NAME:function(W,Z,aa){if(typeof Z.getElementsByName!=="undefined"){var V=[],Y=Z.getElementsByName(W[1]);for(var X=0,U=Y.length;X<U;X++){if(Y[X].getAttribute("name")===W[1]){V.push(Y[X])}}return V.length===0?null:V}},TAG:function(U,V){return V.getElementsByTagName(U[1])}},preFilter:{CLASS:function(X,V,W,U,aa,ab){X=" "+X[1].replace(/\\/g,"")+" ";if(ab){return X}for(var Y=0,Z;(Z=V[Y])!=null;Y++){if(Z){if(aa^(Z.className&&(" "+Z.className+" ").indexOf(X)>=0)){if(!W){U.push(Z)}}else{if(W){V[Y]=false}}}}return false},ID:function(U){return U[1].replace(/\\/g,"")},TAG:function(V,U){for(var W=0;U[W]===false;W++){}return U[W]&&R(U[W])?V[1]:V[1].toUpperCase()},CHILD:function(U){if(U[1]=="nth"){var V=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(U[2]=="even"&&"2n"||U[2]=="odd"&&"2n+1"||!/\D/.test(U[2])&&"0n+"+U[2]||U[2]);U[2]=(V[1]+(V[2]||1))-0;U[3]=V[3]-0}U[0]=M++;return U},ATTR:function(Y,V,W,U,Z,aa){var X=Y[1].replace(/\\/g,"");if(!aa&&J.attrMap[X]){Y[1]=J.attrMap[X]}if(Y[2]==="~="){Y[4]=" "+Y[4]+" "}return Y},PSEUDO:function(Y,V,W,U,Z){if(Y[1]==="not"){if(Y[3].match(S).length>1||/^\w/.test(Y[3])){Y[3]=G(Y[3],null,null,V)}else{var X=G.filter(Y[3],V,W,true^Z);if(!W){U.push.apply(U,X)}return false}}else{if(J.match.POS.test(Y[0])||J.match.CHILD.test(Y[0])){return true}}return Y},POS:function(U){U.unshift(true);return U}},filters:{enabled:function(U){return U.disabled===false&&U.type!=="hidden"},disabled:function(U){return U.disabled===true},checked:function(U){return U.checked===true},selected:function(U){U.parentNode.selectedIndex;return U.selected===true},parent:function(U){return !!U.firstChild},empty:function(U){return !U.firstChild},has:function(W,V,U){return !!G(U[3],W).length},header:function(U){return/h\d/i.test(U.nodeName)},text:function(U){return"text"===U.type},radio:function(U){return"radio"===U.type},checkbox:function(U){return"checkbox"===U.type},file:function(U){return"file"===U.type},password:function(U){return"password"===U.type},submit:function(U){return"submit"===U.type},image:function(U){return"image"===U.type},reset:function(U){return"reset"===U.type},button:function(U){return"button"===U.type||U.nodeName.toUpperCase()==="BUTTON"},input:function(U){return/input|select|textarea|button/i.test(U.nodeName)}},setFilters:{first:function(V,U){return U===0},last:function(W,V,U,X){return V===X.length-1},even:function(V,U){return U%2===0},odd:function(V,U){return U%2===1},lt:function(W,V,U){return V<U[3]-0},gt:function(W,V,U){return V>U[3]-0},nth:function(W,V,U){return U[3]-0==V},eq:function(W,V,U){return U[3]-0==V}},filter:{PSEUDO:function(aa,W,X,ab){var V=W[1],Y=J.filters[V];if(Y){return Y(aa,X,W,ab)}else{if(V==="contains"){return(aa.textContent||aa.innerText||"").indexOf(W[3])>=0}else{if(V==="not"){var Z=W[3];for(var X=0,U=Z.length;X<U;X++){if(Z[X]===aa){return false}}return true}}}},CHILD:function(U,X){var aa=X[1],V=U;switch(aa){case"only":case"first":while(V=V.previousSibling){if(V.nodeType===1){return false}}if(aa=="first"){return true}V=U;case"last":while(V=V.nextSibling){if(V.nodeType===1){return false}}return true;case"nth":var W=X[2],ad=X[3];if(W==1&&ad==0){return true}var Z=X[0],ac=U.parentNode;if(ac&&(ac.sizcache!==Z||!U.nodeIndex)){var Y=0;for(V=ac.firstChild;V;V=V.nextSibling){if(V.nodeType===1){V.nodeIndex=++Y}}ac.sizcache=Z}var ab=U.nodeIndex-ad;if(W==0){return ab==0}else{return(ab%W==0&&ab/W>=0)}}},ID:function(V,U){return V.nodeType===1&&V.getAttribute("id")===U},TAG:function(V,U){return(U==="*"&&V.nodeType===1)||V.nodeName===U},CLASS:function(V,U){return(" "+(V.className||V.getAttribute("class"))+" ").indexOf(U)>-1},ATTR:function(Z,X){var W=X[1],U=J.attrHandle[W]?J.attrHandle[W](Z):Z[W]!=null?Z[W]:Z.getAttribute(W),aa=U+"",Y=X[2],V=X[4];return U==null?Y==="!=":Y==="="?aa===V:Y==="*="?aa.indexOf(V)>=0:Y==="~="?(" "+aa+" ").indexOf(V)>=0:!V?aa&&U!==false:Y==="!="?aa!=V:Y==="^="?aa.indexOf(V)===0:Y==="$="?aa.substr(aa.length-V.length)===V:Y==="|="?aa===V||aa.substr(0,V.length+1)===V+"-":false},POS:function(Y,V,W,Z){var U=V[2],X=J.setFilters[U];if(X){return X(Y,W,V,Z)}}}};var N=J.match.POS;for(var P in J.match){J.match[P]=RegExp(J.match[P].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var F=function(V,U){V=Array.prototype.slice.call(V);if(U){U.push.apply(U,V);return U}return V};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(O){F=function(Y,X){var V=X||[];if(I.call(Y)==="[object Array]"){Array.prototype.push.apply(V,Y)}else{if(typeof Y.length==="number"){for(var W=0,U=Y.length;W<U;W++){V.push(Y[W])}}else{for(var W=0;Y[W];W++){V.push(Y[W])}}}return V}}var H;if(document.documentElement.compareDocumentPosition){H=function(V,U){var W=V.compareDocumentPosition(U)&4?-1:V===U?0:1;if(W===0){hasDuplicate=true}return W}}else{if("sourceIndex" in document.documentElement){H=function(V,U){var W=V.sourceIndex-U.sourceIndex;if(W===0){hasDuplicate=true}return W}}else{if(document.createRange){H=function(X,V){var W=X.ownerDocument.createRange(),U=V.ownerDocument.createRange();W.selectNode(X);W.collapse(true);U.selectNode(V);U.collapse(true);var Y=W.compareBoundaryPoints(Range.START_TO_END,U);if(Y===0){hasDuplicate=true}return Y}}}}(function(){var V=document.createElement("form"),W="script"+(new Date).getTime();V.innerHTML="<input name='"+W+"'/>";var U=document.documentElement;U.insertBefore(V,U.firstChild);if(!!document.getElementById(W)){J.find.ID=function(Y,Z,aa){if(typeof Z.getElementById!=="undefined"&&!aa){var X=Z.getElementById(Y[1]);return X?X.id===Y[1]||typeof X.getAttributeNode!=="undefined"&&X.getAttributeNode("id").nodeValue===Y[1]?[X]:g:[]}};J.filter.ID=function(Z,X){var Y=typeof Z.getAttributeNode!=="undefined"&&Z.getAttributeNode("id");return Z.nodeType===1&&Y&&Y.nodeValue===X}}U.removeChild(V)})();(function(){var U=document.createElement("div");U.appendChild(document.createComment(""));if(U.getElementsByTagName("*").length>0){J.find.TAG=function(V,Z){var Y=Z.getElementsByTagName(V[1]);if(V[1]==="*"){var X=[];for(var W=0;Y[W];W++){if(Y[W].nodeType===1){X.push(Y[W])}}Y=X}return Y}}U.innerHTML="<a href='#'></a>";if(U.firstChild&&typeof U.firstChild.getAttribute!=="undefined"&&U.firstChild.getAttribute("href")!=="#"){J.attrHandle.href=function(V){return V.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var U=G,V=document.createElement("div");V.innerHTML="<p class='TEST'></p>";if(V.querySelectorAll&&V.querySelectorAll(".TEST").length===0){return}G=function(Z,Y,W,X){Y=Y||document;if(!X&&Y.nodeType===9&&!R(Y)){try{return F(Y.querySelectorAll(Z),W)}catch(aa){}}return U(Z,Y,W,X)};G.find=U.find;G.filter=U.filter;G.selectors=U.selectors;G.matches=U.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var U=document.createElement("div");U.innerHTML="<div class='test e'></div><div class='test'></div>";if(U.getElementsByClassName("e").length===0){return}U.lastChild.className="e";if(U.getElementsByClassName("e").length===1){return}J.order.splice(1,0,"CLASS");J.find.CLASS=function(V,W,X){if(typeof W.getElementsByClassName!=="undefined"&&!X){return W.getElementsByClassName(V[1])}}})()}function Q(V,aa,Z,ae,ab,ad){var ac=V=="previousSibling"&&!ad;for(var X=0,W=ae.length;X<W;X++){var U=ae[X];if(U){if(ac&&U.nodeType===1){U.sizcache=Z;U.sizset=X}U=U[V];var Y=false;while(U){if(U.sizcache===Z){Y=ae[U.sizset];break}if(U.nodeType===1&&!ad){U.sizcache=Z;U.sizset=X}if(U.nodeName===aa){Y=U;break}U=U[V]}ae[X]=Y}}}function T(V,aa,Z,ae,ab,ad){var ac=V=="previousSibling"&&!ad;for(var X=0,W=ae.length;X<W;X++){var U=ae[X];if(U){if(ac&&U.nodeType===1){U.sizcache=Z;U.sizset=X}U=U[V];var Y=false;while(U){if(U.sizcache===Z){Y=ae[U.sizset];break}if(U.nodeType===1){if(!ad){U.sizcache=Z;U.sizset=X}if(typeof aa!=="string"){if(U===aa){Y=true;break}}else{if(G.filter(aa,[U]).length>0){Y=U;break}}}U=U[V]}ae[X]=Y}}}var L=document.compareDocumentPosition?function(V,U){return V.compareDocumentPosition(U)&16}:function(V,U){return V!==U&&(V.contains?V.contains(U):true)};var R=function(U){return U.nodeType===9&&U.documentElement.nodeName!=="HTML"||!!U.ownerDocument&&R(U.ownerDocument)};var K=function(U,ab){var X=[],Y="",Z,W=ab.nodeType?[ab]:ab;while((Z=J.match.PSEUDO.exec(U))){Y+=Z[0];U=U.replace(J.match.PSEUDO,"")}U=J.relative[U]?U+"*":U;for(var aa=0,V=W.length;aa<V;aa++){G(U,W[aa],X)}return G.filter(Y,X)};o.find=G;o.filter=G.filter;o.expr=G.selectors;o.expr[":"]=o.expr.filters;G.selectors.filters.hidden=function(U){return U.offsetWidth===0||U.offsetHeight===0};G.selectors.filters.visible=function(U){return U.offsetWidth>0||U.offsetHeight>0};G.selectors.filters.animated=function(U){return o.grep(o.timers,function(V){return U===V.elem}).length};o.multiFilter=function(W,U,V){if(V){W=":not("+W+")"}return G.matches(W,U)};o.dir=function(W,V){var U=[],X=W[V];while(X&&X!=document){if(X.nodeType==1){U.push(X)}X=X[V]}return U};o.nth=function(Y,U,W,X){U=U||1;var V=0;for(;Y;Y=Y[W]){if(Y.nodeType==1&&++V==U){break}}return Y};o.sibling=function(W,V){var U=[];for(;W;W=W.nextSibling){if(W.nodeType==1&&W!=V){U.push(W)}}return U};return;l.Sizzle=G})();o.event={add:function(J,G,I,L){if(J.nodeType==3||J.nodeType==8){return}if(J.setInterval&&J!=l){J=l}if(!I.guid){I.guid=this.guid++}if(L!==g){var H=I;I=this.proxy(H);I.data=L}var F=o.data(J,"events")||o.data(J,"events",{}),K=o.data(J,"handle")||o.data(J,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});K.elem=J;o.each(G.split(/\s+/),function(N,O){var P=O.split(".");O=P.shift();I.type=P.slice().sort().join(".");var M=F[O];if(o.event.specialAll[O]){o.event.specialAll[O].setup.call(J,L,P)}if(!M){M=F[O]={};if(!o.event.special[O]||o.event.special[O].setup.call(J,L,P)===false){if(J.addEventListener){J.addEventListener(O,K,false)}else{if(J.attachEvent){J.attachEvent("on"+O,K)}}}}M[I.guid]=I;o.event.global[O]=true});J=null},guid:1,global:{},remove:function(L,I,K){if(L.nodeType==3||L.nodeType==8){return}var H=o.data(L,"events"),G,F;if(H){if(I===g||(typeof I==="string"&&I.charAt(0)==".")){for(var J in H){this.remove(L,J+(I||""))}}else{if(I.type){K=I.handler;I=I.type}o.each(I.split(/\s+/),function(N,P){var R=P.split(".");P=R.shift();var O=RegExp("(^|\\.)"+R.slice().sort().join(".*\\.")+"(\\.|$)");if(H[P]){if(K){delete H[P][K.guid]}else{for(var Q in H[P]){if(O.test(H[P][Q].type)){delete H[P][Q]}}}if(o.event.specialAll[P]){o.event.specialAll[P].teardown.call(L,R)}for(G in H[P]){break}if(!G){if(!o.event.special[P]||o.event.special[P].teardown.call(L,R)===false){if(L.removeEventListener){L.removeEventListener(P,o.data(L,"handle"),false)}else{if(L.detachEvent){L.detachEvent("on"+P,o.data(L,"handle"))}}}G=null;delete H[P]}}})}for(G in H){break}if(!G){var M=o.data(L,"handle");if(M){M.elem=null}o.removeData(L,"events");o.removeData(L,"handle")}}},trigger:function(J,L,I,F){var H=J.type||J;if(!F){J=typeof J==="object"?J[h]?J:o.extend(o.Event(H),J):o.Event(H);if(H.indexOf("!")>=0){J.type=H=H.slice(0,-1);J.exclusive=true}if(!I){J.stopPropagation();if(this.global[H]){o.each(o.cache,function(){if(this.events&&this.events[H]){o.event.trigger(J,L,this.handle.elem)}})}}if(!I||I.nodeType==3||I.nodeType==8){return g}J.result=g;J.target=I;L=o.makeArray(L);L.unshift(J)}J.currentTarget=I;var K=o.data(I,"handle");if(K){K.apply(I,L)}if((!I[H]||(o.nodeName(I,"a")&&H=="click"))&&I["on"+H]&&I["on"+H].apply(I,L)===false){J.result=false}if(!F&&I[H]&&!J.isDefaultPrevented()&&!(o.nodeName(I,"a")&&H=="click")){this.triggered=true;try{I[H]()}catch(M){}}this.triggered=false;if(!J.isPropagationStopped()){var G=I.parentNode||I.ownerDocument;if(G){o.event.trigger(J,L,G,true)}}},handle:function(L){var K,F;L=arguments[0]=o.event.fix(L||l.event);L.currentTarget=this;var M=L.type.split(".");L.type=M.shift();K=!M.length&&!L.exclusive;var J=RegExp("(^|\\.)"+M.slice().sort().join(".*\\.")+"(\\.|$)");F=(o.data(this,"events")||{})[L.type];for(var H in F){var I=F[H];if(K||J.test(I.type)){L.handler=I;L.data=I.data;var G=I.apply(this,arguments);if(G!==g){L.result=G;if(G===false){L.preventDefault();L.stopPropagation()}}if(L.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(I){if(I[h]){return I}var G=I;I=o.Event(G);for(var H=this.props.length,K;H;){K=this.props[--H];I[K]=G[K]}if(!I.target){I.target=I.srcElement||document}if(I.target.nodeType==3){I.target=I.target.parentNode}if(!I.relatedTarget&&I.fromElement){I.relatedTarget=I.fromElement==I.target?I.toElement:I.fromElement}if(I.pageX==null&&I.clientX!=null){var J=document.documentElement,F=document.body;I.pageX=I.clientX+(J&&J.scrollLeft||F&&F.scrollLeft||0)-(J.clientLeft||0);I.pageY=I.clientY+(J&&J.scrollTop||F&&F.scrollTop||0)-(J.clientTop||0)}if(!I.which&&((I.charCode||I.charCode===0)?I.charCode:I.keyCode)){I.which=I.charCode||I.keyCode}if(!I.metaKey&&I.ctrlKey){I.metaKey=I.ctrlKey}if(!I.which&&I.button){I.which=(I.button&1?1:(I.button&2?3:(I.button&4?2:0)))}return I},proxy:function(G,F){F=F||function(){return G.apply(this,arguments)};F.guid=G.guid=G.guid||F.guid||this.guid++;return F},special:{ready:{setup:C,teardown:function(){}}},specialAll:{live:{setup:function(F,G){o.event.add(this,G[0],c)},teardown:function(H){if(H.length){var F=0,G=RegExp("(^|\\.)"+H[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(G.test(this.type)){F++}});if(F<1){o.event.remove(this,H[0],c)}}}}}};o.Event=function(F){if(!this.preventDefault){return new o.Event(F)}if(F&&F.type){this.originalEvent=F;this.type=F.type}else{this.type=F}this.timeStamp=e();this[h]=true};function k(){return false}function v(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=v;var F=this.originalEvent;if(!F){return}if(F.preventDefault){F.preventDefault()}F.returnValue=false},stopPropagation:function(){this.isPropagationStopped=v;var F=this.originalEvent;if(!F){return}if(F.stopPropagation){F.stopPropagation()}F.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=v;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(G){var F=G.relatedTarget;while(F&&F!=this){try{F=F.parentNode}catch(H){F=this}}if(F!=this){G.type=G.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(G,F){o.event.special[F]={setup:function(){o.event.add(this,G,a,F)},teardown:function(){o.event.remove(this,G,a)}}});o.fn.extend({bind:function(G,H,F){return G=="unload"?this.one(G,H,F):this.each(function(){o.event.add(this,G,F||H,F&&H)})},one:function(H,I,G){var F=o.event.proxy(G||I,function(J){o(this).unbind(J,F);return(G||I).apply(this,arguments)});return this.each(function(){o.event.add(this,H,F,G&&I)})},unbind:function(G,F){return this.each(function(){o.event.remove(this,G,F)})},trigger:function(F,G){return this.each(function(){o.event.trigger(F,G,this)})},triggerHandler:function(F,H){if(this[0]){var G=o.Event(F);G.preventDefault();G.stopPropagation();o.event.trigger(G,H,this[0]);return G.result}},toggle:function(H){var F=arguments,G=1;while(G<F.length){o.event.proxy(H,F[G++])}return this.click(o.event.proxy(H,function(I){this.lastToggle=(this.lastToggle||0)%G;I.preventDefault();return F[this.lastToggle++].apply(this,arguments)||false}))},hover:function(F,G){return this.mouseenter(F).mouseleave(G)},ready:function(F){C();if(o.isReady){F.call(document,o)}else{o.readyList.push(F)}return this},live:function(H,G){var F=o.event.proxy(G);F.guid+=this.selector+H;o(document).bind(i(H,this.selector),this.selector,F);return this},die:function(G,F){o(document).unbind(i(G,this.selector),F?{guid:F.guid+this.selector+G}:null);return this}});function c(I){var F=RegExp("(^|\\.)"+I.type+"(\\.|$)"),H=true,G=[];o.each(o.data(this,"events").live||[],function(J,K){if(F.test(K.type)){var L=o(I.target).closest(K.data)[0];if(L){G.push({elem:L,fn:K})}}});G.sort(function(K,J){return o.data(K.elem,"closest")-o.data(J.elem,"closest")});o.each(G,function(){if(this.fn.call(this.elem,I,this.fn.data)===false){return(H=false)}});return H}function i(G,F){return["live",G,F.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var y=false;function C(){if(y){return}y=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(F){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(G,F){o.fn[F]=function(H){return H?this.bind(F,H):this.trigger(F)}});o(l).bind("unload",function(){for(var F in o.cache){if(F!=1&&o.cache[F].handle){o.event.remove(o.cache[F].handle.elem)}}});(function(){o.support={};var G=document.documentElement,H=document.createElement("script"),L=document.createElement("div"),K="script"+(new Date).getTime();L.style.display="none";L.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var I=L.getElementsByTagName("*"),F=L.getElementsByTagName("a")[0];if(!I||!I.length||!F){return}o.support={leadingWhitespace:L.firstChild.nodeType==3,tbody:!L.getElementsByTagName("tbody").length,objectAll:!!L.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!L.getElementsByTagName("link").length,style:/red/.test(F.getAttribute("style")),hrefNormalized:F.getAttribute("href")==="/a",opacity:F.style.opacity==="0.5",cssFloat:!!F.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};H.type="text/javascript";try{H.appendChild(document.createTextNode("window."+K+"=1;"))}catch(J){}G.insertBefore(H,G.firstChild);if(l[K]){o.support.scriptEval=true;delete l[K]}G.removeChild(H);if(L.attachEvent&&L.fireEvent){L.attachEvent("onclick",function(){o.support.noCloneEvent=false;L.detachEvent("onclick",arguments.callee)});L.cloneNode(true).fireEvent("onclick")}o(function(){var M=document.createElement("div");M.style.width=M.style.paddingLeft="1px";document.body.appendChild(M);o.boxModel=o.support.boxModel=M.offsetWidth===2;document.body.removeChild(M).style.display="none"})})();var x=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":x,cssFloat:x,styleFloat:x,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(H,K,L){if(typeof H!=="string"){return this._load(H)}var J=H.indexOf(" ");if(J>=0){var F=H.slice(J,H.length);H=H.slice(0,J)}var I="GET";if(K){if(o.isFunction(K)){L=K;K=null}else{if(typeof K==="object"){K=o.param(K);I="POST"}}}var G=this;o.ajax({url:H,type:I,dataType:"html",data:K,complete:function(N,M){if(M=="success"||M=="notmodified"){G.html(F?o("<div/>").append(N.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(F):N.responseText)}if(L){G.each(L,[N.responseText,M,N])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(F,G){var H=o(this).val();return H==null?null:o.isArray(H)?o.map(H,function(J,I){return{name:G.name,value:J}}):{name:G.name,value:H}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(F,G){o.fn[G]=function(H){return this.bind(G,H)}});var r=e();o.extend({get:function(F,H,I,G){if(o.isFunction(H)){I=H;H=null}return o.ajax({type:"GET",url:F,data:H,success:I,dataType:G})},getScript:function(F,G){return o.get(F,null,G,"script")},getJSON:function(F,G,H){return o.get(F,G,H,"json")},post:function(F,H,I,G){if(o.isFunction(H)){I=H;H={}}return o.ajax({type:"POST",url:F,data:H,success:I,dataType:G})},ajaxSetup:function(F){o.extend(o.ajaxSettings,F)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(N){N=o.extend(true,N,o.extend(true,{},o.ajaxSettings,N));var X,G=/=\?(&|$)/g,S,W,H=N.type.toUpperCase();if(N.data&&N.processData&&typeof N.data!=="string"){N.data=o.param(N.data)}if(N.dataType=="jsonp"){if(H=="GET"){if(!N.url.match(G)){N.url+=(N.url.match(/\?/)?"&":"?")+(N.jsonp||"callback")+"=?"}}else{if(!N.data||!N.data.match(G)){N.data=(N.data?N.data+"&":"")+(N.jsonp||"callback")+"=?"}}N.dataType="json"}if(N.dataType=="json"&&(N.data&&N.data.match(G)||N.url.match(G))){X="jsonp"+r++;if(N.data){N.data=(N.data+"").replace(G,"="+X+"$1")}N.url=N.url.replace(G,"="+X+"$1");N.dataType="script";l[X]=function(Y){W=Y;J();M();l[X]=g;try{delete l[X]}catch(Z){}if(I){I.removeChild(U)}}}if(N.dataType=="script"&&N.cache==null){N.cache=false}if(N.cache===false&&H=="GET"){var F=e();var V=N.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+F+"$2");N.url=V+((V==N.url)?(N.url.match(/\?/)?"&":"?")+"_="+F:"")}if(N.data&&H=="GET"){N.url+=(N.url.match(/\?/)?"&":"?")+N.data;N.data=null}if(N.global&&!o.active++){o.event.trigger("ajaxStart")}var R=/^(\w+:)?\/\/([^\/?#]+)/.exec(N.url);if(N.dataType=="script"&&H=="GET"&&R&&(R[1]&&R[1]!=location.protocol||R[2]!=location.host)){var I=document.getElementsByTagName("head")[0];var U=document.createElement("script");U.src=N.url;if(N.scriptCharset){U.charset=N.scriptCharset}if(!X){var P=false;U.onload=U.onreadystatechange=function(){if(!P&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){P=true;J();M();U.onload=U.onreadystatechange=null;I.removeChild(U)}}}I.appendChild(U);return g}var L=false;var K=N.xhr();if(N.username){K.open(H,N.url,N.async,N.username,N.password)}else{K.open(H,N.url,N.async)}try{if(N.data){K.setRequestHeader("Content-Type",N.contentType)}if(N.ifModified){K.setRequestHeader("If-Modified-Since",o.lastModified[N.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}K.setRequestHeader("X-Requested-With","XMLHttpRequest");K.setRequestHeader("Accept",N.dataType&&N.accepts[N.dataType]?N.accepts[N.dataType]+", */*":N.accepts._default)}catch(T){}if(N.beforeSend&&N.beforeSend(K,N)===false){if(N.global&&!--o.active){o.event.trigger("ajaxStop")}K.abort();return false}if(N.global){o.event.trigger("ajaxSend",[K,N])}var O=function(Y){if(K.readyState==0){if(Q){clearInterval(Q);Q=null;if(N.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!L&&K&&(K.readyState==4||Y=="timeout")){L=true;if(Q){clearInterval(Q);Q=null}S=Y=="timeout"?"timeout":!o.httpSuccess(K)?"error":N.ifModified&&o.httpNotModified(K,N.url)?"notmodified":"success";if(S=="success"){try{W=o.httpData(K,N.dataType,N)}catch(aa){S="parsererror"}}if(S=="success"){var Z;try{Z=K.getResponseHeader("Last-Modified")}catch(aa){}if(N.ifModified&&Z){o.lastModified[N.url]=Z}if(!X){J()}}else{o.handleError(N,K,S)}M();if(Y){K.abort()}if(N.async){K=null}}}};if(N.async){var Q=setInterval(O,13);if(N.timeout>0){setTimeout(function(){if(K&&!L){O("timeout")}},N.timeout)}}try{K.send(N.data)}catch(T){o.handleError(N,K,null,T)}if(!N.async){O()}function J(){if(N.success){N.success(W,S)}if(N.global){o.event.trigger("ajaxSuccess",[K,N])}}function M(){if(N.complete){N.complete(K,S)}if(N.global){o.event.trigger("ajaxComplete",[K,N])}if(N.global&&!--o.active){o.event.trigger("ajaxStop")}}return K},handleError:function(G,I,F,H){if(G.error){G.error(I,F,H)}if(G.global){o.event.trigger("ajaxError",[I,G,H])}},active:0,httpSuccess:function(G){try{return !G.status&&location.protocol=="file:"||(G.status>=200&&G.status<300)||G.status==304||G.status==1223}catch(F){}return false},httpNotModified:function(H,F){try{var I=H.getResponseHeader("Last-Modified");return H.status==304||I==o.lastModified[F]}catch(G){}return false},httpData:function(K,I,H){var G=K.getResponseHeader("content-type"),F=I=="xml"||!I&&G&&G.indexOf("xml")>=0,J=F?K.responseXML:K.responseText;if(F&&J.documentElement.tagName=="parsererror"){throw"parsererror"}if(H&&H.dataFilter){J=H.dataFilter(J,I)}if(typeof J==="string"){if(I=="script"){o.globalEval(J)}if(I=="json"){J=l["eval"]("("+J+")")}}return J},param:function(F){var H=[];function I(J,K){H[H.length]=encodeURIComponent(J)+"="+encodeURIComponent(K)}if(o.isArray(F)||F.jquery){o.each(F,function(){I(this.name,this.value)})}else{for(var G in F){if(o.isArray(F[G])){o.each(F[G],function(){I(G,this)})}else{I(G,o.isFunction(F[G])?F[G]():F[G])}}}return H.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function u(G,F){var H={};o.each(d.concat.apply([],d.slice(0,F)),function(){H[this]=G});return H}o.fn.extend({show:function(K,M){if(K){return this.animate(u("show",3),K,M)}else{for(var I=0,G=this.length;I<G;I++){var F=o.data(this[I],"olddisplay");this[I].style.display=F||"";if(o.css(this[I],"display")==="none"){var H=this[I].tagName,L;if(m[H]){L=m[H]}else{var J=o("<"+H+" />").appendTo("body");L=J.css("display");if(L==="none"){L="block"}J.remove();m[H]=L}o.data(this[I],"olddisplay",L)}}for(var I=0,G=this.length;I<G;I++){this[I].style.display=o.data(this[I],"olddisplay")||""}return this}},hide:function(I,J){if(I){return this.animate(u("hide",3),I,J)}else{for(var H=0,G=this.length;H<G;H++){var F=o.data(this[H],"olddisplay");if(!F&&F!=="none"){o.data(this[H],"olddisplay",o.css(this[H],"display"))}}for(var H=0,G=this.length;H<G;H++){this[H].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(H,G){var F=typeof H==="boolean";return o.isFunction(H)&&o.isFunction(G)?this._toggle.apply(this,arguments):H==null||F?this.each(function(){var I=F?H:o(this).is(":hidden");o(this)[I?"show":"hide"]()}):this.animate(u("toggle",3),H,G)},fadeTo:function(F,H,G){return this.animate({opacity:H},F,G)},animate:function(J,G,I,H){var F=o.speed(G,I,H);return this[F.queue===false?"each":"queue"](function(){var L=o.extend({},F),N,M=this.nodeType==1&&o(this).is(":hidden"),K=this;for(N in J){if(J[N]=="hide"&&M||J[N]=="show"&&!M){return L.complete.call(this)}if((N=="height"||N=="width")&&this.style){L.display=o.css(this,"display");L.overflow=this.style.overflow}}if(L.overflow!=null){this.style.overflow="hidden"}L.curAnim=o.extend({},J);o.each(J,function(P,T){var S=new o.fx(K,L,P);if(/toggle|show|hide/.test(T)){S[T=="toggle"?M?"show":"hide":T](J)}else{var R=T.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),U=S.cur(true)||0;if(R){var O=parseFloat(R[2]),Q=R[3]||"px";if(Q!="px"){K.style[P]=(O||1)+Q;U=((O||1)/S.cur(true))*U;K.style[P]=U+Q}if(R[1]){O=((R[1]=="-="?-1:1)*O)+U}S.custom(U,O,Q)}else{S.custom(U,T,"")}}});return true})},stop:function(G,F){var H=o.timers;if(G){this.queue([])}this.each(function(){for(var I=H.length-1;I>=0;I--){if(H[I].elem==this){if(F){H[I](true)}H.splice(I,1)}}});if(!F){this.dequeue()}return this}});o.each({slideDown:u("show",1),slideUp:u("hide",1),slideToggle:u("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,G){o.fn[F]=function(H,I){return this.animate(G,H,I)}});o.extend({speed:function(H,I,G){var F=typeof H==="object"?H:{complete:G||!G&&I||o.isFunction(H)&&H,duration:H,easing:G&&I||I&&!o.isFunction(I)&&I};F.duration=o.fx.off?0:typeof F.duration==="number"?F.duration:o.fx.speeds[F.duration]||o.fx.speeds._default;F.old=F.complete;F.complete=function(){if(F.queue!==false){o(this).dequeue()}if(o.isFunction(F.old)){F.old.call(this)}};return F},easing:{linear:function(H,I,F,G){return F+G*H},swing:function(H,I,F,G){return((-Math.cos(H*Math.PI)/2)+0.5)*G+F}},timers:[],fx:function(G,F,H){this.options=F;this.elem=G;this.prop=H;if(!F.orig){F.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(G){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var F=parseFloat(o.css(this.elem,this.prop,G));return F&&F>-10000?F:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(J,I,H){this.startTime=e();this.start=J;this.end=I;this.unit=H||this.unit||"px";this.now=this.start;this.pos=this.state=0;var F=this;function G(K){return F.step(K)}G.elem=this.elem;if(G()&&o.timers.push(G)&&!n){n=setInterval(function(){var L=o.timers;for(var K=0;K<L.length;K++){if(!L[K]()){L.splice(K--,1)}}if(!L.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(I){var H=e();if(I||H>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var F=true;for(var G in this.options.curAnim){if(this.options.curAnim[G]!==true){F=false}}if(F){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var J in this.options.curAnim){o.attr(this.elem.style,J,this.options.orig[J])}}this.options.complete.call(this.elem)}return false}else{var K=H-this.startTime;this.state=K/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,K,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(F){o.attr(F.elem.style,"opacity",F.now)},_default:function(F){if(F.elem.style&&F.elem.style[F.prop]!=null){F.elem.style[F.prop]=F.now+F.unit}else{F.elem[F.prop]=F.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var H=this[0].getBoundingClientRect(),K=this[0].ownerDocument,G=K.body,F=K.documentElement,M=F.clientTop||G.clientTop||0,L=F.clientLeft||G.clientLeft||0,J=H.top+(self.pageYOffset||o.boxModel&&F.scrollTop||G.scrollTop)-M,I=H.left+(self.pageXOffset||o.boxModel&&F.scrollLeft||G.scrollLeft)-L;return{top:J,left:I}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var K=this[0],H=K.offsetParent,G=K,P=K.ownerDocument,N,I=P.documentElement,L=P.body,M=P.defaultView,F=M.getComputedStyle(K,null),O=K.offsetTop,J=K.offsetLeft;while((K=K.parentNode)&&K!==L&&K!==I){N=M.getComputedStyle(K,null);O-=K.scrollTop,J-=K.scrollLeft;if(K===H){O+=K.offsetTop,J+=K.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(K.tagName))){O+=parseInt(N.borderTopWidth,10)||0,J+=parseInt(N.borderLeftWidth,10)||0}G=H,H=K.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&N.overflow!=="visible"){O+=parseInt(N.borderTopWidth,10)||0,J+=parseInt(N.borderLeftWidth,10)||0}F=N}if(F.position==="relative"||F.position==="static"){O+=L.offsetTop,J+=L.offsetLeft}if(F.position==="fixed"){O+=Math.max(I.scrollTop,L.scrollTop),J+=Math.max(I.scrollLeft,L.scrollLeft)}return{top:O,left:J}}}o.offset={initialize:function(){if(this.initialized){return}var M=document.body,G=document.createElement("div"),I,H,O,J,N,F,K=M.style.marginTop,L='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';N={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(F in N){G.style[F]=N[F]}G.innerHTML=L;M.insertBefore(G,M.firstChild);I=G.firstChild,H=I.firstChild,J=I.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(H.offsetTop!==5);this.doesAddBorderForTableAndCells=(J.offsetTop===5);I.style.overflow="hidden",I.style.position="relative";this.subtractsBorderForOverflowNotVisible=(H.offsetTop===-5);M.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(M.offsetTop===0);M.style.marginTop=K;M.removeChild(G);this.initialized=true},bodyOffset:function(F){o.offset.initialized||o.offset.initialize();var H=F.offsetTop,G=F.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){H+=parseInt(o.curCSS(F,"marginTop",true),10)||0,G+=parseInt(o.curCSS(F,"marginLeft",true),10)||0}return{top:H,left:G}}};o.fn.extend({position:function(){var J=0,I=0,G;if(this[0]){var H=this.offsetParent(),K=this.offset(),F=/^body|html$/i.test(H[0].tagName)?{top:0,left:0}:H.offset();K.top-=j(this,"marginTop");K.left-=j(this,"marginLeft");F.top+=j(H,"borderTopWidth");F.left+=j(H,"borderLeftWidth");G={top:K.top-F.top,left:K.left-F.left}}return G},offsetParent:function(){var F=this[0].offsetParent||document.body;while(F&&(!/^body|html$/i.test(F.tagName)&&o.css(F,"position")=="static")){F=F.offsetParent}return o(F)}});o.each(["Left","Top"],function(G,F){var H="scroll"+F;o.fn[H]=function(I){if(!this[0]){return null}return I!==g?this.each(function(){this==l||this==document?l.scrollTo(!G?I:o(l).scrollLeft(),G?I:o(l).scrollTop()):this[H]=I}):this[0]==l||this[0]==document?self[G?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[H]||document.body[H]:this[0][H]}});o.each(["Height","Width"],function(J,H){var F=J?"Left":"Top",I=J?"Right":"Bottom",G=H.toLowerCase();o.fn["inner"+H]=function(){return this[0]?o.css(this[0],G,false,"padding"):null};o.fn["outer"+H]=function(L){return this[0]?o.css(this[0],G,false,L?"margin":"border"):null};var K=H.toLowerCase();o.fn[K]=function(L){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+H]||document.body["client"+H]:this[0]==document?Math.max(document.documentElement["client"+H],document.body["scroll"+H],document.documentElement["scroll"+H],document.body["offset"+H],document.documentElement["offset"+H]):L===g?(this.length?o.css(this[0],K):null):this.css(K,typeof L==="string"?L:L+"px")}})})();jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});(function(d){var c={},b=new Image,a=["png","jpg","jpeg","gif"],f,e=1;d.fn.fancybox=function(g){c.settings=d.extend({},d.fn.fancybox.defaults,g);d.fn.fancybox.init();return this.each(function(){var h=d(this);var i=d.metadata?d.extend({},c.settings,h.metadata()):c.settings;h.unbind("click").click(function(){d.fn.fancybox.start(this,i);return false})})};d.fn.fancybox.start=function(k,m){if(c.animating){return false}if(m.overlayShow){d("#fancy_wrap").prepend('<div id="fancy_overlay"></div>');d("#fancy_overlay").css({width:d(window).width(),height:d(document).height(),opacity:m.overlayOpacity});if(d.browser.msie){d("#fancy_wrap").prepend('<iframe src="/common/assets/js/blankpage.html" id="fancy_bigIframe" scrolling="no" frameborder="0"></iframe>');d("#fancy_bigIframe").css({width:d(window).width(),height:d(document).height(),opacity:0})}d("#fancy_overlay").click(d.fn.fancybox.close)}c.itemArray=[];c.itemNum=0;if(jQuery.isFunction(m.itemLoadCallback)){m.itemLoadCallback.apply(this,[c]);var n=d(k).children("img:first").length?d(k).children("img:first"):d(k);var j={width:n.width(),height:n.height(),pos:d.fn.fancybox.getPosition(n)};for(var h=0;h<c.itemArray.length;h++){c.itemArray[h].o=d.extend({},m,c.itemArray[h].o);if(m.zoomSpeedIn>0||m.zoomSpeedOut>0){c.itemArray[h].orig=j}}}else{if(!k.rel||k.rel==""){var l={url:k.href,title:k.title,o:m};if(m.zoomSpeedIn>0||m.zoomSpeedOut>0){var n=d(k).children("img:first").length?d(k).children("img:first"):d(k);l.orig={width:n.width(),height:n.height(),pos:d.fn.fancybox.getPosition(n)}}c.itemArray.push(l)}else{var g=d("a[@rel="+k.rel+"]").get();for(var h=0;h<g.length;h++){var j=d.metadata?d.extend({},m,d(g[h]).metadata()):m;var l={url:g[h].href,title:g[h].title,o:j};if(m.zoomSpeedIn>0||m.zoomSpeedOut>0){var n=d(g[h]).children("img:first").length?d(g[h]).children("img:first"):d(k);l.orig={width:n.width(),height:n.height(),pos:d.fn.fancybox.getPosition(n)}}if(g[h].href==k.href){c.itemNum=h}c.itemArray.push(l)}}}d.fn.fancybox.changeItem(c.itemNum)};d.fn.fancybox.changeItem=function(i){d.fn.fancybox.showLoading();c.itemNum=i;d("#fancy_nav").empty();d("#fancy_outer").stop();d("#fancy_title").hide();d(document).unbind("keydown");imgRegExp=a.join("|");imgRegExp=new RegExp("."+imgRegExp+"$","i");var g=c.itemArray[i].url;if(g.match(/#/)){var h=window.location.href.split("#")[0];h=g.replace(h,"");d.fn.fancybox.showItem('<div id="fancy_div">'+d(h).html()+"</div>");d("#fancy_loading").hide()}else{if(g.match(imgRegExp)){d(b).unbind("load").bind("load",function(){d("#fancy_loading").hide();c.itemArray[i].o.frameWidth=b.width;c.itemArray[i].o.frameHeight=b.height;d.fn.fancybox.showItem('<img id="fancy_img" src="'+b.src+'" />')}).attr("src",g+"?rand="+Math.floor(Math.random()*999999999))}else{d.fn.fancybox.showItem('<iframe scrolling="no" id="fancy_frame" onload="(function($){$.fn.fancybox.showIframe()})(jQuery);" name="fancy_iframe'+Math.round(Math.random()*1000)+'" frameborder="0" hspace="0" src="'+g+'"></iframe>')}}};d.fn.fancybox.showIframe=function(){d("#fancy_loading").hide();d("#fancy_frame").show()};d.fn.fancybox.showItem=function(k){d.fn.fancybox.preloadNeighborImages();var h=d.fn.fancybox.getViewport();var j=[c.itemArray[c.itemNum].o.frameWidth,c.itemArray[c.itemNum].o.frameHeight];var g=h[2]+Math.round((h[0]-j[0])/2)-20;var i=h[3]+Math.round((h[1]-j[1])/2)-40;if(i<0){i=0}var l={left:g,top:i,width:j[0]+"px",height:j[1]+"px"};if(c.active){d("#fancy_content").fadeOut("normal",function(){d("#fancy_content").empty();d("#fancy_outer").animate(l,"normal",function(){d("#fancy_content").append(d(k)).fadeIn("normal");d.fn.fancybox.updateDetails()})})}else{c.active=true;d("#fancy_content").empty();if(d("#fancy_content").is(":animated")){console.info("animated!")}if(c.itemArray[c.itemNum].o.zoomSpeedIn>0){c.animating=true;l.opacity="show";d("#fancy_outer").css({top:c.itemArray[c.itemNum].orig.pos.top-18,left:c.itemArray[c.itemNum].orig.pos.left-18,height:c.itemArray[c.itemNum].orig.height,width:c.itemArray[c.itemNum].orig.width});if(c.itemArray[c.itemNum].o.arrowShow){d("#bigarrow_left").css({top:l.top+180,left:l.left-85,display:"block"});d("#bigarrow_right").css({top:l.top+180,left:(l.left+62+j[0])+"px",display:"block"})}d("#fancy_content").append(d(k)).show();d("#fancy_outer").animate(l,c.itemArray[c.itemNum].o.zoomSpeedIn,function(){c.animating=false;d.fn.fancybox.updateDetails()})}else{d("#fancy_content").append(d(k)).show();d("#fancy_outer").css(l).show();d.fn.fancybox.updateDetails()}}};d.fn.fancybox.updateDetails=function(){d("#fancy_bg,#fancy_close_lightbox").show();if(c.itemArray[c.itemNum].title!==undefined&&c.itemArray[c.itemNum].title!==""){d("#fancy_title div").html(c.itemArray[c.itemNum].title);d("#fancy_title").show()}if(c.itemArray[c.itemNum].o.hideOnContentClick){d("#fancy_content").click(d.fn.fancybox.close)}else{d("#fancy_content").unbind("click")}if(c.itemNum!=0){d("#fancy_nav").append('<a id="fancy_left" href="javascript:;"></a>');d("#fancy_left").click(function(){d.fn.fancybox.changeItem(c.itemNum-1);return false})}if(c.itemNum!=(c.itemArray.length-1)){d("#fancy_nav").append('<a id="fancy_right" href="javascript:;"></a>');d("#fancy_right").click(function(){d.fn.fancybox.changeItem(c.itemNum+1);return false})}d(document).keydown(function(g){if(g.keyCode==27){d.fn.fancybox.close()}else{if(g.keyCode==37&&c.itemNum!=0){d.fn.fancybox.changeItem(c.itemNum-1)}else{if(g.keyCode==39&&c.itemNum!=(c.itemArray.length-1)){d.fn.fancybox.changeItem(c.itemNum+1)}}}})};d.fn.fancybox.preloadNeighborImages=function(){if((c.itemArray.length-1)>c.itemNum){preloadNextImage=new Image();preloadNextImage.src=c.itemArray[c.itemNum+1].url}if(c.itemNum>0){preloadPrevImage=new Image();preloadPrevImage.src=c.itemArray[c.itemNum-1].url}};d.fn.fancybox.close=function(){if(c.animating){return false}d(b).unbind("load");d(document).unbind("keydown");d("#fancy_loading,#fancy_title,#fancy_close_lightbox,#fancy_bg").hide();d("#fancy_nav").empty();c.active=false;if(c.itemArray[c.itemNum].o.zoomSpeedOut>0){var g={top:c.itemArray[c.itemNum].orig.pos.top-18,left:c.itemArray[c.itemNum].orig.pos.left-18,height:c.itemArray[c.itemNum].orig.height,width:c.itemArray[c.itemNum].orig.width,opacity:"hide"};c.animating=true;d("#fancy_outer").animate(g,c.itemArray[c.itemNum].o.zoomSpeedOut,function(){d("#fancy_content").hide().empty();d("#fancy_overlay,#fancy_bigIframe").remove();c.animating=false})}else{d("#fancy_outer").hide();d("#fancy_content").hide().empty();d("#fancy_overlay,#fancy_bigIframe").fadeOut("fast").remove()}jQuery("#bigarrow_left, #bigarrow_right").css("display","none")};d.fn.fancybox.showLoading=function(){clearInterval(f);var g=d.fn.fancybox.getViewport();d("#fancy_loading").css({left:((g[0]-40)/2+g[2]),top:((g[1]-40)/2+g[3])}).show();d("#fancy_loading").bind("click",d.fn.fancybox.close);f=setInterval(d.fn.fancybox.animateLoading,66)};d.fn.fancybox.animateLoading=function(g,h){if(!d("#fancy_loading").is(":visible")){clearInterval(f);return}d("#fancy_loading > div").css("top",(e*-40)+"px");e=(e+1)%12};d.fn.fancybox.getPosition=function(g){var h=g.offset();h.top+=d.fn.fancybox.num(g,"paddingTop");h.top+=d.fn.fancybox.num(g,"borderTopWidth");h.left+=d.fn.fancybox.num(g,"paddingLeft");h.left+=d.fn.fancybox.num(g,"borderLeftWidth");return h};d.fn.fancybox.num=function(g,h){return parseInt(d.curCSS(g.jquery?g[0]:g,h,true))||0};d.fn.fancybox.getPageScroll=function(){var h,g;if(self.pageYOffset){g=self.pageYOffset;h=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){g=document.documentElement.scrollTop;h=document.documentElement.scrollLeft}else{if(document.body){g=document.body.scrollTop;h=document.body.scrollLeft}}}return[h,g]};d.fn.fancybox.getViewport=function(){var g=d.fn.fancybox.getPageScroll();return[d(window).width(),d(window).height(),g[0],g[1]]};d.fn.fancybox.getMaxSize=function(k,j,h,g){var i=Math.min(Math.min(k,h)/h,Math.min(j,g)/g);return[Math.round(i*h),Math.round(i*g)]};d.fn.fancybox.defaults={arrowShow:false,hideOnContentClick:false,zoomSpeedIn:200,zoomSpeedOut:200,frameWidth:600,frameHeight:400,overlayShow:false,overlayOpacity:0.4,itemLoadCallback:null}})(jQuery);jQuery.namespace=function(){var b=arguments,g=null,e,c,f;for(e=0;e<b.length;e=e+1){f=b[e].split(".");g=window;for(c=0;c<f.length;c=c+1){g[f[c]]=g[f[c]]||{};g=g[f[c]]}}return g};$.fn.extend({radioClass:function(a){return $(this).addClass(a).siblings().removeClass(a).end()}});(function(a){a.extend({tmpl:function(d,e){var b,c;d=d||"";e=e||{};b=/#\{([^{}]*)}/g;c=function(g,f){return typeof e[f]==="string"||typeof e[f]==="number"?e[f]:g};return d.replace(b,c)}})})(jQuery);(function($){$.toJSON=function(o){if(typeof(JSON)=="object"&&JSON.stringify){return JSON.stringify(o)}var type=typeof(o);if(o===null){return"null"}if(type=="number"||type=="boolean"){return o+""}if(type=="string"){return $.quoteString(o)}if(type=="object"){if(typeof o.toJSON=="function"){return $.toJSON(o.toJSON())}if(o.constructor===Date){var month=o.getUTCMonth()+1;if(month<10){month="0"+month}var day=o.getUTCDate();if(day<10){day="0"+day}var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10){hours="0"+hours}var minutes=o.getUTCMinutes();if(minutes<10){minutes="0"+minutes}var seconds=o.getUTCSeconds();if(seconds<10){seconds="0"+seconds}var milli=o.getUTCMilliseconds();if(milli<100){milli="0"+milli}if(milli<10){milli="0"+milli}return'"'+year+"-"+month+"-"+day+"T"+hours+":"+minutes+":"+seconds+"."+milli+'Z"'}if(o.constructor===Array){var ret=[];for(var i=0;i<o.length;i++){ret.push($.toJSON(o[i])||"null")}return"["+ret.join(",")+"]"}var pairs=[];for(var k in o){var name;var type=typeof k;if(type=="number"){name='"'+k+'"'}else{if(type=="string"){name=$.quoteString(k)}else{continue}}if(typeof o[k]=="function"){continue}var val=$.toJSON(o[k]);pairs.push(name+":"+val)}return"{"+pairs.join(", ")+"}"}};$.evalJSON=function(src){if(typeof(JSON)=="object"&&JSON.parse){return JSON.parse(src)}return eval("("+src+")")};$.secureEvalJSON=function(src){if(typeof(JSON)=="object"&&JSON.parse){return JSON.parse(src)}var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,"@");filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]");filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,"");if(/^[\],:{}\s]*$/.test(filtered)){return eval("("+src+")")}else{throw new SyntaxError("Error parsing JSON, source is not valid.")}};$.quoteString=function(string){if(string.match(_escapeable)){return'"'+string.replace(_escapeable,function(a){var c=_meta[a];if(typeof c==="string"){return c}c=a.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"'}return'"'+string+'"'};var _escapeable=/["\\\x00-\x1f\x7f-\x9f]/g;var _meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}})(jQuery);jQuery.namespace("haihaisoft");(function(a){haihaisoft.App=function(){var b={seo:function(){var c=a("#seo-content-container");a("#seo-expand-trigger-container a",c).bind("click",function(){if(c.hasClass("expanded")){c.removeClass("expanded");this.innerHTML=haihaisoft.App.cfg("txt.read-more")}else{c.addClass("expanded");this.innerHTML=haihaisoft.App.cfg("txt.collapse")}});a("#seo-header-wrap a").bind("click",function(){var e=a(this);e.parents("li:eq(0)").addClass("active").siblings().removeClass("active");var d=a("#seo-content-container ."+e.attr("salesforce:ref"));d.addClass("active").siblings().removeClass("active");a(".full",d).size()>0||a(".remainder_of_long_version",d).size()>0?a("#seo-content-container").removeClass("non-exp"):a("#seo-content-container").addClass("non-exp")});a("#seo-container").insertBefore("#footer").removeClass("staged")},header:function(){var c=a("#cse-search-box");a("#searchtext",c).one("click",function(){this.value="";c.addClass("interested")})},standard:function(){a("a.target-lb").each(function(c,d){var e=a(d);e.bind("click",function(){if(s){s.trackModules(this)}haihaisoft.App.launchModal(e);return false})})}};return{init:function(c){var c=c||{},d=this;a.each(c.modules,function(e,f){d.wireModule(f)})},wireModule:function(d,c){if(!b[d]){this.err("hanlder not provided for module: "+d)}try{b[d](c||{})}catch(f){this.err("error wiring module: "+d+"; "+f.description)}},launchModal:function(h,e,k,l){var d=[800,600];var g=function(m){return m+(m.match("\\?")?"&":"?")+"display_type=lb"+(l?"&d="+l:"")};switch(typeof h){case"string":var c=g(h);var f=a('<a class="fake-lb-target" href="'+c+'"></a>').appendTo(a("body"));f.fancybox({overlayShow:true,overlayOpacity:0.8,frameWidth:e||d[0],frameHeight:k||d[1],arrowShow:false});f.click();break;case"object":if(!h.attr("sfdc:modal")){var c=g(h.attr("href"));h.attr("href",c);var j=h.attr("sfdc:dims");var i=j?j.split("x"):[];i=i.length==2?i:d;h.fancybox({overlayShow:true,overlayOpacity:0.8,frameWidth:e||i[0],frameHeight:k||i[1],arrowShow:false});h.attr("sfdc:modal","true")}h.click();break;default:this.err("Can not launch a modal window given target:"+h)}},chatAvailable:function(){if(typeof(vp)!=undefined&&!vp.isCustomer()){if(haihaisoft.App.config.chatOnLink){var c=jQuery(".smartbutton .label");if(c&&c.length>0){jQuery(".smartbutton").wrap('<a class="smartlink button" href="#" sfdc:href="" onclick="window.open(\''+haihaisoft.App.config.chatOnLink+"','custclient','width=500,height=320,scrollbars=0'); return false;\"></a>")}else{jQuery(".smartbutton").wrap('<a class="smartlink" href="#" sfdc:href="" onclick="window.open(\''+haihaisoft.App.config.chatOnLink+"','custclient','width=500,height=320,scrollbars=0'); return false;\"></a>")}jQuery("a.smartlink").attr("sfdc:href",haihaisoft.App.config.chatOnLink)}this._renderSmartButton(haihaisoft.App.config.chatOnStyle,haihaisoft.App.config.chatOnLabel)}else{this.chatNotAvailable()}},chatNotAvailable:function(){if(haihaisoft.App.config.chatOffLink){var c=jQuery(".smartbutton .label");if(c&&c.length>0){jQuery(".smartbutton").wrap('<a class="smartlink button" href="'+haihaisoft.App.config.chatOffLink+'"></a>')}else{jQuery(".smartbutton").wrap('<a class="smartlink" href="'+haihaisoft.App.config.chatOffLink+'"></a>')}}this._renderSmartButton(haihaisoft.App.config.chatOffStyle,haihaisoft.App.config.chatOffLabel)},_renderSmartButton:function(d,e){if(d!="hide"){jQuery(".smartbutton").removeClass("hide").addClass(d)}else{if(jQuery(".smartbutton").parent().get(0).tagName=="LI"){jQuery(".smartbutton").parent().addClass("hide")}}var c=jQuery(".smartbutton .label");if(c&&c.length>0){jQuery(".smartbutton .label").append(e)}else{jQuery(".smartbutton").empty().append(e)}},err:function(d,c){if(typeof(console)!="undefined"&&console.debug){console.debug(d)}},registerModule:function(d,c){b[d]=c},cfg:function(c){return this.config[c]||""},config:{modules:[]},addConfig:function(c){a.extend(this.config,c||{})}}}()})(jQuery);var _settings={"txt.read-more":"Read More","txt.collapse":"Collapse"};var Util={pageName:null,setPageName:function(a){a=a?a:"";var d=false;if(a.indexOf(":")>-1){d=true}else{if(document.location.pathname.indexOf("SignupServlet")>-1||document.location.pathname.indexOf("LeadCaptureServlet")>-1){d=true}else{if(typeof(haihaisoft.App)=="object"){try{var c=haihaisoft.App.cfg("tracking.ambiguous-urls");if(jQuery.isArray(c)){jQuery(c).each(function(){if(document.location.pathname.indexOf(this)>-1){d=true;return false}})}}catch(b){}}}}},redirect:function(a){var c=new CookieHandler();var b=document.referrer?document.referrer:"";c.setCookie("referrer",escape(b),60);top.location.href=a},isValidJson:function(jsonString){return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(jsonString.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+jsonString+")")},parseJSON:function(b){if(!b){return{}}try{return jQuery.evalJSON(b)}catch(a){return JSON.parse(b)}},toJSON:function(b){if(!b){return""}try{return jQuery.toJSON(b)}catch(a){return JSON.stringify(b)}},getJSONCookie:function(b){var a=Url.decode((new CookieHandler()).getCookie(b));if(!this.isValidJson(a)){return{}}return this.parseJSON(a)},setJSONCookie:function(c,d,a){var b=this.toJSON(c);(new CookieHandler()).setCookie(d,Url.encode(b),a)},convert15To18:function(h){if(h==null||h.length==18){return h}else{if(h.length!=15){return null}else{var e="";for(var d=0;d<3;d++){var a=0;for(var b=0;b<5;b++){var g=h.charAt(d*5+b);if(g>="A"&&g<="Z"){a+=1<<b}}if(a<=25){e+="ABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a)}else{e+="012345".charAt(a-26)}}return h+e}}},getParam:function(c,a){if(!a){a=window.location.href}else{if(a.indexOf("?")==-1){a="?"+a}}var b="[\\?&]+"+c+"=([^&#]*)";var e=new RegExp(b,"i");var d=e.exec(a);if(d==null){return""}else{return d[1]}},cleanUrlData:function(a){if(!a){return""}a=a.replace(/\+/g," ");a=a.replace(/[',"]/g,"");a=a.replace("\t","");a=a.replace("\n","");a=a.toLowerCase();return a},deDupe:function(c){if(!c||typeof(c)=="string"){return""}var a="",b=0;c.sort();while(b<c.length){if(c[b]==a){c.splice(b,1)}else{a=c[b];b++}}return c},getMeta:function(a){var b="";if(typeof(jQuery)!="undefined"){jQuery("meta").each(function(){if(jQuery(this).attr("name")==a){b=jQuery(this).attr("content");return false}})}return b},getHref:function(b){try{if(b.href&&!(b.href==document.location.href||b.href=="#"||b.href.indexOf(document.location.href+"#")>-1)){return b.href}else{if(!(b.getAttribute("sfdc:href")==""||b.getAttribute("sfdc:href")==null)){return b.getAttribute("sfdc:href")}else{return""}}}catch(a){return""}},getDriver:function(c){if(!c){return""}else{if(Util.getParam("d",c)&&Util.getParam("d",c).length!=15){c=c.replace("?d="+Util.getParam("d",c),"?");c=c.replace("&d="+Util.getParam("d",c),"&")}}if(!document.location.search){return c}var b=document.location.search.substring(1).split("&");if(c.indexOf("?")+1==c.length){c=c.substring(0,c.length-1)}for(var a=0;a<b.length;a++){var d=b[a].substring(0,b[a].indexOf("="));if(Util.getParam(d)){var g=d+"="+this.getParam(d,c),e=d+"="+this.getParam(d);if(this.getParam(d,c)){c=c.replace("?"+g,"?"+e);c=c.replace("&"+g,"&"+e)}else{c+=(c.indexOf("?")>-1?"&":"?")+e}}}return c}};var Url={encode:function(a){return escape(this._utf8_encode(a))},decode:function(a){return this._utf8_decode(unescape(a))},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e<b.length;e++){var d=b.charCodeAt(e);if(d<128){a+=String.fromCharCode(d)}else{if((d>127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a},_utf8_decode:function(a){var b="";var d=0;var e=c1=c2=0;while(d<a.length){e=a.charCodeAt(d);if(e<128){b+=String.fromCharCode(e);d++}else{if((e>191)&&(e<224)){c2=a.charCodeAt(d+1);b+=String.fromCharCode(((e&31)<<6)|(c2&63));d+=2}else{c2=a.charCodeAt(d+1);c3=a.charCodeAt(d+2);b+=String.fromCharCode(((e&15)<<12)|((c2&63)<<6)|(c3&63));d+=3}}}return b}};var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(c){var a="";var l,j,g,k,h,e,d;var b=0;c=Base64._utf8_encode(c);while(b<c.length){l=c.charCodeAt(b++);j=c.charCodeAt(b++);g=c.charCodeAt(b++);k=l>>2;h=((l&3)<<4)|(j>>4);e=((j&15)<<2)|(g>>6);d=g&63;if(isNaN(j)){e=d=64}else{if(isNaN(g)){d=64}}a=a+this._keyStr.charAt(k)+this._keyStr.charAt(h)+this._keyStr.charAt(e)+this._keyStr.charAt(d)}return a},decode:function(c){var a="";var l,j,g;var k,h,e,d;var b=0;c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(b<c.length){k=this._keyStr.indexOf(c.charAt(b++));h=this._keyStr.indexOf(c.charAt(b++));e=this._keyStr.indexOf(c.charAt(b++));d=this._keyStr.indexOf(c.charAt(b++));l=(k<<2)|(h>>4);j=((h&15)<<4)|(e>>2);g=((e&3)<<6)|d;a=a+String.fromCharCode(l);if(e!=64){a=a+String.fromCharCode(j)}if(d!=64){a=a+String.fromCharCode(g)}}a=Base64._utf8_decode(a);return a},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e<b.length;e++){var d=b.charCodeAt(e);if(d<128){a+=String.fromCharCode(d)}else{if((d>127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a},_utf8_decode:function(a){var b="";var d=0;var e=c1=c2=0;while(d<a.length){e=a.charCodeAt(d);if(e<128){b+=String.fromCharCode(e);d++}else{if((e>191)&&(e<224)){c2=a.charCodeAt(d+1);b+=String.fromCharCode(((e&31)<<6)|(c2&63));d+=2}else{c2=a.charCodeAt(d+1);c3=a.charCodeAt(d+2);b+=String.fromCharCode(((e&15)<<12)|((c2&63)<<6)|(c3&63));d+=3}}}return b}};var Server={network:"salesforce.com",account:"salesforcemarketing",stagingDomains:["internal.salesforce.com","soma.salesforce.com","sfdc.net","localhost"],getNetwork:function(){for(var a in this.stagingDomains){if(self.location.href.indexOf(this.stagingDomains[a])>0){this.network=this.stagingDomains[a];break}}return this.network},getAccount:function(){if(!this.isProduction()){this.account="salesforcedev2"}return this.account},isProduction:function(){return(this.getNetwork()=="salesforce.com")},isStage:function(){return !this.isProduction()}};var Targeter={xhr:null,vendor:"",keys:{bizo:"1df634db858d4db6bedd51db738acaf6",db:"09dd7a8bed725339af3ce985f86800730b42b5cf"},urls:{bizo:"api.bizographics.com/v1/profile.json?api_key=",db:"api.demandbase.com/api/v2/ip.json?token="},buildXhr:function(b){if(b==this.vendor&&this.xhr!=null){return this.xhr}else{this.xhr=null;this.vendor=b}if(window.XMLHttpRequest&&!(window.ActiveXObject)){try{this.xhr=new XMLHttpRequest()}catch(a){}}else{if(window.XDomainRequest){try{this.xhr=new XDomainRequest();this.method="xdomain"}catch(a){}}else{if(window.ActiveXObject){try{this.xhr=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){try{this.xhr=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}}}}return this.xhr},getUrl:function(b){var a=document.location.protocol+"//"+this.urls[b]+this.keys[b];if(b=="db"&&a.indexOf("https:")>-1){a=a.replace("api.","ssl.")}return a},getData:function(d){try{var c=this;var a=this.getUrl(d);this.xhr=this.buildXhr(d);if(this.method=="xdomain"){this.xhr.open("GET",a);this.xhr.onload=function(){return c.processData(d,this.responseText)}}else{this.xhr.open("GET",a,true);this.xhr.onreadystatechange=function(){if(this.readyState==4){if(this.status==200){return c.processData(d,this.responseText)}}}}this.xhr.send()}catch(b){}},processData:function(c,b){if(!Util.isValidJson(b)){return false}b=Util.parseJSON(b);try{if(c=="db"){vp.activityData.db={name:b.company_name.toLowerCase(),size:b.company_size.toLowerCase(),ind:(b.industry+(b.sub_industry?":"+b.sub_industry:"")).toLowerCase()}}else{if(c=="bizo"){vp.activityData.bizo={size:b.bizographics.company_size.name.toLowerCase(),ind:(b.bizographics.industry[0].name+(b.bizographics.industry[1]?":"+b.bizographics.industry[1].name:"")).toLowerCase()}}}vp.saveActivityData();return true}catch(a){return false}}};function CookieHandler(){this.setCookie=function(c,e,g){var a="";var d="";var b=new Date();b.setTime(b.getTime()+(-1*1000));d="; expires="+b.toGMTString();if(typeof(g)!="undefined"){b.setTime(b.getTime()+(g*1000));a="; expires="+b.toGMTString()}document.cookie=c+"="+e+d+"; path=/";document.cookie=c+"="+e+a+"; path=/; domain=.salesforce.com"};this.getCookie=function(b){b=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var e=a[d];while(e.charAt(0)==" "){e=e.substring(1,e.length)}if(e.indexOf(b)==0){return e.substring(b.length,e.length)}}return null};this.deleteCookie=function(a){this.setCookie(a,"",-1)}}function VisitorProfile(){this.version="w162.5.3";this.profileData=Util.getJSONCookie("appxud");this.activityData=Util.getJSONCookie("webact");var b=this.OrgInfo.getStatus();var c=this.OrgInfo.getType();var a=new Date();this.timestamp=a.getTime();if(!this.isTrialUser()){if(b=="TRIAL"){this.activityData.trial=this.timestamp}}if(!this.isCustomer()){if((b=="ACTIVE"||b=="DEMO"||b=="FREE")&&(c!="ME"&&c!="DE")){this.activityData.customer=this.timestamp}}if(!this.isDeveloper()){if(c=="DE"){this.activityData.developer=this.timestamp}}this.bizo=Targeter.getData("bizo");this.db=Targeter.getData("db");if(this.isNewSession()){this.activityData.l_vdays=this.isNewVisitor()?-1:Math.round((this.timestamp-this.lastVisit())/(1000*60*60*24));this.activityData.l_visit=this.getSession();this.activityData.session=this.timestamp;this.activityData.l_search="";this.activityData.l_dtype="";this.activityData.l_page="";if(this.lastVisit()>=this.firstVisit()){this.activityData.counter++;this.activityData.pv=0}}this.idle=this.sessionTimer();this.activityData.session=this.timestamp;if(this.isNewVisitor()){this.activityData.counter=0;if(this.firstVisit()==0){this.activityData.f_visit=this.timestamp;this.activityData.version=this.version}}this.saveActivityData()}VisitorProfile.prototype.getCookieData=function(a){this.cookiejar=new CookieHandler();return this.cookiejar.getCookie(a)};VisitorProfile.prototype.getBase64Cookie=function(a){return Base64.decode(unescape(this.getCookieData(a)))};VisitorProfile.prototype.saveActivityData=function(){Util.setJSONCookie(this.activityData,"webact",60*60*24*365);return true};VisitorProfile.prototype.getActivity=function(a){if(this.activityData!=null){return(this.activityData[a]!=null?this.activityData[a]:"")}else{return""}};VisitorProfile.prototype.getProfileLevel=function(){if(this.isCustomer()){this.profileObj.type="c";this.profileObj.level=0;if(this.isDeveloper()){this.profileObj.level=1}}else{this.profileObj.type="p";if(this.isNewVisitor()){if((!this.isTrialUser())&&(!this.lastDemoCenter())){this.profileObj.level=0}}else{if((!this.isTrialUser())&&(!this.lastDemoCenter())){this.profileObj.level=1}if((!this.isTrialUser())&&(this.lastDemoCenter())){this.profileObj.level=2}if((this.isTrialUser())&&(!this.lastDemoCenter())){this.profileObj.level=3}if((this.isTrialUser())&&(this.lastDemoCenter())){this.profileObj.level=4}if(this.isDeveloper()){this.profileObj.level=5}}}};VisitorProfile.prototype.getType=function(){if(this.isEmployee()){return"employee"}else{if(this.isCustomer()){return"customer"}else{if(this.isDeveloper()){return"developer"}else{if(this.getUserEmail()){return"known prospect"}else{return"anonymous"}}}}};VisitorProfile.prototype.getTypeDetailed=function(){return this.getType()+":"+(this.isTrialUser()?"has-trial":"no-trial")};VisitorProfile.prototype.isEmployee=function(){var b=this.getCookieData("login");var a=["@salesforce.com","@supportforce.com","@dreamforce.com"];if(b){for(var c in a){if(b.indexOf(a[c])>0){return true;break}}}return false};VisitorProfile.prototype.isCustomer=function(){return(this.getActivity("customer")>0)};VisitorProfile.prototype.isDeveloper=function(){return(this.getActivity("developer")>0)};VisitorProfile.prototype.isTrialUser=function(){return(this.getActivity("trial")>0)};VisitorProfile.prototype.hasCurrentTrial=function(){var a=1000*60*60*24;if(((this.timestamp-this.getActivity("trial"))/a)<=30){return true}else{if(((this.timestamp-this.getActivity("signup"))/a)<=30){return true}else{return false}}};VisitorProfile.prototype.getVisitNumber=function(){return(this.getActivity("counter")>0?this.getActivity("counter"):0)+1};VisitorProfile.prototype.isNewVisitor=function(){return(this.lastVisit()==0)};mboxStandardFetcher=function(){};mboxStandardFetcher.prototype.getType=function(){return"standard"};mboxStandardFetcher.prototype.fetch=function(a){a.setServerType(this.getType());document.write('<script src="'+a.buildUrl()+'" language="JavaScript"><\/script>')};mboxStandardFetcher.prototype.cancel=function(){};mboxAjaxFetcher=function(){};mboxAjaxFetcher.prototype.getType=function(){return"ajax"};mboxAjaxFetcher.prototype.fetch=function(a){a.setServerType(this.getType());var b=a.buildUrl();this.x=document.createElement("script");this.x.src=b;document.body.appendChild(this.x)};mboxAjaxFetcher.prototype.cancel=function(){};mboxMap=function(){this.y=new Object();this.z=new Array()};mboxMap.prototype.put=function(a,b){if(!this.y[a]){this.z[this.z.length]=a}this.y[a]=b};mboxMap.prototype.get=function(a){return this.y[a]};mboxMap.prototype.remove=function(a){this.y[a]=undefined};mboxMap.prototype.each=function(d){for(var b=0;b<this.z.length;b++){var a=this.z[b];var c=this.y[a];if(c){d(a,c)}}};mboxFactory=function(f,a,e){this.D=false;this.B=f;this.C=e;this.E=new mboxList();mboxFactories.put(e,this);this.F=typeof document.createElement("div").replaceChild!="undefined"&&(function(){return true})()&&typeof document.getElementById!="undefined"&&typeof(window.attachEvent||document.addEventListener||window.addEventListener)!="undefined"&&typeof encodeURIComponent!="undefined";this.G=this.F&&mboxGetPageParameter("mboxDisable")==null;var d=e=="default";this.I=new mboxCookieManager("mbox"+(d?"":("-"+e)),(function(){return mboxCookiePageDomain()})());this.G=this.G&&this.I.isEnabled()&&(this.I.getCookie("disable")==null);if(this.isAdmin()){this.enable()}this.J=mboxGenerateId();this.K=mboxScreenHeight();this.L=mboxScreenWidth();this.M=mboxBrowserWidth();this.N=mboxBrowserHeight();this.O=mboxScreenColorDepth();this.P=mboxBrowserTimeOffset();this.Q=new mboxSession(this.J,"mboxSession","session",31*60,this.I);this.R=new mboxPC("PC",1209600,this.I);this.S(this.w,d);this.T=new Date().getTime();this.U=this.T;var c=this;this.addOnLoad(function(){c.U=new Date().getTime()});if(this.F){this.addOnLoad(function(){c.D=true;c.getMboxes().each(function(b){b.setFetcher(new mboxAjaxFetcher());b.finalize()})});this.limitTraffic(100,10368000);if(this.G){this.X();this.Y=new mboxSignaler(function(b,g){return c.create(b,g)},this.I)}}};mboxFactory.prototype.isEnabled=function(){return this.G};mboxFactory.prototype.getDisableReason=function(){return this.I.getCookie("disable")};mboxFactory.prototype.isSupported=function(){return this.F};mboxFactory.prototype.disable=function(a,b){if(typeof a=="undefined"){a=60*60}if(typeof b=="undefined"){b="unspecified"}if(!this.isAdmin()){this.G=false;this.I.setCookie("disable",b,a)}};mboxFactory.prototype.enable=function(){this.G=true;this.I.deleteCookie("disable")};mboxFactory.prototype.isAdmin=function(){return document.location.href.indexOf("mboxEnv")!=-1};mboxFactory.prototype.limitTraffic=function(b,a){};mboxFactory.prototype.addOnLoad=function(a){if(window.addEventListener){window.addEventListener("load",a,false)}else{if(document.addEventListener){document.addEventListener("load",a,false)}else{if(document.attachEvent){window.attachEvent("onload",a)}}}};mboxFactory.prototype.getEllapsedTime=function(){return this.U-this.T};mboxFactory.prototype.getEllapsedTimeUntil=function(a){return a-this.T};mboxFactory.prototype.getMboxes=function(){return this.E};mboxFactory.prototype.get=function(b,a){return this.E.get(b).getById(a||0)};mboxFactory.prototype.update=function(a,b){if(!this.isEnabled()){return}if(this.E.get(a).length()==0){throw"Mbox "+a+" is not defined"}this.E.get(a).each(function(c){c.getUrlBuilder().addParameter("mboxPage",mboxGenerateId());c.load(b)})};mboxFactory.prototype.create=function(a,k,j){if(!this.isSupported()){return null}var i=this.w.clone();i.addParameter("mboxCount",this.E.length()+1);i.addParameters(k);var n=this.E.get(a).length();var d=this.C+"-"+a+"-"+n;var m;if(j){m=new mboxLocatorNode(j)}else{if(this.D){throw"The page has already been loaded, can't write marker"}m=new mboxLocatorDefault(d)}try{var f=this;var h="mboxImported-"+d;var b=new mbox(a,n,i,m,h);if(this.G){b.setFetcher(this.D?new mboxAjaxFetcher():new mboxStandardFetcher())}b.setOnError(function(c,e){b.setMessage(c);b.activate();if(!b.isActivated()){f.disable(60*60,c);window.location.reload(false)}});this.E.add(b)}catch(l){this.disable();throw'Failed creating mbox "'+a+'", the error was: '+l}var g=new Date();i.addParameter("mboxTime",g.getTime()-(g.getTimezoneOffset()*60000));return b};mboxFactory.prototype.getCookieManager=function(){return this.I};mboxFactory.prototype.getPageId=function(){return this.J};mboxFactory.prototype.getPCId=function(){return this.R};mboxFactory.prototype.getSessionId=function(){return this.Q};mboxFactory.prototype.getSignaler=function(){return this.Y};mboxFactory.prototype.getUrlBuilder=function(){return this.w};mboxFactory.prototype.S=function(b,a){b.addParameter("mboxHost",document.location.hostname).addParameter("mboxSession",this.Q.getId());if(!a){b.addParameter("mboxFactoryId",this.C)}if(this.R.getId()!=null){b.addParameter("mboxPC",this.R.getId())}b.addParameter("mboxPage",this.J);b.addParameter("screenHeight",this.K);b.addParameter("screenWidth",this.L);b.addParameter("browserWidth",this.M);b.addParameter("browserHeight",this.N);b.addParameter("browserTimeOffset",this.P);b.addParameter("colorDepth",this.O);b.setUrlProcessAction(function(d){d+="&mboxURL="+encodeURIComponent(document.location);var c=encodeURIComponent(document.referrer);if(d.length+c.length<2000){d+="&mboxReferrer="+c}d+="&mboxVersion="+mboxVersion;return d})};mboxFactory.prototype.mb=function(){return""};mboxFactory.prototype.X=function(){document.write("<style>.mboxDefault { visibility:hidden; }</style>")};mboxFactory.prototype.isDomLoaded=function(){return this.D};mboxSignaler=function(b,e){this.I=e;var c=e.getCookieNames("signal-");for(var d=0;d<c.length;d++){var f=c[d];var g=e.getCookie(f).split("&");var a=b(g[0],g);a.load();e.deleteCookie(f)}};mboxSignaler.prototype.signal=function(b,a){this.I.setCookie("signal-"+b,mboxShiftArray(arguments).join("&"),45*60)};mboxList=function(){this.E=new Array()};mboxList.prototype.add=function(a){if(a!=null){this.E[this.E.length]=a}};mboxList.prototype.get=function(c){var d=new mboxList();for(var b=0;b<this.E.length;b++){var a=this.E[b];if(a.getName()==c){d.add(a)}}return d};mboxList.prototype.getById=function(a){return this.E[a]};mboxList.prototype.length=function(){return this.E.length};mboxList.prototype.each=function(b){if(typeof b!="function"){throw"Action must be a function, was: "+typeof(b)}for(var a=0;a<this.E.length;a++){b(this.E[a])}};mboxLocatorDefault=function(a){this.g="mboxMarker-"+a;document.write('<div id="'+this.g+'" style="visibility:hidden;display:none">&nbsp;</div>')};mboxLocatorDefault.prototype.locate=function(){var a=document.getElementById(this.g);while(a!=null){if(a.nodeType==1){if(a.className=="mboxDefault"){return a}}a=a.previousSibling}return null};mboxLocatorDefault.prototype.force=function(){var a=document.createElement("div");a.className="mboxDefault";var b=document.getElementById(this.g);b.parentNode.insertBefore(a,b);return a};mboxLocatorNode=function(a){this.ub=a};mboxLocatorNode.prototype.locate=function(){return typeof this.ub=="string"?document.getElementById(this.ub):this.ub};mboxLocatorNode.prototype.force=function(){return null};mboxCreate=function(b){var a=mboxFactoryDefault.create(b,mboxShiftArray(arguments));if(a){a.load()}return a};mboxDefine=function(b,c){var a=mboxFactoryDefault.create(c,mboxShiftArray(mboxShiftArray(arguments)),b);return a};mboxUpdate=function(a){mboxFactoryDefault.update(a,mboxShiftArray(arguments))};mbox=function(d,a,b,c,e){this.Ab=null;this.Bb=0;this.gb=c;this.hb=e;this.Cb=null;this.Db=new mboxOfferContent();this.vb=null;this.w=b;this.message="";this.Eb=new Object();this.Fb=0;this.yb=a;this.g=d;this.Gb();b.addParameter("mbox",d).addParameter("mboxId",a);this.Hb=function(){};this.Ib=function(){};this.Jb=null};mbox.prototype.getId=function(){return this.yb};mbox.prototype.Gb=function(){if(this.g.length>250){throw"Mbox Name "+this.g+" exceeds max length of 250 characters."}else{if(this.g.match(/^\s+|\s+$/g)){throw"Mbox Name "+this.g+" has leading/trailing whitespace(s)."}}};mbox.prototype.getName=function(){return this.g};mbox.prototype.getParameters=function(){var d=this.w.getParameters();var b=new Array();for(var a=0;a<d.length;a++){if(d[a].name.indexOf("mbox")!=0){b[b.length]=d[a].name+"="+d[a].value}}return b};mbox.prototype.setOnLoad=function(a){this.Ib=a;return this};mbox.prototype.setMessage=function(a){this.message=a;return this};mbox.prototype.setOnError=function(a){this.Hb=a;return this};mbox.prototype.setFetcher=function(a){if(this.Cb){this.Cb.cancel()}this.Cb=a;return this};mbox.prototype.getFetcher=function(){return this.Cb};mbox.prototype.load=function(d){if(this.Cb==null){return this}this.setEventTime("load.start");this.cancelTimeout();this.Bb=0;var b=(d&&d.length>0)?this.w.clone().addParameters(d):this.w;this.Cb.fetch(b);var a=this;this.Lb=setTimeout(function(){a.Hb("browser timeout",a.Cb.getType())},15000);this.setEventTime("load.end");return this};mbox.prototype.loaded=function(){this.cancelTimeout();if(!this.activate()){var a=this;setTimeout(function(){a.loaded()},100)}};mbox.prototype.activate=function(){if(this.Bb){return this.Bb}this.setEventTime("activate"+ ++this.Fb+".start");if(this.show()){this.cancelTimeout();this.Bb=1}this.setEventTime("activate"+this.Fb+".end");return this.Bb};mbox.prototype.isActivated=function(){return this.Bb};mbox.prototype.setOffer=function(a){if(a&&a.show&&a.setOnLoad){this.Db=a}else{throw"Invalid offer"}return this};mbox.prototype.getOffer=function(){return this.Db};mbox.prototype.show=function(){this.setEventTime("show.start");var a=this.Db.show(this);this.setEventTime(a==1?"show.end.ok":"show.end");return a};mbox.prototype.showContent=function(a){if(a==null){return 0}if(this.vb==null||!this.vb.parentNode){this.vb=this.getDefaultDiv();if(this.vb==null){return 0}}if(this.vb!=a){this.Nb(this.vb);this.vb.parentNode.replaceChild(a,this.vb);this.vb=a}this.Ob(a);this.Ib();return 1};mbox.prototype.hide=function(){this.setEventTime("hide.start");var a=this.showContent(this.getDefaultDiv());this.setEventTime(a==1?"hide.end.ok":"hide.end.fail");return a};mbox.prototype.finalize=function(){this.setEventTime("finalize.start");this.cancelTimeout();if(this.getDefaultDiv()==null){if(this.gb.force()!=null){this.setMessage("No default content, an empty one has been added")}else{this.setMessage("Unable to locate mbox")}}if(!this.activate()){this.hide();this.setEventTime("finalize.end.hide")}this.setEventTime("finalize.end.ok")};mbox.prototype.cancelTimeout=function(){if(this.Lb){clearTimeout(this.Lb)}if(this.Cb!=null){this.Cb.cancel()}};mbox.prototype.getDiv=function(){return this.vb};mbox.prototype.getDefaultDiv=function(){if(this.Jb==null){this.Jb=this.gb.locate()}return this.Jb};mbox.prototype.setEventTime=function(a){this.Eb[a]=(new Date()).getTime()};mbox.prototype.getEventTimes=function(){return this.Eb};mbox.prototype.getImportName=function(){return this.hb};mbox.prototype.getURL=function(){return this.w.buildUrl()};mbox.prototype.getUrlBuilder=function(){return this.w};mbox.prototype.Qb=function(a){return a.style.display!="none"};mbox.prototype.Ob=function(a){this.Rb(a,true)};mbox.prototype.Nb=function(a){this.Rb(a,false)};mbox.prototype.Rb=function(b,a){b.style.visibility=a?"visible":"hidden";b.style.display=a?"block":"none"};mboxOfferContent=function(){this.Ib=function(){}};mboxOfferContent.prototype.show=function(a){var b=a.showContent(document.getElementById(a.getImportName()));if(b==1){this.Ib()}return b};mboxOfferContent.prototype.setOnLoad=function(a){this.Ib=a};mboxOfferAjax=function(a){this.Mb=a;this.Ib=function(){}};mboxOfferAjax.prototype.setOnLoad=function(a){this.Ib=a};mboxOfferAjax.prototype.show=function(a){var b=document.createElement("div");b.id=a.getImportName();b.innerHTML=this.Mb;var c=a.showContent(b);if(c==1){this.Ib()}return c};mboxOfferDefault=function(){this.Ib=function(){}};mboxOfferDefault.prototype.setOnLoad=function(a){this.Ib=a};mboxOfferDefault.prototype.show=function(a){var b=a.hide();if(b==1){this.Ib()}return b};mboxCookieManager=function mboxCookieManager(b,a){this.g=b;this.Ub=a==""||a.indexOf(".")==-1?"":"; domain="+a;this.Vb=new mboxMap();this.loadCookies()};mboxCookieManager.prototype.isEnabled=function(){this.setCookie("check","true",60);this.loadCookies();return this.getCookie("check")=="true"};mboxCookieManager.prototype.setCookie=function(c,b,a){if(typeof c!="undefined"&&typeof b!="undefined"&&typeof a!="undefined"){var d=new Object();d.name=c;d.value=escape(b);d.expireOn=Math.ceil(a+new Date().getTime()/1000);this.Vb.put(c,d);this.saveCookies()}};mboxCookieManager.prototype.getCookie=function(a){var b=this.Vb.get(a);return b?unescape(b.value):null};mboxCookieManager.prototype.deleteCookie=function(a){this.Vb.remove(a);this.saveCookies()};mboxCookieManager.prototype.getCookieNames=function(a){var b=new Array();this.Vb.each(function(c,d){if(c.indexOf(a)==0){b[b.length]=c}});return b};mboxCookieManager.prototype.saveCookies=function(){var b=new Array();var a=0;this.Vb.each(function(d,e){b[b.length]=d+"#"+e.value+"#"+e.expireOn;if(a<e.expireOn){a=e.expireOn}});var c=new Date(a*1000);document.cookie=this.g+"="+b.join("|")+"; expires="+c.toGMTString()+"; path=/"+this.Ub};mboxCookieManager.prototype.loadCookies=function(){this.Vb=new mboxMap();var e=document.cookie.indexOf(this.g+"=");if(e!=-1){var g=document.cookie.indexOf(";",e);if(g==-1){g=document.cookie.indexOf(",",e);if(g==-1){g=document.cookie.length}}var a=document.cookie.substring(e+this.g.length+1,g).split("|");var c=Math.ceil(new Date().getTime()/1000);for(var b=0;b<a.length;b++){var f=a[b].split("#");if(c<=f[2]){var d=new Object();d.name=f[0];d.value=f[1];d.expireOn=f[2];this.Vb.put(d.name,d)}}}};mboxSession=function(d,e,c,a,b){this.hc=e;this.pb=c;this.ic=a;this.I=b;this.jc=false;this.yb=typeof mboxForceSessionId!="undefined"?mboxForceSessionId:mboxGetPageParameter(this.hc);if(this.yb==null||this.yb.length==0){this.yb=b.getCookie(c);if(this.yb==null||this.yb.length==0){this.yb=d;this.jc=true}}b.setCookie(c,this.yb,a)};mboxSession.prototype.getId=function(){return this.yb};mboxSession.prototype.forceId=function(a){this.yb=a;this.I.setCookie(this.pb,this.yb,this.ic)};mboxPC=function(c,a,b){this.pb=c;this.ic=a;this.I=b;this.yb=typeof mboxForcePCId!="undefined"?mboxForcePCId:b.getCookie(c);if(this.yb!=null){b.setCookie(c,this.yb,a)}};mboxPC.prototype.getId=function(){return this.yb};mboxPC.prototype.forceId=function(a){if(this.yb!=a){this.yb=a;this.I.setCookie(this.pb,this.yb,this.ic);return true}return false};mboxGetPageParameter=function(b){var d=null;var a=new RegExp(b+"=([^&]*)");var c=a.exec(document.location);if(c!=null&&c.length>=2){d=c[1]}return d};mboxSetCookie=function(c,b,a){return mboxFactoryDefault.getCookieManager().setCookie(c,b,a)};mboxGetCookie=function(a){return mboxFactoryDefault.getCookieManager().getCookie(a)};mboxCookiePageDomain=function(){var b=(/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1];var c=/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/;if(!c.exec(b)){var a=(/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(b);if(a){b=a[0]}}return b?b:""};mboxShiftArray=function(b){var c=new Array();for(var a=1;a<b.length;a++){c[c.length]=b[a]}return c};mboxGenerateId=function(){return(new Date()).getTime()+"-"+Math.floor(Math.random()*999999)};mboxScreenHeight=function(){return screen.height};mboxScreenWidth=function(){return screen.width};
