(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!cj[a]){var b=f("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),c.body.appendChild(ck);if(!cl||!ck.createElement){cl=(ck.contentWindow||ck.contentDocument).document,cl.write("<!doctype><html><body></body></html>")}b=cl.createElement(a),cl.body.appendChild(b),d=f.css(b,"display"),c.body.removeChild(ck)}cj[a]=d}return cj[a]}function cu(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function ct(){cq=b}function cs(){setTimeout(ct,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1){for(h in a.converters){typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h])}}l=k,k=d[g];if(k==="*"){k=l}else{if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}}return c}function ca(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g){i in d&&(c[g[i]]=d[i])}while(f[0]==="*"){f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"))}if(h){for(i in e){if(e[i]&&e[i].test(h)){f.unshift(i);break}}}if(f[0] in d){j=f[0]}else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function b_(a,b,c,d){if(f.isArray(b)){f.each(b,function(b,e){c||bF.test(a)?d(a,e):b_(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)})}else{if(!c&&b!=null&&typeof b=="object"){for(var e in b){b_(a+"["+e+"]",b[e],c,d)}}else{d(a,b)}}}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bU,l;for(;i<j&&(k||!l);i++){l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)))}(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bQ),e=0,g=d.length,h,i,j;for(;e<g;e++){h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}}function bD(a,b,c){var d=b==="width"?bx:by,e=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border"){return e}f.each(d,function(){c||(e-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?e+=parseFloat(f.css(a,"margin"+this))||0:e-=parseFloat(f.css(a,"border"+this+"Width"))||0});return e}function bn(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bm(a){f.nodeName(a,"input")?bl(a):a.getElementsByTagName&&f.grep(a.getElementsByTagName("input"),bl)}function bl(a){if(a.type==="checkbox"||a.type==="radio"){a.defaultChecked=a.checked}}function bk(a){return"getElementsByTagName" in a?a.getElementsByTagName("*"):"querySelectorAll" in a?a.querySelectorAll("*"):[]}function bj(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object"){b.outerHTML=a.outerHTML}else{if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option"){b.selected=a.defaultSelected}else{if(c==="input"||c==="textarea"){b.defaultValue=a.defaultValue}}}else{a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value)}}b.removeAttribute(f.expando)}}function bi(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g){for(var i=0,j=g[h].length;i<j;i++){f.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}}}function bh(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function X(a,b,c){b=b||0;if(f.isFunction(b)){return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c})}if(b.nodeType){return f.grep(a,function(a,d){return a===b===c})}if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(S.test(b)){return f.filter(b,d,!c)}b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function W(a){return !a||!a.parentNode||a.parentNode.nodeType===11}function O(a,b){return(a&&a!=="*"?a+".":"")+b.replace(A,"`").replace(B,"&")}function N(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;i<s.length;i++){g=s[i],g.origType.replace(y,"")===a.type?q.push(g.selector):s.splice(i--,1)}e=f(a.target).closest(q,a.currentTarget);for(j=0,k=e.length;j<k;j++){m=e[j];for(i=0;i<s.length;i++){g=s[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,d=null;if(g.preType==="mouseenter"||g.preType==="mouseleave"){a.type=g.preType,d=f(a.relatedTarget).closest(g.selector)[0],d&&f.contains(h,d)&&(d=h)}(!d||d!==h)&&p.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){e=p[j];if(c&&e.level>c){break}a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped()){break}}}return b}}function L(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function F(){return !0}function E(){return !1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a){if(b!=="toJSON"){return !1}}return !0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else{d=b}}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function H(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(H,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=d.userAgent,x,y,z,A=Object.prototype.toString,B=Object.prototype.hasOwnProperty,C=Array.prototype.push,D=Array.prototype.slice,E=String.prototype.trim,F=Array.prototype.indexOf,G={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a){return this}if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2]){return f.find(a)}this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return !d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a)){return f.ready(a)}a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return D.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?C.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(D.apply(this,arguments),"slice",D.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:C,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++){if((a=arguments[j])!=null){for(c in a){d=i[c],f=a[c];if(i===f){continue}l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}}}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body){return setTimeout(e.ready,1)}e.isReady=!0;if(a!==!0&&--e.readyWait>0){return}y.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!y){y=e._Deferred();if(c.readyState==="complete"){return setTimeout(e.ready,1)}if(c.addEventListener){c.addEventListener("DOMContentLoaded",z,!1),a.addEventListener("load",e.ready,!1)}else{if(c.attachEvent){c.attachEvent("onreadystatechange",z),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&H()}}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval" in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):G[A.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a)){return !1}if(a.constructor&&!B.call(a,"constructor")&&!B.call(a.constructor.prototype,"isPrototypeOf")){return !1}var c;for(c in a){}return c===b||B.call(a,c)},isEmptyObject:function(a){for(var b in a){return !1}return !0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b){return null}b=e.trim(b);if(a.JSON&&a.JSON.parse){return a.JSON.parse(b)}if(o.test(b.replace(p,"@").replace(q,"]").replace(r,""))){return(new Function("return "+b))()}e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a){if(c.apply(a[f],d)===!1){break}}}else{for(;g<h;){if(c.apply(a[g++],d)===!1){break}}}}else{if(i){for(f in a){if(c.call(a[f],f,a[f])===!1){break}}}else{for(;g<h;){if(c.call(a[g],g,a[g++])===!1){break}}}}return a},trim:E?function(a){return a==null?"":E.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?C.call(c,a):e.merge(c,a)}return c},inArray:function(a,b){if(F){return F.call(b,a)}for(var c=0,d=b.length;c<d;c++){if(b[c]===a){return c}}return -1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number"){for(var f=c.length;e<f;e++){a[d++]=c[e]}}else{while(c[e]!==b){a[d++]=c[e++]}}a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++){e=!!b(a[f],f),c!==e&&d.push(a[f])}return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k){for(;i<j;i++){f=c(a[i],i,d),f!=null&&(h[h.length]=f)}}else{for(g in a){f=c(a[g],g,d),f!=null&&(h[h.length]=f)}}return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a)){return b}var f=D.call(arguments,2),g=function(){return a.apply(c,f.concat(D.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c){e.access(a,j,c[j],f,g,d)}return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++){g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h)}return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){G["[object "+b+"]"]=b.toLowerCase()}),x=e.uaMatch(w),x.browser&&(e.browser[x.browser]=!0,e.browser.version=x.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?z=function(){c.removeEventListener("DOMContentLoaded",z,!1),e.ready()}:c.attachEvent&&(z=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",z),e.ready())});return e}(),g="done fail isResolved isRejected promise then always pipe".split(" "),h=[].slice;f.extend({_Deferred:function(){var a=[],b,c,d,e={done:function(){if(!d){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++){i=c[g],j=f.type(i),j==="array"?e.done.apply(e,i):j==="function"&&a.push(i)}k&&e.resolveWith(k[0],k[1])}return this},resolveWith:function(e,f){if(!d&&!b&&!c){f=f||[],c=1;try{while(a[0]){a.shift().apply(e,f)}}finally{b=[e,f],c=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return !!c||!!b},cancel:function(){d=1,a=[];return this}};return e},Deferred:function(a){var b=f._Deferred(),c=f._Deferred(),d;f.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(a,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[c,"reject"]},function(a,c){var e=c[0],g=c[1],h;f.isFunction(e)?b[a](function(){h=e.apply(this,arguments),h&&f.isFunction(h.promise)?h.promise().then(d.resolve,d.reject):d[g](h)}):b[a](d[g])})}).promise()},promise:function(a){if(a==null){if(d){return d}d=a={}}var c=g.length;while(c--){a[g[c]]=b[g[c]]}return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){function i(a){return function(c){b[a]=arguments.length>1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c<d;c++){b[c]&&f.isFunction(b[c].promise)?b[c].promise().then(i(c),g.reject):--e}e||g.resolveWith(g,b)}else{g!==a&&g.resolveWith(g,d?[a]:[])}return g.promise()}}),f.support=function(){var a=c.createElement("div"),b=c.documentElement,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;a.setAttribute("className","t"),a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e){return{}}f=c.createElement("select"),g=f.appendChild(c.createElement("option")),h=a.getElementsByTagName("input")[0],j={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},h.checked=!0,j.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,j.optDisabled=!g.disabled;try{delete a.test}catch(s){j.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function b(){j.noCloneEvent=!1,a.detachEvent("onclick",b)}),a.cloneNode(!0).fireEvent("onclick")),h=c.createElement("input"),h.value="t",h.setAttribute("type","radio"),j.radioValue=h.value==="t",h.setAttribute("checked","checked"),a.appendChild(h),k=c.createDocumentFragment(),k.appendChild(a.firstChild),j.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",l=c.createElement("body"),m={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(q in m){l.style[q]=m[q]}l.appendChild(a),b.insertBefore(l,b.firstChild),j.appendChecked=h.checked,j.boxModel=a.offsetWidth===2,"zoom" in a.style&&(a.style.display="inline",a.style.zoom=1,j.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",j.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",n=a.getElementsByTagName("td"),r=n[0].offsetHeight===0,n[0].style.display="",n[1].style.display="none",j.reliableHiddenOffsets=r&&n[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(i=c.createElement("div"),i.style.width="0",i.style.marginRight="0",a.appendChild(i),j.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(i,null)||{marginRight:0}).marginRight,10)||0)===0),l.innerHTML="",b.removeChild(l);if(a.attachEvent){for(q in {submit:1,change:1,focusin:1}){p="on"+q,r=p in a,r||(a.setAttribute(p,"return;"),r=typeof a[p]=="function"),j[q+"Bubbles"]=r}}return j}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return !!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b){return}l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function"){e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c)}i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c]){return i[g]&&i[g].events}return h?i[f.camelCase(c)]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i]){return}if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j)){return}}}if(d){delete h[i][e];if(!l(h[i])){return}}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b){return b!==!0&&a.getAttribute("classid")===b}}return !0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h<i;h++){g=e[h].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),k(this[0],g,d[g]))}}}return d}if(typeof a=="object"){return this.each(function(){f.data(this,a)})}var j=a.split(".");j[1]=j[1]?"."+j[1]:"";if(c===b){d=this.triggerHandler("getData"+j[1]+"!",[j[0]]),d===b&&this.length&&(d=f.data(this[0],a),d=k(this[0],a,d));return d===b&&j[1]?this.data(j[0]):d}return this.each(function(){var b=f(this),d=[j[0],c];b.triggerHandler("setData"+j[1]+"!",d),f.data(this,a,c),b.triggerHandler("changeData"+j[1]+"!",d)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,c){a&&(c=(c||"fx")+"mark",f.data(a,c,(f.data(a,c,b,!0)||0)+1,!0))},_unmark:function(a,c,d){a!==!0&&(d=c,c=a,a=!1);if(c){d=d||"fx";var e=d+"mark",g=a?0:(f.data(c,e,b,!0)||1)-1;g?f.data(c,e,g,!0):(f.removeData(c,e,!0),m(c,d,"mark"))}},queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var e=f.data(a,c,b,!0);d&&(!e||f.isArray(d)?e=f.data(a,c,f.makeArray(d),!0):e.push(d));return e||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e;d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),d.call(a,function(){f.dequeue(a,b)})),c.length||(f.removeData(a,b+"queue",!0),m(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b){return f.queue(this[0],a)}return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){f.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--){if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f._Deferred(),!0)){h++,l.done(m)}}m();return d.promise()}});var n=/[\n\t\r]/g,o=/\s+/,p=/\r/g,q=/^(?:button|input)$/i,r=/^(?:button|input|object|select|textarea)$/i,s=/^a(?:rea)?$/i,t=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,u=/\:/,v,w;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){if(f.isFunction(a)){return this.each(function(b){var c=f(this);c.addClass(a.call(this,b,c.attr("class")||""))})}if(a&&typeof a=="string"){var b=(a||"").split(o);for(var c=0,d=this.length;c<d;c++){var e=this[c];if(e.nodeType===1){if(!e.className){e.className=a}else{var g=" "+e.className+" ",h=e.className;for(var i=0,j=b.length;i<j;i++){g.indexOf(" "+b[i]+" ")<0&&(h+=" "+b[i])}e.className=f.trim(h)}}}}return this},removeClass:function(a){if(f.isFunction(a)){return this.each(function(b){var c=f(this);c.removeClass(a.call(this,b,c.attr("class")))})}if(a&&typeof a=="string"||a===b){var c=(a||"").split(o);for(var d=0,e=this.length;d<e;d++){var g=this[d];if(g.nodeType===1&&g.className){if(a){var h=(" "+g.className+" ").replace(n," ");for(var i=0,j=c.length;i<j;i++){h=h.replace(" "+c[i]+" "," ")}g.className=f.trim(h)}else{g.className=""}}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a)){return this.each(function(c){var d=f(this);d.toggleClass(a.call(this,c,d.attr("class"),b),b)})}return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(o);while(e=j[g++]){i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}}else{if(c==="undefined"||c==="boolean"){this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""}}})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++){if((" "+this[c].className+" ").replace(n," ").indexOf(b)>-1){return !0}}return !1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get" in c&&(d=c.get(e,"value"))!==b){return d}return(e.value||"").replace(p,"")}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set" in c)||c.set(this,h,"value")===b){this.value=h}}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return !b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0){return null}for(var h=g?c:0,i=g?c+1:e.length;h<i;h++){var j=e[h];if(j.selected&&(f.support.optDisabled?!j.disabled:j.getAttribute("disabled")===null)&&(!j.parentNode.disabled||!f.nodeName(j.parentNode,"optgroup"))){b=f(j).val();if(g){return b}d.push(b)}}if(g&&!d.length&&e.length){return f(e[c]).val()}return d},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2){return b}if(e&&c in f.attrFn){return f(a)[c](d)}if(!("getAttribute" in a)){return f.prop(a,c,d)}var h,i,j=g!==1||!f.isXMLDoc(a);c=j&&f.attrFix[c]||c,i=f.attrHooks[c],i||(!t.test(c)||typeof d!="boolean"&&d!==b&&d.toLowerCase()!==c.toLowerCase()?v&&(f.nodeName(a,"form")||u.test(c))&&(i=v):i=w);if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set" in i&&j&&(h=i.set(a,d,c))!==b){return h}a.setAttribute(c,""+d);return d}if(i&&"get" in i&&j){return i.get(a,c)}h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b) in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode){f.error("type property can't be changed")}else{if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2){return b}var g,h,i=e!==1||!f.isXMLDoc(a);c=i&&f.propFix[c]||c,h=f.propHooks[c];return d!==b?h&&"set" in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get" in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return a[f.propFix[c]||c]?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=b),a.setAttribute(c,c.toLowerCase()));return c}},f.attrHooks.value={get:function(a,b){if(v&&f.nodeName(a,"button")){return v.get(a,b)}return a.value},set:function(a,b,c){if(v&&f.nodeName(a,"button")){return v.set(a,b,c)}a.value=b}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b)){return a.checked=f.inArray(f(a).val(),b)>=0}}})});var x=Object.prototype.hasOwnProperty,y=/\.(.*)$/,z=/^(?:textarea|input|select)$/i,A=/\./g,B=/ /g,C=/[^\w\s.|`]/g,D=function(a){return a.replace(C,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1){d=E}else{if(!d){return}}var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i){return}var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1){a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=E);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t){return}c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t){f.event.remove(a,h+c)}return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),D).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p){continue}if(!d){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace)){f.event.remove(a,r,q.handler,j),p.splice(j--,1)}}continue}o=f.event.special[h]||{};for(j=e||0;j<p.length;j++){q=p[j];if(d.guid===q.guid){if(l||n.test(q.namespace)){e==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q)}if(e!=null){break}}}if(p.length===0||e!=null&&p.length===1){(!o.teardown||o.teardown.call(a,m)===!1)&&f.removeEvent(a,h,s.handle),g=null,delete t[h]}}if(f.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete s.events,delete s.handle,f.isEmptyObject(s)&&f.removeData(a,b,!0)}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){var h=c.type||c,i=[],j;h.indexOf("!")>=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e){c.preventDefault(),c.stopPropagation()}if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8){return}c.result=b,c.target=e,d=d?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h<i;h++){var j=d[h];if(e||c.namespace_re.test(j.namespace)){c.handler=j.handler,c.data=j.data,c.handleObj=j;var k=j.handler.apply(this,g);k!==b&&(c.result=k,k===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped()){break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[f.expando]){return a}var d=a;a=f.Event(d);for(var e=this.props.length,g;e;){g=this.props[--e],a[g]=d[g]}a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=a.target.ownerDocument||c,i=h.documentElement,j=h.body;a.pageX=a.clientX+(i&&i.scrollLeft||j&&j.scrollLeft||0)-(i&&i.clientLeft||j&&j.clientLeft||0),a.pageY=a.clientY+(i&&i.scrollTop||j&&j.scrollTop||0)-(i&&i.clientTop||j&&j.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:100000000,proxy:f.proxy,special:{ready:{setup:f.bindReady,teardown:f.noop},live:{add:function(a){f.event.add(this,O(a.origType,a.selector),f.extend({},a,{handler:N,guid:a.handler.guid}))},remove:function(a){f.event.remove(this,O(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!this.preventDefault){return new f.Event(a,b)}a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?F:E):this.type=a,b&&f.extend(this,b),this.timeStamp=f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=F;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=F;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=F,this.stopPropagation()},isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E};var G=function(a){var b=a.relatedTarget;a.type=a.data;try{if(b&&b!==c&&!b.parentNode){return}while(b&&b!==this){b=b.parentNode}b!==this&&f.event.handle.apply(this,arguments)}catch(d){}},H=function(a){a.type=a.data,f.event.handle.apply(this,arguments)};f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={setup:function(c){f.event.add(this,b,c&&c.selector?H:G,a)},teardown:function(a){f.event.remove(this,b,a&&a.selector?H:G)}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(a,b){if(!f.nodeName(this,"form")){f.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&f(b).closest("form").length&&L("submit",this,arguments)}),f.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&f(b).closest("form").length&&a.keyCode===13&&L("submit",this,arguments)})}else{return !1}},teardown:function(a){f.event.remove(this,".specialSubmit")}});if(!f.support.changeBubbles){var I,J=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},K=function(c){var d=c.target,e,g;if(!!z.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=J(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e){return}if(e!=null||g){c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}}};f.event.special.change={filters:{focusout:K,beforedeactivate:K,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&K.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&K.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",J(b))}},setup:function(a,b){if(this.type==="file"){return !1}for(var c in I){f.event.add(this,c+".specialChange",I[c])}return z.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return z.test(this.nodeName)}},I=f.event.special.change.filters,I.focus=I.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a){this[c](h,d,a[h],e)}return this}if(arguments.length===2||d===!1){e=d,d=b}c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one"){this.one(a,d,e)}else{for(var i=0,j=this.length;i<j;i++){f.event.add(this[i],a,g,d)}}return this}}),f.fn.extend({unbind:function(a,b){if(typeof a=="object"&&!a.preventDefault){for(var c in a){this.unbind(c,a[c])}}else{for(var d=0,e=this.length;d<e;d++){f.event.remove(this[d],a,b)}}return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){return f.event.trigger(a,b,this[0],!0)}},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f.data(this,"lastToggle"+a.guid)||0)%d;f.data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length){b[d++].guid=c}return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var M={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};f.each(["live","die"],function(a,c){f.fn[c]=function(a,d,e,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:f(this.context);if(typeof a=="object"&&!a.preventDefault){for(var o in a){n[c](o,d,a[o],m)}return this}if(c==="die"&&!a&&g&&g.charAt(0)==="."){n.unbind(g);return this}if(d===!1||f.isFunction(d)){e=d||E,d=b}a=(a||"").split(" ");while((h=a[i++])!=null){j=y.exec(h),k="",j&&(k=j[0],h=h.replace(y,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,M[h]?(a.push(M[h]+k),h=h+k):h=(M[h]||h)+k;if(c==="live"){for(var p=0,q=n.length;p<q;p++){f.event.add(n[p],"live."+O(h,m),{data:d,selector:m,handler:e,origType:h,origHandler:e,preType:l})}}else{n.unbind("live."+O(h,m),e)}}return this}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!="string"){if(i===b){j=!0;break}}else{if(k.filter(b,[i]).length>0){j=i;break}}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9){return[]}if(!b||typeof b!="string"){return f}var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b)){if(x.length===2&&l.relative[x[0]]){j=v(x[0]+x[1],d)}else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length){b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}}}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length){r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}}else{n=x=[]}}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]"){if(!u){f.push.apply(f,n)}else{if(d&&d.nodeType===1){for(t=0;n[t]!=null;t++){n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t])}}else{for(t=0;n[t]!=null;t++){n[t]&&n[t].nodeType===1&&f.push(j[t])}}}}else{p(n,f)}o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g){for(var b=1;b<a.length;b++){a[b]===a[b-1]&&a.splice(b--,1)}}}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a){return[]}for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter){if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\"){continue}j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(!f){g=o=!0}else{if(f===!0){continue}}}if(f){for(var s=0;(p=j[s])!=null;s++){if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}}}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g){return[]}break}}}if(a===h){if(g==null){k.error(a)}else{break}}h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++){if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++){c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b)}d&&k.filter(b,a,!0)}},"":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("parentNode",b,f,a,e,c)},"~":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("previousSibling",b,f,a,e,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++){d[e].getAttribute("name")===a[1]&&c.push(d[e])}return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined"){return b.getElementsByTagName(a[1])}}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f){return a}for(var g=0,h;(h=b[g])!=null;g++){h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1))}return !1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else{a[2]&&k.error(a[0])}a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not"){if((a.exec(b[3])||"").length>1||/^\w/.test(b[3])){b[3]=k(b[3],null,null,c)}else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return !1}}else{if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0])){return !0}}return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return !!a.firstChild},empty:function(a){return !a.firstChild},has:function(a,b,c){return !!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f){return f(a,c,b,d)}if(e==="contains"){return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0}if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++){if(g[h]===a){return !1}}return !0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling){if(d.nodeType===1){return !1}}if(c==="first"){return !0}d=a;case"last":while(d=d.nextSibling){if(d.nodeType===1){return !1}}return !0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0){return !0}var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling){d.nodeType===1&&(d.nodeIndex=++i)}h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f){return f(a,c,b,d)}}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match){l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n))}var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]"){Array.prototype.push.apply(d,a)}else{if(typeof a.length=="number"){for(var f=a.length;c<f;c++){d.push(a[c])}}else{for(;a[c];c++){d.push(a[c])}}}return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition){return a.compareDocumentPosition?-1:1}return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){if(a===b){g=!0;return 0}if(a.sourceIndex&&b.sourceIndex){return a.sourceIndex-b.sourceIndex}var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i){return s(a,b)}if(!h){return -1}if(!i){return 1}while(j){e.unshift(j),j=j.parentNode}j=i;while(j){f.unshift(j),j=j.parentNode}c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++){if(e[k]!==f[k]){return s(e[k],f[k])}}return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b){return c}var d=a.nextSibling;while(d){if(d===b){return -1}d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++){c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes))}return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++){c[e].nodeType===1&&d.push(c[e])}c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1]){return p(e.getElementsByTagName(b),f)}if(h[2]&&l.find.CLASS&&e.getElementsByClassName){return p(e.getElementsByClassName(h[2]),f)}}if(e.nodeType===9){if(b==="body"&&e.body){return p([e.body],f)}if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode){return p([],f)}if(i.id===h[3]){return p([i],f)}}try{return p(e.querySelectorAll(b),f)}catch(j){}}else{if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q){return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}}catch(s){}finally{n||m.removeAttribute("id")}}}}return a(b,e,f,g)};for(var e in a){k[e]=a[e]}b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a)){try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11){return f}}}catch(g){}}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1){return}l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c){return b.getElementsByClassName(a[1])}},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return !!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return !1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a)){e+=c[0],a=a.replace(l.match.PSEUDO,"")}a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++){k(a,f[g],d)}return k.filter(e,d)};f.find=k,f.expr=k.selectors,f.expr[":"]=f.expr.filters,f.unique=k.uniqueSort,f.text=k.getText,f.isXMLDoc=k.isXML,f.contains=k.contains}();var P=/Until$/,Q=/^(?:parents|prevUntil|prevAll)/,R=/,/,S=/^.[^:#\[\.,]*$/,T=Array.prototype.slice,U=f.expr.match.POS,V={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string"){return f(a).filter(function(){for(c=0,d=b.length;c<d;c++){if(f.contains(b[c],this)){return !0}}})}var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0){for(h=g;h<e.length;h++){for(i=0;i<g;i++){if(e[i]===e[h]){e.splice(h--,1);break}}}}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++){if(f.contains(this,b[a])){return !0}}})},not:function(a){return this.pushStack(X(this,a,!1),"not",a)},filter:function(a){return this.pushStack(X(this,a,!0),"filter",a)},is:function(a){return !!a&&(typeof a=="string"?f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d<e;d++){i=a[d],j[i]||(j[i]=U.test(i)?f(i,b||this.context):i)}while(g&&g.ownerDocument&&g!==b){for(i in j){h=j[i],(h.jquery?h.index(g)>-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k})}g=g.parentNode,k++}}return c}var l=U.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(l?l.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11){break}}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string"){return f.inArray(this[0],a?f(a):this.parent().children())}return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(W(c[0])||W(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=T.call(arguments);P.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!V[a]?f.unique(e):e,(this.length>1||R.test(d))&&Q.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d))){g.nodeType===1&&e.push(g),g=g[c]}return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c]){if(a.nodeType===1&&++e===b){break}}return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling){a.nodeType===1&&a!==b&&c.push(a)}return c}});var Y=/ jQuery\d+="(?:\d+|null)"/g,Z=/^\s+/,$=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,_=/<([\w:]+)/,ba=/<tbody/i,bb=/<|&#?\w+;/,bc=/<(?:script|object|embed|option|style)/i,bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a)){return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))})}if(typeof a!="object"&&a!==b){return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))}return f.text(this)},wrapAll:function(a){if(f.isFunction(a)){return this.each(function(b){f(this).wrapAll(a.call(this,b))})}if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1){a=a.firstChild}return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a)){return this.each(function(b){f(this).wrapInner(a.call(this,b))})}return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)})}if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)})}if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++){if(!a||f.filter(a,[d]).length){!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d)}}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild){b.removeChild(b.firstChild)}}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Y,""):null}if(typeof a=="string"&&!bc.test(a)&&(f.support.leadingWhitespace||!Z.test(a))&&!bg[(_.exec(a)||["",""])[1].toLowerCase()]){a=a.replace($,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++){this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}}catch(e){this.empty().append(a)}}else{f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a)}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a)){return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))})}typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j)){return this.each(function(){f(this).domManip(a,c,d,!0)})}if(f.isFunction(j)){return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)})}if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++){d.call(c?bh(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}}k.length&&f.each(k,bn)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]=="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!bc.test(a[0])&&(f.support.checkClone||!bd.test(a[0]))&&(g=!0,h=f.fragments[a[0]],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[a[0]]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bj(a,d),e=bk(a),g=bk(d);for(h=0;e[h];++h){bj(e[h],g[h])}}if(b){bi(a,d);if(c){e=bk(a),g=bk(d);for(h=0;e[h];++h){bi(e[h],g[h])}}}return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k){continue}if(typeof k=="string"){if(!bb.test(k)){k=b.createTextNode(k)}else{k=k.replace($,"<$1></$2>");var l=(_.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--){o=o.lastChild}if(!f.support.tbody){var p=ba.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i){f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}}!f.support.leadingWhitespace&&Z.test(k)&&o.insertBefore(b.createTextNode(Z.exec(k)[0]),o.firstChild),k=o.childNodes}}var r;if(!f.support.appendChecked){if(k[0]&&typeof(r=k.length)=="number"){for(i=0;i<r;i++){bm(k[i])}}else{bm(k)}}k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return !a.type||be.test(a.type)};for(j=0;h[j];j++){if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript")){e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j])}else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.expando,g=f.event.special,h=f.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&f.noData[j.nodeName.toLowerCase()]){continue}c=j[f.expando];if(c){b=d[c]&&d[c][e];if(b&&b.events){for(var k in b.events){g[k]?f.event.remove(j,k):f.removeEvent(j,k,b.handle)}b.handle&&(b.handle.elem=null)}h?delete j[f.expando]:j.removeAttribute&&j.removeAttribute(f.expando),delete d[c]}}}});var bo=/alpha\([^)]*\)/i,bp=/opacity=([^)]*)/,bq=/-([a-z])/ig,br=/([A-Z]|^ms)/g,bs=/^-?\d+(?:px)?$/i,bt=/^-?\d/,bu=/^[+\-]=/,bv=/[^+\-\.\de]+/g,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB,bC=function(a,b){return b.toUpperCase()};f.fn.css=function(a,c){if(arguments.length===2&&c===b){return this}return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0,widows:!0,orphans:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get" in k&&(g=k.get(a,!1,e))!==b){return g}return j[c]}h=typeof d;if(h==="number"&&isNaN(d)||d==null){return}h==="string"&&bu.test(d)&&(d=+d.replace(bv,"")+parseFloat(f.css(a,c))),h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set" in k)||(d=k.set(a,d))!==b){try{j[c]=d}catch(l){}}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get" in g&&(e=g.get(a,!0,d))!==b){return e}if(bz){return bz(a,c)}},swap:function(a,b,c){var d={};for(var e in b){d[e]=a.style[e],a.style[e]=b[e]}c.call(a);for(e in b){a.style[e]=d[e]}},camelCase:function(a){return a.replace(bq,bC)}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){a.offsetWidth!==0?e=bD(a,b,d):f.swap(a,bw,function(){e=bD(a,b,d)});if(e<=0){e=bz(a,b,b),e==="0px"&&bB&&(e=bB(a,b,b));if(e!=null){return e===""||e==="auto"?"0px":e}}if(e<0||e==null){e=a.style[b];return e===""||e==="auto"?"0px":e}return typeof e=="string"?e:e+"px"}},set:function(a,b){if(!bs.test(b)){return b}b=parseFloat(b);if(b>=0){return b+"px"}}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bp.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bo.test(g)?g.replace(bo,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,c){var d,e,g;c=c.replace(br,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView)){return b}if(g=e.getComputedStyle(a,null)){d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c))}return d}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bs.test(d)&&bt.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return !f.expr.filters.hidden(a)});var bE=/%20/g,bF=/\[\]$/,bG=/\r?\n/g,bH=/#.*$/,bI=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bJ=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bK=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bL=/^(?:GET|HEAD)$/,bM=/^\/\//,bN=/\?/,bO=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bP=/^(?:select|textarea)/i,bQ=/\s+/,bR=/([?&])_=[^&]*/,bS=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bT=f.fn.load,bU={},bV={},bW,bX;try{bW=e.href}catch(bY){bW=c.createElement("a"),bW.href="",bW=bW.href}bX=bS.exec(bW.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bT){return bT.apply(this,arguments)}if(!this.length){return this}var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bO,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bP.test(this.nodeName)||bJ.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bG,"\r\n")}}):{name:b.name,value:c.replace(bG,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in {context:1,url:1}){c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c])}return a},ajaxSettings:{url:bW,isLocal:bK.test(bX[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bZ(bU),ajaxTransport:bZ(bV),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?ca(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified")){f.lastModified[k]=x}if(y=v.getResponseHeader("Etag")){f.etag[k]=y}}if(a===304){c="notmodified",o=!0}else{try{r=cb(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}}else{u=c;if(!c||a){c="error",a<0&&(a=0)}}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bI.exec(n)){o[c[1].toLowerCase()]=c[2]}}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2){for(b in a){j[b]=[j[b],a[b]]}}else{b=a[v.status],v.then(b,b)}}return this},d.url=((a||d.url)+"").replace(bH,"").replace(bM,bX[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bQ),d.crossDomain==null&&(r=bS.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bX[1]&&r[2]==bX[2]&&(r[3]||(r[1]==="http:"?80:443))==(bX[3]||(bX[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bU,d,c,v);if(s===2){return !1}t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bL.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bN.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bR,"$1_="+x);d.url=y+(y===d.url?(bN.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers){v.setRequestHeader(u,d.headers[u])}if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return !1}for(u in {success:1,error:1,complete:1}){v[u](d[u])}p=b$(bV,d,c,v);if(!p){w(-1,"No Transport")}else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a)){f.each(a,function(){e(this.name,this.value)})}else{for(var g in a){b_(g,a[g],c,e)}}return d.join("&").replace(bE,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState)){d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")}},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg){cg[a](0,1)}}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return !this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials" in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields){for(j in c.xhrFields){h[j]=c.xhrFields[j]}}c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e){h.setRequestHeader(j,e[j])}}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e){h.readyState!==4&&h.abort()}else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq,cr=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0){return this.animate(cu("show",3),a,b,c)}for(var g=0,h=this.length;g<h;g++){d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)))}for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none"){d.style.display=f._data(d,"olddisplay")||""}}}return this},hide:function(a,b,c){if(a||a===0){return this.animate(cu("hide",3),a,b,c)}for(var d=0,e=this.length;d<e;d++){if(this[d].style){var g=f.css(this[d],"display");g!=="none"&&!f._data(this[d],"olddisplay")&&f._data(this[d],"olddisplay",g)}}for(d=0;d<e;d++){this[d].style&&(this[d].style.display="none")}return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=f.speed(b,c,d);if(f.isEmptyObject(a)){return this.each(e.complete,[!1])}a=f.extend({},a);return this[e.queue===!1?"each":"queue"](function(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d){return b.complete.call(this)}c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(f.support.inlineBlockNeedsLayout?(j=cv(this.nodeName),j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a){k=new f.fx(this,b,i),h=a[i],cm.test(h)?k[h==="toggle"?d?"show":"hide":h]():(l=cn.exec(h),m=k.cur(),l?(n=parseFloat(l[2]),o=l[3]||(f.cssNumber[i]?"":"px"),o!=="px"&&(f.style(this,i,(n||1)+o),m=(n||1)/k.cur()*m,f.style(this,i,m+o)),l[1]&&(n=(l[1]==="-="?-1:1)*n+m),k.custom(m,n,o)):k.custom(m,h,""))}return !0})},stop:function(a,b){a&&this.queue([]),this.each(function(){var a=f.timers,c=a.length;b||f._unmark(!0,this);while(c--){a[c].elem===this&&(b&&a[c](!0),a.splice(c,1))}}),b||this.dequeue();return this}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default,d.old=d.complete,d.complete=function(a){d.queue!==!1?f.dequeue(this):a!==!1&&f._unmark(this),f.isFunction(d.old)&&d.old.call(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+0.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function h(a){return d.step(a)}var d=this,e=f.fx,g;this.startTime=cq||cs(),this.start=a,this.end=b,this.unit=c||this.unit||(f.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,h.elem=this.elem,h()&&f.timers.push(h)&&!co&&(cr?(co=1,g=function(){co&&(cr(g),e.tick())},cr(g)):co=setInterval(e.tick,e.interval))},show:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=cq||cs(),c=!0,d=this.elem,e=this.options,g,h;if(a||b>=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties){e.animatedProperties[g]!==!0&&(c=!1)}if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show){for(var i in e.animatedProperties){f.style(d,i,e.orig[i])}}e.complete.call(d)}return !1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return !0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b<a.length;++b){a[b]()||a.splice(b--,1)}a.length||f.fx.stop()},interval:13,stop:function(){clearInterval(co),co=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect" in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a){return this.each(function(b){f.offset.setOffset(this,a,b)})}if(!b||!b.ownerDocument){return null}if(b===b.ownerDocument.body){return f.offset.bodyOffset(b)}try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b)){return c?{top:c.top,left:c.left}:{top:0,left:0}}var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a){return this.each(function(b){f.offset.setOffset(this,a,b)})}if(!b||!b.ownerDocument){return null}if(b===b.ownerDocument.body){return f.offset.bodyOffset(b)}f.offset.initialize();var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.offset.supportsFixedPosition&&k.position==="fixed"){break}c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.offset.doesNotAddBorder&&(!f.offset.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static"){l+=i.offsetTop,m+=i.offsetLeft}f.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={initialize:function(){var a=c.body,b=c.createElement("div"),d,e,g,h,i=parseFloat(f.css(a,"marginTop"))||0,j="<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>";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using" in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0]){return null}var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static"){a=a.offsetParent}return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e){return null}g=cy(e);return g?"pageXOffset" in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){return this[0]?parseFloat(f.css(this[0],d,"padding")):null},f.fn["outer"+c]=function(a){return this[0]?parseFloat(f.css(this[0],d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e){return a==null?null:this}if(f.isFunction(a)){return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))})}if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9){return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c])}if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window);jQuery.ui||(function(r){var l=r.fn.remove,q=r.browser.mozilla&&(parseFloat(r.browser.version)<1.9);r.ui={version:"1.7.1",plugin:{add:function(d,b,f){var a=r.ui[d].prototype;for(var e in f){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,f[e]])}},call:function(e,b,d){var f=e.plugins[b];if(!f||!e.element[0].parentNode){return}for(var a=0;a<f.length;a++){if(e.options[f[a][0]]){f[a][1].apply(e.element,d)}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,d){if(r(a).css("overflow")=="hidden"){return false}var e=(d&&d=="left")?"scrollLeft":"scrollTop",b=false;if(a[e]>0){return true}a[e]=1;b=(a[e]>0);a[e]=0;return b},isOverAxis:function(b,d,a){return(b>d)&&(b<(d+a))},isOver:function(f,d,g,a,e,b){return r.ui.isOverAxis(f,g,e)&&r.ui.isOverAxis(d,a,b)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(q){var o=r.attr,p=r.fn.removeAttr,m="http://www.w3.org/2005/07/aaa",t=/^aria-/,s=/^wairole:/;r.attr=function(d,e,b){var a=b!==undefined;return(e=="role"?(a?o.call(this,d,e,"wairole:"+b):(o.apply(this,arguments)||"").replace(s,"")):(t.test(e)?(a?d.setAttributeNS(m,e.replace(t,"aaa:"),b):o.call(this,d,e.replace(t,"aaa:"))):o.apply(this,arguments)))};r.fn.removeAttr=function(a){return(t.test(a)?this.each(function(){this.removeAttributeNS(m,a.replace(t,""))}):p.call(this,a))}}r.fn.extend({remove:function(){r("*",this).add(this).each(function(){r(this).triggerHandler("remove")});return l.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var a;if((r.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){a=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(r.curCSS(this,"position",1))&&(/(auto|scroll)/).test(r.curCSS(this,"overflow",1)+r.curCSS(this,"overflow-y",1)+r.curCSS(this,"overflow-x",1))}).eq(0)}else{a=this.parents().filter(function(){return(/(auto|scroll)/).test(r.curCSS(this,"overflow",1)+r.curCSS(this,"overflow-y",1)+r.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!a.length?r(document):a}});r.extend(r.expr[":"],{data:function(a,b,d){return !!r.data(a,d[3])},focusable:function(b){var a=b.nodeName.toLowerCase(),d=r.attr(b,"tabindex");return(/input|select|textarea|button|object/.test(a)?!b.disabled:"a"==a||"area"==a?b.href||!isNaN(d):!isNaN(d))&&!r(b)["area"==a?"parents":"closest"](":hidden").length},tabbable:function(a){var b=r.attr(a,"tabindex");return(isNaN(b)||b>=0)&&r(a).is(":focusable")}});function n(a,g,f,b){function d(h){var u=r[a][g][h]||[];return(typeof u=="string"?u.split(/,?\s+/):u)}var e=d("getter");if(b.length==1&&typeof b[0]=="string"){e=e.concat(d("getterSetter"))}return(r.inArray(f,e)!=-1)}r.widget=function(b,d){var a=b.split(".")[0];b=b.split(".")[1];r.fn[b]=function(f){var h=(typeof f=="string"),g=Array.prototype.slice.call(arguments,1);if(h&&f.substring(0,1)=="_"){return this}if(h&&n(a,b,f,g)){var e=r.data(this[0],b);return(e?e[f].apply(e,g):undefined)}return this.each(function(){var u=r.data(this,b);(!u&&!h&&r.data(this,b,new r[a][b](this,f))._init());(u&&h&&r.isFunction(u[f])&&u[f].apply(u,g))})};r[a]=r[a]||{};r[a][b]=function(f,g){var e=this;this.namespace=a;this.widgetName=b;this.widgetEventPrefix=r[a][b].eventPrefix||b;this.widgetBaseClass=a+"-"+b;this.options=r.extend({},r.widget.defaults,r[a][b].defaults,r.metadata&&r.metadata.get(f)[b],g);this.element=r(f).bind("setData."+b,function(u,v,h){if(u.target==f){return e._setData(v,h)}}).bind("getData."+b,function(h,u){if(h.target==f){return e._getData(u)}}).bind("remove",function(){return e.destroy()})};r[a][b].prototype=r.extend({},r.widget.prototype,d);r[a][b].getterSetter="option"};r.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(b,a){var d=b,e=this;if(typeof b=="string"){if(a===undefined){return this._getData(b)}d={};d[b]=a}r.each(d,function(g,f){e._setData(g,f)})},_getData:function(a){return this.options[a]},_setData:function(b,a){this.options[b]=a;if(b=="disabled"){this.element[a?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",a)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(b,a,h){var f=this.options[b],e=(b==this.widgetEventPrefix?b:this.widgetEventPrefix+b);a=r.Event(a);a.type=e;if(a.originalEvent){for(var d=r.event.props.length,g;d;){g=r.event.props[--d];a[g]=a.originalEvent[g]}}this.element.trigger(a,h);return !(r.isFunction(f)&&f.call(this.element[0],a,h)===false||a.isDefaultPrevented())}};r.widget.defaults={disabled:false};r.ui.mouse={_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(a._preventClickEvent){a._preventClickEvent=false;b.stopImmediatePropagation();return false}});if(r.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(r.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(b){b.originalEvent=b.originalEvent||{};if(b.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(b));this._mouseDownEvent=b;var d=this,a=(b.which==1),e=(typeof this.options.cancel=="string"?r(b.target).parents().add(b.target).filter(this.options.cancel).length:false);if(!a||e||!this._mouseCapture(b)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=(this._mouseStart(b)!==false);if(!this._mouseStarted){b.preventDefault();return true}}this._mouseMoveDelegate=function(f){return d._mouseMove(f)};this._mouseUpDelegate=function(f){return d._mouseUp(f)};r(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(r.browser.safari||b.preventDefault());b.originalEvent.mouseHandled=true;return true},_mouseMove:function(a){if(r.browser.msie&&!a.button){return this._mouseUp(a)}if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,a)!==false);(this._mouseStarted?this._mouseDrag(a):this._mouseUp(a))}return !this._mouseStarted},_mouseUp:function(a){r(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(a.target==this._mouseDownEvent.target);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return(Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance)},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return true}};r.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);(function(b){b.widget("ui.slider",b.extend({},b.ui.mouse,{_init:function(){var a=this,d=this.options;this._keySliding=false;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this.range=b([]);if(d.range){if(d.range===true){this.range=b("<div></div>");if(!d.values){d.values=[this._valueMin(),this._valueMin()]}if(d.values.length&&d.values.length!=2){d.values=[d.values[0],d.values[0]]}}else{this.range=b("<div></div>")}this.range.appendTo(this.element).addClass("ui-slider-range");if(d.range=="min"||d.range=="max"){this.range.addClass("ui-slider-range-"+d.range)}this.range.addClass("ui-widget-header")}if(b(".ui-slider-handle",this.element).length==0){b('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}if(d.values&&d.values.length){while(b(".ui-slider-handle",this.element).length<d.values.length){b('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}}this.handles=b(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(e){e.preventDefault()}).hover(function(){b(this).addClass("ui-state-hover")},function(){b(this).removeClass("ui-state-hover")}).focus(function(){b(".ui-slider .ui-state-focus").removeClass("ui-state-focus");b(this).addClass("ui-state-focus")}).blur(function(){b(this).removeClass("ui-state-focus")});this.handles.each(function(e){b(this).data("index.ui-slider-handle",e)});this.handles.keydown(function(l){var o=true;var p=b(this).data("index.ui-slider-handle");if(a.options.disabled){return}switch(l.keyCode){case b.ui.keyCode.HOME:case b.ui.keyCode.END:case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:o=false;if(!a._keySliding){a._keySliding=true;b(this).addClass("ui-state-active");a._start(l,p)}break}var n,q,m=a._step();if(a.options.values&&a.options.values.length){n=q=a.values(p)}else{n=q=a.value()}switch(l.keyCode){case b.ui.keyCode.HOME:q=a._valueMin();break;case b.ui.keyCode.END:q=a._valueMax();break;case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:if(n==a._valueMax()){return}q=n+m;break;case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(n==a._valueMin()){return}q=n-m;break}a._slide(l,p,q);return o}).keyup(function(f){var g=b(this).data("index.ui-slider-handle");if(a._keySliding){a._stop(f,g);a._change(f,g);a._keySliding=false;b(this).removeClass("ui-state-active")}});this._refreshValue()},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy()},_mouseCapture:function(r){var q=this.options;if(q.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var n={x:r.pageX,y:r.pageY};var l=this._normValueFromMouse(n);var s=this._valueMax()-this._valueMin()+1,p;var a=this,m;this.handles.each(function(e){var d=Math.abs(l-a.values(e));if(s>d){s=d;p=b(this);m=e}});if(q.range==true&&this.values(1)==q.min){p=b(this.handles[++m])}this._start(r,m);a._handleIndex=m;p.addClass("ui-state-active").focus();var o=p.offset();var t=!b(r.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=t?{left:0,top:0}:{left:r.pageX-o.left-(p.width()/2),top:r.pageY-o.top-(p.height()/2)-(parseInt(p.css("borderTopWidth"),10)||0)-(parseInt(p.css("borderBottomWidth"),10)||0)+(parseInt(p.css("marginTop"),10)||0)};l=this._normValueFromMouse(n);this._slide(r,m,l);return true},_mouseStart:function(a){return true},_mouseDrag:function(e){var a={x:e.pageX,y:e.pageY};var f=this._normValueFromMouse(a);this._slide(e,this._handleIndex,f);return false},_mouseStop:function(a){this.handles.removeClass("ui-state-active");this._stop(a,this._handleIndex);this._change(a,this._handleIndex);this._handleIndex=null;this._clickOffset=null;return false},_detectOrientation:function(){this.orientation=this.options.orientation=="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(q){var r,m;if("horizontal"==this.orientation){r=this.elementSize.width;m=q.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{r=this.elementSize.height;m=q.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}var o=(m/r);if(o>1){o=1}if(o<0){o=0}if("vertical"==this.orientation){o=1-o}var p=this._valueMax()-this._valueMin(),l=o*p,a=l%this.options.step,n=this._valueMin()+l-a;if(a>(this.options.step/2)){n+=this.options.step}return parseFloat(n.toFixed(5))},_start:function(e,f){var a={handle:this.handles[f],value:this.value()};if(this.options.values&&this.options.values.length){a.value=this.values(f);a.values=this.values()}this._trigger("start",e,a)},_slide:function(n,o,p){var m=this.handles[o];if(this.options.values&&this.options.values.length){var a=this.values(o?0:1);if((o==0&&p>=a)||(o==1&&p<=a)){p=a}if(p!=this.values(o)){var q=this.values();q[o]=p;var l=this._trigger("slide",n,{handle:this.handles[o],value:p,values:q});var a=this.values(o?0:1);if(l!==false){this.values(o,p,(n.type=="mousedown"&&this.options.animate),true)}}}else{if(p!=this.value()){var l=this._trigger("slide",n,{handle:this.handles[o],value:p});if(l!==false){this._setData("value",p,(n.type=="mousedown"&&this.options.animate))}}}},_stop:function(e,f){var a={handle:this.handles[f],value:this.value()};if(this.options.values&&this.options.values.length){a.value=this.values(f);a.values=this.values()}this._trigger("stop",e,a)},_change:function(e,f){var a={handle:this.handles[f],value:this.value()};if(this.options.values&&this.options.values.length){a.value=this.values(f);a.values=this.values()}this._trigger("change",e,a)},value:function(a){if(arguments.length){this._setData("value",a);this._change(null,0)}return this._value()},values:function(a,f,h,g){if(arguments.length>1){this.options.values[a]=f;this._refreshValue(h);if(!g){this._change(null,a)}}if(arguments.length){if(this.options.values&&this.options.values.length){return this._values(a)}else{return this.value()}}else{return this._values()}},_setData:function(a,e,f){b.widget.prototype._setData.apply(this,arguments);switch(a){case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue(f);break;case"value":this._refreshValue(f);break}},_step:function(){var a=this.options.step;return a},_value:function(){var a=this.options.value;if(a<this._valueMin()){a=this._valueMin()}if(a>this._valueMax()){a=this._valueMax()}return a},_values:function(a){if(arguments.length){var d=this.options.values[a];if(d<this._valueMin()){d=this._valueMin()}if(d>this._valueMax()){d=this._valueMax()}return d}else{return this.options.values}},_valueMin:function(){var a=this.options.min;return a},_valueMax:function(){var a=this.options.max;return a},_refreshValue:function(u){var r=this.options.range,t=this.options,a=this;if(this.options.values&&this.options.values.length){var o,p;this.handles.each(function(e,g){var f=(a.values(e)-a._valueMin())/(a._valueMax()-a._valueMin())*100;var d={};d[a.orientation=="horizontal"?"left":"bottom"]=f+"%";b(this).stop(1,1)[u?"animate":"css"](d,t.animate);if(a.options.range===true){if(a.orientation=="horizontal"){(e==0)&&a.range.stop(1,1)[u?"animate":"css"]({left:f+"%"},t.animate);(e==1)&&a.range[u?"animate":"css"]({width:(f-lastValPercent)+"%"},{queue:false,duration:t.animate})}else{(e==0)&&a.range.stop(1,1)[u?"animate":"css"]({bottom:(f)+"%"},t.animate);(e==1)&&a.range[u?"animate":"css"]({height:(f-lastValPercent)+"%"},{queue:false,duration:t.animate})}}lastValPercent=f})}else{var n=this.value(),q=this._valueMin(),m=this._valueMax(),s=m!=q?(n-q)/(m-q)*100:0;var v={};v[a.orientation=="horizontal"?"left":"bottom"]=s+"%";this.handle.stop(1,1)[u?"animate":"css"](v,t.animate);(r=="min")&&(this.orientation=="horizontal")&&this.range.stop(1,1)[u?"animate":"css"]({width:s+"%"},t.animate);(r=="max")&&(this.orientation=="horizontal")&&this.range[u?"animate":"css"]({width:(100-s)+"%"},{queue:false,duration:t.animate});(r=="min")&&(this.orientation=="vertical")&&this.range.stop(1,1)[u?"animate":"css"]({height:s+"%"},t.animate);(r=="max")&&(this.orientation=="vertical")&&this.range[u?"animate":"css"]({height:(100-s)+"%"},{queue:false,duration:t.animate})}}}));b.extend(b.ui.slider,{getter:"value values",version:"1.7.1",eventPrefix:"slide",defaults:{animate:false,delay:0,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null}})})(jQuery);(function(a){a.ui=a.ui||{};if(!a.ui.version){a.extend(a.ui,{version:"1.8.2",plugin:{add:function(g,f,l){g=a.ui[g].prototype;for(var h in l){g.plugins[h]=g.plugins[h]||[];g.plugins[h].push([f,l[h]])}},call:function(g,f,l){if((f=g.plugins[f])&&g.element[0].parentNode){for(var h=0;h<f.length;h++){g.options[f[h][0]]&&f[h][1].apply(g.element,l)}}}},contains:function(e,d){return document.compareDocumentPosition?e.compareDocumentPosition(d)&16:e!==d&&e.contains(d)},hasScroll:function(f,e){if(a(f).css("overflow")=="hidden"){return false}e=e&&e=="left"?"scrollLeft":"scrollTop";var g=false;if(f[e]>0){return true}f[e]=1;g=f[e]>0;f[e]=0;return g},isOverAxis:function(f,e,g){return f>e&&f<e+g},isOver:function(l,h,p,o,n,m){return a.ui.isOverAxis(l,p,n)&&a.ui.isOverAxis(h,o,m)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({_focus:a.fn.focus,focus:function(e,d){return typeof e==="number"?this.each(function(){var b=this;setTimeout(function(){a(b).focus();d&&d.call(b)},e)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none")},scrollParent:function(){var b;b=a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(e){if(e!==undefined){return this.css("zIndex",e)}if(this.length){e=a(this[0]);for(var d;e.length&&e[0]!==document;){d=e.css("position");if(d=="absolute"||d=="relative"||d=="fixed"){d=parseInt(e.css("zIndex"));if(!isNaN(d)&&d!=0){return d}}e=e.parent()}}return 0}});a.extend(a.expr[":"],{data:function(f,e,g){return !!a.data(f,g[3])},focusable:function(f){var e=f.nodeName.toLowerCase(),g=a.attr(f,"tabindex");return(/input|select|textarea|button|object/.test(e)?!f.disabled:"a"==e||"area"==e?f.href||!isNaN(g):!isNaN(g))&&!a(f)["area"==e?"parents":"closest"](":hidden").length},tabbable:function(e){var d=a.attr(e,"tabindex");return(isNaN(d)||d>=0)&&a(e).is(":focusable")}})}})(jQuery);(function(a){var d=a.fn.remove;a.fn.remove=function(b,e){return this.each(function(){if(!e){if(!b||a.filter(b,[this]).length){a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})}}return d.call(a(this),b,e)})};a.widget=function(b,m,l){var h=b.split(".")[0],g;b=b.split(".")[1];g=h+"-"+b;if(!l){l=m;m=a.Widget}a.expr[":"][g]=function(e){return !!a.data(e,b)};a[h]=a[h]||{};a[h][b]=function(e,f){arguments.length&&this._createWidget(e,f)};m=new m;m.options=a.extend({},m.options);a[h][b].prototype=a.extend(true,m,{namespace:h,widgetName:b,widgetEventPrefix:a[h][b].prototype.widgetEventPrefix||b,widgetBaseClass:g},l);a.widget.bridge(b,a[h][b])};a.widget.bridge=function(b,e){a.fn[b]=function(n){var m=typeof n==="string",l=Array.prototype.slice.call(arguments,1),g=this;n=!m&&l.length?a.extend.apply(null,[true,n].concat(l)):n;if(m&&n.substring(0,1)==="_"){return g}m?this.each(function(){var h=a.data(this,b),f=h&&a.isFunction(h[n])?h[n].apply(h,l):h;if(f!==h&&f!==undefined){g=f;return false}}):this.each(function(){var f=a.data(this,b);if(f){n&&f.option(n);f._init()}else{a.data(this,b,new e(n,this))}});return g}};a.Widget=function(b,e){arguments.length&&this._createWidget(b,e)};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,f){this.element=a(f).data(this.widgetName,this);this.options=a.extend(true,{},this.options,a.metadata&&a.metadata.get(f)[this.widgetName],b);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(b,h){var g=b,f=this;if(arguments.length===0){return a.extend({},f.options)}if(typeof b==="string"){if(h===undefined){return this.options[b]}g={};g[b]=h}a.each(g,function(l,e){f._setOption(l,e)});return f},_setOption:function(b,e){this.options[b]=e;if(b==="disabled"){this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,m,l){var h=this.options[b];m=a.Event(m);m.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();l=l||{};if(m.originalEvent){b=a.event.props.length;for(var g;b;){g=a.event.props[--b];m[g]=m.originalEvent[g]}}this.element.trigger(m,l);return !(a.isFunction(h)&&h.call(this.element[0],m,l)===false||m.isDefaultPrevented())}}})(jQuery);(function(a){a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(d){return b._mouseDown(d)}).bind("click."+this.widgetName,function(d){if(b._preventClickEvent){b._preventClickEvent=false;d.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(g){g.originalEvent=g.originalEvent||{};if(!g.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(g);this._mouseDownEvent=g;var d=this,l=g.which==1,h=typeof this.options.cancel=="string"?a(g.target).parents().add(g.target).filter(this.options.cancel).length:false;if(!l||h||!this._mouseCapture(g)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(g)&&this._mouseDelayMet(g)){this._mouseStarted=this._mouseStart(g)!==false;if(!this._mouseStarted){g.preventDefault();return true}}this._mouseMoveDelegate=function(b){return d._mouseMove(b)};this._mouseUpDelegate=function(b){return d._mouseUp(b)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.browser.safari||g.preventDefault();return g.originalEvent.mouseHandled=true}},_mouseMove:function(b){if(a.browser.msie&&!b.button){return this._mouseUp(b)}if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==false)?this._mouseDrag(b):this._mouseUp(b)}return !this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=b.target==this._mouseDownEvent.target;this._mouseStop(b)}return false},_mouseDistanceMet:function(b){return Math.max(Math.abs(this._mouseDownEvent.pageX-b.pageX),Math.abs(this._mouseDownEvent.pageY-b.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(a){a.widget("ui.slider",a.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var e=this,d=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");d.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");this.range=a([]);if(d.range){if(d.range===true){this.range=a("<div></div>");if(!d.values){d.values=[this._valueMin(),this._valueMin()]}if(d.values.length&&d.values.length!==2){d.values=[d.values[0],d.values[0]]}}else{this.range=a("<div></div>")}this.range.appendTo(this.element).addClass("ui-slider-range");if(d.range==="min"||d.range==="max"){this.range.addClass("ui-slider-range-"+d.range)}this.range.addClass("ui-widget-header")}a(".ui-slider-handle",this.element).length===0&&a("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");if(d.values&&d.values.length){for(;a(".ui-slider-handle",this.element).length<d.values.length;){a("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle")}}this.handles=a(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(b){b.preventDefault()}).hover(function(){d.disabled||a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")}).focus(function(){if(d.disabled){a(this).blur()}else{a(".ui-slider .ui-state-focus").removeClass("ui-state-focus");a(this).addClass("ui-state-focus")}}).blur(function(){a(this).removeClass("ui-state-focus")});this.handles.each(function(b){a(this).data("index.ui-slider-handle",b)});this.handles.keydown(function(p){var o=true,n=a(this).data("index.ui-slider-handle"),m,l,b;if(!e.options.disabled){switch(p.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:o=false;if(!e._keySliding){e._keySliding=true;a(this).addClass("ui-state-active");m=e._start(p,n);if(m===false){return}}break}b=e.options.step;m=e.options.values&&e.options.values.length?(l=e.values(n)):(l=e.value());switch(p.keyCode){case a.ui.keyCode.HOME:l=e._valueMin();break;case a.ui.keyCode.END:l=e._valueMax();break;case a.ui.keyCode.PAGE_UP:l=e._trimAlignValue(m+(e._valueMax()-e._valueMin())/5);break;case a.ui.keyCode.PAGE_DOWN:l=e._trimAlignValue(m-(e._valueMax()-e._valueMin())/5);break;case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(m===e._valueMax()){return}l=e._trimAlignValue(m+b);break;case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(m===e._valueMin()){return}l=e._trimAlignValue(m-b);break}e._slide(p,n,l);return o}}).keyup(function(f){var b=a(this).data("index.ui-slider-handle");if(e._keySliding){e._keySliding=false;e._stop(f,b);e._change(f,b);a(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(l){var d=this.options,r,q,p,o,n,m;if(d.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();r={x:l.pageX,y:l.pageY};q=this._normValueFromMouse(r);p=this._valueMax()-this._valueMin()+1;n=this;this.handles.each(function(e){var b=Math.abs(q-n.values(e));if(p>b){p=b;o=a(this);m=e}});if(d.range===true&&this.values(1)===d.min){m+=1;o=a(this.handles[m])}if(this._start(l,m)===false){return false}this._mouseSliding=true;n._handleIndex=m;o.addClass("ui-state-active").focus();d=o.offset();this._clickOffset=!a(l.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:l.pageX-d.left-o.width()/2,top:l.pageY-d.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)};q=this._normValueFromMouse(r);this._slide(l,m,q);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(e){var d=this._normValueFromMouse({x:e.pageX,y:e.pageY});this._slide(e,this._handleIndex,d);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(e){var d;if(this.orientation==="horizontal"){d=this.elementSize.width;e=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{d=this.elementSize.height;e=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}d=e/d;if(d>1){d=1}if(d<0){d=0}if(this.orientation==="vertical"){d=1-d}e=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+d*e)},_start:function(e,d){var f={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){f.value=this.values(d);f.values=this.values()}return this._trigger("start",e,f)},_slide:function(f,d,h){var g;if(this.options.values&&this.options.values.length){g=this.values(d?0:1);if(this.options.values.length===2&&this.options.range===true&&(d===0&&h>g||d===1&&h<g)){h=g}if(h!==this.values(d)){g=this.values();g[d]=h;f=this._trigger("slide",f,{handle:this.handles[d],value:h,values:g});this.values(d?0:1);f!==false&&this.values(d,h,true)}}else{if(h!==this.value()){f=this._trigger("slide",f,{handle:this.handles[d],value:h});f!==false&&this.value(h)}}},_stop:function(e,d){var f={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){f.value=this.values(d);f.values=this.values()}this._trigger("stop",e,f)},_change:function(e,d){if(!this._keySliding&&!this._mouseSliding){var f={handle:this.handles[d],value:this.value()};if(this.options.values&&this.options.values.length){f.value=this.values(d);f.values=this.values()}this._trigger("change",e,f)}},value:function(b){if(arguments.length){this.options.value=this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(g,d){var m,l,h;if(arguments.length>1){this.options.values[g]=this._trimAlignValue(d);this._refreshValue();this._change(null,g)}if(arguments.length){if(a.isArray(arguments[0])){m=this.options.values;l=arguments[0];for(h=0;h<m.length;h+=1){m[h]=this._trimAlignValue(l[h]);this._change(null,h)}this._refreshValue()}else{return this.options.values&&this.options.values.length?this._values(g):this.value()}}else{return this._values()}},_setOption:function(f,d){var h,g=0;if(a.isArray(this.options.values)){g=this.options.values.length}a.Widget.prototype._setOption.apply(this,arguments);switch(f){case"disabled":if(d){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(h=0;h<g;h+=1){this._change(null,h)}this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(e){var d,f;if(arguments.length){d=this.options.values[e];return d=this._trimAlignValue(d)}else{d=this.options.values.slice();for(f=0;f<d.length;f+=1){d[f]=this._trimAlignValue(d[f])}return d}},_trimAlignValue:function(e){if(e<this._valueMin()){return this._valueMin()}if(e>this._valueMax()){return this._valueMax()}var d=this.options.step>0?this.options.step:1,f=e%d;e=e-f;if(Math.abs(f)*2>=d){e+=f>0?d:-d}return parseFloat(e.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t=this.options.range,s=this.options,r=this,q=!this._animateOff?s.animate:false,p,o={},n,m,l,d;if(this.options.values&&this.options.values.length){this.handles.each(function(b){p=(r.values(b)-r._valueMin())/(r._valueMax()-r._valueMin())*100;o[r.orientation==="horizontal"?"left":"bottom"]=p+"%";a(this).stop(1,1)[q?"animate":"css"](o,s.animate);if(r.options.range===true){if(r.orientation==="horizontal"){if(b===0){r.range.stop(1,1)[q?"animate":"css"]({left:p+"%"},s.animate)}if(b===1){r.range[q?"animate":"css"]({width:p-n+"%"},{queue:false,duration:s.animate})}}else{if(b===0){r.range.stop(1,1)[q?"animate":"css"]({bottom:p+"%"},s.animate)}if(b===1){r.range[q?"animate":"css"]({height:p-n+"%"},{queue:false,duration:s.animate})}}}n=p})}else{m=this.value();l=this._valueMin();d=this._valueMax();p=d!==l?(m-l)/(d-l)*100:0;o[r.orientation==="horizontal"?"left":"bottom"]=p+"%";this.handle.stop(1,1)[q?"animate":"css"](o,s.animate);if(t==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[q?"animate":"css"]({width:p+"%"},s.animate)}if(t==="max"&&this.orientation==="horizontal"){this.range[q?"animate":"css"]({width:100-p+"%"},{queue:false,duration:s.animate})}if(t==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[q?"animate":"css"]({height:p+"%"},s.animate)}if(t==="max"&&this.orientation==="vertical"){this.range[q?"animate":"css"]({height:100-p+"%"},{queue:false,duration:s.animate})}}}});a.extend(a.ui.slider,{version:"1.8.2"})})(jQuery);(function(a){var e={vertical:false,rtl:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null,itemFallbackDimension:null},d=false;a(window).bind("load.jcarousel",function(){d=true});a.jcarousel=function(s,q){this.options=a.extend({},e,q||{});this.autoStopped=this.locked=false;this.buttonPrevState=this.buttonNextState=this.buttonPrev=this.buttonNext=this.list=this.clip=this.container=null;if(!q||q.rtl===undefined){this.options.rtl=(a(s).attr("dir")||a("html").attr("dir")||"").toLowerCase()=="rtl"}this.wh=!this.options.vertical?"width":"height";this.lt=!this.options.vertical?this.options.rtl?"right":"left":"top";for(var r="",p=s.className.split(" "),n=0;n<p.length;n++){if(p[n].indexOf("jcarousel-skin")!=-1){a(s).removeClass(p[n]);r=p[n];break}}if(s.nodeName.toUpperCase()=="UL"||s.nodeName.toUpperCase()=="OL"){this.list=a(s);this.container=this.list.parent();if(this.container.hasClass("jcarousel-clip")){if(!this.container.parent().hasClass("jcarousel-container")){this.container=this.container.wrap("<div></div>")}this.container=this.container.parent()}else{if(!this.container.hasClass("jcarousel-container")){this.container=this.list.wrap("<div></div>").parent()}}}else{this.container=a(s);this.list=this.container.find("ul,ol").eq(0)}r!==""&&this.container.parent()[0].className.indexOf("jcarousel-skin")==-1&&this.container.wrap('<div class=" '+r+'"></div>');this.clip=this.list.parent();if(!this.clip.length||!this.clip.hasClass("jcarousel-clip")){this.clip=this.list.wrap("<div></div>").parent()}this.buttonNext=a(".jcarousel-next",this.container);if(this.buttonNext.size()===0&&this.options.buttonNextHTML!==null){this.buttonNext=this.clip.after(this.options.buttonNextHTML).next()}this.buttonNext.addClass(this.className("jcarousel-next"));this.buttonPrev=a(".jcarousel-prev",this.container);if(this.buttonPrev.size()===0&&this.options.buttonPrevHTML!==null){this.buttonPrev=this.clip.after(this.options.buttonPrevHTML).next()}this.buttonPrev.addClass(this.className("jcarousel-prev"));this.clip.addClass(this.className("jcarousel-clip")).css({overflow:"hidden",position:"relative"});this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden",position:"relative",top:0,margin:0,padding:0}).css(this.options.rtl?"right":"left",0);this.container.addClass(this.className("jcarousel-container")).css({position:"relative"});!this.options.vertical&&this.options.rtl&&this.container.addClass("jcarousel-direction-rtl").attr("dir","rtl");var l=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null;r=this.list.children("li");var o=this;if(r.size()>0){var m=0,h=this.options.offset;r.each(function(){o.format(this,h++);m+=o.dimension(this,l)});this.list.css(this.wh,m+100+"px");if(!q||q.size===undefined){this.options.size=r.size()}}this.container.css("display","block");this.buttonNext.css("display","block");this.buttonPrev.css("display","block");this.funcNext=function(){o.next()};this.funcPrev=function(){o.prev()};this.funcResize=function(){o.reload()};this.options.initCallback!==null&&this.options.initCallback(this,"init");if(!d&&a.browser.safari){this.buttons(false,false);a(window).bind("load.jcarousel",function(){o.setup()})}else{this.setup()}};var b=a.jcarousel;b.fn=b.prototype={jcarousel:"0.2.7"};b.fn.extend=b.extend=a.extend;b.fn.extend({setup:function(){this.prevLast=this.prevFirst=this.last=this.first=null;this.animating=false;this.tail=this.timer=null;this.inTail=false;if(!this.locked){this.list.css(this.lt,this.pos(this.options.offset)+"px");var f=this.pos(this.options.start,true);this.prevFirst=this.prevLast=null;this.animate(f,false);a(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize)}},reset:function(){this.list.empty();this.list.css(this.lt,"0px");this.list.css(this.wh,"10px");this.options.initCallback!==null&&this.options.initCallback(this,"reset");this.setup()},reload:function(){this.tail!==null&&this.inTail&&this.list.css(this.lt,b.intval(this.list.css(this.lt))+this.tail);this.tail=null;this.inTail=false;this.options.reloadCallback!==null&&this.options.reloadCallback(this);if(this.options.visible!==null){var g=this,l=Math.ceil(this.clipping()/this.options.visible),f=0,h=0;this.list.children("li").each(function(m){f+=g.dimension(this,l);if(m+1<g.first){h=f}});this.list.css(this.wh,f+"px");this.list.css(this.lt,-h+"px")}this.scroll(this.first,false)},lock:function(){this.locked=true;this.buttons()},unlock:function(){this.locked=false;this.buttons()},size:function(f){if(f!==undefined){this.options.size=f;this.locked||this.buttons()}return this.options.size},has:function(g,l){if(l===undefined||!l){l=g}if(this.options.size!==null&&l>this.options.size){l=this.options.size}for(var f=g;f<=l;f++){var h=this.get(f);if(!h.length||h.hasClass("jcarousel-item-placeholder")){return false}}return true},get:function(f){return a(".jcarousel-item-"+f,this.list)},add:function(h,p){var g=this.get(h),o=0,m=a(p);if(g.length===0){var l,n=b.intval(h);for(g=this.create(h);;){l=this.get(--n);if(n<=0||l.length){n<=0?this.list.prepend(g):l.after(g);break}}}else{o=this.dimension(g)}if(m.get(0).nodeName.toUpperCase()=="LI"){g.replaceWith(m);g=m}else{g.empty().append(p)}this.format(g.removeClass(this.className("jcarousel-item-placeholder")),h);m=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null;o=this.dimension(g,m)-o;h>0&&h<this.first&&this.list.css(this.lt,b.intval(this.list.css(this.lt))-o+"px");this.list.css(this.wh,b.intval(this.list.css(this.wh))+o+"px");return g},remove:function(g){var h=this.get(g);if(!(!h.length||g>=this.first&&g<=this.last)){var f=this.dimension(h);g<this.first&&this.list.css(this.lt,b.intval(this.list.css(this.lt))+f+"px");h.remove();this.list.css(this.wh,b.intval(this.list.css(this.wh))-f+"px")}},next:function(){this.tail!==null&&!this.inTail?this.scrollTail(false):this.scroll((this.options.wrap=="both"||this.options.wrap=="last")&&this.options.size!==null&&this.last==this.options.size?1:this.first+this.options.scroll)},prev:function(){this.tail!==null&&this.inTail?this.scrollTail(true):this.scroll((this.options.wrap=="both"||this.options.wrap=="first")&&this.options.size!==null&&this.first==1?this.options.size:this.first-this.options.scroll)},scrollTail:function(f){if(!(this.locked||this.animating||!this.tail)){this.pauseAuto();var g=b.intval(this.list.css(this.lt));g=!f?g-this.tail:g+this.tail;this.inTail=!f;this.prevFirst=this.first;this.prevLast=this.last;this.animate(g)}},scroll:function(f,g){if(!(this.locked||this.animating)){this.pauseAuto();this.animate(this.pos(f),g)}},pos:function(D,B){var C=b.intval(this.list.css(this.lt));if(this.locked||this.animating){return C}if(this.options.wrap!="circular"){D=D<1?1:this.options.size&&D>this.options.size?this.options.size:D}for(var A=this.first>D,y=this.options.wrap!="circular"&&this.first<=1?1:this.first,v=A?this.get(y):this.get(this.last),z=A?y:y-1,w=null,u=0,t=false,s=0;A?--z>=D:++z<D;){w=this.get(z);t=!w.length;if(w.length===0){w=this.create(z).addClass(this.className("jcarousel-item-placeholder"));v[A?"before":"after"](w);if(this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(z<=0||z>this.options.size)){v=this.get(this.index(z));if(v.length){w=this.add(z,v.clone(true))}}}v=w;s=this.dimension(w);if(t){u+=s}if(this.first!==null&&(this.options.wrap=="circular"||z>=1&&(this.options.size===null||z<=this.options.size))){C=A?C+s:C-s}}y=this.clipping();var h=[],q=0,r=0;v=this.get(D-1);for(z=D;++q;){w=this.get(z);t=!w.length;if(w.length===0){w=this.create(z).addClass(this.className("jcarousel-item-placeholder"));v.length===0?this.list.prepend(w):v[A?"before":"after"](w);if(this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(z<=0||z>this.options.size)){v=this.get(this.index(z));if(v.length){w=this.add(z,v.clone(true))}}}v=w;s=this.dimension(w);if(s===0){throw Error("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...")}if(this.options.wrap!="circular"&&this.options.size!==null&&z>this.options.size){h.push(w)}else{if(t){u+=s}}r+=s;if(r>=y){break}z++}for(w=0;w<h.length;w++){h[w].remove()}if(u>0){this.list.css(this.wh,this.dimension(this.list)+u+"px");if(A){C-=u;this.list.css(this.lt,b.intval(this.list.css(this.lt))-u+"px")}}u=D+q-1;if(this.options.wrap!="circular"&&this.options.size&&u>this.options.size){u=this.options.size}if(z>u){q=0;z=u;for(r=0;++q;){w=this.get(z--);if(!w.length){break}r+=this.dimension(w);if(r>=y){break}}}z=u-q+1;if(this.options.wrap!="circular"&&z<1){z=1}if(this.inTail&&A){C+=this.tail;this.inTail=false}this.tail=null;if(this.options.wrap!="circular"&&u==this.options.size&&u-q+1>=1){A=b.margin(this.get(u),!this.options.vertical?"marginRight":"marginBottom");if(r-A>y){this.tail=r-y-A}}if(B&&D===this.options.size&&this.tail){C-=this.tail;this.inTail=true}for(;D-->z;){C+=this.dimension(this.get(D))}this.prevFirst=this.first;this.prevLast=this.last;this.first=z;this.last=u;return C},animate:function(g,l){if(!(this.locked||this.animating)){this.animating=true;var f=this,h=function(){f.animating=false;g===0&&f.list.css(f.lt,0);if(!f.autoStopped&&(f.options.wrap=="circular"||f.options.wrap=="both"||f.options.wrap=="last"||f.options.size===null||f.last<f.options.size||f.last==f.options.size&&f.tail!==null&&!f.inTail)){f.startAuto()}f.buttons();f.notify("onAfterAnimation");if(f.options.wrap=="circular"&&f.options.size!==null){for(var m=f.prevFirst;m<=f.prevLast;m++){if(m!==null&&!(m>=f.first&&m<=f.last)&&(m<1||m>f.options.size)){f.remove(m)}}}};this.notify("onBeforeAnimation");if(!this.options.animation||l===false){this.list.css(this.lt,g+"px");h()}else{this.list.animate(!this.options.vertical?this.options.rtl?{right:g}:{left:g}:{top:g},this.options.animation,this.options.easing,h)}}},startAuto:function(f){if(f!==undefined){this.options.auto=f}if(this.options.auto===0){return this.stopAuto()}if(this.timer===null){this.autoStopped=false;var g=this;this.timer=window.setTimeout(function(){g.next()},this.options.auto*1000)}},stopAuto:function(){this.pauseAuto();this.autoStopped=true},pauseAuto:function(){if(this.timer!==null){window.clearTimeout(this.timer);this.timer=null}},buttons:function(g,h){if(g==null){g=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="first"||this.options.size===null||this.last<this.options.size);if(!this.locked&&(!this.options.wrap||this.options.wrap=="first")&&this.options.size!==null&&this.last>=this.options.size){g=this.tail!==null&&!this.inTail}}if(h==null){h=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="last"||this.first>1);if(!this.locked&&(!this.options.wrap||this.options.wrap=="last")&&this.options.size!==null&&this.first==1){h=this.tail!==null&&this.inTail}}var f=this;if(this.buttonNext.size()>0){this.buttonNext.unbind(this.options.buttonNextEvent+".jcarousel",this.funcNext);g&&this.buttonNext.bind(this.options.buttonNextEvent+".jcarousel",this.funcNext);this.buttonNext[g?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",g?false:true);this.options.buttonNextCallback!==null&&this.buttonNext.data("jcarouselstate")!=g&&this.buttonNext.each(function(){f.options.buttonNextCallback(f,this,g)}).data("jcarouselstate",g)}else{this.options.buttonNextCallback!==null&&this.buttonNextState!=g&&this.options.buttonNextCallback(f,null,g)}if(this.buttonPrev.size()>0){this.buttonPrev.unbind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev);h&&this.buttonPrev.bind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev);this.buttonPrev[h?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",h?false:true);this.options.buttonPrevCallback!==null&&this.buttonPrev.data("jcarouselstate")!=h&&this.buttonPrev.each(function(){f.options.buttonPrevCallback(f,this,h)}).data("jcarouselstate",h)}else{this.options.buttonPrevCallback!==null&&this.buttonPrevState!=h&&this.options.buttonPrevCallback(f,null,h)}this.buttonNextState=g;this.buttonPrevState=h},notify:function(f){var g=this.prevFirst===null?"init":this.prevFirst<this.first?"next":"prev";this.callback("itemLoadCallback",f,g);if(this.prevFirst!==this.first){this.callback("itemFirstInCallback",f,g,this.first);this.callback("itemFirstOutCallback",f,g,this.prevFirst)}if(this.prevLast!==this.last){this.callback("itemLastInCallback",f,g,this.last);this.callback("itemLastOutCallback",f,g,this.prevLast)}this.callback("itemVisibleInCallback",f,g,this.first,this.last,this.prevFirst,this.prevLast);this.callback("itemVisibleOutCallback",f,g,this.prevFirst,this.prevLast,this.first,this.last)},callback:function(u,s,t,r,p,n,q){if(!(this.options[u]==null||typeof this.options[u]!="object"&&s!="onAfterAnimation")){var o=typeof this.options[u]=="object"?this.options[u][s]:this.options[u];if(a.isFunction(o)){var m=this;if(r===undefined){o(m,t,s)}else{if(p===undefined){this.get(r).each(function(){o(m,this,r,t,s)})}else{u=function(f){m.get(f).each(function(){o(m,this,f,t,s)})};for(var h=r;h<=p;h++){h!==null&&!(h>=n&&h<=q)&&u(h)}}}}}},create:function(f){return this.format("<li></li>",f)},format:function(g,l){g=a(g);for(var f=g.get(0).className.split(" "),h=0;h<f.length;h++){f[h].indexOf("jcarousel-")!=-1&&g.removeClass(f[h])}g.addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+l)).css({"float":this.options.rtl?"right":"left","list-style":"none"}).attr("jcarouselindex",l);return g},className:function(f){return f+" "+f+(!this.options.vertical?"-horizontal":"-vertical")},dimension:function(g,l){var f=g.jquery!==undefined?g[0]:g,h=!this.options.vertical?(f.offsetWidth||b.intval(this.options.itemFallbackDimension))+b.margin(f,"marginLeft")+b.margin(f,"marginRight"):(f.offsetHeight||b.intval(this.options.itemFallbackDimension))+b.margin(f,"marginTop")+b.margin(f,"marginBottom");if(l==null||h==l){return h}h=!this.options.vertical?l-b.margin(f,"marginLeft")-b.margin(f,"marginRight"):l-b.margin(f,"marginTop")-b.margin(f,"marginBottom");a(f).css(this.wh,h+"px");return this.dimension(f)},clipping:function(){return !this.options.vertical?this.clip[0].offsetWidth-b.intval(this.clip.css("borderLeftWidth"))-b.intval(this.clip.css("borderRightWidth")):this.clip[0].offsetHeight-b.intval(this.clip.css("borderTopWidth"))-b.intval(this.clip.css("borderBottomWidth"))},index:function(f,g){if(g==null){g=this.options.size}return Math.round(((f-1)/g-Math.floor((f-1)/g))*g)+1}});b.extend({defaults:function(f){return a.extend(e,f||{})},margin:function(h,o){if(!h){return 0}var g=h.jquery!==undefined?h[0]:h;if(o=="marginRight"&&a.browser.safari){var n={display:"block","float":"none",width:"auto"},m,l;a.swap(g,n,function(){m=g.offsetWidth});n.marginRight=0;a.swap(g,n,function(){l=g.offsetWidth});return l-m}return b.intval(a.css(g,o))},intval:function(f){f=parseInt(f,10);return isNaN(f)?0:f}});a.fn.jcarousel=function(g){if(typeof g=="string"){var h=a(this).data("jcarousel"),f=Array.prototype.slice.call(arguments,1);return h[g].apply(h,f)}else{return this.each(function(){a(this).data("jcarousel",new b(this,g))})}}})(jQuery);eval(function(h,b,l,d,g,f){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(l--){f[g(l)]=d[l]||g(l)}d=[function(a){return f[a]}];g=function(){return"\\w+"};l=1}while(l--){if(d[l]){h=h.replace(new RegExp("\\b"+g(l)+"\\b","g"),d[l])}}return h}('(u($){q p=1;$.z.w=u(m){q n=$.13({s:4,t:4,H:2,A:.5,B:"14",I:15},m);q o=$([]);r.16(".w").J(u(){q a=$(r);q b=[];q c=(n.H<=0)?0:n.H;q d=(c==0)?n.A:n.A/(c*8);q f=(n.I)?p:p+1;q g=(n.I)?p+1:p;q h;C(r.D){h=r.D+"17"}O{h="18"+(1+P.19(1a*P.1b()))}$.E(r,"x",h);$.E(r,"Q",m);a.R("x",h).9("K",f);C(a.9("v")!="L"){a.9({v:"1c",1d:1})}F=a.9("1e");C(F=="1f(0, 0, 0, 0)")F="S";C(F!="S"||a.9("1g")!="1h"||r.M=="1i"||r.M=="1j"||r.M=="1k"){b[0]=$("<y></y>").9("1l",n.B)}O{b[0]=a.T().N("D").N("1m").N("x").9("B",n.B)}b[0].U("w").9({1n:a.1o(),s:c,A:d,v:"L",t:c,1p:a.1q(),K:g});q k=(8*c)+1;V(i=1;i<k;i++){b[i]=b[0].T()}q i=1;q j=c;1r(j>0){b[i].9({s:j*2,t:0});b[i+1].9({s:j*4,t:j*2});b[i+2].9({s:j*2,t:j*4});b[i+3].9({s:0,t:j*2});b[i+4].9({s:j*3,t:j});b[i+5].9({s:j*3,t:j*3});b[i+6].9({s:j,t:j*3});b[i+7].9({s:j,t:j});i+=8;j--}q l=$("<y></y>").R("D",h).U("w").9({s:a.v().s+n.s-c,W:a.9("W"),X:a.9("X"),Y:a.9("Y"),Z:a.9("Z"),v:"L",t:a.v().t+n.t-c,K:g});V(i=0;i<k;i++){l.10(b[i])}a.1s(l);o=o.1t(l);$(1u).1v(u(){1w{l.9({s:a.v().s+n.s-c,t:a.v().t+n.t-c})}1x(e){}});p+=2});G r.1y(o)};$.z.1z=u(){r.11();G r.J(u(){q a=$.E(r,"Q");$(r).w(a)})};$.z.11=u(){G r.J(u(){q a=$(r).x();$("y#"+a).1A()})};$.z.x=u(){G $.E(r[0],"x")};$(u(){q a="<12 1B=\'1C/9\' 1D=\'1E\'>";a+=".w{1F:1G;}</12>";$("1H").10(a)})})(1I);',62,107,"|||||||||css|||||||||||||||||var|this|left|top|function|position|dropShadow|shadowId|div|fn|opacity|color|if|id|data|bgColor|return|blur|swap|each|zIndex|absolute|nodeName|removeAttr|else|Math|shadowOptions|attr|transparent|clone|addClass|for|marginTop|marginRight|marginBottom|marginLeft|append|removeShadow|style|extend|black|false|not|_dropShadow|ds|floor|9999|random|relative|zoom|backgroundColor|rgba|backgroundImage|none|SELECT|INPUT|TEXTAREA|background|name|height|outerHeight|width|outerWidth|while|after|add|window|resize|try|catch|pushStack|redrawShadow|remove|type|text|media|print|visibility|hidden|head|jQuery".split("|"),0,{}));var IsIE=/MSIE/.test(navigator.userAgent);var Return={OK:1,ERROR:-1};var $j=jQuery.noConflict();$j(document).ready(function(){$j(".comHover").hover(function(){$j(this).addClass("over")},function(){$j(this).removeClass("over")});$j("#header .menu a").removeAttr("title");$j("#header .menu li").hover(function(){$j(this).find(".submenu_wrapper").css("visibility","visible")},function(){$j(this).find(".submenu_wrapper").css("visibility","hidden")});$j("#header .submenu").hover(function(){$j(this).parents("li").addClass("active")},function(){$j(this).parents("li").removeClass("active")});$j(".active_on_focus").focus(function(){if(!$j(this).hasClass("clicked")){$j(this).val("")}$j(this).addClass("clicked");var e=$j(this).val();$j(this).addClass("active");$j(this).blur(function(){if(!$j(this).hasClass("clicked")&&$j(this).val()==""){$j(this).val(e)}})});var a,b,d=0;$j("#header div.nav span.shadow_right").each(function(){$this=$j(this);a=$this.parent().find("ul").height();b=parseInt($this.parent().find("ul").css("padding-top"));d=parseInt($this.parent().find("ul").css("padding-bottom"));finalHeight=a+b+d;$this.height(finalHeight)});$j("#box_newsletter #bt_ok").click(function(){var e=$j("#txt_newsletter_email").val();if(EmailValidator.isEmailValid(e)){$j("#newsletter_step1").fadeOut("400");$j("#newsletter_step2").fadeIn("400")}else{$j(".errorsign_main_email").css("display","inline")}});$j("#box_newsletter form").submit(function(){var e=$j("#txt_newsletter_nome").val();if(e.length>=3){$j("#newsletter_step2").fadeOut("400");$j("#newsletter_step3").fadeIn("400")}else{$j(".errorsign_main_nome").css("display","inline")}});$j("#box_newsletter a").click(function(){$j("#box_newsletter form input:text").val("");$j(".errorsign_main_email").css("display","none");$j(".errorsign_main_nome").css("display","none");$j("#newsletter_step3").fadeOut("400");$j("#newsletter_step1").fadeIn("400")});$j("#select_cote").change(function(){var e=$j(this);var f=e.find("option:selected").val();e.closest("form").attr("action",f)});$j("#extra_compartilhe a:first").hover(function(){$j("#div_hint").css("visibility","visible")},function(){$j("#div_hint").css("visibility","hidden")});$j(".sendForFriend").click(function(){$j("#compartilhar-noticia").css("display","block");$j("#msg-enviada-compartilhe").css("display","none");$j("#box_send_for_friend").css("visibility","visible")});$j("#box_send_for_friend .close").click(function(){$j("#txt_share_nome").val("");$j("#txt_share_email").val("");$j("#txt_share_dest").val("");$j("#txt_share_para").val("");$j("#box_send_for_friend").css("visibility","hidden")});$j("#ano_modelo").live("blur",function(){var f=$j("#ano_modelo").val();var e=new Date();if(f<e.getFullYear()){$j(".zero_km #zero_km").attr("disabled","disabled");$j(".zero_km #nao_zero_km").attr("checked","checked");$j(".zero_km").hide()}else{$j(".zero_km #zero_km").removeAttr("disabled");$j(".zero_km #nao_zero_km").removeAttr("checked");$j(".zero_km").show()}});$j("#trabalha").live("click",function(){$j("#para_trabalho").show();$j("#sim_para_trabalho #nao_para_trabalho").removeAttr("checked");$j("#cobertura_tipo_trabalho").show()});$j("#nao_trabalha").live("click",function(){$j("#para_trabalho").hide();$j("#sim_para_trabalho #nao_para_trabalho").attr("checked","checked");$j("#cobertura_tipo_trabalho").hide();$j("#cobertura_tipo_03").removeAttr("checked")});$j("#sim_para_trabalho").live("click",function(){$j("#cobertura_tipo_trabalho").show();$j("#cobertura_tipo_03").attr("disabled","")});$j("#nao_para_trabalho").live("click",function(){$j("#cobertura_tipo_trabalho").hide();$j("#cobertura_tipo_03").attr("disabled","disabled")});$j("#uso_veiculo").live("click",function(){if($j("#uso_veiculo").val()==1){$j("#cobertura_tipo_trabalho").hide();$j("#cobertura_tipo_03").attr("disabled","disabled");$j("#cobertura_tipo_escola").hide();$j("#cobertura_tipo_04").attr("disabled","disabled")}else{if($j("#uso_veiculo").val()==2){if($j("#estuda:checked").length==1&&$j("#para_estudo:checked").length==1){$j("#cobertura_tipo_escola").show();$j("#cobertura_tipo_04").attr("disabled","")}if($j("#trabalha:checked").length==1){$j("#cobertura_tipo_trabalho").show();$j("#cobertura_tipo_03").attr("disabled","")}}else{if($j("#uso_veiculo").val()==3){$j("#cobertura_tipo_trabalho").hide();$j("#cobertura_tipo_03").attr("disabled","disabled");$j("#cobertura_tipo_escola").hide();$j("#cobertura_tipo_04").attr("disabled","disabled")}}}});$j("#nao_para_estudo").live("click",function(){$j("#cobertura_tipo_escola").hide();$j("#cobertura_tipo_04").attr("disabled","disabled")});$j("#para_estudo").live("click",function(){$j("#cobertura_tipo_escola").show();$j("#cobertura_tipo_04").removeAttr("disabled")});$j("#estuda").live("click",function(){$j("#cobertura_tipo_escola").show()});$j("#nao_estuda").live("click",function(){$j("#cobertura_tipo_escola").hide()});$j("#opcoes-marcas #link-todas-marcas").live("click",function(){$j("#list-marcas").hide();$j("#list-todas-marcas").show();$j("#opcoes-marcas a").remove();$j("#opcoes-marcas").append("<a href='javascript://' id='link-principais-marcas'>Ver somente principais marcas</a>")});$j("#list-marcas li").live("mouseover",function(){var e=$j(this).attr("id");$j("#list-marcas #"+e).children().children("span").css("color","#FF9A00")});$j("#list-marcas li").live("mouseout",function(){var e=$j(this).attr("id");$j("#list-marcas #"+e).children().children("span").css("color","#0072A1")});$j("#opcoes-marcas #link-principais-marcas").live("click",function(){$j("#list-todas-marcas").hide();$j("#list-marcas").show();$j("#opcoes-marcas a").remove();$j("#opcoes-marcas").append("<a href='javascript://' id='link-todas-marcas'>Ver todas as marcas</a>")})});function grayOut(a,n){var n=n||{};var m=n.zindex||2;var g=n.opacity||60;var f=(g/100);var o=n.bgcolor||"#000000";var h=document.getElementById("darkenScreenObject");if(!h){var e=document.getElementsByTagName("body")[0];var b=document.createElement("div");b.style.position="absolute";b.style.top="0px";b.style.left="0px";b.style.overflow="hidden";b.style.display="none";b.id="darkenScreenObject";e.appendChild(b);h=document.getElementById("darkenScreenObject")}if(a){var l=$j(document).width()+"px";var d=$j(document).height()+"px";h.style.opacity=f;h.style.MozOpacity=f;h.style.filter="alpha(opacity="+g+")";h.style.zIndex=m;h.style.backgroundColor=o;h.style.width=l;h.style.height=d;h.style.display="block"}else{h.style.display="none"}}function buildSlider(a,d,l,f,e,m,h,g){$j(d).slider({animate:true});$j(d).parent().find(".min_value").html(f);$j(d).parent().find(".max_value").html(m);$j(d).slider("option","value",h);$j(d).slider("option","min",l);$j(d).slider("option","max",e);$j(d).slider("option","step",g);var b=$j(d).find(".ui-slider-handle");b.html("<div class='slider_value'>"+h+"</div>");$j(d).bind("slide",function(o,p){var n=p.value;b.html("<div class='slider_value'>"+n+"</div>");$j(this).parent().find(".final_value").attr("value",n);$j(this).parent().find(".final_value").attr("name",a)})}function addAutoComplete(a){$j("#"+a).attr("autocomplete","off")}function addTargetLink(a){$j("#"+a).attr("target","_black")}function limitTextarea(b,a){if(b.value.length>a){b.value=b.value.substring(0,a)}}function enter(b,a){k=window.event?window.event.keyCode:a.which;if(k==13&&document.autoform_new.carro.value==""){$j(".errorsign_veiculos").css("display","block");return false}else{$j(".errorsign_veiculos").css("display","none")}}$j(document).ready(function(){if($j("body").hasClass("category")){function a(b){$j(b).find(".increase").click(function(){var f=$j("#billboard_trigger_select_value").val();var e=new Array();var d=1;while($j(b).find(".select_value ."+d).text()){e[d]=d;d++}$j.each(e,function(g,l){if(l==f){var h=e.length;h=h-1;if(f==h){$j(b).find(".select_value .value").text($j(b).find(".select_value .1").text());$j("#billboard_trigger_select_value").val((parseInt(f))-(h-1))}else{$j(b).find(".select_value .value").text($j(b).find(".select_value ."+(parseInt(f)+1)).text());$j("#billboard_trigger_select_value").val(parseInt(f)+1);$j(".valorEmprestimo").val($j(".select_value .value").text().replace("R$ ",""))}}})});$j(b).find(".decrease").click(function(){var f=$j("#billboard_trigger_select_value").val();var e=new Array();var d=1;while($j(b).find(".select_value ."+d).text()){e[d]=d;d++}$j.each(e,function(g,l){if(l==f){var h=e.length;h=h-1;if(f==e[1]){$j(b).find(".select_value .value").text($j(b).find(".select_value ."+h).text());$j("#billboard_trigger_select_value").val(h)}else{$j(b).find(".select_value .value").text($j(b).find(".select_value ."+(parseInt(f)-1)).text());$j("#billboard_trigger_select_value").val(parseInt(f)-1);$j(".valorEmprestimo").val($j(".select_value .value").text().replace("R$ ",""))}}})})}a("#billboard_select")}});if(dwr==null){var dwr={}}if(dwr.engine==null){dwr.engine={}}if(DWREngine==null){var DWREngine=dwr.engine}dwr.engine.setErrorHandler=function(a){dwr.engine._errorHandler=a};dwr.engine.setWarningHandler=function(a){dwr.engine._warningHandler=a};dwr.engine.setTextHtmlHandler=function(a){dwr.engine._textHtmlHandler=a};dwr.engine.setTimeout=function(a){dwr.engine._timeout=a};dwr.engine.setPreHook=function(a){dwr.engine._preHook=a};dwr.engine.setPostHook=function(a){dwr.engine._postHook=a};dwr.engine.setHeaders=function(a){dwr.engine._headers=a};dwr.engine.setParameters=function(a){dwr.engine._parameters=a};dwr.engine.XMLHttpRequest=1;dwr.engine.IFrame=2;dwr.engine.ScriptTag=3;dwr.engine.setRpcType=function(a){if(a!=dwr.engine.XMLHttpRequest&&a!=dwr.engine.IFrame&&a!=dwr.engine.ScriptTag){dwr.engine._handleError(null,{name:"dwr.engine.invalidRpcType",message:"RpcType must be one of dwr.engine.XMLHttpRequest or dwr.engine.IFrame or dwr.engine.ScriptTag"});return}dwr.engine._rpcType=a};dwr.engine.setHttpMethod=function(a){if(a!="GET"&&a!="POST"){dwr.engine._handleError(null,{name:"dwr.engine.invalidHttpMethod",message:"Remoting method must be one of GET or POST"});return}dwr.engine._httpMethod=a};dwr.engine.setOrdered=function(a){dwr.engine._ordered=a};dwr.engine.setAsync=function(a){dwr.engine._async=a};dwr.engine.setActiveReverseAjax=function(a){if(a){if(dwr.engine._activeReverseAjax){return}dwr.engine._activeReverseAjax=true;dwr.engine._poll()}else{if(dwr.engine._activeReverseAjax&&dwr.engine._pollReq){dwr.engine._pollReq.abort()}dwr.engine._activeReverseAjax=false}};dwr.engine.defaultErrorHandler=function(b,a){dwr.engine._debug("Error: "+a.name+", "+a.message,true);if(b==null||b==""){alert("A server error has occured.")}else{if(b.indexOf("0x80040111")!=-1){dwr.engine._debug(b)}else{alert(b)}}};dwr.engine.defaultWarningHandler=function(b,a){dwr.engine._debug(b)};dwr.engine.beginBatch=function(){if(dwr.engine._batch){dwr.engine._handleError(null,{name:"dwr.engine.batchBegun",message:"Batch already begun"});return}dwr.engine._batch=dwr.engine._createBatch()};dwr.engine.endBatch=function(b){var a=dwr.engine._batch;if(a==null){dwr.engine._handleError(null,{name:"dwr.engine.batchNotBegun",message:"No batch in progress"});return}dwr.engine._batch=null;if(a.map.callCount==0){return}if(b){dwr.engine._mergeBatch(a,b)}if(dwr.engine._ordered&&dwr.engine._batchesLength!=0){dwr.engine._batchQueue[dwr.engine._batchQueue.length]=a}else{dwr.engine._sendData(a)}};dwr.engine.setPollMethod=function(a){dwr.engine.setPollType(a)};dwr.engine.setMethod=function(a){dwr.engine.setRpcType(a)};dwr.engine.setVerb=function(a){dwr.engine.setHttpMethod(a)};dwr.engine.setPollType=function(){dwr.engine._debug("Manually setting the Poll Type is not supported")};dwr.engine._origScriptSessionId="2F976AEF5E1D43F7D09A195FEFDF2553";dwr.engine._sessionCookieName="JSESSIONID";dwr.engine._allowGetForSafariButMakeForgeryEasier="false";dwr.engine._scriptTagProtection="throw 'allowScriptTagRemoting is false.';";dwr.engine._defaultPath="/dwr";dwr.engine._pollWithXhr="false";dwr.engine._scriptSessionId=null;dwr.engine._getScriptSessionId=function(){if(dwr.engine._scriptSessionId==null){dwr.engine._scriptSessionId=dwr.engine._origScriptSessionId+Math.floor(Math.random()*1000)}return dwr.engine._scriptSessionId};dwr.engine._errorHandler=dwr.engine.defaultErrorHandler;dwr.engine._warningHandler=dwr.engine.defaultWarningHandler;dwr.engine._preHook=null;dwr.engine._postHook=null;dwr.engine._batches={};dwr.engine._batchesLength=0;dwr.engine._batchQueue=[];dwr.engine._rpcType=dwr.engine.XMLHttpRequest;dwr.engine._httpMethod="POST";dwr.engine._ordered=false;dwr.engine._async=true;dwr.engine._batch=null;dwr.engine._timeout=0;dwr.engine._DOMDocument=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.5.0","Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"];dwr.engine._XMLHTTP=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];dwr.engine._activeReverseAjax=false;dwr.engine._outstandingIFrames=[];dwr.engine._pollReq=null;dwr.engine._pollCometInterval=200;dwr.engine._pollRetries=0;dwr.engine._maxPollRetries=0;dwr.engine._textHtmlHandler=null;dwr.engine._headers=null;dwr.engine._parameters=null;dwr.engine._postSeperator="\n";dwr.engine._defaultInterceptor=function(a){return a};dwr.engine._urlRewriteHandler=dwr.engine._defaultInterceptor;dwr.engine._contentRewriteHandler=dwr.engine._defaultInterceptor;dwr.engine._replyRewriteHandler=dwr.engine._defaultInterceptor;dwr.engine._nextBatchId=0;dwr.engine._propnames=["rpcType","httpMethod","async","timeout","errorHandler","warningHandler","textHtmlHandler"];dwr.engine._partialResponseNo=0;dwr.engine._partialResponseYes=1;dwr.engine._partialResponseFlush=2;dwr.engine._unloading=false;dwr.engine._execute=function(o,b,m,l){var f=false;if(dwr.engine._batch==null){dwr.engine.beginBatch();f=true}var e=dwr.engine._batch;var h=[];for(var d=0;d<arguments.length-3;d++){h[d]=arguments[d+3]}if(e.path==null){e.path=o}else{if(e.path!=o){dwr.engine._handleError(e,{name:"dwr.engine.multipleServlets",message:"Can't batch requests to multiple DWR Servlets."});return}}var a;var n=h[h.length-1];if(typeof n=="function"||n==null){a={callback:h.pop()}}else{a=h.pop()}dwr.engine._mergeBatch(e,a);e.handlers[e.map.callCount]={exceptionHandler:a.exceptionHandler,callback:a.callback};var g="c"+e.map.callCount+"-";e.map[g+"scriptName"]=b;e.map[g+"methodName"]=m;e.map[g+"id"]=e.map.callCount;for(d=0;d<h.length;d++){dwr.engine._serializeAll(e,[],h[d],g+"param"+d)}e.map.callCount++;if(f){dwr.engine.endBatch()}};dwr.engine._poll=function(){if(!dwr.engine._activeReverseAjax){return}var a=dwr.engine._createBatch();a.map.id=0;a.map.callCount=1;a.isPoll=true;if(dwr.engine._pollWithXhr=="true"){a.rpcType=dwr.engine.XMLHttpRequest;a.map.partialResponse=dwr.engine._partialResponseNo}else{if(navigator.userAgent.indexOf("Gecko/")!=-1){a.rpcType=dwr.engine.XMLHttpRequest;a.map.partialResponse=dwr.engine._partialResponseYes}else{a.rpcType=dwr.engine.XMLHttpRequest;a.map.partialResponse=dwr.engine._partialResponseNo}}a.httpMethod="POST";a.async=true;a.timeout=0;a.path=dwr.engine._defaultPath;a.preHooks=[];a.postHooks=[];a.errorHandler=dwr.engine._pollErrorHandler;a.warningHandler=dwr.engine._pollErrorHandler;a.handlers[0]={callback:function(b){dwr.engine._pollRetries=0;setTimeout(dwr.engine._poll,b)}};dwr.engine._sendData(a);if(a.rpcType==dwr.engine.XMLHttpRequest&&a.map.partialResponse==dwr.engine._partialResponseYes){dwr.engine._checkCometPoll()}};dwr.engine._pollErrorHandler=function(b,a){dwr.engine._pollRetries++;dwr.engine._debug("Reverse Ajax poll failed (pollRetries="+dwr.engine._pollRetries+"): "+a.name+" : "+a.message);if(dwr.engine._pollRetries<dwr.engine._maxPollRetries){setTimeout(dwr.engine._poll,10000)}else{dwr.engine._activeReverseAjax=false;dwr.engine._debug("Giving up.")}};dwr.engine._createBatch=function(){var a={map:{callCount:0,page:window.location.pathname+window.location.search,httpSessionId:dwr.engine._getJSessionId(),scriptSessionId:dwr.engine._getScriptSessionId()},charsProcessed:0,paramCount:0,parameters:{},headers:{},isPoll:false,handlers:{},preHooks:[],postHooks:[],rpcType:dwr.engine._rpcType,httpMethod:dwr.engine._httpMethod,async:dwr.engine._async,timeout:dwr.engine._timeout,errorHandler:dwr.engine._errorHandler,warningHandler:dwr.engine._warningHandler,textHtmlHandler:dwr.engine._textHtmlHandler};if(dwr.engine._preHook){a.preHooks.push(dwr.engine._preHook)}if(dwr.engine._postHook){a.postHooks.push(dwr.engine._postHook)}var d,b;if(dwr.engine._headers){for(d in dwr.engine._headers){b=dwr.engine._headers[d];if(typeof b!="function"){a.headers[d]=b}}}if(dwr.engine._parameters){for(d in dwr.engine._parameters){b=dwr.engine._parameters[d];if(typeof b!="function"){a.parameters[d]=b}}}return a};dwr.engine._mergeBatch=function(a,e){var f,d;for(var b=0;b<dwr.engine._propnames.length;b++){f=dwr.engine._propnames[b];if(e[f]!=null){a[f]=e[f]}}if(e.preHook!=null){a.preHooks.unshift(e.preHook)}if(e.postHook!=null){a.postHooks.push(e.postHook)}if(e.headers){for(f in e.headers){d=e.headers[f];if(typeof d!="function"){a.headers[f]=d}}}if(e.parameters){for(f in e.parameters){d=e.parameters[f];if(typeof d!="function"){a.map["p-"+f]=""+d}}}};dwr.engine._getJSessionId=function(){var d=document.cookie.split(";");for(var b=0;b<d.length;b++){var a=d[b];while(a.charAt(0)==" "){a=a.substring(1,a.length)}if(a.indexOf(dwr.engine._sessionCookieName+"=")==0){return a.substring(dwr.engine._sessionCookieName.length+1,a.length)}}return""};dwr.engine._checkCometPoll=function(){for(var b=0;b<dwr.engine._outstandingIFrames.length;b++){var f="";var d=dwr.engine._outstandingIFrames[b];try{f=dwr.engine._getTextFromCometIFrame(d)}catch(a){dwr.engine._handleWarning(d.batch,a)}if(f!=""){dwr.engine._processCometResponse(f,d.batch)}}if(dwr.engine._pollReq){var e=dwr.engine._pollReq;var f=e.responseText;if(f!=null){dwr.engine._processCometResponse(f,e.batch)}}if(dwr.engine._outstandingIFrames.length>0||dwr.engine._pollReq){setTimeout(dwr.engine._checkCometPoll,dwr.engine._pollCometInterval)}};dwr.engine._getTextFromCometIFrame=function(b){var a=b.contentWindow.document.body;if(a==null){return""}var d=a.innerHTML;if(d.indexOf("<PRE>")==0||d.indexOf("<pre>")==0){d=d.substring(5,d.length-7)}return d};dwr.engine._processCometResponse=function(e,f){if(f.charsProcessed==e.length){return}if(e.length==0){f.charsProcessed=0;return}var b=e.indexOf("//#DWR-START#",f.charsProcessed);if(b==-1){f.charsProcessed=e.length;return}var a=e.lastIndexOf("//#DWR-END#");if(a==-1){return}if(e.charCodeAt(a+11)==13&&e.charCodeAt(a+12)==10){f.charsProcessed=a+13}else{f.charsProcessed=a+11}var d=e.substring(b+13,a);dwr.engine._receivedBatch=f;dwr.engine._eval(d);dwr.engine._receivedBatch=null};dwr.engine._sendData=function(f){f.map.batchId=dwr.engine._nextBatchId;dwr.engine._nextBatchId++;dwr.engine._batches[f.map.batchId]=f;dwr.engine._batchesLength++;f.completed=false;for(var e=0;e<f.preHooks.length;e++){f.preHooks[e]()}f.preHooks=null;if(f.timeout&&f.timeout!=0){f.timeoutId=setTimeout(function(){dwr.engine._abortRequest(f)},f.timeout)}if(f.rpcType==dwr.engine.XMLHttpRequest){if(window.XMLHttpRequest){f.req=new XMLHttpRequest()}else{if(window.ActiveXObject&&!(navigator.userAgent.indexOf("Mac")>=0&&navigator.userAgent.indexOf("MSIE")>=0)){f.req=dwr.engine._newActiveXObject(dwr.engine._XMLHTTP)}}}var a,d;if(f.req){if(f.async){f.req.onreadystatechange=function(){if(typeof dwr!="undefined"){dwr.engine._stateChange(f)}}}if(f.isPoll){dwr.engine._pollReq=f.req;if(!(document.all&&!window.opera)){f.req.batch=f}}var b=navigator.userAgent.indexOf("Safari/");if(b>=0){var h=navigator.userAgent.substring(b+7);if(parseInt(h,10)<400){if(dwr.engine._allowGetForSafariButMakeForgeryEasier=="true"){f.httpMethod="GET"}else{dwr.engine._handleWarning(f,{name:"dwr.engine.oldSafari",message:"Safari GET support disabled. See getahead.org/dwr/server/servlet and allowGetForSafariButMakeForgeryEasier."})}}}f.mode=f.isPoll?dwr.engine._ModePlainPoll:dwr.engine._ModePlainCall;d=dwr.engine._constructRequest(f);try{f.req.open(f.httpMethod,d.url,f.async);try{for(a in f.headers){var m=f.headers[a];if(typeof m=="string"){f.req.setRequestHeader(a,m)}}if(!f.headers["Content-Type"]){f.req.setRequestHeader("Content-Type","text/plain")}}catch(l){dwr.engine._handleWarning(f,l)}f.req.send(d.body);if(!f.async){dwr.engine._stateChange(f)}}catch(l){dwr.engine._handleError(f,l)}}else{if(f.rpcType!=dwr.engine.ScriptTag){var g=f.isPoll?"dwr-if-poll-"+f.map.batchId:"dwr-if-"+f.map.batchId;f.div=document.createElement("div");document.body.appendChild(f.div);f.div.innerHTML="<iframe src='javascript:void(0)' frameborder='0' style='width:0px;height:0px;border:0;' id='"+g+"' name='"+g+"' onload='dwr.engine._iframeLoadingComplete ("+f.map.batchId+");'></iframe>";f.document=document;f.iframe=f.document.getElementById(g);f.iframe.batch=f;f.mode=f.isPoll?dwr.engine._ModeHtmlPoll:dwr.engine._ModeHtmlCall;if(f.isPoll){dwr.engine._outstandingIFrames.push(f.iframe)}d=dwr.engine._constructRequest(f);if(f.httpMethod=="GET"){f.iframe.setAttribute("src",d.url)}else{f.form=f.document.createElement("form");f.form.setAttribute("id","dwr-form");f.form.setAttribute("action",d.url);f.form.setAttribute("style","display:none;");f.form.setAttribute("target",g);f.form.target=g;f.form.setAttribute("method",f.httpMethod);for(a in f.map){var m=f.map[a];if(typeof m!="function"){var n=f.document.createElement("input");n.setAttribute("type","hidden");n.setAttribute("name",a);n.setAttribute("value",m);f.form.appendChild(n)}}f.document.body.appendChild(f.form);f.form.submit()}}else{f.httpMethod="GET";f.mode=f.isPoll?dwr.engine._ModePlainPoll:dwr.engine._ModePlainCall;d=dwr.engine._constructRequest(f);f.script=document.createElement("script");f.script.id="dwr-st-"+f.map["c0-id"];f.script.src=d.url;document.body.appendChild(f.script)}}};dwr.engine._ModePlainCall="/call/plaincall/";dwr.engine._ModeHtmlCall="/call/htmlcall/";dwr.engine._ModePlainPoll="/call/plainpoll/";dwr.engine._ModeHtmlPoll="/call/htmlpoll/";dwr.engine._constructRequest=function(b){var d={url:b.path+b.mode,body:null};if(b.isPoll==true){d.url+="ReverseAjax.dwr"}else{if(b.map.callCount==1){d.url+=b.map["c0-scriptName"]+"."+b.map["c0-methodName"]+".dwr"}else{d.url+="Multiple."+b.map.callCount+".dwr"}}var f=location.href.match(/jsessionid=([^?]+)/);if(f!=null){d.url+=";jsessionid="+f[1]}var e;if(b.httpMethod=="GET"){b.map.callCount=""+b.map.callCount;d.url+="?";for(e in b.map){if(typeof b.map[e]!="function"){d.url+=encodeURIComponent(e)+"="+encodeURIComponent(b.map[e])+"&"}}d.url=d.url.substring(0,d.url.length-1)}else{d.body="";if(document.all&&!window.opera){var a=[];for(e in b.map){if(typeof b.map[e]!="function"){a.push(e+"="+b.map[e]+dwr.engine._postSeperator)}}d.body=a.join("")}else{for(e in b.map){if(typeof b.map[e]!="function"){d.body+=e+"="+b.map[e]+dwr.engine._postSeperator}}}d.body=dwr.engine._contentRewriteHandler(d.body)}d.url=dwr.engine._urlRewriteHandler(d.url);return d};dwr.engine._stateChange=function(d){var b;if(d.completed){dwr.engine._debug("Error: _stateChange() with batch.completed");return}var g=d.req;try{if(g.readyState!=4){return}}catch(e){dwr.engine._handleWarning(d,e);dwr.engine._clearUp(d);return}if(dwr.engine._unloading){dwr.engine._debug("Ignoring reply from server as page is unloading.");return}try{var f=g.responseText;f=dwr.engine._replyRewriteHandler(f);var a=g.status;if(f==null||f==""){dwr.engine._handleWarning(d,{name:"dwr.engine.missingData",message:"No data received from server"})}else{if(a!=200){dwr.engine._handleError(d,{name:"dwr.engine.http."+a,message:g.statusText})}else{var h=g.getResponseHeader("Content-Type");if(!h.match(/^text\/plain/)&&!h.match(/^text\/javascript/)){if(h.match(/^text\/html/)&&typeof d.textHtmlHandler=="function"){d.textHtmlHandler({status:a,responseText:f,contentType:h})}else{dwr.engine._handleWarning(d,{name:"dwr.engine.invalidMimeType",message:"Invalid content type: '"+h+"'"})}}else{if(d.isPoll&&d.map.partialResponse==dwr.engine._partialResponseYes){dwr.engine._processCometResponse(f,d)}else{if(f.search("//#DWR")==-1){dwr.engine._handleWarning(d,{name:"dwr.engine.invalidReply",message:"Invalid reply from server"})}else{b=f}}}}}}catch(e){dwr.engine._handleWarning(d,e)}dwr.engine._callPostHooks(d);dwr.engine._receivedBatch=d;if(b!=null){b=b.replace(dwr.engine._scriptTagProtection,"")}dwr.engine._eval(b);dwr.engine._receivedBatch=null;dwr.engine._validateBatch(d);if(!d.completed){dwr.engine._clearUp(d)}};dwr.engine._validateBatch=function(a){if(!a.completed){for(var b=0;b<a.map.callCount;b++){if(a.handlers[b]!=null){dwr.engine._handleWarning(a,{name:"dwr.engine.incompleteReply",message:"Incomplete reply from server"});break}}}};dwr.engine._iframeLoadingComplete=function(a){var b=dwr.engine._batches[a];if(b){dwr.engine._validateBatch(b)}};dwr.engine._remoteHandleCallback=function(a,g,f){var d=dwr.engine._batches[a];if(d==null){dwr.engine._debug("Warning: batch == null in remoteHandleCallback for batchId="+a,true);return}try{var b=d.handlers[g];d.handlers[g]=null;if(!b){dwr.engine._debug("Warning: Missing handlers. callId="+g,true)}else{if(typeof b.callback=="function"){b.callback(f)}}}catch(e){dwr.engine._handleError(d,e)}};dwr.engine._remoteHandleException=function(a,f,e){var d=dwr.engine._batches[a];if(d==null){dwr.engine._debug("Warning: null batch in remoteHandleException",true);return}var b=d.handlers[f];d.handlers[f]=null;if(b==null){dwr.engine._debug("Warning: null handlers in remoteHandleException",true);return}if(e.message==undefined){e.message=""}if(typeof b.exceptionHandler=="function"){b.exceptionHandler(e.message,e)}else{if(typeof d.errorHandler=="function"){d.errorHandler(e.message,e)}}};dwr.engine._remoteHandleBatchException=function(d,a){var b=(dwr.engine._receivedBatch==null&&a!=null);if(b){dwr.engine._receivedBatch=dwr.engine._batches[a]}if(d.message==undefined){d.message=""}dwr.engine._handleError(dwr.engine._receivedBatch,d);if(b){dwr.engine._receivedBatch=null;dwr.engine._clearUp(dwr.engine._batches[a])}};dwr.engine._remotePollCometDisabled=function(d,a){dwr.engine.setActiveReverseAjax(false);var b=(dwr.engine._receivedBatch==null&&a!=null);if(b){dwr.engine._receivedBatch=dwr.engine._batches[a]}if(d.message==undefined){d.message=""}dwr.engine._handleError(dwr.engine._receivedBatch,d);if(b){dwr.engine._receivedBatch=null;dwr.engine._clearUp(dwr.engine._batches[a])}};dwr.engine._remoteBeginIFrameResponse=function(b,a){if(b!=null){dwr.engine._receivedBatch=b.batch}dwr.engine._callPostHooks(dwr.engine._receivedBatch)};dwr.engine._remoteEndIFrameResponse=function(a){dwr.engine._clearUp(dwr.engine._receivedBatch);dwr.engine._receivedBatch=null};dwr.engine._eval=function(script){if(script==null){return null}if(script==""){dwr.engine._debug("Warning: blank script",true);return null}return eval(script)};dwr.engine._abortRequest=function(a){if(a&&!a.completed){dwr.engine._clearUp(a);if(a.req){a.req.abort()}dwr.engine._handleError(a,{name:"dwr.engine.timeout",message:"Timeout"})}};dwr.engine._callPostHooks=function(a){if(a.postHooks){for(var b=0;b<a.postHooks.length;b++){a.postHooks[b]()}a.postHooks=null}};dwr.engine._clearUp=function(b){if(!b){dwr.engine._debug("Warning: null batch in dwr.engine._clearUp()",true);return}if(b.completed){dwr.engine._debug("Warning: Double complete",true);return}if(b.div){b.div.parentNode.removeChild(b.div)}if(b.iframe){for(var d=0;d<dwr.engine._outstandingIFrames.length;d++){if(dwr.engine._outstandingIFrames[d]==b.iframe){dwr.engine._outstandingIFrames.splice(d,1)}}b.iframe.parentNode.removeChild(b.iframe)}if(b.form){b.form.parentNode.removeChild(b.form)}if(b.req){if(b.req==dwr.engine._pollReq){dwr.engine._pollReq=null}delete b.req}if(b.timeoutId){clearTimeout(b.timeoutId);delete b.timeoutId}if(b.map&&(b.map.batchId||b.map.batchId==0)){delete dwr.engine._batches[b.map.batchId];dwr.engine._batchesLength--}b.completed=true;if(dwr.engine._batchQueue.length!=0){var a=dwr.engine._batchQueue.shift();dwr.engine._sendData(a)}};dwr.engine._unloader=function(){dwr.engine._unloading=true;dwr.engine._batchQueue.length=0;for(var a in dwr.engine._batches){var b=dwr.engine._batches[a];if(b&&b.map){if(b.req){b.req.abort()}dwr.engine._clearUp(b)}}};if(window.addEventListener){window.addEventListener("unload",dwr.engine._unloader,false)}else{if(window.attachEvent){window.attachEvent("onunload",dwr.engine._unloader)}}dwr.engine._handleError=function(a,b){if(typeof b=="string"){b={name:"unknown",message:b}}if(b.message==null){b.message=""}if(b.name==null){b.name="unknown"}if(a&&typeof a.errorHandler=="function"){a.errorHandler(b.message,b)}else{if(dwr.engine._errorHandler){dwr.engine._errorHandler(b.message,b)}}if(a){dwr.engine._clearUp(a)}};dwr.engine._handleWarning=function(a,b){if(typeof b=="string"){b={name:"unknown",message:b}}if(b.message==null){b.message=""}if(b.name==null){b.name="unknown"}if(a&&typeof a.warningHandler=="function"){a.warningHandler(b.message,b)}else{if(dwr.engine._warningHandler){dwr.engine._warningHandler(b.message,b)}}if(a){dwr.engine._clearUp(a)}};dwr.engine._serializeAll=function(b,e,d,a){if(d==null){b.map[a]="null:null";return}switch(typeof d){case"boolean":b.map[a]="boolean:"+d;break;case"number":b.map[a]="number:"+d;break;case"string":b.map[a]="string:"+encodeURIComponent(d);break;case"object":if(d instanceof String){b.map[a]="String:"+encodeURIComponent(d)}else{if(d instanceof Boolean){b.map[a]="Boolean:"+d}else{if(d instanceof Number){b.map[a]="Number:"+d}else{if(d instanceof Date){b.map[a]="Date:"+d.getTime()}else{if(d&&d.join){b.map[a]=dwr.engine._serializeArray(b,e,d,a)}else{b.map[a]=dwr.engine._serializeObject(b,e,d,a)}}}}}break;case"function":break;default:dwr.engine._handleWarning(null,{name:"dwr.engine.unexpectedType",message:"Unexpected type: "+typeof d+", attempting default converter."});b.map[a]="default:"+d;break}};dwr.engine._lookup=function(f,d,a){var e;for(var b=0;b<f.length;b++){if(f[b].data==d){e=f[b];break}}if(e){return"reference:"+e.name}f.push({data:d,name:a});return null};dwr.engine._serializeObject=function(d,l,h,b){var g=dwr.engine._lookup(l,h,b);if(g){return g}if(h.nodeName&&h.nodeType){return dwr.engine._serializeXml(d,l,h,b)}var f="Object_"+dwr.engine._getObjectClassName(h)+":{";var e;for(e in h){if(typeof h[e]!="function"){d.paramCount++;var a="c"+dwr.engine._batch.map.callCount+"-e"+d.paramCount;dwr.engine._serializeAll(d,l,h[e],a);f+=encodeURIComponent(e)+":reference:"+a+", "}}if(f.substring(f.length-2)==", "){f=f.substring(0,f.length-2)}f+="}";return f};dwr.engine._errorClasses={Error:Error,EvalError:EvalError,RangeError:RangeError,ReferenceError:ReferenceError,SyntaxError:SyntaxError,TypeError:TypeError,URIError:URIError};dwr.engine._getObjectClassName=function(d){if(d&&d.constructor&&d.constructor.toString){var e=d.constructor.toString();var a=e.match(/function\s+(\w+)/);if(a&&a.length==2){return a[1]}}if(d&&d.constructor){for(var b in dwr.engine._errorClasses){if(d.constructor==dwr.engine._errorClasses[b]){return b}}}if(d){var e=Object.prototype.toString.call(d);var a=e.match(/\[object\s+(\w+)/);if(a&&a.length==2){return a[1]}}return"Object"};dwr.engine._serializeXml=function(d,g,f,b){var e=dwr.engine._lookup(g,f,b);if(e){return e}var a;if(window.XMLSerializer){a=new XMLSerializer().serializeToString(f)}else{if(f.toXml){a=f.toXml}else{a=f.innerHTML}}return"XML:"+encodeURIComponent(a)};dwr.engine._serializeArray=function(l,d,g,a){var e=dwr.engine._lookup(d,g,a);if(e){return e}if(document.all&&!window.opera){var b=["Array:["];for(var h=0;h<g.length;h++){if(h!=0){b.push(",")}l.paramCount++;var m="c"+dwr.engine._batch.map.callCount+"-e"+l.paramCount;dwr.engine._serializeAll(l,d,g[h],m);b.push("reference:");b.push(m)}b.push("]");f=b.join("")}else{var f="Array:[";for(var h=0;h<g.length;h++){if(h!=0){f+=","}l.paramCount++;var m="c"+dwr.engine._batch.map.callCount+"-e"+l.paramCount;dwr.engine._serializeAll(l,d,g[h],m);f+="reference:";f+=m}f+="]"}return f};dwr.engine._unserializeDocument=function(a){var d;if(window.DOMParser){var f=new DOMParser();d=f.parseFromString(a,"text/xml");if(!d.documentElement||d.documentElement.tagName=="parsererror"){var b=d.documentElement.firstChild.data;b+="\n"+d.documentElement.firstChild.nextSibling.firstChild.data;throw b}return d}else{if(window.ActiveXObject){d=dwr.engine._newActiveXObject(dwr.engine._DOMDocument);d.loadXML(a);return d}else{var e=document.createElement("div");e.innerHTML=a;return e}}};dwr.engine._newActiveXObject=function(a){var e;for(var d=0;d<a.length;d++){try{e=new ActiveXObject(a[d]);break}catch(b){}}return e};dwr.engine._debug=function(g,e){var a=false;try{if(window.console){if(e&&window.console.trace){window.console.trace()}window.console.log(g);a=true}else{if(window.opera&&window.opera.postError){window.opera.postError(g);a=true}}}catch(d){}if(!a){var b=document.getElementById("dwr-debug");if(b){var f=g+"<br/>"+b.innerHTML;if(f.length>2048){f=f.substring(0,2048)}b.innerHTML=f}}};if(dwr==null){var dwr={}}if(dwr.util==null){dwr.util={}}if(DWRUtil==null){var DWRUtil=dwr.util}dwr.util._escapeHtml=true;dwr.util.setEscapeHtml=function(a){dwr.util._escapeHtml=a};dwr.util._shouldEscapeHtml=function(a){if(a&&a.escapeHtml!=null){return a.escapeHtml}return dwr.util._escapeHtml};dwr.util.escapeHtml=function(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};dwr.util.unescapeHtml=function(a){return a.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")};dwr.util.replaceXmlCharacters=function(a){a=a.replace("&","+");a=a.replace("<","\u2039");a=a.replace(">","\u203A");a=a.replace("'","\u2018");a=a.replace('"',"\u201C");return a};dwr.util.containsXssRiskyCharacters=function(a){return(a.indexOf("&")!=-1||a.indexOf("<")!=-1||a.indexOf(">")!=-1||a.indexOf("'")!=-1||a.indexOf('"')!=-1)};dwr.util.onReturn=function(a,b){if(!a){a=window.event}if(a&&a.keyCode&&a.keyCode==13){b()}};dwr.util.selectRange=function(d,e,a){d=dwr.util._getElementById(d,"selectRange()");if(d==null){return}if(d.setSelectionRange){d.setSelectionRange(e,a)}else{if(d.createTextRange){var b=d.createTextRange();b.moveStart("character",e);b.moveEnd("character",a-d.value.length);b.select()}}d.focus()};if(document.getElementById){dwr.util.byId=function(){var d=new Array();for(var b=0;b<arguments.length;b++){var a=arguments[b];if(typeof a=="string"){a=document.getElementById(a)}if(arguments.length==1){return a}d.push(a)}return d}}else{if(document.all){dwr.util.byId=function(){var d=new Array();for(var b=0;b<arguments.length;b++){var a=arguments[b];if(typeof a=="string"){a=document.all[a]}if(arguments.length==1){return a}d.push(a)}return d}}}var $;if(!$){$=dwr.util.byId}dwr.util.toDescriptiveString=function(g,a,m){if(a===undefined){a=1}var d={};if(dwr.util._isObject(m)){d=m}var h={escapeHtml:false,baseIndent:"",childIndent:"\u00A0\u00A0",lineTerminator:"\n",oneLineMaxItems:5,shortStringMaxLength:13,propertyNameMaxLength:30};for(var b in h){if(!(b in d)){d[b]=h[b]}}var l={document:true,ownerDocument:true,all:true,parentElement:true,parentNode:true,offsetParent:true,children:true,firstChild:true,lastChild:true,previousSibling:true,nextSibling:true,innerHTML:true,outerHTML:true,innerText:true,outerText:true,textContent:true,attributes:true,style:true,currentStyle:true,runtimeStyle:true,parentTextEdit:true};function f(t,n,p,B){var q="";try{if(typeof t=="string"){var w=t;if(n==0&&w.length>B.shortStringMaxLength){w=w.substring(0,B.shortStringMaxLength-3)+"..."}if(B.escapeHtml){var C=w.split("\n");for(var u=0;u<C.length;u++){C[u]=dwr.util.escapeHtml(C[u])}w=C.join("\n")}if(n==0){w=w.replace(/\n|\r|\t/g,function(D){switch(D){case"\n":return"\\n";case"\r":return"";case"\t":return"\\t"}})}else{w=w.replace(/\n|\r|\t/g,function(D){switch(D){case"\n":return B.lineTerminator+e(p+1,B);case"\r":return"";case"\t":return"\\t"}})}q='"'+w+'"'}else{if(typeof t=="function"){q="function"}else{if(dwr.util._isArray(t)){if(n==0){if(t.length>0){q="[...]"}else{q="[]"}}else{var A=[];A.push("[");var v=0;for(var u=0;u<t.length;u++){if(!(u in t)){continue}var y=t[u];if(v>0){A.push(", ")}if(n==1){if(v==B.oneLineMaxItems){A.push("...");break}}else{A.push(B.lineTerminator+e(p+1,B))}if(u!=v){A.push(u);A.push(":")}A.push(f(y,n-1,p+1,B));v++}if(n>1){A.push(B.lineTerminator+e(p,B))}A.push("]");q=A.join("")}}else{if(dwr.util._isObject(t)&&!dwr.util._isDate(t)){if(n==0){q=dwr.util._detailedTypeOf(t)}else{var A=[];if(dwr.util._detailedTypeOf(t)!="Object"){A.push(dwr.util._detailedTypeOf(t));if(typeof t.valueOf()!="object"){A.push(":");A.push(f(t.valueOf(),1,p,B))}A.push(" ")}A.push("{");var z=dwr.util._isHTMLElement(t);var v=0;for(var o in t){var s=t[o];if(z){if(!s){continue}if(typeof s=="function"){continue}if(l[o]){continue}if(o.toUpperCase()==o){continue}}if(v>0){A.push(", ")}if(n==1){if(v==B.oneLineMaxItems){A.push("...");break}}else{A.push(B.lineTerminator+e(p+1,B))}A.push(o.length>B.propertyNameMaxLength?o.substring(0,B.propertyNameMaxLength-3)+"...":o);A.push(":");A.push(f(s,n-1,p+1,B));v++}if(n>1&&v>0){A.push(B.lineTerminator+e(p,B))}A.push("}");q=A.join("")}}else{q=""+t}}}}return q}catch(r){return(r.message?r.message:""+r)}}function e(p,n){var q=[];q.push(n.baseIndent);for(var o=0;o<p;o++){q.push(n.childIndent)}return q.join("")}return f(g,a,0,d)};dwr.util.useLoadingMessage=function(a){var b;if(a){b=a}else{b="Loading"}dwr.engine.setPreHook(function(){var e=dwr.util.byId("disabledZone");if(!e){e=document.createElement("div");e.setAttribute("id","disabledZone");e.style.position="absolute";e.style.zIndex="1000";e.style.left="0px";e.style.top="0px";e.style.width="100%";e.style.height="100%";document.body.appendChild(e);var d=document.createElement("div");d.setAttribute("id","messageZone");d.style.position="absolute";d.style.top="0px";d.style.right="0px";d.style.background="red";d.style.color="white";d.style.fontFamily="Arial,Helvetica,sans-serif";d.style.padding="4px";e.appendChild(d);var f=document.createTextNode(b);d.appendChild(f);dwr.util._disabledZoneUseCount=1}else{dwr.util.byId("messageZone").innerHTML=b;e.style.visibility="visible";dwr.util._disabledZoneUseCount++}});dwr.engine.setPostHook(function(){dwr.util._disabledZoneUseCount--;if(dwr.util._disabledZoneUseCount==0){dwr.util.byId("disabledZone").style.visibility="hidden"}})};dwr.util.setHighlightHandler=function(a){dwr.util._highlightHandler=a};dwr.util.yellowFadeHighlightHandler=function(a){dwr.util._yellowFadeProcess(a,0)};dwr.util._yellowFadeSteps=["d0","b0","a0","90","98","a0","a8","b0","b8","c0","c8","d0","d8","e0","e8","f0","f8"];dwr.util._yellowFadeProcess=function(a,b){a=dwr.util.byId(a);if(b<dwr.util._yellowFadeSteps.length){a.style.backgroundColor="#ffff"+dwr.util._yellowFadeSteps[b];setTimeout("dwr.util._yellowFadeProcess('"+a.id+"',"+(b+1)+")",200)}else{a.style.backgroundColor="transparent"}};dwr.util.borderFadeHighlightHandler=function(a){a.style.borderWidth="2px";a.style.borderStyle="solid";dwr.util._borderFadeProcess(a,0)};dwr.util._borderFadeSteps=["d0","b0","a0","90","98","a0","a8","b0","b8","c0","c8","d0","d8","e0","e8","f0","f8"];dwr.util._borderFadeProcess=function(a,b){a=dwr.util.byId(a);if(b<dwr.util._borderFadeSteps.length){a.style.borderColor="#ff"+dwr.util._borderFadeSteps[b]+dwr.util._borderFadeSteps[b];setTimeout("dwr.util._borderFadeProcess('"+a.id+"',"+(b+1)+")",200)}else{a.style.backgroundColor="transparent"}};dwr.util.focusHighlightHandler=function(b){try{b.focus()}catch(a){}};dwr.util._highlightHandler=null;dwr.util.highlight=function(b,a){if(a&&a.highlightHandler){a.highlightHandler(dwr.util.byId(b))}else{if(dwr.util._highlightHandler!=null){dwr.util._highlightHandler(dwr.util.byId(b))}}};dwr.util.setValue=function(g,h,d){if(h==null){h=""}if(d==null){d={}}var l=g;if(typeof g=="string"){g=dwr.util.byId(g);if(g&&g.id!=l){g=null}}var a=null;if(g==null){a=document.getElementsByName(l);if(a.length>=1){g=a.item(0)}}if(g==null){dwr.util._debug("setValue() can't find an element with id/name: "+l+".");return}dwr.util.highlight(g,d);if(dwr.util._isHTMLElement(g,"select")){if(g.type=="select-multiple"&&dwr.util._isArray(h)){dwr.util._selectListItems(g,h)}else{dwr.util._selectListItem(g,h)}return}if(dwr.util._isHTMLElement(g,"input")){if(g.type=="radio"||g.type=="checkbox"){if(a&&a.length>=1){for(var e=0;e<a.length;e++){var f=a.item(e);if(f.type!=g.type){continue}if(dwr.util._isArray(h)){f.checked=false;for(var b=0;b<h.length;b++){if(h[b]==f.value){f.checked=true}}}else{f.checked=(f.value==h)}}}else{g.checked=(h==true)}}else{g.value=h}return}if(dwr.util._isHTMLElement(g,"textarea")){g.value=h;return}if(h.nodeType){if(h.nodeType==9){h=h.documentElement}h=dwr.util._importNode(g.ownerDocument,h,true);g.appendChild(h);return}if(dwr.util._shouldEscapeHtml(d)&&typeof(h)=="string"){if(g.textContent){g.textContent=h}else{if(g.innerText){g.innerText=h}else{g.innerHTML=dwr.util.escapeHtml(h)}}}else{g.innerHTML=h}};dwr.util._selectListItems=function(e,f){var d=false;var b;var a;for(b=0;b<e.options.length;b++){e.options[b].selected=false;for(a=0;a<f.length;a++){if(e.options[b].value==f[a]){e.options[b].selected=true}}}if(d){return}for(b=0;b<e.options.length;b++){for(a=0;a<f.length;a++){if(e.options[b].text==f[a]){e.options[b].selected=true}}}};dwr.util._selectListItem=function(d,e){var b=false;var a;for(a=0;a<d.options.length;a++){if(d.options[a].value==e){d.options[a].selected=true;b=true}else{d.options[a].selected=false}}if(b){return}for(a=0;a<d.options.length;a++){d.options[a].selected=(d.options[a].text==e)}};dwr.util.getValue=function(m,n){if(n==null){n={}}var h=m;if(typeof m=="string"){m=dwr.util.byId(m);if(m&&m.id!=h){m=null}}var a=null;if(m==null){a=document.getElementsByName(h);if(a.length>=1){m=a.item(0)}}if(m==null){dwr.util._debug("getValue() can't find an element with id/name: "+h+".");return""}if(dwr.util._isHTMLElement(m,"select")){if(m.type=="select-multiple"){var e=new Array();for(var g=0;g<m.options.length;g++){var l=m.options[g];if(l.selected){var f=l.getAttributeNode("value");if(f&&f.specified){e.push(l.value)}else{e.push(l.text)}}}return e}else{var b=m.selectedIndex;if(b!=-1){var l=m.options[b];var f=l.getAttributeNode("value");if(f&&f.specified){return l.value}return l.text}else{return""}}}if(dwr.util._isHTMLElement(m,"input")){if(m.type=="radio"){if(a&&a.length>=1){for(var g=0;g<a.length;g++){var d=a.item(g);if(d.type==m.type){if(d.checked){return d.value}}}}return m.checked}if(m.type=="checkbox"){if(a&&a.length>=1){var e=[];for(var g=0;g<a.length;g++){var d=a.item(g);if(d.type==m.type){if(d.checked){e.push(d.value)}}}return e}return m.checked}return m.value}if(dwr.util._isHTMLElement(m,"textarea")){return m.value}if(dwr.util._shouldEscapeHtml(n)){if(m.textContent){return m.textContent}else{if(m.innerText){return m.innerText}}}return m.innerHTML};dwr.util.getText=function(b){b=dwr.util._getElementById(b,"getText()");if(b==null){return null}if(!dwr.util._isHTMLElement(b,"select")){dwr.util._debug("getText() can only be used with select elements. Attempt to use: "+dwr.util._detailedTypeOf(b)+" from  id: "+orig+".");return""}var a=b.selectedIndex;if(a!=-1){return b.options[a].text}else{return""}};dwr.util.setValues=function(d,a){var b="";if(a&&a.prefix){b=a.prefix}if(a&&a.idPrefix){b=a.idPrefix}dwr.util._setValuesRecursive(d,b)};dwr.util._setValuesRecursive=function(d,f){if(dwr.util._isArray(d)&&d.length>0&&dwr.util._isObject(d[0])){for(var b=0;b<d.length;b++){dwr.util._setValuesRecursive(d[b],f+"["+b+"]")}}else{if(dwr.util._isObject(d)&&!dwr.util._isArray(d)){for(var e in d){var a=f?f+"."+e:e;if(dwr.util._isObject(d[e])&&!dwr.util._isArray(d[e])||dwr.util._isArray(d[e])&&d[e].length>0&&dwr.util._isObject(d[e][0])){dwr.util._setValuesRecursive(d[e],a)}else{if(typeof d[e]=="function"){}else{if(dwr.util.byId(a)!=null||document.getElementsByName(a).length>=1){dwr.util.setValue(a,d[e])}}}}}}};dwr.util.getValues=function(d,a){if(typeof d=="string"||dwr.util._isHTMLElement(d)){return dwr.util.getFormValues(d)}else{var b="";if(a!=null&&a.prefix){b=a.prefix}if(a!=null&&a.idPrefix){b=a.idPrefix}dwr.util._getValuesRecursive(d,b);return d}};dwr.util.getFormValues=function(a){var g=null;if(typeof a=="string"){g=document.forms[a];if(g==null){g=dwr.util.byId(a)}}else{if(dwr.util._isHTMLElement(a)){g=a}}if(g!=null){if(g.elements==null){alert("getFormValues() requires an object or reference to a form element.");return null}var e={};var b;var f;for(var d=0;d<g.elements.length;d++){if(g[d].type in {button:0,submit:0,reset:0,image:0,file:0}){continue}if(g[d].name){b=g[d].name;f=dwr.util.getValue(b)}else{if(g[d].id){b=g[d].id}else{b="element"+d}f=dwr.util.getValue(g[d])}e[b]=f}return e}};dwr.util._getValuesRecursive=function(d,f){if(dwr.util._isArray(d)&&d.length>0&&dwr.util._isObject(d[0])){for(var b=0;b<d.length;b++){dwr.util._getValuesRecursive(d[b],f+"["+b+"]")}}else{if(dwr.util._isObject(d)&&!dwr.util._isArray(d)){for(var e in d){var a=f?f+"."+e:e;if(dwr.util._isObject(d[e])&&!dwr.util._isArray(d[e])||dwr.util._isArray(d[e])&&d[e].length>0&&dwr.util._isObject(d[e][0])){dwr.util._getValuesRecursive(d[e],a)}else{if(typeof d[e]=="function"){}else{if(dwr.util.byId(a)!=null||document.getElementsByName(a).length>=1){d[e]=dwr.util.getValue(a)}}}}}}};dwr.util.addOptions=function(r,g){r=dwr.util._getElementById(r,"addOptions()");if(r==null){return}var d=dwr.util._isHTMLElement(r,"select");var m=dwr.util._isHTMLElement(r,["ul","ol"]);if(!d&&!m){dwr.util._debug("addOptions() can only be used with select/ul/ol elements. Attempt to use: "+dwr.util._detailedTypeOf(r));return}if(g==null){return}var l=arguments.length;var s={};var q=arguments[l-1];if(l>2&&dwr.util._isObject(q)){s=q;l--}var h=null;if(l>=3){h=arguments[2]}var e=null;if(l>=4){e=arguments[3]}if(!s.optionCreator&&d){s.optionCreator=dwr.util._defaultOptionCreator}if(!s.optionCreator&&m){s.optionCreator=dwr.util._defaultListItemCreator}var p,n,o;if(dwr.util._isArray(g)){for(var f=0;f<g.length;f++){s.data=g[f];s.text=null;s.value=null;if(d){if(h!=null){if(e!=null){s.text=dwr.util._getValueFrom(g[f],e);s.value=dwr.util._getValueFrom(g[f],h)}else{s.text=s.value=dwr.util._getValueFrom(g[f],h)}}else{s.text=s.value=dwr.util._getValueFrom(g[f])}if(s.text!=null||s.value){var b=s.optionCreator(s);b.text=s.text;b.value=s.value;r.options[r.options.length]=b}}else{s.value=dwr.util._getValueFrom(g[f],h);if(s.value!=null){o=s.optionCreator(s);if(dwr.util._shouldEscapeHtml(s)){s.value=dwr.util.escapeHtml(s.value)}o.innerHTML=s.value;r.appendChild(o)}}}}else{if(e!=null){if(!d){alert("dwr.util.addOptions can only create select lists from objects.");return}for(var a in g){s.data=g[a];s.value=dwr.util._getValueFrom(g[a],h);s.text=dwr.util._getValueFrom(g[a],e);if(s.text!=null||s.value){var b=s.optionCreator(s);b.text=s.text;b.value=s.value;r.options[r.options.length]=b}}}else{if(!d){dwr.util._debug("dwr.util.addOptions can only create select lists from objects.");return}for(var a in g){if(typeof g[a]=="function"){continue}s.data=g[a];if(!h){s.value=a;s.text=g[a]}else{s.value=g[a];s.text=a}if(s.text!=null||s.value){var b=s.optionCreator(s);b.text=s.text;b.value=s.value;r.options[r.options.length]=b}}}}dwr.util.highlight(r,s)};dwr.util._getValueFrom=function(a,b){if(b==null){return a}else{if(typeof b=="function"){return b(a)}else{return a[b]}}};dwr.util._defaultOptionCreator=function(a){return new Option()};dwr.util._defaultListItemCreator=function(a){return document.createElement("li")};dwr.util.removeAllOptions=function(b){b=dwr.util._getElementById(b,"removeAllOptions()");if(b==null){return}var a=dwr.util._isHTMLElement(b,"select");var d=dwr.util._isHTMLElement(b,["ul","ol"]);if(!a&&!d){dwr.util._debug("removeAllOptions() can only be used with select, ol and ul elements. Attempt to use: "+dwr.util._detailedTypeOf(b));return}if(a){b.options.length=0}else{while(b.childNodes.length>0){b.removeChild(b.firstChild)}}};dwr.util.addRows=function(f,e,a,b){f=dwr.util._getElementById(f,"addRows()");if(f==null){return}if(!dwr.util._isHTMLElement(f,["table","tbody","thead","tfoot"])){dwr.util._debug("addRows() can only be used with table, tbody, thead and tfoot elements. Attempt to use: "+dwr.util._detailedTypeOf(f));return}if(!b){b={}}if(!b.rowCreator){b.rowCreator=dwr.util._defaultRowCreator}if(!b.cellCreator){b.cellCreator=dwr.util._defaultCellCreator}var d,g;if(dwr.util._isArray(e)){for(g=0;g<e.length;g++){b.rowData=e[g];b.rowIndex=g;b.rowNum=g;b.data=null;b.cellNum=-1;d=dwr.util._addRowInner(a,b);if(d!=null){f.appendChild(d)}}}else{if(typeof e=="object"){g=0;for(var h in e){b.rowData=e[h];b.rowIndex=h;b.rowNum=g;b.data=null;b.cellNum=-1;d=dwr.util._addRowInner(a,b);if(d!=null){f.appendChild(d)}g++}}}dwr.util.highlight(f,b)};dwr.util._addRowInner=function(a,b){var e=b.rowCreator(b);if(e==null){return null}for(var f=0;f<a.length;f++){var d=a[f];if(typeof d=="function"){b.data=d(b.rowData,b)}else{b.data=d||""}b.cellNum=f;var g=b.cellCreator(b);if(g!=null){if(b.data!=null){if(dwr.util._isHTMLElement(b.data)){g.appendChild(b.data)}else{if(dwr.util._shouldEscapeHtml(b)&&typeof(b.data)=="string"){g.innerHTML=dwr.util.escapeHtml(b.data)}else{g.innerHTML=b.data}}}e.appendChild(g)}}return e};dwr.util._defaultRowCreator=function(a){return document.createElement("tr")};dwr.util._defaultCellCreator=function(a){return document.createElement("td")};dwr.util.removeAllRows=function(d,a){d=dwr.util._getElementById(d,"removeAllRows()");if(d==null){return}if(!a){a={}}if(!a.filter){a.filter=function(){return true}}if(!dwr.util._isHTMLElement(d,["table","tbody","thead","tfoot"])){dwr.util._debug("removeAllRows() can only be used with table, tbody, thead and tfoot elements. Attempt to use: "+dwr.util._detailedTypeOf(d));return}var e=d.firstChild;var b;while(e!=null){b=e.nextSibling;if(a.filter(e)){d.removeChild(e)}e=b}};dwr.util.setClassName=function(b,a){b=dwr.util._getElementById(b,"setClassName()");if(b==null){return}b.className=a};dwr.util.addClassName=function(b,a){b=dwr.util._getElementById(b,"addClassName()");if(b==null){return}b.className+=" "+a};dwr.util.removeClassName=function(d,a){d=dwr.util._getElementById(d,"removeClassName()");if(d==null){return}var b=new RegExp("(^|\\s)"+a+"(\\s|$)","g");d.className=d.className.replace(b,"")};dwr.util.toggleClassName=function(d,a){d=dwr.util._getElementById(d,"toggleClassName()");if(d==null){return}var b=new RegExp("(^|\\s)"+a+"(\\s|$)");if(b.test(d.className)){d.className=d.className.replace(b,"")}else{d.className+=" "+a}};dwr.util.cloneNode=function(b,a){b=dwr.util._getElementById(b,"cloneNode()");if(b==null){return null}if(a==null){a={}}var d=b.cloneNode(true);if(a.idPrefix||a.idSuffix){dwr.util._updateIds(d,a)}else{dwr.util._removeIds(d)}b.parentNode.insertBefore(d,b);return d};dwr.util._updateIds=function(e,a){if(a==null){a={}}if(e.id){e.setAttribute("id",(a.idPrefix||"")+e.id+(a.idSuffix||""))}var d=e.childNodes;for(var b=0;b<d.length;b++){var f=d.item(b);if(f.nodeType==1){dwr.util._updateIds(f,a)}}};dwr.util._removeIds=function(d){if(d.id){d.removeAttribute("id")}var b=d.childNodes;for(var a=0;a<b.length;a++){var e=b.item(a);if(e.nodeType==1){dwr.util._removeIds(e)}}};dwr.util.cloneNodeForValues=function(a,d,b){a=dwr.util._getElementById(a,"cloneNodeForValues()");if(a==null){return null}if(b==null){b={}}var e;if(b.idPrefix!=null){e=b.idPrefix}else{e=a.id||""}return dwr.util._cloneNodeForValuesRecursive(a,d,e,b)};dwr.util._cloneNodeForValuesRecursive=function(a,d,f,m){if(dwr.util._isArray(d)){var h=[];for(var e=0;e<d.length;e++){var l=d[e];var g=dwr.util._cloneNodeForValuesRecursive(a,l,f+"["+e+"]",m);h.push(g)}return h}else{if(dwr.util._isObject(d)&&!dwr.util._isArray(d)){var g=a.cloneNode(true);if(m.updateCloneStyle&&g.style){for(var b in m.updateCloneStyle){g.style[b]=m.updateCloneStyle[b]}}dwr.util._replaceIds(g,a.id,f);a.parentNode.insertBefore(g,a);dwr.util._cloneSubArrays(d,f,m);return g}}return null};dwr.util._replaceIds=function(g,l,d){if(g.id){var b=null;if(g.id==l){b=d}else{if(g.id.length>l.length){if(g.id.substr(0,l.length)==l){var a=g.id.charAt(l.length);if(a=="."||a=="["){b=d+g.id.substr(l.length)}}}}if(b){g.setAttribute("id",b)}else{g.removeAttribute("id")}}var f=g.childNodes;for(var e=0;e<f.length;e++){var h=f.item(e);if(h.nodeType==1){dwr.util._replaceIds(h,l,d)}}};dwr.util._cloneSubArrays=function(d,g,a){for(prop in d){var b=d[prop];if(dwr.util._isArray(b)){if(b.length>0&&dwr.util._isObject(b[0])){var f=g+"."+prop;var e=dwr.util.byId(f);if(e!=null){dwr.util._cloneNodeForValuesRecursive(e,b,f,a)}}}else{if(dwr.util._isObject(b)){dwr.util._cloneSubArrays(b,g+"."+prop,a)}}}};dwr.util._getElementById=function(b,a){var d=b;b=dwr.util.byId(b);if(b==null){dwr.util._debug(a+" can't find an element with id: "+d+".")}return b};dwr.util._isHTMLElement=function(d,f){if(d==null||typeof d!="object"||d.nodeName==null){return false}if(f!=null){var e=d.nodeName.toLowerCase();if(typeof f=="string"){return e==f.toLowerCase()}if(dwr.util._isArray(f)){var a=false;for(var b=0;b<f.length&&!a;b++){if(e==f[b].toLowerCase()){a=true}}return a}dwr.util._debug("dwr.util._isHTMLElement was passed test node name that is neither a string or array of strings");return false}return true};dwr.util._detailedTypeOf=function(a){var b=typeof a;if(b=="object"){b=Object.prototype.toString.apply(a);b=b.substring(8,b.length-1)}return b};dwr.util._isObject=function(a){return(a&&typeof a=="object")};dwr.util._isArray=function(a){return(a&&a.join)};dwr.util._isDate=function(a){return(a&&a.toUTCString)?true:false};dwr.util._importNode=function(g,f,b){var e;if(f.nodeType==1){e=g.createElement(f.nodeName);for(var d=0;d<f.attributes.length;d++){var a=f.attributes[d];if(a.nodeValue!=null&&a.nodeValue!=""){e.setAttribute(a.name,a.nodeValue)}}if(typeof f.style!="undefined"){e.style.cssText=f.style.cssText}}else{if(f.nodeType==3){e=g.createTextNode(f.nodeValue)}}if(b&&f.hasChildNodes()){for(d=0;d<f.childNodes.length;d++){e.appendChild(dwr.util._importNode(g,f.childNodes[d],true))}}return e};dwr.util._debug=function(g,e){var a=false;try{if(window.console){if(e&&window.console.trace){window.console.trace()}window.console.log(g);a=true}else{if(window.opera&&window.opera.postError){window.opera.postError(g);a=true}}}catch(d){}if(!a){var b=document.getElementById("dwr-debug");if(b){var f=g+"<br/>"+b.innerHTML;if(f.length>2048){f=f.substring(0,2048)}b.innerHTML=f}}};var Cufon=(function(){var s=function(){return s.replace.apply(null,arguments)};var e=s.DOM={ready:(function(){var A=false,C={loaded:1,complete:1};var B=[],D=function(){if(A){return}A=true;for(var E;E=B.shift();E()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){C[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(E){setTimeout(arguments.callee,1)}})()}o(window,"load",D);return function(E){if(!arguments.length){D()}else{A?E():B.push(E)}}})()};var r=s.CSS={Size:function(A,B){this.value=parseFloat(A);this.unit=String(A).match(/[a-z%]*$/)[0]||"px";this.convert=function(C){return C/B*this.value};this.convertFrom=function(C){return C/this.value*B};this.toString=function(){return this.value+this.unit}},color:v(function(A){var B={};B.color=A.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(D,E,C){B.opacity=parseFloat(C);return"rgb("+E+")"});return B}),getStyle:function(A){var B=document.defaultView;if(B&&B.getComputedStyle){return new ae(B.getComputedStyle(A,null))}if(A.currentStyle){return new ae(A.currentStyle)}return new ae(A.style)},gradient:v(function(D){var C={id:D,type:D.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},A=D.substr(D.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=A.length,F;E<B;++E){F=A[E].split("=",2).reverse();C.stops.push([F[1]||E/(B-1),F[0]])}return C}),quotedList:v(function(C){var D=[],A=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=A.exec(C)){D.push(B[3]||B[1])}return D}),recognizesMedia:v(function(C){var E=document.createElement("style"),F,A,B;E.type="text/css";E.media=C;try{E.appendChild(document.createTextNode("/**/"))}catch(D){}A=z("head")[0];A.insertBefore(E,A.firstChild);F=(E.sheet||E.styleSheet);B=F&&!F.disabled;A.removeChild(E);return B}),supports:function(C,A){var B=document.createElement("span").style;if(B[C]===undefined){return false}B[C]=A;return B[C]===A},textAlign:function(C,D,B,A){if(D.get("textAlign")=="right"){if(B>0){C=" "+C}}else{if(B<A-1){C+=" "}}return C},textDecoration:function(C,D){if(!D){D=this.getStyle(C)}var A={underline:null,overline:null,"line-through":null};for(var B=C;B.parentNode&&B.parentNode.nodeType==1;){var E=true;for(var F in A){if(!u(A,F)||A[F]){continue}if(D.get("textDecoration").indexOf(F)!=-1){A[F]=D.get("color")}E=false}if(E){break}D=this.getStyle(B=B.parentNode)}return A},textShadow:v(function(D){if(D=="none"){return null}var E=[],C={},B,A=0;var F=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=F.exec(D)){if(B[0]==","){E.push(C);C={},A=0}else{if(B[1]){C.color=B[1]}else{C[["offX","offY","blur"][A++]]=B[2]}}}E.push(C);return E}),textTransform:function(A,B){return A[{uppercase:"toUpperCase",lowercase:"toLowerCase"}[B.get("textTransform")]||"toString"]()},whiteSpace:(function(){var A={inline:1,"inline-block":1,"run-in":1};return function(C,B,D){if(A[B.get("display")]){return C}if(!D.previousSibling){C=C.replace(/^\s+/,"")}if(!D.nextSibling){C=C.replace(/\s+$/,"")}return C}})()};r.ready=(function(){var I=!r.recognizesMedia("all"),F=false;var G=[],C=function(){I=true;for(var J;J=G.shift();J()){}};var B=z("link"),A=z("style");function H(J){return J.disabled||D(J.sheet,J.media||"screen")}function D(J,N){if(!r.recognizesMedia(N||"all")){return true}if(!J||J.disabled){return false}try{var M=J.cssRules,O;if(M){search:for(var K=0,L=M.length;O=M[K],K<L;++K){switch(O.type){case 2:break;case 3:if(!D(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(P){}return true}function E(){if(document.createStyleSheet){return true}var J,K;for(K=0;J=B[K];++K){if(J.rel.toLowerCase()=="stylesheet"&&!H(J)){return false}}for(K=0;J=A[K];++K){if(!H(J)){return false}}return true}e.ready(function(){if(!F){F=r.getStyle(document.body).isUsable()}if(I||(F&&E())){C()}else{setTimeout(arguments.callee,10)}});return function(J){if(I){J()}else{G.push(J)}}})();function m(A){var B=this.face=A.face;this.glyphs=A.glyphs;this.w=A.w;this.baseSize=parseInt(B["units-per-em"],10);this.family=B["font-family"].toLowerCase();this.weight=B["font-weight"];this.style=B["font-style"]||"normal";this.viewBox=(function(){var C=B.bbox.split(/\s+/);var D={minX:parseInt(C[0],10),minY:parseInt(C[1],10),maxX:parseInt(C[2],10),maxY:parseInt(C[3],10)};D.width=D.maxX-D.minX,D.height=D.maxY-D.minY;D.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return D})();this.ascent=-parseInt(B.ascent,10);this.descent=-parseInt(B.descent,10);this.height=-this.ascent+this.descent}function aa(){var A={},B={oblique:"italic",italic:"oblique"};this.add=function(C){(A[C.style]||(A[C.style]={}))[C.weight]=C};this.get=function(F,E){var G=A[F]||A[B[F]]||A.normal||A.italic||A.oblique;if(!G){return null}E={normal:400,bold:700}[E]||parseInt(E,10);if(G[E]){return G[E]}var I={1:1,99:0}[E%100],C=[],H,J;if(I===undefined){I=E>400}if(E==500){E=400}for(var D in G){if(!u(G,D)){continue}D=parseInt(D,10);if(!H||D<H){H=D}if(!J||D>J){J=D}C.push(D)}if(E<H){E=H}if(E>J){E=J}C.sort(function(K,L){return(I?(K>E&&L>E)?K<L:K>L:(K<E&&L<E)?K>L:K<L)?-1:1});return G[C[0]]}}function n(){function D(F,E){if(F.contains){return F.contains(E)}return F.compareDocumentPosition(E)&16}function B(E){var F=E.relatedTarget;if(!F||D(this,F)){return}A(this)}function C(E){A(this)}function A(E){setTimeout(function(){s.replace(E,ab.get(E).options,true)},10)}this.attach=function(E){if(E.onmouseenter===undefined){o(E,"mouseover",B);o(E,"mouseout",B)}else{o(E,"mouseenter",C);o(E,"mouseleave",C)}}}function h(){var A=[],C={};function B(D){var G=[],E;for(var F=0;E=D[F];++F){G[F]=A[C[E]]}return G}this.add=function(D,E){C[D]=A.push(E)-1};this.repeat=function(){var F=arguments.length?B(arguments):A,E;for(var D=0;E=F[D++];){s.replace(E[0],E[1],true)}}}function a(){var C={},B=0;function A(D){return D.cufid||(D.cufid=++B)}this.get=function(E){var D=A(E);return C[D]||(C[D]={})}}function ae(B){var C={},A={};this.extend=function(E){for(var D in E){if(u(E,D)){C[D]=E[D]}}return this};this.get=function(D){return C[D]!=undefined?C[D]:B[D]};this.getSize=function(D,E){return A[D]||(A[D]=new r.Size(this.get(D),E))};this.isUsable=function(){return !!B}}function o(A,B,C){if(A.addEventListener){A.addEventListener(B,C,false)}else{if(A.attachEvent){A.attachEvent("on"+B,function(){return C.call(A,window.event)})}}}function g(A,B){var C=ab.get(A);if(C.options){return A}if(B.hover&&B.hoverables[A.nodeName.toLowerCase()]){ad.attach(A)}C.options=B;return A}function v(B){var A={};return function(C){if(!u(A,C)){A[C]=B.apply(null,arguments)}return A[C]}}function ac(C,D){if(!D){D=r.getStyle(C)}var A=r.quotedList(D.get("fontFamily").toLowerCase()),E;for(var F=0,B=A.length;F<B;++F){E=A[F];if(w[E]){return w[E].get(D.get("fontStyle"),D.get("fontWeight"))}}return null}function z(A){return document.getElementsByTagName(A)}function u(A,B){return A.hasOwnProperty(B)}function y(){var B={},E,C;for(var D=0,A=arguments.length;E=arguments[D],D<A;++D){for(C in E){if(u(E,C)){B[C]=E[C]}}}return B}function q(J,B,L,A,I,K){var C=A.separate;if(C=="none"){return b[A.engine].apply(null,arguments)}var D=document.createDocumentFragment(),G;var F=B.split(p[C]),M=(C=="words");if(M&&l){if(/^\s/.test(B)){F.unshift("")}if(/\s$/.test(B)){F.push("")}}for(var E=0,H=F.length;E<H;++E){G=b[A.engine](J,M?r.textAlign(F[E],L,E,H):F[E],L,A,I,K,E<H-1);if(G){D.appendChild(G)}}return D}function t(I,A){var H,J,G,D,E,B;for(G=g(I,A).firstChild;G;G=E){D=G.nodeType;E=G.nextSibling;B=false;if(D==1){if(!G.firstChild){continue}if(!/cufon/.test(G.className)){arguments.callee(G,A);continue}else{B=true}}else{if(D!=3){continue}}if(!J){J=r.getStyle(I).extend(A)}if(!H){H=ac(I,J)}if(!H){continue}if(B){b[A.engine](H,null,J,A,G,I);continue}var C=r.whiteSpace(G.data,J,G);if(C===""){continue}var F=q(H,C,J,A,G,I);if(F){G.parentNode.replaceChild(F,G)}else{G.parentNode.removeChild(G)}}}var l=" ".split(/\s+/).length==0;var ab=new a();var ad=new n();var d=new h();var b={},w={},f={enableTextDecoration:false,engine:null,hover:false,hoverables:{a:true},printable:true,selector:(window.Sizzle||(window.jQuery&&function(A){return jQuery(A)})||(window.dojo&&dojo.query)||(window.$$&&function(A){return $$(A)})||(window.$&&function(A){return $(A)})||(document.querySelectorAll&&function(A){return document.querySelectorAll(A)})||z),separate:"words",textShadow:"none"};var p={words:/[^\S\u00a0]+/,characters:""};s.now=function(){e.ready();return s};s.refresh=function(){d.repeat.apply(d,arguments);return s};s.registerEngine=function(A,B){if(!B){return s}b[A]=B;return s.set("engine",A)};s.registerFont=function(C){var B=new m(C),A=B.family;if(!w[A]){w[A]=new aa()}w[A].add(B);return s.set("fontFamily",'"'+A+'"')};s.replace=function(C,A,B){A=y(f,A);if(!A.engine){return s}if(typeof A.textShadow=="string"){A.textShadow=r.textShadow(A.textShadow)}if(typeof A.color=="string"&&/^-/.test(A.color)){A.textGradient=r.gradient(A.color)}if(!B){d.add(C,arguments)}if(C.nodeType||typeof C=="string"){C=[C]}r.ready(function(){for(var E=0,F=C.length;E<F;++E){var D=C[E];if(typeof D=="string"){s.replace(A.selector(D),A,true)}else{t(D,A)}}});return s};s.set=function(B,A){f[B]=A;return s};return s})();Cufon.registerEngine("canvas",(function(){var g=document.createElement("canvas");if(!g||!g.getContext||!g.getContext.apply){return}g=null;var a=Cufon.CSS.supports("display","inline-block");var d=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var b=document.createElement("style");b.type="text/css";b.appendChild(document.createTextNode((".cufon-canvas{text-indent:0;}@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(d?"":"font-size:1px;line-height:1px;")+"}.cufon-canvas .cufon-alt{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;}"+(a?".cufon-canvas canvas{position:relative;}":".cufon-canvas canvas{position:absolute;}")+"}@media print{.cufon-canvas{padding:0;}.cufon-canvas canvas{display:none;}.cufon-canvas .cufon-alt{display:inline;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(b);function e(h,r){var m=0,n=0;var s=[],l=/([mrvxe])([^a-z]*)/g,p;generate:for(var q=0;p=l.exec(h);++q){var o=p[2].split(",");switch(p[1]){case"v":s[q]={m:"bezierCurveTo",a:[m+~~o[0],n+~~o[1],m+~~o[2],n+~~o[3],m+=~~o[4],n+=~~o[5]]};break;case"r":s[q]={m:"lineTo",a:[m+=~~o[0],n+=~~o[1]]};break;case"m":s[q]={m:"moveTo",a:[m=~~o[0],n=~~o[1]]};break;case"x":s[q]={m:"closePath"};break;case"e":break generate}r[s[q].m].apply(r,s[q].a)}return s}function f(h,l){for(var m=0,n=h.length;m<n;++m){var o=h[m];l[o.m].apply(l,o.a)}}return function(F,C,az,ae,aL,E){var at=(C===null);if(at){C=aL.alt}var aN=F.viewBox;var aq=az.getSize("fontSize",F.baseSize);var aB=az.get("letterSpacing");aB=(aB=="normal")?0:aq.convertFrom(parseInt(aB,10));var aM=0,aA=0,aC=0,aa=0;var aO=ae.textShadow,aE=[];if(aO){for(var ab=aO.length;ab--;){var aI=aO[ab];var aF=aq.convertFrom(parseFloat(aI.offX));var aG=aq.convertFrom(parseFloat(aI.offY));aE[ab]=[aF,aG];if(aG<aM){aM=aG}if(aF>aA){aA=aF}if(aG>aC){aC=aG}if(aF<aa){aa=aF}}}var y=Cufon.CSS.textTransform(C,az).split(""),ah;var ar=F.glyphs,ac,ao,ax;var av=0,al,aJ=[];for(var ab=0,af=0,ay=y.length;ab<ay;++ab){ac=ar[ah=y[ab]]||F.missingGlyph;if(!ac){continue}if(ao){av-=ax=ao[ah]||0;aJ[af-1]-=ax}av+=al=aJ[af++]=~~(ac.w||F.w)+aB;ao=ac.k}if(al===undefined){return null}aA+=aN.width-al;aa+=aN.minX;var ag,ap;if(at){ag=aL;ap=aL.firstChild}else{ag=document.createElement("span");ag.className="cufon cufon-canvas";ag.alt=C;ap=document.createElement("canvas");ag.appendChild(ap);if(ae.printable){var aw=document.createElement("span");aw.className="cufon-alt";aw.appendChild(document.createTextNode(C));ag.appendChild(aw)}}var l=ag.style;var aH=ap.style;var au=aq.convert(aN.height);var A=Math.ceil(au);var aD=A/au;ap.width=Math.ceil(aq.convert(av*aD+aA-aa));ap.height=Math.ceil(aq.convert(aN.height-aM+aC));aM+=aN.minY;aH.top=Math.round(aq.convert(aM-F.ascent))+"px";aH.left=Math.round(aq.convert(aa))+"px";var ai=Math.ceil(aq.convert(av*aD))+"px";if(a){l.width=ai;l.height=aq.convert(F.height)+"px"}else{l.paddingLeft=ai;l.paddingBottom=(aq.convert(F.height)-1)+"px"}var B=ap.getContext("2d"),aK=au/aN.height;B.scale(aK,aK*aD);B.translate(-aa,-aM);B.lineWidth=F.face["underline-thickness"];B.save();function an(h,m){B.strokeStyle=m;B.beginPath();B.moveTo(0,h);B.lineTo(av,h);B.stroke()}var am=ae.enableTextDecoration?Cufon.CSS.textDecoration(E,az):{};if(am.underline){an(-F.face["underline-position"],am.underline)}if(am.overline){an(F.ascent,am.overline)}function ad(){B.scale(aD,1);for(var h=0,m=0,n=y.length;h<n;++h){var o=ar[y[h]]||F.missingGlyph;if(!o){continue}if(o.d){B.beginPath();if(o.code){f(o.code,B)}else{o.code=e("m"+o.d,B)}B.fill()}B.translate(aJ[m++],0)}B.restore()}if(aO){for(var ab=aO.length;ab--;){var aI=aO[ab];B.save();B.fillStyle=aI.color;B.translate.apply(B,aE[ab]);ad()}}var aj=ae.textGradient;if(aj){var D=aj.stops,ak=B.createLinearGradient(0,aN.minY,0,aN.maxY);for(var ab=0,ay=D.length;ab<ay;++ab){ak.addColorStop.apply(ak,D[ab])}B.fillStyle=ak}else{B.fillStyle=az.get("color")}ad();if(am["line-through"]){an(-F.descent,am["line-through"])}return ag}})());Cufon.registerEngine("vml",(function(){if(!document.namespaces){return}if(document.namespaces.cvml==null){document.namespaces.add("cvml","urn:schemas-microsoft-com:vml")}var f=document.createElement("cvml:shape");f.style.behavior="url(#default#VML)";if(!f.coordsize){return}f=null;document.write(('<style type="text/css">.cufon-vml-canvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}.cufon-vml-canvas{position:absolute;text-align:left;}.cufon-vml{display:inline-block;position:relative;vertical-align:middle;}.cufon-vml .cufon-alt{position:absolute;left:-10000in;font-size:1px;}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none;}.cufon-vml .cufon-alt{display:inline;}}</style>').replace(/;/g,"!important;"));function e(h,g){return a(h,/(?:em|ex|%)$/i.test(g)?"1em":g)}function a(h,g){if(/px$/i.test(g)){return parseFloat(g)}var l=h.style.left,m=h.runtimeStyle.left;h.runtimeStyle.left=h.currentStyle.left;h.style.left=g;var n=h.style.pixelLeft;h.style.left=l;h.runtimeStyle.left=m;return n}var b={};function d(h){var g=h.id;if(!b[g]){var m=h.stops,l=document.createElement("cvml:fill"),p=[];l.type="gradient";l.angle=180;l.focus="0";l.method="sigma";l.color=m[0][1];for(var n=1,o=m.length-1;n<o;++n){p.push(m[n][0]*100+"% "+m[n][1])}l.colors=p.join(",");l.color2=m[o][1];b[g]=l}return b[g]}return function(ab,aS,aB,aV,aO,E,aD){var aw=(aS===null);if(aw){aS=aO.alt}var aQ=ab.viewBox;var au=aB.computedFontSize||(aB.computedFontSize=new Cufon.CSS.Size(e(E,aB.get("fontSize"))+"px",ab.baseSize));var aE=aB.computedLSpacing;if(aE==undefined){aE=aB.get("letterSpacing");aB.computedLSpacing=aE=(aE=="normal")?0:~~au.convertFrom(a(E,aE))}var af,at;if(aw){af=aO;at=aO.firstChild}else{af=document.createElement("span");af.className="cufon cufon-vml";af.alt=aS;at=document.createElement("span");at.className="cufon-vml-canvas";af.appendChild(at);if(aV.printable){var ag=document.createElement("span");ag.className="cufon-alt";ag.appendChild(document.createTextNode(aS));af.appendChild(ag)}if(!aD){af.appendChild(document.createElement("cvml:shape"))}}var aW=af.style;var aJ=at.style;var ay=au.convert(aQ.height),B=Math.ceil(ay);var aF=B/ay;var aG=aQ.minX,aH=aQ.minY;aJ.height=B;aJ.top=Math.round(au.convert(aH-ab.ascent));aJ.left=Math.round(au.convert(aG));aW.height=au.convert(ab.height)+"px";var ao=aV.enableTextDecoration?Cufon.CSS.textDecoration(E,aB):{};var aT=aB.get("color");var l=Cufon.CSS.textTransform(aS,aB).split(""),ah;var av=ab.glyphs,aU,ar,aj;var az=0,aN=[],aI=0,am;var ak,aR=aV.textShadow;for(var ad=0,ae=0,aA=l.length;ad<aA;++ad){aU=av[ah=l[ad]]||ab.missingGlyph;if(!aU){continue}if(ar){az-=aj=ar[ah]||0;aN[ae-1]-=aj}az+=am=aN[ae++]=~~(aU.w||ab.w)+aE;ar=aU.k}if(am===undefined){return null}var ai=-aG+az+(aQ.width-am);var A=au.convert(ai*aF),aC=Math.round(A);var aK=ai+","+aQ.height,ax;var aP="r"+aK+"ns";var al=aV.textGradient&&d(aV.textGradient);for(ad=0,ae=0;ad<aA;++ad){aU=av[l[ad]]||ab.missingGlyph;if(!aU){continue}if(aw){ak=at.childNodes[ae];while(ak.firstChild){ak.removeChild(ak.firstChild)}}else{ak=document.createElement("cvml:shape");at.appendChild(ak)}ak.stroked="f";ak.coordsize=aK;ak.coordorigin=ax=(aG-aI)+","+aH;ak.path=(aU.d?"m"+aU.d+"xe":"")+"m"+ax+aP;ak.fillcolor=aT;if(al){ak.appendChild(al.cloneNode(false))}var C=ak.style;C.width=aC;C.height=B;if(aR){var ap=aR[0],aq=aR[1];var D=Cufon.CSS.color(ap.color),ac;var aL=document.createElement("cvml:shadow");aL.on="t";aL.color=D.color;aL.offset=ap.offX+","+ap.offY;if(aq){ac=Cufon.CSS.color(aq.color);aL.type="double";aL.color2=ac.color;aL.offset2=aq.offX+","+aq.offY}aL.opacity=D.opacity||(ac&&ac.opacity)||1;ak.appendChild(aL)}aI+=aN[ae++]}var aM=ak.nextSibling,an,aa;if(aV.hover){if(!aM){aM=document.createElement("cvml:rect");aM.stroked="f";aM.className="cufon-vml-cover";an=document.createElement("cvml:fill");an.opacity=0;aM.appendChild(an);at.appendChild(aM)}aa=aM.style;aa.width=aC;aa.height=B}else{if(aM){at.removeChild(aM)}}aW.width=Math.max(Math.ceil(au.convert(az*aF)),0);return af}})());Cufon.registerFont({w:200,face:{"font-family":"Arial","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 6 4 2 2 2 2 2 4",ascent:"288",descent:"-72","x-height":"4",bbox:"-17 -323 352 76.2176","underline-thickness":"26.3672","underline-position":"-24.9609","unicode-range":"U+0020-U+00FF"},glyphs:{" ":{w:100,k:{Y:7,T:7,A:20}},"\u00a0":{w:100},"!":{d:"41,-64r-10,-137r0,-57r39,0v1,69,-5,130,-9,194r-20,0xm32,0r0,-36r37,0r0,36r-37,0",w:100},'"':{d:"25,-166v-5,-28,-10,-57,-8,-92r36,0v2,35,-3,64,-8,92r-20,0xm83,-166v-5,-28,-10,-57,-8,-92r36,0v2,35,-3,64,-9,92r-19,0",w:127},"#":{d:"18,4r15,-74r-29,0r0,-27r35,0r13,-63r-48,0r0,-27r53,0r15,-75r27,0r-16,75r56,0r15,-75r27,0r-16,75r31,0r0,27r-36,0r-13,63r49,0r0,27r-54,0r-16,74r-26,0r15,-74r-55,0r-16,74r-26,0xm65,-97r55,0r13,-63r-55,0"},"$":{d:"183,-73v2,43,-32,78,-75,78r0,32r-18,0r0,-32v-49,-4,-73,-29,-77,-77r32,-6v3,33,19,53,45,57r0,-101v-35,-7,-74,-27,-72,-72v1,-41,27,-69,72,-72r0,-15r18,0r0,15v40,4,64,26,69,63r-33,5v-3,-24,-15,-37,-36,-42r0,92v48,10,72,26,75,75xm90,-240v-32,2,-52,44,-31,70v6,7,17,14,31,18r0,-88xm108,-21v34,-1,56,-49,34,-78v-6,-7,-17,-13,-34,-19r0,97"},"%":{d:"75,-126v-37,0,-55,-29,-54,-70v0,-34,18,-66,54,-66v35,0,56,29,56,68v0,39,-22,67,-56,68xm104,-195v0,-27,-7,-45,-28,-45v-22,0,-27,18,-27,47v0,28,6,45,27,45v22,0,28,-18,28,-47xm76,9r141,-271r26,0r-141,271r-26,0xm242,9v-36,0,-54,-29,-54,-69v0,-37,18,-67,54,-67v34,1,56,29,56,68v0,39,-21,68,-56,68xm270,-60v0,-27,-6,-45,-27,-45v-22,0,-28,19,-28,48v0,26,7,45,28,45v22,0,27,-19,27,-48",w:320},"&":{d:"112,-262v34,0,60,24,60,55v0,24,-17,46,-49,63r46,59v5,-10,10,-22,13,-36r32,7v-6,22,-12,40,-22,55v12,16,25,29,40,40r-21,25v-13,-8,-26,-20,-40,-36v-18,20,-40,33,-74,34v-45,2,-83,-33,-82,-75v1,-40,29,-60,62,-77v-18,-21,-27,-30,-29,-57v-2,-32,30,-57,64,-57xm110,-236v-30,0,-39,38,-17,55r14,16v21,-13,29,-18,32,-41v1,-17,-13,-30,-29,-30xm50,-73v-2,35,40,65,77,41v10,-6,18,-14,24,-23r-58,-72v-26,16,-41,26,-43,54",w:240},"'":{d:"24,-166v-5,-28,-10,-57,-8,-92r36,0v2,35,-3,64,-9,92r-19,0",w:68},"(":{d:"107,-262v-66,97,-72,231,0,338r-23,0v-31,-40,-62,-101,-62,-169v1,-74,27,-121,62,-169r23,0",w:119},")":{d:"107,-93v1,68,-32,129,-63,169r-22,0v71,-107,66,-242,0,-338r22,0v35,49,62,96,63,169",w:119},"*":{d:"11,-210r8,-25v19,7,33,12,41,17v-2,-21,-4,-36,-4,-44r26,0v0,12,-2,27,-4,44v12,-6,25,-12,41,-17r8,25v-15,5,-29,7,-43,9v7,6,17,18,30,34r-21,15v-7,-9,-15,-22,-24,-38v-9,17,-16,29,-23,38r-21,-15v14,-17,23,-29,29,-34v-15,-3,-29,-5,-43,-9",w:140},"+":{d:"90,-42r0,-70r-70,0r0,-30r70,0r0,-70r30,0r0,70r70,0r0,30r-70,0r0,70r-30,0",w:210},",":{d:"32,0r0,-36r36,0v1,40,2,77,-29,87r-9,-14v15,-6,20,-16,20,-37r-18,0",w:100},"-":{d:"11,-77r0,-32r98,0r0,32r-98,0",w:119},"\u00ad":{d:"11,-77r0,-32r98,0r0,32r-98,0",w:119},".":{d:"33,0r0,-36r36,0r0,36r-36,0",w:100},"/":{d:"0,4r75,-266r25,0r-75,266r-25,0",w:100},"0":{d:"99,4v-67,0,-84,-54,-84,-131v0,-75,16,-132,84,-132v67,0,84,56,84,132v0,74,-16,131,-84,131xm99,-233v-46,6,-52,44,-52,106v0,65,8,98,52,105v44,-6,51,-40,51,-105v0,-65,-6,-99,-51,-106"},"1":{d:"39,-194v32,-13,61,-39,75,-65r20,0r0,259r-32,0r0,-202v-14,14,-43,31,-63,39r0,-31",k:{"1":27}},"2":{d:"181,-187v0,78,-96,103,-126,157r126,0r0,30r-170,0v6,-90,131,-106,137,-188v2,-26,-21,-46,-48,-45v-31,0,-51,20,-51,52r-32,-3v3,-47,35,-75,84,-75v46,0,80,30,80,72"},"3":{d:"136,-140v88,26,42,150,-39,145v-45,-3,-78,-32,-82,-73r32,-4v6,31,18,50,50,50v30,1,54,-23,53,-53v0,-37,-34,-60,-72,-47r3,-28v28,4,58,-12,58,-42v0,-23,-19,-41,-42,-41v-28,0,-43,20,-47,47r-32,-6v7,-38,36,-64,78,-67v71,-6,103,95,40,119"},"4":{d:"116,0r0,-62r-111,0r0,-29r117,-167r26,0r0,167r35,0r0,29r-35,0r0,62r-32,0xm116,-91r0,-116r-80,116r80,0"},"5":{d:"186,-87v0,102,-163,129,-171,19r33,-2v3,29,21,48,50,48v31,0,54,-28,54,-63v0,-60,-78,-75,-102,-33r-29,-4r25,-132r128,0r0,30r-103,0r-14,69v54,-41,129,2,129,68"},"6":{d:"14,-121v0,-103,66,-171,142,-121v14,9,20,27,23,47r-31,3v-4,-35,-42,-53,-70,-32v-23,18,-33,45,-33,91v13,-20,34,-34,63,-34v43,-1,77,38,76,83v-2,50,-31,88,-81,88v-63,0,-89,-47,-89,-125xm101,-139v-29,0,-52,24,-51,56v1,33,19,61,52,61v29,0,49,-26,49,-60v0,-33,-19,-57,-50,-57"},"7":{d:"53,0v4,-86,46,-174,90,-224r-126,0r0,-30r167,0r0,24v-47,54,-92,133,-98,230r-33,0"},"8":{d:"15,-75v1,-36,19,-57,49,-65v-71,-23,-35,-126,35,-119v70,-9,105,99,37,119v29,9,47,30,48,66v1,46,-38,78,-85,78v-48,0,-85,-33,-84,-79xm99,-233v-23,0,-42,18,-42,40v0,24,18,41,43,41v23,0,41,-18,41,-40v0,-23,-19,-41,-42,-41xm99,-126v-29,0,-53,23,-52,52v2,30,22,52,53,52v29,1,52,-22,52,-51v0,-30,-23,-53,-53,-53"},"9":{d:"184,-134v0,81,-20,135,-92,138v-42,2,-68,-26,-72,-64r30,-2v5,25,16,40,43,40v49,0,58,-49,60,-99v-11,18,-35,34,-62,34v-43,0,-76,-38,-76,-85v0,-49,34,-90,81,-87v64,4,88,47,88,125xm99,-115v31,-1,50,-24,50,-58v0,-33,-19,-60,-49,-60v-30,1,-53,29,-53,62v0,31,22,56,52,56"},":":{d:"33,-151r0,-36r36,0r0,36r-36,0xm33,0r0,-36r36,0r0,36r-36,0",w:100},";":{d:"32,-151r0,-36r36,0r0,36r-36,0xm32,0r0,-36r36,0v1,40,2,77,-29,87r-9,-14v15,-6,20,-16,20,-37r-18,0",w:100},"\u037e":{d:"32,-151r0,-36r36,0r0,36r-36,0xm32,0r0,-36r36,0v1,40,2,77,-29,87r-9,-14v15,-6,20,-16,20,-37r-18,0",w:100},"<":{d:"20,-113r0,-29r170,-72r0,31r-135,56r135,56r0,31",w:210},"=":{d:"190,-152r-170,0r0,-29r170,0r0,29xm190,-73r-170,0r0,-30r170,0r0,30",w:210},">":{d:"190,-113r-170,73r0,-31r135,-56r-135,-56r0,-31r170,72r0,29",w:210},"?":{d:"182,-192v0,61,-74,60,-69,129r-30,0v-10,-71,61,-75,67,-127v3,-24,-25,-47,-50,-46v-31,2,-47,20,-52,52r-32,-4v6,-45,33,-74,83,-74v46,0,83,28,83,70xm81,0r0,-36r36,0r0,36r-36,0"},"@":{d:"238,1v-22,0,-33,-7,-34,-30v-13,16,-30,30,-54,30v-108,0,-62,-192,28,-192v25,0,42,14,53,33r6,-27r31,0r-30,145v0,7,5,11,12,11v38,-8,68,-51,68,-97v0,-70,-56,-111,-126,-111v-89,0,-145,64,-146,152v-1,91,61,134,151,135v57,0,101,-22,124,-53r31,0v-26,46,-78,80,-155,79v-107,-1,-177,-53,-177,-158v0,-107,64,-180,174,-180v88,0,146,52,150,137v3,58,-51,127,-106,126xm180,-164v-61,-1,-88,129,-23,139v41,-6,61,-45,64,-89v1,-28,-16,-50,-41,-50",w:365},A:{d:"-1,0r99,-258r37,0r106,258r-39,0r-30,-78r-108,0r-28,78r-37,0xm74,-106r87,0r-45,-125v-9,45,-28,84,-42,125",w:240,k:{y:7,w:7,v:7,Y:27,W:13,V:27,T:27," ":20}},B:{d:"221,-75v1,89,-104,75,-195,75r0,-258v82,0,182,-14,182,66v0,27,-15,46,-36,55v29,8,48,29,49,62xm175,-188v0,-52,-64,-37,-115,-39r0,78v50,-2,115,12,115,-39xm186,-75v0,-55,-70,-43,-126,-44r0,89v56,-2,126,12,126,-45",w:240},C:{d:"136,-25v43,0,68,-26,76,-65r34,8v-12,51,-48,86,-107,86v-84,1,-113,-57,-121,-135v-14,-136,189,-182,223,-56r-33,8v-11,-33,-29,-53,-69,-54v-60,-1,-86,44,-86,102v0,61,25,106,83,106",w:259},D:{d:"241,-130v0,82,-35,130,-120,130r-93,0r0,-258r89,0v89,-3,124,46,124,128xm206,-131v0,-64,-21,-99,-90,-96r-54,0r0,197r55,0v68,2,89,-37,89,-101",w:259},E:{d:"28,0r0,-258r187,0r0,31r-152,0r0,79r142,0r0,30r-142,0r0,88r158,0r0,30r-193,0",w:240},F:{d:"30,0r0,-258r173,0r0,31r-139,0r0,80r121,0r0,30r-121,0r0,117r-34,0",w:219,k:{A:20,".":40,",":40}},G:{d:"54,-130v-8,101,111,128,170,77r0,-48r-76,0r0,-30r110,0r0,95v-29,22,-61,40,-107,40v-80,0,-127,-52,-132,-132v-8,-116,138,-177,215,-100v10,10,16,25,20,42r-31,9v-9,-35,-33,-55,-75,-56v-64,0,-89,42,-94,103",w:280},H:{d:"29,0r0,-258r34,0r0,106r134,0r0,-106r34,0r0,258r-34,0r0,-121r-134,0r0,121r-34,0",w:259},I:{d:"34,0r0,-258r34,0r0,258r-34,0",w:100},J:{d:"152,-82v13,80,-77,109,-124,67v-13,-12,-18,-32,-18,-58r31,-4v1,34,9,51,38,51v31,0,39,-19,39,-54r0,-178r34,0r0,176",w:180},K:{d:"26,0r0,-258r34,0r0,128r128,-128r47,0r-108,105r112,153r-45,0r-91,-130r-43,41r0,89r-34,0",w:240},L:{d:"26,0r0,-258r34,0r0,228r127,0r0,30r-161,0",k:{y:13,Y:27,W:27,V:27,T:27," ":13}},M:{d:"27,0r0,-258r51,0r73,221r76,-221r46,0r0,258r-33,0r0,-216r-75,216r-31,0r-74,-219r0,219r-33,0",w:299},N:{d:"27,0r0,-258r35,0r136,203r0,-203r32,0r0,258r-35,0r-135,-202r0,202r-33,0",w:259},O:{d:"141,4v-77,0,-122,-55,-124,-130v-2,-80,49,-136,124,-136v78,0,123,54,123,134v0,78,-48,132,-123,132xm141,-233v-57,0,-88,40,-88,108v0,57,35,100,87,100v55,0,90,-43,89,-104v-1,-60,-30,-104,-88,-104",w:280},P:{d:"224,-183v0,78,-78,83,-162,78r0,105r-34,0r0,-258v90,1,196,-17,196,75xm189,-182v0,-59,-69,-43,-127,-45r0,92v57,-1,127,12,127,-47",w:240,k:{A:27,".":46,",":46," ":7}},Q:{d:"262,-129v0,45,-14,77,-39,101v16,11,31,19,44,24r-10,24v-19,-7,-38,-18,-56,-32v-89,47,-191,-16,-186,-117v4,-77,45,-133,124,-133v77,0,123,53,123,133xm51,-129v0,75,53,122,122,97v-11,-7,-21,-11,-33,-14r8,-25v20,6,36,13,49,24v55,-50,34,-192,-58,-186v-55,3,-88,41,-88,104",w:280},R:{d:"234,-187v-1,42,-29,66,-72,70v46,24,63,76,93,117r-42,0v-30,-37,-46,-92,-92,-113v-15,-2,-41,-1,-59,-1r0,114r-34,0r0,-258v90,3,209,-22,206,71xm199,-187v0,-56,-81,-40,-137,-42r0,85v57,-2,136,14,137,-43",w:259,k:{Y:7,W:7,V:7,T:7}},S:{d:"177,-136v81,33,37,140,-51,140v-65,0,-107,-28,-110,-87r32,-3v4,41,33,55,76,60v56,6,90,-59,34,-80v-45,-17,-132,-19,-132,-85v0,-83,139,-91,175,-35v8,12,12,26,13,41r-33,2v5,-62,-119,-67,-122,-10v-2,44,93,40,118,57",w:240},T:{d:"93,0r0,-227r-85,0r0,-31r205,0r0,31r-86,0r0,227r-34,0",w:219,k:{y:20,w:20,u:13,s:40,r:13,o:40,i:13,e:40,c:40,a:40,O:7,A:27,";":40,":":40,".":40,"-":20,",":40," ":7}},U:{d:"127,-26v108,0,60,-141,70,-232r34,0r0,149v1,76,-28,113,-101,113v-74,0,-102,-37,-102,-113r0,-149r34,0v9,90,-34,232,65,232",w:259},V:{d:"101,0r-99,-258r36,0r81,230r83,-230r35,0r-101,258r-35,0",w:240,k:{y:13,u:13,r:13,o:20,i:7,e:20,a:27,A:27,";":13,":":13,".":33,"-":20,",":33}},W:{d:"73,0r-69,-258r35,0r50,222r61,-222r41,0r37,131v9,32,16,63,20,91r53,-222r35,0r-71,258r-33,0r-62,-227r-62,227r-35,0",w:339,k:{y:3,u:7,r:7,o:7,e:7,a:13,A:13,";":7,":":7,".":20,"-":7,",":20}},X:{d:"2,0r99,-134r-88,-124r41,0r67,98r73,-98r37,0r-91,122r98,136r-42,0r-76,-109r-77,109r-41,0",w:240},Y:{d:"100,0r0,-109r-99,-149r42,0r77,122r78,-122r39,0r-103,149r0,109r-34,0",w:240,k:{v:20,u:20,q:33,p:27,o:33,i:13,e:33,a:27,A:27,";":23,":":20,".":46,"-":33,",":46," ":7}},Z:{d:"7,0r0,-32r132,-165v9,-12,19,-21,27,-30r-144,0r0,-31r185,0r0,31r-161,197r165,0r0,30r-204,0",w:219},"[":{d:"24,72r0,-330r70,0r0,26r-38,0r0,277r38,0r0,27r-70,0",w:100},"\\":{d:"75,4r-75,-266r25,0r75,266r-25,0",w:100},"]":{d:"77,72r-70,0r0,-27r38,0r0,-277r-38,0r0,-26r70,0r0,330",w:100},"^":{d:"42,-121r-33,0r63,-141r25,0r62,141r-31,0r-44,-105",w:168},_:{d:"-5,72r0,-23r209,0r0,23r-209,0"},"`":{d:"82,-210r-26,0r-40,-49r42,0",w:119},a:{d:"175,-120v0,46,-6,99,10,120r-33,0v-3,-7,-5,-14,-6,-23v-33,39,-133,39,-133,-26v0,-63,86,-56,130,-69v3,-35,-13,-47,-45,-47v-32,0,-42,10,-49,36r-31,-4v8,-41,37,-58,85,-58v50,0,72,16,72,71xm84,-21v42,-2,63,-23,59,-73v-23,15,-97,3,-96,44v0,18,15,31,37,29"},b:{d:"185,-96v10,81,-84,134,-132,73r0,23r-29,0r0,-258r31,0r0,92v47,-57,140,-8,130,70xm104,-165v-33,0,-51,31,-51,70v0,44,15,73,49,73v33,0,51,-31,51,-72v0,-41,-16,-71,-49,-71"},c:{d:"47,-94v-15,78,93,98,99,26r31,4v-5,40,-35,68,-78,68v-54,0,-87,-39,-85,-97v-17,-102,139,-138,160,-39r-31,5v-6,-23,-18,-38,-43,-38v-37,0,-54,28,-53,71",w:180},d:{d:"91,-191v24,0,41,12,52,26r0,-93r31,0r0,258r-29,0r0,-24v-12,19,-29,28,-52,28v-53,-2,-81,-43,-81,-97v0,-55,26,-96,79,-98xm94,-165v-34,0,-49,29,-49,72v0,41,18,71,51,71v32,0,49,-29,49,-69v0,-44,-16,-74,-51,-74"},e:{d:"102,-22v28,0,41,-15,50,-38r32,4v-9,36,-37,60,-82,60v-56,1,-89,-38,-89,-96v0,-59,32,-99,87,-99v55,0,90,42,85,106r-139,0v2,37,21,63,56,63xm152,-111v2,-50,-57,-70,-88,-39v-10,10,-15,23,-16,39r104,0"},f:{d:"108,-231v-33,-9,-51,6,-45,44r36,0r0,25r-36,0r0,162r-32,0r0,-162r-28,0r0,-25r28,0v-7,-60,24,-85,81,-72",w:100,k:{f:7}},g:{d:"176,-25v13,94,-74,121,-138,86v-15,-8,-20,-26,-20,-46r31,5v-1,35,56,37,77,21v18,-14,19,-25,18,-65v-14,16,-31,24,-52,24v-51,2,-80,-45,-80,-94v1,-55,25,-96,80,-97v22,0,41,9,55,27r0,-23r29,0r0,162xm95,-165v-33,0,-51,29,-51,68v0,42,16,71,51,71v35,0,52,-28,52,-70v0,-39,-20,-69,-52,-69"},h:{d:"105,-164v-69,0,-47,96,-50,164r-31,0r0,-258r31,0r0,93v38,-46,121,-31,121,47r0,118r-32,0v-8,-60,25,-164,-39,-164"},i:{d:"24,-221r0,-37r32,0r0,37r-32,0xm24,0r0,-187r32,0r0,187r-32,0",w:79},j:{d:"24,-221r0,-37r31,0r0,37r-31,0xm55,10v4,55,-26,74,-72,62r6,-26v28,7,35,-3,35,-37r0,-196r31,0r0,197",w:79},k:{d:"24,0r0,-258r32,0r0,147r74,-76r41,0r-71,70r79,117r-39,0r-62,-95r-22,21r0,74r-32,0",w:180},l:{d:"23,0r0,-258r32,0r0,258r-32,0",w:79},m:{d:"102,-163v-67,0,-42,97,-47,163r-31,0r0,-187r28,0r0,27v15,-38,98,-44,109,2v28,-52,116,-43,116,30r0,128r-32,0r0,-118v1,-31,-8,-44,-33,-45v-67,-2,-41,99,-46,163r-31,0r0,-121v-1,-26,-7,-42,-33,-42",w:299},n:{d:"105,-163v-69,-3,-46,97,-50,163r-31,0r0,-187r28,0r0,27v33,-53,123,-40,123,45r0,115r-31,0v-8,-59,25,-161,-39,-163"},o:{d:"99,4v-55,0,-87,-38,-87,-97v0,-59,32,-97,87,-98v54,0,88,39,88,95v0,64,-30,100,-88,100xm99,-165v-37,0,-55,30,-55,72v0,42,19,71,55,71v37,0,55,-29,55,-72v0,-42,-18,-71,-55,-71"},p:{d:"186,-95v8,78,-84,130,-131,76r0,91r-31,0r0,-259r29,0r0,25v12,-17,27,-29,54,-29v54,1,74,43,79,96xm104,-166v-32,0,-52,34,-52,74v0,41,17,70,50,70v34,0,51,-31,51,-73v0,-41,-16,-71,-49,-71"},q:{d:"13,-95v-11,-82,88,-129,133,-67r0,-25r28,0r0,259r-31,0r0,-92v-45,55,-141,3,-130,-75xm94,-166v-32,0,-49,31,-49,72v0,41,18,72,52,72v31,0,49,-30,49,-69v0,-42,-18,-75,-52,-75"},r:{d:"114,-151v-36,-23,-59,12,-59,53r0,98r-32,0r0,-187r29,0r0,29v13,-32,41,-42,73,-23",w:119,k:{".":20,",":20}},s:{d:"138,-99v56,31,18,103,-47,103v-48,0,-73,-19,-80,-60r31,-5v-2,47,89,53,92,9v-16,-47,-118,-16,-118,-85v0,-61,103,-69,132,-30v5,7,9,16,11,28r-31,5v2,-39,-81,-42,-81,-7v0,32,70,31,91,42",w:180},t:{d:"61,-53v-2,25,10,28,32,25r4,28v-45,6,-67,0,-67,-55r0,-107r-24,0r0,-25r24,0r0,-46r31,-19r0,65r32,0r0,25r-32,0r0,109",w:100},u:{d:"93,-23v70,2,46,-96,50,-164r31,0r0,187r-28,0r0,-27v-34,53,-123,38,-123,-44r0,-116r32,0v8,60,-25,163,38,164"},v:{d:"76,0r-71,-187r33,0r52,150r53,-150r33,0r-71,187r-29,0",w:180,k:{".":27,",":27}},w:{d:"58,0r-57,-187r33,0r41,148v8,-38,28,-107,39,-148r32,0r38,144r42,-144r31,0r-58,187r-33,0r-37,-144r-38,144r-33,0",w:259,k:{".":20,",":20}},x:{d:"3,0r68,-97r-63,-90r39,0r42,65v15,-24,30,-42,46,-65r37,0r-64,88r69,99r-38,0r-49,-74r-49,74r-38,0",w:180},y:{d:"22,72r-3,-30v38,11,50,-10,58,-42r-71,-187r34,0r39,108v5,14,9,29,13,44v14,-54,35,-101,53,-152r32,0r-89,233v-12,23,-35,37,-66,26",w:180,k:{".":27,",":27}},z:{d:"7,0r0,-26r119,-136r-112,1r0,-26r153,0r0,21r-121,140r126,-1r0,27r-165,0",w:180},"{":{d:"46,-9v0,-44,-1,-66,-36,-70r0,-29v34,-3,37,-25,36,-67v-2,-63,6,-89,66,-87r0,28v-30,-1,-37,4,-36,36v0,67,1,84,-37,105v29,13,36,33,37,79v1,48,-6,61,36,62r0,28v-59,3,-67,-25,-66,-85",w:120},"|":{d:"33,76r0,-338r28,0r0,338r-28,0",w:93},"}":{d:"74,-178v0,44,1,66,36,70r0,29v-34,3,-37,26,-36,68v1,63,-6,89,-66,87r0,-28v30,1,37,-4,36,-36v0,-64,1,-86,37,-105v-29,-15,-37,-32,-37,-79v0,-48,7,-62,-36,-62r0,-28v58,-3,67,25,66,84",w:120},"~":{d:"61,-122v-23,0,-30,10,-46,24r0,-36v34,-42,92,-8,135,3v19,0,35,-14,45,-25r0,38v-14,12,-26,19,-49,20v-28,1,-59,-24,-85,-24",w:210},"\u00c4":{d:"-1,0r99,-258r37,0r106,258r-39,0r-30,-78r-108,0r-28,78r-37,0xm74,-106r87,0r-45,-125v-9,45,-28,84,-42,125xm67,-273r0,-36r33,0r0,36r-33,0xm132,-273r0,-36r33,0r0,36r-33,0",w:240},"\u00c5":{d:"116,-249v-18,0,-31,-14,-31,-32v0,-18,13,-32,31,-32v17,0,32,14,32,32v1,18,-14,33,-32,32xm117,-300v-10,0,-20,9,-19,19v-1,11,9,19,19,19v10,0,19,-9,18,-19v1,-10,-9,-19,-18,-19xm-1,0r99,-258r37,0r106,258r-39,0r-30,-78r-108,0r-28,78r-37,0xm74,-106r87,0r-45,-125v-9,45,-28,84,-42,125",w:240},"\u00c7":{d:"136,-25v43,0,68,-26,76,-65r34,8v-12,51,-48,86,-107,86v-84,1,-113,-57,-121,-135v-14,-136,189,-182,223,-56r-33,8v-11,-33,-29,-53,-69,-54v-60,-1,-86,44,-86,102v0,61,25,106,83,106xm137,39v-1,-12,-13,-11,-28,-12r9,-31r24,0r-6,19v17,1,30,11,30,26v0,30,-43,38,-76,31r2,-21v21,2,41,2,45,-12",w:259},"\u00c9":{d:"28,0r0,-258r187,0r0,31r-152,0r0,79r142,0r0,30r-142,0r0,88r158,0r0,30r-193,0xm99,-274r23,-49r42,0r-39,49r-26,0",w:240},"\u00d1":{d:"159,-274v-15,3,-58,-37,-60,0r-23,0v-1,-23,14,-40,35,-40v13,-3,57,35,59,0r23,0v0,23,-12,40,-34,40xm27,0r0,-258r35,0r136,203r0,-203r32,0r0,258r-35,0r-135,-202r0,202r-33,0",w:259},"\u00d6":{d:"141,4v-77,0,-122,-55,-124,-130v-2,-80,49,-136,124,-136v78,0,123,54,123,134v0,78,-48,132,-123,132xm141,-233v-57,0,-88,40,-88,108v0,57,35,100,87,100v55,0,90,-43,89,-104v-1,-60,-30,-104,-88,-104xm91,-273r0,-36r33,0r0,36r-33,0xm156,-273r0,-36r33,0r0,36r-33,0",w:280},"\u00dc":{d:"127,-26v108,0,60,-141,70,-232r34,0r0,149v1,76,-28,113,-101,113v-74,0,-102,-37,-102,-113r0,-149r34,0v9,90,-34,232,65,232xm80,-273r0,-36r33,0r0,36r-33,0xm145,-273r0,-36r33,0r0,36r-33,0",w:259},"\u00e1":{d:"175,-120v0,46,-6,99,10,120r-33,0v-3,-7,-5,-14,-6,-23v-33,39,-133,39,-133,-26v0,-63,86,-56,130,-69v3,-35,-13,-47,-45,-47v-32,0,-42,10,-49,36r-31,-4v8,-41,37,-58,85,-58v50,0,72,16,72,71xm84,-21v42,-2,63,-23,59,-73v-23,15,-97,3,-96,44v0,18,15,31,37,29xm81,-210r23,-49r42,0r-39,49r-26,0"},"\u00e0":{d:"175,-120v0,46,-6,99,10,120r-33,0v-3,-7,-5,-14,-6,-23v-33,39,-133,39,-133,-26v0,-63,86,-56,130,-69v3,-35,-13,-47,-45,-47v-32,0,-42,10,-49,36r-31,-4v8,-41,37,-58,85,-58v50,0,72,16,72,71xm84,-21v42,-2,63,-23,59,-73v-23,15,-97,3,-96,44v0,18,15,31,37,29xm126,-210r-26,0r-40,-49r42,0"},"\u00e2":{d:"99,-240r-19,30r-37,0r38,-49r34,0r40,49r-36,0xm175,-120v0,46,-6,99,10,120r-33,0v-3,-7,-5,-14,-6,-23v-33,39,-133,39,-133,-26v0,-63,86,-56,130,-69v3,-35,-13,-47,-45,-47v-32,0,-42,10,-49,36r-31,-4v8,-41,37,-58,85,-58v50,0,72,16,72,71xm84,-21v42,-2,63,-23,59,-73v-23,15,-97,3,-96,44v0,18,15,31,37,29"},"\u00e4":{d:"175,-120v0,46,-6,99,10,120r-33,0v-3,-7,-5,-14,-6,-23v-33,39,-133,39,-133,-26v0,-63,86,-56,130,-69v3,-35,-13,-47,-45,-47v-32,0,-42,10,-49,36r-31,-4v8,-41,37,-58,85,-58v50,0,72,16,72,71xm84,-21v42,-2,63,-23,59,-73v-23,15,-97,3,-96,44v0,18,15,31,37,29xm50,-223r0,-36r33,0r0,36r-33,0xm115,-223r0,-36r33,0r0,36r-33,0"},"\u00e3":{d:"77,-231v-9,0,-14,6,-13,17r-24,0v-1,-23,15,-40,36,-40v14,-4,57,33,59,-1r23,0v0,24,-12,40,-35,40v-9,2,-35,-15,-46,-16xm175,-120v0,46,-6,99,10,120r-33,0v-3,-7,-5,-14,-6,-23v-33,39,-133,39,-133,-26v0,-63,86,-56,130,-69v3,-35,-13,-47,-45,-47v-32,0,-42,10,-49,36r-31,-4v8,-41,37,-58,85,-58v50,0,72,16,72,71xm84,-21v42,-2,63,-23,59,-73v-23,15,-97,3,-96,44v0,18,15,31,37,29"},"\u00e5":{d:"99,-202v-17,0,-32,-16,-32,-33v0,-17,15,-31,32,-32v17,0,32,16,32,33v0,17,-15,31,-32,32xm99,-254v-9,0,-19,9,-18,19v-1,11,8,19,18,19v10,0,19,-10,19,-19v0,-9,-10,-19,-19,-19xm175,-120v0,46,-6,99,10,120r-33,0v-3,-7,-5,-14,-6,-23v-33,39,-133,39,-133,-26v0,-63,86,-56,130,-69v3,-35,-13,-47,-45,-47v-32,0,-42,10,-49,36r-31,-4v8,-41,37,-58,85,-58v50,0,72,16,72,71xm84,-21v42,-2,63,-23,59,-73v-23,15,-97,3,-96,44v0,18,15,31,37,29"},"\u00e7":{d:"47,-94v-15,78,93,98,99,26r31,4v-5,40,-35,68,-78,68v-54,0,-87,-39,-85,-97v-17,-102,139,-138,160,-39r-31,5v-6,-23,-18,-38,-43,-38v-37,0,-54,28,-53,71xm100,35v-1,-12,-13,-11,-28,-12r9,-31r24,0r-6,19v17,1,30,11,30,26v0,30,-43,38,-76,31r2,-21v21,2,41,2,45,-12",w:180},"\u00e9":{d:"102,-22v28,0,41,-15,50,-38r32,4v-9,36,-37,60,-82,60v-56,1,-89,-38,-89,-96v0,-59,32,-99,87,-99v55,0,90,42,85,106r-139,0v2,37,21,63,56,63xm152,-111v2,-50,-57,-70,-88,-39v-10,10,-15,23,-16,39r104,0xm82,-210r23,-49r42,0r-39,49r-26,0"},"\u00e8":{d:"102,-22v28,0,41,-15,50,-38r32,4v-9,36,-37,60,-82,60v-56,1,-89,-38,-89,-96v0,-59,32,-99,87,-99v55,0,90,42,85,106r-139,0v2,37,21,63,56,63xm152,-111v2,-50,-57,-70,-88,-39v-10,10,-15,23,-16,39r104,0xm121,-210r-26,0r-40,-49r42,0"},"\u00ea":{d:"100,-240r-20,30r-36,0r38,-49r33,0r40,49r-36,0xm102,-22v28,0,41,-15,50,-38r32,4v-9,36,-37,60,-82,60v-56,1,-89,-38,-89,-96v0,-59,32,-99,87,-99v55,0,90,42,85,106r-139,0v2,37,21,63,56,63xm152,-111v2,-50,-57,-70,-88,-39v-10,10,-15,23,-16,39r104,0"},"\u00eb":{d:"102,-22v28,0,41,-15,50,-38r32,4v-9,36,-37,60,-82,60v-56,1,-89,-38,-89,-96v0,-59,32,-99,87,-99v55,0,90,42,85,106r-139,0v2,37,21,63,56,63xm152,-111v2,-50,-57,-70,-88,-39v-10,10,-15,23,-16,39r104,0xm50,-223r0,-36r33,0r0,36r-33,0xm115,-223r0,-36r33,0r0,36r-33,0"},"\u00ed":{d:"35,0r0,-187r31,0r0,187r-31,0xm33,-210r23,-49r42,0r-39,49r-26,0",w:100},"\u00ec":{d:"35,0r0,-187r31,0r0,187r-31,0xm73,-210r-26,0r-40,-49r42,0",w:100},"\u00ee":{d:"53,-240r-20,30r-36,0r38,-49r34,0r39,49r-36,0xm35,0r0,-187r31,0r0,187r-31,0",w:100},"\u00ef":{d:"35,0r0,-187r31,0r0,187r-31,0xm2,-223r0,-36r33,0r0,36r-33,0xm67,-223r0,-36r33,0r0,36r-33,0",w:100},"\u00f1":{d:"129,-215v-15,3,-59,-37,-60,1r-23,0v-1,-23,15,-40,36,-40v14,-3,57,33,59,-1r23,0v0,24,-12,40,-35,40xm105,-163v-69,-3,-46,97,-50,163r-31,0r0,-187r28,0r0,27v33,-53,123,-40,123,45r0,115r-31,0v-8,-59,25,-161,-39,-163"},"\u00f3":{d:"99,4v-55,0,-87,-38,-87,-97v0,-59,32,-97,87,-98v54,0,88,39,88,95v0,64,-30,100,-88,100xm99,-165v-37,0,-55,30,-55,72v0,42,19,71,55,71v37,0,55,-29,55,-72v0,-42,-18,-71,-55,-71xm82,-210r23,-49r42,0r-39,49r-26,0"},"\u00f2":{d:"99,4v-55,0,-87,-38,-87,-97v0,-59,32,-97,87,-98v54,0,88,39,88,95v0,64,-30,100,-88,100xm99,-165v-37,0,-55,30,-55,72v0,42,19,71,55,71v37,0,55,-29,55,-72v0,-42,-18,-71,-55,-71xm121,-210r-26,0r-40,-49r42,0"},"\u00f4":{d:"100,-240r-20,30r-36,0r38,-49r33,0r40,49r-36,0xm99,4v-55,0,-87,-38,-87,-97v0,-59,32,-97,87,-98v54,0,88,39,88,95v0,64,-30,100,-88,100xm99,-165v-37,0,-55,30,-55,72v0,42,19,71,55,71v37,0,55,-29,55,-72v0,-42,-18,-71,-55,-71"},"\u00f6":{d:"99,4v-55,0,-87,-38,-87,-97v0,-59,32,-97,87,-98v54,0,88,39,88,95v0,64,-30,100,-88,100xm99,-165v-37,0,-55,30,-55,72v0,42,19,71,55,71v37,0,55,-29,55,-72v0,-42,-18,-71,-55,-71xm50,-223r0,-36r33,0r0,36r-33,0xm115,-223r0,-36r33,0r0,36r-33,0"},"\u00f5":{d:"124,-215v-15,3,-59,-37,-60,1r-23,0v-1,-23,14,-40,35,-40v14,-4,57,34,59,-1r23,0v0,23,-12,40,-34,40xm99,4v-55,0,-87,-38,-87,-97v0,-59,32,-97,87,-98v54,0,88,39,88,95v0,64,-30,100,-88,100xm99,-165v-37,0,-55,30,-55,72v0,42,19,71,55,71v37,0,55,-29,55,-72v0,-42,-18,-71,-55,-71"},"\u00fa":{d:"93,-23v70,2,46,-96,50,-164r31,0r0,187r-28,0r0,-27v-34,53,-123,38,-123,-44r0,-116r32,0v8,60,-25,163,38,164xm80,-210r23,-49r42,0r-39,49r-26,0"},"\u00f9":{d:"93,-23v70,2,46,-96,50,-164r31,0r0,187r-28,0r0,-27v-34,53,-123,38,-123,-44r0,-116r32,0v8,60,-25,163,38,164xm128,-210r-26,0r-40,-49r42,0"},"\u00fb":{d:"99,-240r-20,30r-36,0r38,-49r34,0r39,49r-36,0xm93,-23v70,2,46,-96,50,-164r31,0r0,187r-28,0r0,-27v-34,53,-123,38,-123,-44r0,-116r32,0v8,60,-25,163,38,164"},"\u00fc":{d:"93,-23v70,2,46,-96,50,-164r31,0r0,187r-28,0r0,-27v-34,53,-123,38,-123,-44r0,-116r32,0v8,60,-25,163,38,164xm50,-223r0,-36r33,0r0,36r-33,0xm115,-223r0,-36r33,0r0,36r-33,0"},"\u00b0":{d:"71,-165v-25,-1,-49,-21,-49,-48v0,-26,23,-49,49,-49v28,0,49,22,49,49v0,25,-24,49,-49,48xm71,-243v-15,0,-29,14,-29,30v0,16,13,29,29,29v16,0,30,-14,30,-29v0,-15,-15,-30,-30,-30",w:143},"\u00a2":{d:"19,-92v0,-64,35,-105,100,-98r20,-68r19,6r-19,68v23,10,34,25,39,52r-30,5v-3,-13,-9,-23,-17,-30r-39,135v33,6,55,-16,58,-46r32,3v-8,45,-46,79,-97,67r-21,70r-20,-6r21,-70v-27,-13,-46,-45,-46,-88xm112,-165v-68,-14,-77,98,-39,134"},"\u00a3":{d:"190,-7v-55,33,-123,-30,-173,12r-12,-30v26,-14,49,-50,37,-91r-34,0r0,-26r27,0v-27,-60,6,-120,71,-120v44,0,73,28,78,67r-32,4v0,-56,-94,-59,-92,-2v0,13,3,30,10,51r55,0r0,26r-50,0v10,34,-9,61,-28,82v49,-15,93,26,133,-2"},"\u00a7":{d:"172,18v2,57,-85,74,-123,41v-13,-11,-21,-27,-24,-47r32,-4v-1,48,80,56,83,10v-9,-52,-126,-61,-126,-131v0,-25,18,-44,40,-50v-44,-30,-17,-103,41,-99v44,3,69,21,74,61r-33,3v3,-47,-70,-49,-74,-10v9,53,122,58,122,126v0,28,-15,40,-40,51v15,12,28,26,28,49xm69,-151v-21,10,-34,32,-18,55v11,15,60,39,77,53v21,-8,35,-33,17,-54v-10,-12,-62,-42,-76,-54"},"\u00b6":{d:"0,-184v0,-49,32,-74,83,-74r112,0r0,31r-26,0r0,299r-30,0r0,-299r-39,0r0,299r-29,0r0,-184v-41,-2,-71,-30,-71,-72",w:193},"\u00df":{d:"101,-236v-33,2,-43,19,-42,62r0,174r-32,0r0,-176v-2,-57,24,-84,75,-86v35,-1,65,20,65,50v1,28,-23,49,-27,72v10,34,69,40,69,85v0,48,-62,77,-103,48v-11,-8,-19,-19,-25,-31r27,-13v9,36,68,39,68,-1v0,-40,-68,-44,-68,-83v0,-28,29,-46,28,-73v0,-16,-15,-30,-35,-28",w:219},"\u00ae":{d:"1,-129v0,-77,57,-133,132,-133v76,0,133,57,133,133v0,75,-56,132,-133,132v-76,0,-132,-56,-132,-132xm244,-129v0,-63,-47,-111,-111,-111v-64,0,-111,48,-111,111v0,62,47,110,111,110v64,-1,111,-48,111,-110xm124,-199v70,-14,79,75,20,79v24,11,36,41,51,64r-28,0v-20,-27,-22,-68,-69,-61r0,61r-23,0r0,-143r49,0xm161,-158v0,-26,-34,-21,-63,-21r0,43v28,0,63,4,63,-22",w:265},"\u00a9":{d:"1,-129v0,-77,57,-133,132,-133v76,0,133,57,133,133v0,75,-56,132,-133,132v-76,0,-132,-56,-132,-132xm244,-129v0,-63,-47,-111,-111,-111v-64,0,-111,48,-111,111v0,62,47,110,111,110v64,-1,111,-48,111,-110xm88,-128v-9,62,78,70,88,20r21,6v-7,28,-30,49,-64,49v-43,0,-69,-30,-69,-76v0,-78,110,-104,131,-33r-21,5v-17,-46,-95,-28,-86,29",w:265},"\u00b4":{d:"39,-210r23,-49r42,0r-39,49r-26,0",w:119},"\u00a8":{d:"11,-223r0,-36r33,0r0,36r-33,0xm76,-223r0,-36r33,0r0,36r-33,0",w:119},"\u00c6":{d:"0,0r124,-258r212,0r0,31r-130,0r0,79r120,0r0,30r-120,0r0,88r134,0r0,30r-168,0r0,-74r-100,0r-35,74r-37,0xm87,-105r85,0r0,-122r-26,0",w:360},"\u00d8":{d:"140,-262v38,2,55,10,80,28r29,-33r18,15r-31,34v59,81,18,222,-95,222v-37,0,-55,-8,-79,-27r-30,33r-17,-14r31,-35v-63,-78,-19,-230,94,-223xm199,-210v-57,-52,-156,-9,-147,81v3,29,4,43,16,65xm82,-46v58,50,146,5,146,-82v0,-24,-5,-45,-15,-64",w:280},"\u00b1":{d:"84,-46r0,-71r-70,0r0,-29r70,0r0,-70r30,0r0,70r70,0r0,29r-70,0r0,71r-30,0xm184,0r-170,0r0,-30r170,0r0,30",w:197},"\u00a5":{d:"84,0r0,-57r-73,0r0,-25r73,0r0,-25r-73,0r0,-26r60,0r-72,-125r36,0r64,118v17,-37,43,-81,63,-118r37,0r-71,125r60,0r0,26r-73,0r0,25r73,0r0,25r-73,0r0,57r-31,0"},"\u00b5":{d:"102,-24v66,1,41,-97,46,-163r31,0r0,187r-28,0r0,-22v-15,32,-75,36,-92,3r0,91r-31,0r0,-259r31,0v5,65,-19,162,43,163",w:207},"\u00aa":{d:"67,-262v75,0,40,80,59,128r-26,0v-2,-5,-4,-10,-4,-16v-34,44,-119,1,-77,-46v13,-15,54,-12,75,-19v1,-21,-10,-26,-28,-27v-17,-1,-27,8,-29,22r-24,-6v3,-23,24,-36,54,-36xm34,-170v4,32,56,16,58,-6v1,-2,2,-8,2,-18v-12,6,-63,2,-60,24",w:133},"\u00ba":{d:"8,-195v0,-39,21,-67,58,-67v36,0,57,28,57,66v0,38,-22,66,-57,66v-36,0,-58,-26,-58,-65xm97,-197v0,-24,-10,-42,-31,-42v-22,0,-32,17,-32,43v0,26,11,43,32,43v21,0,31,-18,31,-44",w:131},"\u00e6":{d:"305,-57v-9,66,-121,82,-152,26v-21,20,-41,35,-77,35v-37,1,-63,-20,-64,-53v0,-61,77,-55,127,-69v1,-33,-8,-48,-41,-47v-30,1,-46,8,-50,36r-31,-4v2,-63,113,-77,146,-33v15,-16,31,-24,60,-25v59,0,86,48,82,106r-135,0v-11,72,91,83,102,24xm273,-111v2,-49,-55,-70,-87,-40v-9,9,-15,23,-16,40r103,0xm46,-50v5,49,85,28,91,-6v1,-6,2,-19,2,-38v-15,12,-97,5,-93,44",w:320},"\u00f8":{d:"23,-91v-6,-84,76,-123,139,-85r17,-22r17,12r-19,24v44,57,17,166,-67,166v-19,0,-36,-5,-50,-14r-18,24r-17,-13r19,-24v-15,-17,-19,-39,-21,-68xm144,-152v-42,-33,-89,2,-89,59v0,18,3,32,9,44xm78,-33v56,40,111,-35,79,-102",w:219},"\u00bf":{d:"129,-187r0,36r-36,0r0,-36r36,0xm28,5v0,-61,74,-59,68,-128r31,0v10,71,-61,73,-67,126v-3,24,24,48,50,46v32,-1,47,-20,52,-52r32,4v-6,45,-33,74,-83,74v-46,0,-83,-28,-83,-70",w:219},"\u00a1":{d:"79,-187r0,36r-37,0r0,-36r37,0xm70,-123r10,137r0,57r-39,0v-1,-69,5,-130,9,-194r20,0",w:119},"\u00ac":{d:"190,-75r-30,0r0,-77r-140,0r0,-29r170,0r0,106",w:210},"\u00ab":{d:"60,-93r45,80r-25,0r-56,-80r56,-80r26,0xm128,-93r46,80r-27,0r-55,-80r55,-80r27,0"},"\u00bb":{d:"139,-93r-46,-80r26,0r56,80r-56,80r-26,0xm71,-93r-46,-80r26,0r55,80r-55,80r-26,0"},"\u00c0":{d:"-1,0r99,-258r37,0r106,258r-39,0r-30,-78r-108,0r-28,78r-37,0xm74,-106r87,0r-45,-125v-9,45,-28,84,-42,125xm145,-274r-26,0r-40,-49r42,0",w:240},"\u00c3":{d:"98,-290v-9,0,-14,6,-13,16r-24,0v-1,-23,15,-40,36,-40v13,-3,56,35,59,0r23,0v0,24,-12,40,-35,40v-9,2,-35,-15,-46,-16xm-1,0r99,-258r37,0r106,258r-39,0r-30,-78r-108,0r-28,78r-37,0xm74,-106r87,0r-45,-125v-9,45,-28,84,-42,125",w:240},"\u00d5":{d:"165,-274v-15,3,-57,-36,-60,0r-23,0v-1,-23,15,-38,36,-40v13,-1,56,34,59,0r23,0v-1,23,-13,40,-35,40xm141,4v-77,0,-122,-55,-124,-130v-2,-80,49,-136,124,-136v78,0,123,54,123,134v0,78,-48,132,-123,132xm141,-233v-57,0,-88,40,-88,108v0,57,35,100,87,100v55,0,90,-43,89,-104v-1,-60,-30,-104,-88,-104",w:280},"\u00f7":{d:"81,-162r0,-36r36,0r0,36r-36,0xm184,-112r-170,0r0,-30r170,0r0,30xm81,-56r0,-36r36,0r0,36r-36,0",w:197},"\u00ff":{d:"22,72r-3,-30v38,11,50,-10,58,-42r-71,-187r34,0r39,108v5,14,9,29,13,44v14,-54,35,-101,53,-152r32,0r-89,233v-12,23,-35,37,-66,26xm43,-223r0,-36r33,0r0,36r-33,0xm108,-223r0,-36r33,0r0,36r-33,0",w:180},"\u00b7":{d:"33,-109r0,-36r36,0r0,36r-36,0",w:100},"\u2219":{d:"33,-109r0,-36r36,0r0,36r-36,0",w:100},"\u00c2":{d:"117,-303r-20,29r-36,0r38,-49r33,0r40,49r-36,0xm-1,0r99,-258r37,0r106,258r-39,0r-30,-78r-108,0r-28,78r-37,0xm74,-106r87,0r-45,-125v-9,45,-28,84,-42,125",w:240},"\u00ca":{d:"124,-303r-20,29r-36,0r38,-49r34,0r39,49r-35,0xm28,0r0,-258r187,0r0,31r-152,0r0,79r142,0r0,30r-142,0r0,88r158,0r0,30r-193,0",w:240},"\u00c1":{d:"-1,0r99,-258r37,0r106,258r-39,0r-30,-78r-108,0r-28,78r-37,0xm74,-106r87,0r-45,-125v-9,45,-28,84,-42,125xm95,-274r23,-49r42,0r-39,49r-26,0",w:240},"\u00cb":{d:"28,0r0,-258r187,0r0,31r-152,0r0,79r142,0r0,30r-142,0r0,88r158,0r0,30r-193,0xm75,-273r0,-36r33,0r0,36r-33,0xm140,-273r0,-36r33,0r0,36r-33,0",w:240},"\u00c8":{d:"28,0r0,-258r187,0r0,31r-152,0r0,79r142,0r0,30r-142,0r0,88r158,0r0,30r-193,0xm150,-274r-26,0r-40,-49r42,0",w:240},"\u00cd":{d:"34,0r0,-258r34,0r0,258r-34,0xm25,-274r23,-49r42,0r-39,49r-26,0",w:100},"\u00ce":{d:"50,-303r-19,29r-37,0r38,-49r34,0r40,49r-36,0xm34,0r0,-258r34,0r0,258r-34,0",w:100},"\u00cf":{d:"34,0r0,-258r34,0r0,258r-34,0xm1,-273r0,-36r33,0r0,36r-33,0xm66,-273r0,-36r33,0r0,36r-33,0",w:100},"\u00cc":{d:"34,0r0,-258r34,0r0,258r-34,0xm76,-274r-26,0r-40,-49r42,0",w:100},"\u00d3":{d:"141,4v-77,0,-122,-55,-124,-130v-2,-80,49,-136,124,-136v78,0,123,54,123,134v0,78,-48,132,-123,132xm141,-233v-57,0,-88,40,-88,108v0,57,35,100,87,100v55,0,90,-43,89,-104v-1,-60,-30,-104,-88,-104xm119,-274r23,-49r42,0r-39,49r-26,0",w:280},"\u00d4":{d:"140,-303r-20,29r-36,0r38,-49r34,0r39,49r-35,0xm141,4v-77,0,-122,-55,-124,-130v-2,-80,49,-136,124,-136v78,0,123,54,123,134v0,78,-48,132,-123,132xm141,-233v-57,0,-88,40,-88,108v0,57,35,100,87,100v55,0,90,-43,89,-104v-1,-60,-30,-104,-88,-104",w:280},"\u00d2":{d:"141,4v-77,0,-122,-55,-124,-130v-2,-80,49,-136,124,-136v78,0,123,54,123,134v0,78,-48,132,-123,132xm141,-233v-57,0,-88,40,-88,108v0,57,35,100,87,100v55,0,90,-43,89,-104v-1,-60,-30,-104,-88,-104xm161,-274r-26,0r-40,-49r42,0",w:280},"\u00da":{d:"127,-26v108,0,60,-141,70,-232r34,0r0,149v1,76,-28,113,-101,113v-74,0,-102,-37,-102,-113r0,-149r34,0v9,90,-34,232,65,232xm108,-274r23,-49r42,0r-39,49r-26,0",w:259},"\u00db":{d:"129,-303r-19,29r-37,0r38,-49r34,0r40,49r-36,0xm127,-26v108,0,60,-141,70,-232r34,0r0,149v1,76,-28,113,-101,113v-74,0,-102,-37,-102,-113r0,-149r34,0v9,90,-34,232,65,232",w:259},"\u00d9":{d:"127,-26v108,0,60,-141,70,-232r34,0r0,149v1,76,-28,113,-101,113v-74,0,-102,-37,-102,-113r0,-149r34,0v9,90,-34,232,65,232xm150,-274r-26,0r-40,-49r42,0",w:259},"\u00b8":{d:"66,39v-1,-12,-13,-11,-28,-12r9,-31r24,0r-6,19v17,1,30,11,30,26v0,30,-43,38,-76,31r2,-21v21,2,41,2,45,-12",w:119},"\u00a6":{d:"61,-262r0,139r-28,0r0,-139r28,0xm61,-63r0,139r-28,0r0,-139r28,0",w:93},"\u00d0":{d:"241,-130v0,81,-34,130,-120,130r-93,0r0,-117r-29,0r0,-23r29,0r0,-118r89,0v89,-3,124,46,124,128xm206,-131v0,-64,-22,-98,-90,-96r-54,0r0,87r71,0r0,23r-71,0r0,87r55,0v68,2,89,-36,89,-101",w:259},"\u00f0":{d:"130,-176v-10,-18,-13,-23,-25,-38r-49,23r-7,-19r42,-19v-11,-11,-24,-20,-37,-29r38,0v8,6,16,12,22,18r38,-18r8,18r-30,15v38,43,56,87,56,133v1,56,-34,96,-87,96v-51,0,-86,-36,-86,-95v0,-69,57,-119,117,-85xm99,-21v34,0,54,-32,54,-72v0,-39,-20,-69,-55,-69v-36,0,-53,30,-53,72v0,41,20,69,54,69"},"\u00dd":{d:"100,0r0,-109r-99,-149r42,0r77,122r78,-122r39,0r-103,149r0,109r-34,0xm98,-274r23,-49r42,0r-39,49r-26,0",w:240},"\u00fd":{d:"22,72r-3,-30v38,11,50,-10,58,-42r-71,-187r34,0r39,108v5,14,9,29,13,44v14,-54,35,-101,53,-152r32,0r-89,233v-12,23,-35,37,-66,26xm74,-210r23,-49r42,0r-39,49r-26,0",w:180},"\u00de":{d:"224,-131v0,78,-77,84,-162,79r0,52r-34,0r0,-258r34,0r0,53v83,-2,162,-6,162,74xm189,-130v0,-58,-70,-43,-127,-45r0,92v57,-1,127,12,127,-47",w:240},"\u00fe":{d:"186,-95v7,78,-81,130,-131,76r0,91r-31,0r0,-330r31,0r0,91v17,-16,25,-24,52,-24v54,0,74,43,79,96xm104,-166v-32,0,-52,34,-52,74v0,41,17,70,50,70v34,0,51,-31,51,-73v0,-41,-16,-71,-49,-71"},"\u00d7":{d:"28,-72r56,-55r-56,-55r22,-22r55,55r55,-55r21,22r-55,55r56,55r-22,21r-55,-55r-55,55",w:210},"\u00b9":{d:"19,-228v15,-5,36,-21,46,-33r19,0r0,132r-26,0r0,-97v-12,9,-25,16,-39,20r0,-22",w:119},"\u00b2":{d:"113,-225v1,37,-45,52,-67,75r68,0r0,21r-110,0v5,-41,73,-56,82,-92v-1,-12,-10,-20,-25,-19v-17,0,-22,6,-26,20r-27,-3v2,-49,104,-52,105,-2",w:119},"\u00b3":{d:"114,-166v1,50,-105,56,-108,3r25,-3v6,28,55,26,55,-4v0,-17,-19,-22,-37,-18r3,-20v30,6,39,-35,7,-33v-15,0,-19,6,-25,18r-25,-4v5,-44,98,-47,98,-1v0,15,-10,25,-24,28v18,5,30,15,31,34",w:119},"\u00bd":{d:"40,10r194,-272r27,0r-193,272r-28,0xm19,-228v15,-5,36,-21,46,-33r19,0r0,132r-26,0r0,-97v-12,9,-25,16,-39,20r0,-22xm293,-91v1,37,-45,52,-67,75r68,0r0,21r-110,0v5,-40,72,-57,82,-91v0,-13,-11,-20,-25,-20v-17,0,-22,6,-26,20r-27,-2v2,-49,104,-54,105,-3",w:300},"\u00bc":{d:"44,10r194,-272r27,0r-193,272r-28,0xm19,-228v15,-5,36,-21,46,-33r19,0r0,132r-26,0r0,-97v-12,9,-25,16,-39,20r0,-22xm251,5r0,-27r-67,0r0,-21r71,-84r22,0r0,86r18,0r0,19r-18,0r0,27r-26,0xm251,-41r0,-46r-40,46r40,0",w:300},"\u00be":{d:"44,10r194,-272r27,0r-193,272r-28,0xm114,-166v1,50,-105,56,-108,3r25,-3v6,28,55,26,55,-4v0,-17,-20,-21,-37,-18r3,-20v30,6,39,-35,7,-33v-15,0,-19,6,-25,18r-25,-4v5,-44,98,-47,98,-1v0,15,-10,25,-24,28v18,5,30,15,31,34xm251,5r0,-27r-67,0r0,-21r71,-84r22,0r0,86r18,0r0,19r-18,0r0,27r-26,0xm251,-41r0,-46r-40,46r40,0",w:300},"\u00af":{d:"-5,-275r0,-23r209,0r0,23r-209,0",w:198},"\u00a4":{d:"37,-169r-24,-24r20,-21r25,25v24,-17,59,-17,83,0r24,-25r21,21r-25,24v17,25,17,58,0,83r25,24r-21,21r-24,-25v-24,17,-59,18,-83,0r-25,25r-20,-21r24,-24v-16,-25,-16,-58,0,-83xm99,-173v-25,0,-45,20,-45,45v0,25,20,46,45,46v25,0,46,-21,46,-46v0,-24,-21,-45,-46,-45"}}});function track(a){TrackUserAjax.trackerAdd(a,function(b){})}Cufon.replace("#home_words h3");function changeContent(d){var b=$j(d).parent().attr("id");b=b.split("_")[1];thisBox=$j(d).parents(".box");$j(thisBox).find(".item_content").fadeOut(400);$j(thisBox).find("#content_"+b).fadeIn(400);var f=$j(d).parents("ul").find(".active");var a=$j(f).find("span").html();$j(f).removeClass("active").html("<a href='javascript://' title='"+a+"'>"+a+"</a>");var e=$j(d).html();$j(d).parent().addClass("active").html("<span>"+e+"</span>")}function selectTriggerPrev(a){$j(a).find(".increase").click(function(){var b=$j(a).find(".select_value .value");$j(b).text(parseInt($j(b).text())+1)});$j(a).find(".decrease").click(function(){var b=$j(a).find(".select_value .value");if($j(b).text()!="0"){$j(b).text(parseInt($j(b).text())-1)}})}function changeTriggerValCartao(a,b){$j("#opcao_cartao").val(b);$j(a).closest("form").attr("action",b)}function selectTriggerCartao(a){$el=$j(a);$el.find("a").click(function(){var d=$el.find(".select_value span:visible");var b;if($j(this).is(".decrease")){b=d.next();if(!b.length){b=$el.find(".select_value span:first")}}else{b=d.prev();if(!b.length){b=$el.find(".select_value span:last")}}d.hide();b.show();changeTriggerValCartao(a,b.find("a").attr("href"))})}$j(document).ready(function(){$j("#home_top .title, #home_top .subtitle").dropShadow({left:1,top:1,blur:1,opacity:1});$j(".box_top a").live("mouseover",function(){changeContent(this)});if($j("body").hasClass("home_previdencia")){var a="#select_idade";selectTriggerPrev(a)}else{if($j("body").hasClass("home_cartao")){var a="#select_cartao";selectTriggerCartao(a);changeTriggerValCartao(a,$j(a).find(".select_value span:visible a").attr("href"))}}$j("#bt_buscar").click(function(){var b=$j("#compare_precos .input_text").val();if(b=="Compare preços de produtos"||b==""){return false}})});function changeContent(d){var b=$j(d).parent().attr("id");b=b.split("_")[1];var g=$j(d).parents(".box");$j(g).find(".item_content").fadeOut(400);$j(g).find("#content_"+b).fadeIn(400);if("\v"=="v"){$j(g).find(".item_content select").css("visibility","hidden");$j(g).find("#content_"+b+" select").css("visibility","visible")}var f=$j(d).parents("ul").find(".active");var a=$j(f).find("span").html();$j(f).removeClass("active").html("<a href='javascript://' title='"+a+"'>"+a+"</a>");var e=$j(d).html();$j(d).parent().addClass("active").html("<span>"+e+"</span>")}function toggleFormComment(b){$f=$j("#form_comment");$cancel=$f.find("a.cancel");$title=$f.find(".title");$el=$j(b);$hidden=$j("#cId");if($el.is("a.cancel")){$f.closest(".comment_wrapper").find("a.answer").show();$title.text("Comente esta notícia");$cancel.hide();$hidden.val("");$j("#news_comments").after($f)}else{var a=$el.closest("li").attr("id");a=a.split("-")[1];$title.text("Responder ao comentário");$cancel.show();$j("div.comment_wrapper a.answer").show();$hidden.val(a);$el.closest(".comment_wrapper").find("a.answer").hide();$f.appendTo($el.closest(".comment_wrapper"))}}function rateComment(b){$el=$j(b);if(!$el.hasClass("disabled")){var a=$el.attr("class");$el.removeClass(a).addClass(a+"_selected");$el.add($el.siblings()).removeAttr("href").addClass("disabled");var d=parseInt($el.text());$el.text(d+1)}}$j(document).ready(function(){$j("#cote .box_top a, #box_share .box_top a").live("mouseover",function(){changeContent(this)});$j("#news_nav h3 a").click(function(){var a=$j(this).parents("div:first");if(a.hasClass("expanded")){$j(a).queue(function(){$j(this).find(">ul").slideToggle(400);$j(this).removeClass("expanded").addClass("collapsed");$j(this).dequeue()})}else{if(a.hasClass("collapsed")){$j(a).queue(function(){$j(this).find(">ul").slideToggle(400);$j(this).removeClass("collapsed").addClass("expanded");$j(this).dequeue()})}}});if(!$j("body").hasClass("newslisting")){$j("#box_videos li, #news_content .news_item").each(function(){if($j(this).hasClass("double_news")){$j(this).find("div").click(function(){document.location.href=$j(this).find("a").attr("href")})}else{if($j(this).hasClass("last_news")){$j(this).find("li").click(function(){document.location.href=$j(this).find("a").attr("href")})}else{$j(this).click(function(){document.location.href=$j(this).find("a").attr("href")})}}})}else{$j("#the_news li").each(function(){$j(this).click(function(){document.location.href=$j(this).find("a").attr("href")})})}if($j("body").attr("id")=="news_detail"){$j("p.fontsize a").each(function(){var b,a;$j(this).click(function(){$this=$j(this);b=$this.closest(".the_news").find("div.news_text");a=parseFloat($j(b).css("font-size"));if($this.attr("id")=="increase_fontsize"){if(a<16.5){a+=1.5}}else{if(a>10.5){a-=1.5}}$j(b).css("font-size",a)})});$j("#news_comments").find("a.answer, a.cancel").live("click",function(){toggleFormComment(this)});$j("#news_comments div.rating a").click(function(){rateComment(this)})}});$j(document).ready(function(){if($j("body").find("#cote").length==1){BoxCoteAjax.carregaFabricanteAuto(function(b){for(var a=0;a<b.length;a++){$j("#sel_fabricante_seguro").append('<option value="'+b[a].fabricante+'">'+b[a].fabricante+"</option>");$j("#sel_fabricante_consorcio").append('<option value="'+b[a].fabricante+'">'+b[a].fabricante+"</option>")}})}$j("#sel_fabricante_seguro").change(function(){var b=$j("#sel_fabricante_seguro").val();var a="";BoxCoteAjax.carregaModeloAuto(b,function(e){a+="<option value=''>Selecione o modelo</option>";for(var d=0;d<e.length;d++){a+='<option value="'+e[d].descricao+'">'+e[d].descricao+"</option>"}$j("#sel_modelo_seguro").html(a)})});$j("#sel_modelo_seguro").change(function(){var b=$j("#sel_modelo_seguro").val();var d=$j("#sel_fabricante_seguro").val();var a="";BoxCoteAjax.carregaSubModeloAuto(d,b,function(f){a="<option value=''>Selecione o sub-modelo</option>";for(var e=0;e<f.length;e++){a+='<option value="'+f[e].fipeid+'">'+f[e].descricao+"</option>"}$j("#sel_submodelo_seguro").html(a);var g=$j("#sel_submodelo_seguro").val();$j("#fipeid-box-cote-seguroauto").val(g)})});$j("#sel_submodelo_seguro").change(function(){var a=$j("#sel_submodelo_seguro").val();$j("#fipeid-box-cote-seguroauto").val(a)});$j("#form-box-cote-seguroauto").submit(function(){var a=$j("#sel_submodelo_seguro").val();if(a!=""){return true}else{return false}});$j("#sel_fabricante_consorcio").change(function(){var b=$j("#sel_fabricante_consorcio").val();var a="";BoxCoteAjax.carregaModeloAuto(b,function(e){a+="<option value=''>Selecione o modelo</option>";for(var d=0;d<e.length;d++){a+='<option value="'+e[d].descricao+'">'+e[d].descricao+"</option>"}$j("#sel_modelo_consorcio").html(a)})});$j("#sel_modelo_consorcio").change(function(){var b=$j("#sel_modelo_consorcio").val();var d=$j("#sel_fabricante_consorcio").val();var a="";BoxCoteAjax.carregaSubModeloAuto(d,b,function(f){a="<option value=''>Selecione o sub-modelo</option>";for(var e=0;e<f.length;e++){a+='<option value="'+f[e].fipeid+'">'+f[e].descricao+"</option>"}$j("#sel_submodelo_consorcio").html(a);var g=$j("#sel_submodelo_consorcio").val();$j("#fipeid-box-cote-consorcio").val(g)})});$j("#sel_submodelo_consorcio").change(function(){var a=$j("#sel_submodelo_consorcio").val();$j("#fipeid-box-cote-consorcio").val(a)})});$j(function(){$j("#compartilhar-noticia").submit(function(){var d=$j("#txt_share_nome").val();var f=$j("#txt_share_email").val();var a=$j("#txt_share_dest").val();var b=$j("#txt_share_para").val();var e=$j("#id-noticia").val();CompartilharNoticiaAjax.compartilhaNoticia(d,f,a,b,e,function(h){if(h==true){$j("#txt_share_nome").val("");$j("#txt_share_email").val("");$j("#txt_share_dest").val("");$j("#txt_share_para").val("");$j("#compartilhar-noticia").css("display","none");$j("#msg-enviada-compartilhe").css("display","block");$j("#msg-enviada-compartilhe").css("text-align","center");$j("#msg-enviada-compartilhe").css("margin-top","45px");var g=3000;window.setTimeout(divClose,g)}});return false})});function divClose(){$j("#box_send_for_friend").css("visibility","hidden")}$j(document).ready(function(){$j("a.good").click(function(){var b=$j(this).closest("li").attr("id");b=b.split("-");var a=b[1];ContabilizacaoComentarioAjax.contabilizaVotoPositivo(a,function(d){})});$j("a.bad").click(function(){var b=$j(this).closest("li").attr("id");b=b.split("-");var a=b[1];ContabilizacaoComentarioAjax.contabilizaVotoNegativo(a,function(d){})})});$j(function(){$j("#compartilhar-conteudo").submit(function(){var d=$j("#txt_share_nome").val();var f=$j("#txt_share_email").val();var a=$j("#txt_share_dest").val();var b=$j("#txt_share_para").val();var e=$j("#id-conteudo").val();CompartilharNoticiaAjax.compartilhaNoticia(d,f,a,b,e,function(h){if(h==true){$j("#txt_share_nome").val("");$j("#txt_share_email").val("");$j("#txt_share_dest").val("");$j("#txt_share_para").val("");$j("#compartilhar-conteudo").css("display","none");$j("#msg-enviada-compartilhe").css("display","block");$j("#msg-enviada-compartilhe").css("text-align","center");$j("#msg-enviada-compartilhe").css("margin-top","45px");var g=3000;window.setTimeout(divClose,g)}});return false})});function divClose(){$j("#box_send_for_friend").css("visibility","hidden")}$j(document).ready(function(){$j("a.good").click(function(){var b=$j(this).closest("li").attr("id");b=b.split("-");var a=b[1];ContabilizacaoComentarioConteudoAjax.contabilizaVotoPositivo(a,function(d){})});$j("a.bad").click(function(){var b=$j(this).closest("li").attr("id");b=b.split("-");var a=b[1];ContabilizacaoComentarioConteudoAjax.contabilizaVotoNegativo(a,function(d){})})});$j(document).ready(function(){$j("#text_msg").keyup(function(){var b=$j("#text_msg").val();if(b.length>500){var a=$j("#text_msg").val().substring(0,500);$j("#text_msg").val(a)}})});$j(document).ready(function(){var b="";try{b=$j("#corporate_content div.the_content span.menu_highlight").attr("id");b=b.split("-")[1];$j("#navitem_"+b+" a").addClass("a_selected")}catch(a){}$j("#this_faq dt a").each(function(d,e){$j(this).click(function(){$j("#this_faq dd:eq("+d+")").slideToggle(600);$j(this).parent().toggleClass("expanded").toggleClass("collapsed")})});$j("#noticias li").click(function(){document.location.href=$j(this).find("a").attr("href")});$j("#corporate_glossario ul.index a").click(function(){thisPos=$j("#corporate_glossario ul.index a").index(this);var d=parseInt($j("#corporate_glossario div.glossary").css("padding-top"));var e=$j("#corporate_glossario div.glossary h4:eq("+thisPos+")").position().top-d;var f=400;if("\v"=="v"){f=1000}$j("#corporate_glossario div.glossary").animate({scrollTop:"+="+e+"px"},f)});if($j("#corporate_screenshots").length>0){$j("#corporate_screenshots a").lightBox()}if($j("#text_ddd").length>0){$j("#text_ddd, #text_tel").keypress(function(d){return Formatter.isNumber(d)})}});$j(document).ready(function(){try{$j("#mycarousel_loja").jcarousel({animation:"slow"});$j("#mycarousel_loja_second").jcarousel({animation:"slow"});$j(".submenu_bar").live("click",function(){var b=$j(this).parent().attr("id");$j(".jcarousel-skin-tango").parent().hide();$j("#carousel_"+b).show();$j("#submenu span").removeClass("active");$j("#submenu #"+b).addClass("active")})}catch(a){}if($j("#formlojavirtual_step1 #li-escolhaCampo #nota_fiscal").is(":checked")){$j("#li-numeroSerie").hide();$j("#li-notaFiscal").show()}else{$j("#li-notaFiscal").hide();$j("#li-numeroSerie").show()}$j("#formlojavirtual_step1 #li-escolhaCampo .radio").live("click",function(){if($j(this).attr("id")=="nota_fiscal"){$j("#li-numeroSerie").hide();$j("#li-notaFiscal").show()}else{$j("#li-notaFiscal").hide();$j("#li-numeroSerie").show()}})});$j(document).ready(function(){$j("#this_cat .cat_item").click(function(){var b=$j(this).find("a").attr("href");document.location.href=b});var a="";$j("#box_simule #bt_calcular").click(function(){a=""+($j("#item_value").val()/$j("#qtd_parc").val());if(a.split(".").length>1){if(a.split(".")[1].length>2){strInteiro=a.split(".")[0];strDecimal=a.split(".")[1].substring(0,2);a=strInteiro+","+strDecimal}}else{if(a=="Infinity"||a=="NaN"||a=="0"||a==""){return false}else{a+=",00"}}$j("#resultado strong").html("R$"+a);$j("#formulario").fadeOut("400");$j("#resultado").fadeIn("400");$j("#resultado_obs").slideDown("400")});$j("#box_simule #nova_simulacao").click(function(){$j("#resultado").fadeOut("400");$j("#formulario").fadeIn("400");$j("#resultado_obs").slideUp("400")})});var xmlHttp;function ConsultaVeiculo(a,b){if(a.length>=3){VeiculoDropDown(a,b)}else{document.getElementById("div_box_veiculo").style.display="none"}}function VeiculoDropDown(b,d){document.getElementById("div_box_veiculo").style.display="none";var e="";var a=18;if(d==a){e="/Moto?qs="+b+"&categoriaid="+d}else{e="/Vehicle?qs="+b+"&categoriaid="+d}xmlHttp=GetXmlHttpObject(stateChanged);xmlHttp.open("GET",e,true);xmlHttp.send(null)}function stateChanged(){if(xmlHttp.readyState==4||xmlHttp.readyState=="complete"){document.getElementById("div_box_veiculo").style.display="";document.getElementById("div_autocomplete_content").innerHTML=xmlHttp.responseText}if(document.getElementById("autoform_new").carro.value==""){document.getElementById("div_box_veiculo").style.display="none"}}function hideDiv(){document.getElementById("div_box_veiculo").style.display="none"}function populateInput(a,b){document.getElementById("autoform_new").fipeid.value=b;document.getElementById("autoform_new").carro.value=a;document.getElementById("div_box_veiculo").style.display="none"}function GetXmlHttpObject(d){var a=null;if(navigator.userAgent.indexOf("Opera")>=0){return}if(navigator.userAgent.indexOf("MSIE")>=0){var b="Msxml2.XMLHTTP";if(navigator.appVersion.indexOf("MSIE 5.5")>=0){b="Microsoft.XMLHTTP"}try{a=new ActiveXObject(b);a.onreadystatechange=d;return a}catch(f){alert("Error. Scripting para ActiveX deve estar desativado");return}}if(navigator.userAgent.indexOf("Mozilla")>=0){a=new XMLHttpRequest();a.onload=d;a.onerror=d;return a}}function verifySubmitModelo(){if(document.getElementById("nomeVeiculo").value!=""){$j(".errorsign_veiculos").css("display","none");document.getElementById("findbytext").submit()}else{$j(".errorsign_veiculos").css("display","block")}}function verifySubmit(){if(document.getElementById("autoform_new").fipeid.value!=""){$j(".errorsign_veiculos").css("display","none");document.getElementById("autoform_new").submit()}else{$j(".errorsign_veiculos").css("display","block")}}(function($){var methods="destroy,enable,disable,reset".split(",");for(var i=0;i<methods.length;i++){var cur=methods[i],f;eval('f = function() { var a = arguments; return this.each(function() { if(jQuery(this).is(".fx-magnifier")) jQuery.data(this, "fx-magnifier")["'+cur+'"](a); }); }');$.fn["magnifier"+cur.substr(0,2).toUpperCase()+cur.substr(2)]=f}$.fn.magnifier=function(options){return this.each(function(){new $.fx.magnifier(this,options)})};$.fx.magnifier=function(el,options){var self=this;this.items=[];this.element=el;this.options=options||{};var o=this.options;$.data(el,"fx-magnifier",this);$(el).addClass("fx-magnifier");o.distance=o.distance||150;o.magnification=o.magnification||1.3;o.baseline=o.baseline||0;o.verticalLine=o.verticalLine!=undefined?o.verticalLine:-0;o.items=o.items||"> *";this.pp=$(el).offset({border:false});$(o.items,el).each(function(){var co=$(this).offset({border:false});if(self.options.overlap){var cp=$(this).position()}self.items.push([this,co,[$(this).width(),$(this).height()],(cp||null)]);if(o.opacity){$(this).css("opacity",o.opacity.min)}});if(o.overlap){for(var i=0;i<this.items.length;i++){$(this.items[i][0]).css({position:"absolute",top:this.items[i][3].top,left:this.items[i][3].left})}}this.moveEvent=function(e){if(!self.disabled){self.magnify.apply(self,[e])}};$(document).bind("mousemove",this.moveEvent);if(o.click){this.clickEvent=function(e){if(!self.disabled){o.click.apply(this,[e,{options:self.options,current:self.current[0],currentOffset:self.current[1]}])}};$(el).bind("click",this.clickEvent)}};$.extend($.fx.magnifier.prototype,{destroy:function(){$(this.element).removeClass("fx-magnifier").removeClass("fx-magnifier-disabled");$(document).unbind("mousemove",this.moveEvent);if(this.clickEvent){$(this.element).unbind("click",this.clickEvent)}},enable:function(){$(this.element).removeClass("fx-magnifier-disabled");this.disabled=false},disable:function(){$(this.element).addClass("fx-magnifier-disabled");this.reset();this.disabled=true},reset:function(e){var o=this.options;var c;var distance=1;for(var i=0;i<this.items.length;i++){c=this.items[i];$(c[0]).css({width:c[2][0],height:c[2][1],top:(c[3]?c[3].top:0),left:(c[3]?c[3].left:0)});if(o.opacity){$(c[0]).css("opacity",o.opacity.min)}if(o.zIndex){$(c[0]).css("z-index","")}}},magnify:function(e){var p=[e.pageX,e.pageY];var o=this.options;var c;this.current=this.items[0];var distance=1;var overlap=((p[0]>this.pp.left-o.distance&&p[0]<this.pp.left+this.element.offsetWidth+o.distance)&&(p[1]>this.pp.top-o.distance&&p[1]<this.pp.top+this.element.offsetHeight+o.distance));if(!overlap){return false}for(var i=0;i<this.items.length;i++){c=this.items[i];var olddistance=distance;if(!o.axis){distance=Math.sqrt(Math.pow(p[0]-((c[3]?this.pp.left:c[1].left)+parseInt(c[0].style.left))-(c[0].offsetWidth/2),2)+Math.pow(p[1]-((c[3]?this.pp.top:c[1].top)+parseInt(c[0].style.top))-(c[0].offsetHeight/2),2))}else{if(o.axis=="y"){distance=Math.abs(p[1]-((c[3]?this.pp.top:c[1].top)+parseInt(c[0].style.top))-(c[0].offsetHeight/2))}else{distance=Math.abs(p[0]-((c[3]?this.pp.left:c[1].left)+parseInt(c[0].style.left))-(c[0].offsetWidth/2))}}if(distance<o.distance){this.current=distance<olddistance?this.items[i]:this.current;if(!o.axis||o.axis!="y"){$(c[0]).css({width:c[2][0]+(c[2][0]*(o.magnification-1))-(((distance/o.distance)*c[2][0])*(o.magnification-1)),left:(c[3]?(c[3].left+o.verticalLine*((c[2][1]*(o.magnification-1))-(((distance/o.distance)*c[2][1])*(o.magnification-1)))):0)})}if(!o.axis||o.axis!="x"){$(c[0]).css({height:c[2][1]+(c[2][1]*(o.magnification-1))-(((distance/o.distance)*c[2][1])*(o.magnification-1)),top:(c[3]?c[3].top:0)+(o.baseline-0.5)*((c[2][0]*(o.magnification-1))-(((distance/o.distance)*c[2][0])*(o.magnification-1)))})}if(o.opacity){$(c[0]).css("opacity",o.opacity.max-(distance/o.distance)<o.opacity.min?o.opacity.min:o.opacity.max-(distance/o.distance))}}else{$(c[0]).css({width:c[2][0],height:c[2][1],top:(c[3]?c[3].top:0),left:(c[3]?c[3].left:0)});if(o.opacity){$(c[0]).css("opacity",o.opacity.min)}}if(o.zIndex){$(c[0]).css("z-index","")}}if(this.options.zIndex){$(this.current[0]).css("z-index",this.options.zIndex)}}})})(jQuery);$j(document).ready(function(){if($j("body").hasClass("cartoes_home")||$j("body").hasClass("cartao_externo")){$j("#highlights .img_cartao").magnifier({magnification:1.5,baseline:0,distance:210});$j("#highlights ul li").each(function(){$j(this).css("cursor","pointer");$j(this).click(function(){document.location.href=$j(this).find("a").attr("href")});$j(this).hover(function(){$j(this).find("a").addClass("over")},function(){$j(this).find("a").removeClass("over")})});var d;$j("#tablecards tr.item td").not(".cb_cartao").each(function(){$j(this).hover(function(){d=$j(this).parent().find("td:last a");$j(d).addClass("over")},function(){$j(d).removeClass("over")}).css("cursor","pointer").click(function(){document.location.href=$j(d).attr("href")})});function b(g){var f=$j(g).parent().attr("id");f=f.split("_")[1];thisBox=$j(g).parents(".box");$j(thisBox).find(".item_content").fadeOut(400);$j(thisBox).find("#content_"+f).fadeIn(400);var l=$j(g).parents("ul").find(".active");var e=$j(l).find("span").html();$j(l).removeClass("active").html("<a href='javascript://' title='"+e+"'>"+e+"</a>");var h=$j(g).html();$j(g).parent().addClass("active").html("<span>"+h+"</span>")}$j(".box_top a").live("mouseover",function(){b(this)})}else{if($j("body").hasClass("cartoes_comparacao")){DD_roundies.addRule("#cardcompare",7,true);$j("#cardcompare td.cartao0").click(function(){document.location.href=a(0)});$j("#cardcompare td.cartao1").click(function(){document.location.href=a(1)});$j("#cardcompare td.cartao2").click(function(){document.location.href=a(2)});$j("#cardcompare td.cartao3").click(function(){document.location.href=a(3)});function a(e){var f=$j("#cardcompare td.buttoncell.cartao"+e+" a").attr("href");return f}}}$j("#perfilSelect").hover(function(){$j(".perfilSelect").addClass("a_decoration")},function(){$j(".perfilSelect").removeClass("text")});$j("#tipoSelect").hover(function(){$j(".tipoSelect").addClass("a_decoration")},function(){$j(".tipoSelect").removeClass("a_decoration")});$j("#beneficioSelect").hover(function(){$j(".beneficioSelect").addClass("a_decoration")},function(){$j(".beneficioSelect").removeClass("a_decoration")});$j("#bandeiraSelect").hover(function(){$j(".bandeiraSelect").addClass("a_decoration")},function(){$j(".bandeiraSelect").removeClass("a_decoration")});$j("#emissorSelect").hover(function(){$j(".emissorSelect").addClass("a_decoration")},function(){$j(".emissorSelect").removeClass("a_decoration")})});var cepold;var HTMLCepField;function CheckCepCartao(a){if(cepold!=a){if(CEPValidator.isCEPValid(a)){document.frmstep2.submit();cepold=a;if(cepold==null){cepold=a}}}}function continuar(){document.frmstep2.posta.value="true";document.frmstep2.submit()}function showBoxMoreDetailCard(a){if($j("#"+a+" .content_detail_card").hasClass("opened")){$j("#"+a+" .content_detail_card").removeClass("opened");$j("#"+a+" .submenu").hide();$j("#"+a+" .avaliacao").hide();$j("#"+a+" .sobre").hide();$j("#"+a+" .content").hide();$j("#"+a+" .content_detail_card").animate({height:"15%"},500);$j("#close_"+a+" .close").hide();$j("#open_"+a+" .open").show()}else{$j("#"+a+" .content_detail_card").animate({height:"100%"},500);$j("#"+a+" .content_detail_card").addClass("opened");$j("#open_"+a+" .open").hide();$j("#close_"+a+" .close").show();$j("#"+a+" .submenu .submenu_avaliacao").removeClass("a_selected");$j("#"+a+" .submenu .submenu_sobre").addClass("a_selected");$j("#"+a+" .submenu").show();$j("#"+a+" .content").show();$j("#"+a+" .sobre").show()}}function showMoreDetailCard(a,b){if($j("#"+b+" .submenu ."+a).hasClass("submenu_sobre")){$j("#"+b+" .avaliacao").hide();$j("#"+b+" .sobre").show();$j("#"+b+" .submenu .submenu_avaliacao").removeClass("a_selected");$j("#"+b+" .submenu .submenu_sobre").addClass("a_selected")}else{$j("#"+b+" .sobre").hide();$j("#"+b+" .avaliacao").show();$j("#"+b+" .submenu .submenu_sobre").removeClass("a_selected");$j("#"+b+" .submenu .submenu_avaliacao").addClass("a_selected")}}var checks=new Array("");function onLoadChecks(){}var count=0;function onLoadChecks2(d){var b=true;if(d.checked){count=count+1;for(var e=0;e<checks.length;e++){if(checks[e]==d.value){b=false}}if(checks.length<4){if(b==true){checks[checks.length]=d.value}}}else{for(var e=0;e<checks.length;e++){if(checks[e]==d.value){for(var a=e;a<checks.length;a++){checks[a]=checks[a+1]}}}}}function marcaChecks(){var d=document.formListaCartao.cartao_comparacao;for(var e=0;e<d.length;e++){for(var a=0;a<checks.length;a++){if(d[e].value==checks[a]){d[e].checked=true}}}}function bloqueiaMarcaCheks(){var a=document.formListaCartao.cartao_comparacao;for(var b=0;b<a.length;b++){if(a[b].checked==true){}}}var c="";var valorChecksSession="";function setValoresCheck(a){var b;var d=(Math.random()*11)*Math.random()+Math.random();if(a.checked){b="/ControleSessionCartaoCredito?action=add&amp;idcartao="+a.value+"&amp;id="+d}else{b="/ControleSessionCartaoCredito?action=remove&amp;idrem="+a.value+"&amp;id="+d}ajax(b)}function testMaxCartao(){var b=0;var a=document.formListaCartao.cartao_comparacao;for(var d=0;d<a.length;d++){if(a[d].checked){b+=1}else{a[d].disabled=false}}if(b>=4){for(var d=0;d<a.length;d++){if(!a[d].checked){a[d].disabled=true}}}}function comp(e){var h=new Array("");var l="";var f=0;l="";var d=document.formListaCartao.cartao_comparacao;for(var g=0;g<d.length;g++){if(d[g].checked){f+=1;if(l==""){l=d[g].value}else{l=l+","+d[g].value;if(l.indexOf(",")>0){c=l.split(",")}}}}valorChecksSession=l;var a=true;if(f<2&&checks.length==2){alertComparacao("Você precisa escolher mais de um cartão.");return}if(f<2&&checks.length<2){alertComparacao("Você precisa escolher mais de um cartão.");return}if(f>=5){alertComparacao("Você pode comparar até 4 cartões, desmarque algum.");return}if(checks.length>4){alertComparacao("Você pode comparar até 4 cartões, desmarque algum.")}if(checks.length>=2&&checks.length<=4&&a){window.location="/compare-cartao-de-credito.html"}}var checks=new Array("");function onLoadChecks(){}var count=0;function onLoadChecks2(d){var b=true;if(d.checked){count=count+1;for(var e=0;e<checks.length;e++){if(checks[e]==d.value){b=false}}if(checks.length<4){if(b==true){checks[checks.length]=d.value}}}else{for(var e=0;e<checks.length;e++){if(checks[e]==d.value){for(var a=e;a<checks.length;a++){checks[a]=checks[a+1]}}}}}function marcaChecks(){var d=document.formListaCartao.cartao_comparacao;for(var e=0;e<d.length;e++){for(var a=0;a<checks.length;a++){if(d[e].value==checks[a]){d[e].checked=true}}}}function bloqueiaMarcaCheks(){var a=document.formListaCartao.cartao_comparacao;for(var b=0;b<a.length;b++){if(a[b].checked==true){}}}var c="";var valorChecksSession="";function setValoresCheck(a){var b;var d=(Math.random()*11)*Math.random()+Math.random();if(a.checked){b="/ControleSessionCartaoCredito?action=add&amp;idcartao="+a.value+"&amp;id="+d}else{b="/ControleSessionCartaoCredito?action=remove&amp;idrem="+a.value+"&amp;id="+d}ajax(b)}function testMaxCartao(){var b=0;var a=document.formListaCartao.cartao_comparacao;for(var d=0;d<a.length;d++){if(a[d].checked){b+=1}else{a[d].disabled=false}}if(b>=4){for(var d=0;d<a.length;d++){if(!a[d].checked){a[d].disabled=true}}}}function comp(e){var h=new Array("");var l="";var f=0;l="";var d=document.formListaCartao.cartao_comparacao;for(var g=0;g<d.length;g++){if(d[g].checked){f+=1;if(l==""){l=d[g].value}else{l=l+","+d[g].value;if(l.indexOf(",")>0){c=l.split(",")}}}}valorChecksSession=l;var a=true;if(f<2&&checks.length==2){alertComparacao("Você precisa escolher mais de um cartão.");return}if(f<2&&checks.length<2){alertComparacao("Você precisa escolher mais de um cartão.");return}if(f>=5){alertComparacao("Você pode comparar até 4 cartões, desmarque algum.");return}if(checks.length>4){alertComparacao("Você pode comparar até 4 cartões, desmarque algum.")}if(checks.length>=2&&checks.length<=4&&a){window.location="/compare-cartao-de-credito.html"}}onLoadChecks();var cartoes="";function comparaCartao(a,b){if(a.checked){if(cartoes==""){cartoes=b}else{cartoes=cartoes+"-"+b;if(cartoes.indexOf("-")>0){c=cartoes.split("-")}}if(c!=""){}}}function alertComparacao(b){var a=0;document.getElementById("box_pop").style.display="block";document.getElementById("box_pop").style.visibility="visible";centerIt("box_pop");document.getElementById("errospop").innerHTML+="<p class='p_cont' id='callbackmsg'>"+b+"</p>"}function hidePOP(){if(document.getElementById("box_pop").style.display=="block"){document.getElementById("box_pop").style.display="none";document.getElementById("errospop").innerHTML=""}for(var b=0;b<document.forms[0].elements.length;b++){var a=document.forms[0].elements[b];if(a.type=="select-one"){a.style.visibility="visible"}}}function ajax(a){req=null;if(window.XMLHttpRequest){req=new XMLHttpRequest();req.onreadystatechange=processReqChange;req.open("GET",a,true);req.send(null)}else{if(window.ActiveXObject){req=new ActiveXObject("Microsoft.XMLHTTP");if(req){req.onreadystatechange=processReqChange;req.open("GET",a,true);req.send()}}}}function processReqChange(){if(req.readyState==4){if(req.status==200){}else{alert("Houve um problema ao obter os dados:"+req.statusText)}}}$j(document).ready(function(){$j("#tips_nav h3 a").click(function(){var a=$j(this).parents("div:first");if(a.hasClass("expanded")){$j(a).queue(function(){$j(this).find(">ul").slideToggle(400);$j(this).removeClass("expanded").addClass("collapsed");$j(this).dequeue()})}else{if(a.hasClass("collapsed")){$j(a).queue(function(){$j(this).find(">ul").slideToggle(400);$j(this).removeClass("collapsed").addClass("expanded");$j(this).dequeue()})}}});$j(".link_submenu").click(function(){if($j(this).hasClass("a_selected")){$j(this).removeClass("a_selected")}else{$j(this).addClass("a_selected")}var a=$j(this).parent().find("ul");$j(a).slideToggle(400)})});function addErrorSign(g,f){var b;if(!f){b=$j("fieldset:first")}else{b=$j("#"+f)}if($j("fieldset #errorsign_fields").length==0){b.prepend("<p class='errorsign_main' id='errorsign_fields'>Por favor, corrija os erros abaixo:</p>");$j(g).each(function(e){$j("#"+g[e]).after("<span class='errorsign'>!</span>")});if($j("form").hasClass("formcartoesbradesco")){if($j("form fieldset").hasClass("step1-3")){validadeStep3Nome();validadeStep2DataNasc();validadeStep2Sexo();validadeStep2EstadoCivil();validateStepNomeConjuge();validateStepEscolaridade();validateStepNacionalidade();validateStepNomeMae();validateStepNumeroDependente();validateStepOcupacao();validateStepEmpresa();validateStepPrefissao();validateStepSalario();validateStepRenda();validateStepOrigemOutrasRendas();validateStepTipoAtividade();validateStepTempoTrabalho();validateStepBanco();validateStepAgencia();validateStepTempoAposentado()}else{if($j("form fieldset").hasClass("step2-3")){validadeStep3Telefone();validateStepTelefone2();validadeStep3Email();validadeStep2CPF();validadeStep2CEP();validateStepTipoResidencia();validateStepCEPCorrespondencia()}else{if($j("form fieldset").hasClass("step3-3")){validateStepNomeCartao();validateStepVencimento();if($j("#numeroAdicionais #sel_numeroAdicionais option:eq(1)").attr("selected")){validationStepsBradescoCartaoAdicional1()}else{if($j("#numeroAdicionais #sel_numeroAdicionais option:eq(2)").attr("selected")){validationStepsBradescoCartaoAdicional1();validationStepsBradescoCartaoAdicional2()}}validadeStep3Captcha()}}}}else{if($j("form fieldset").hasClass("step1-3")){try{var a=$j("#switchCatID").text();switch(parseInt(a)){case 9:validationStep1SeguroSaudeFamiliar();break;case 10:validationStep1SeguroSaudeIndividual();break;case 11:validationStep1SeguroSaudeEmpresarial();break;default:break}}catch(d){}}else{if($j("form fieldset").hasClass("step2-3")){if($j("form fieldset").hasClass("emp")){validadeStep2PossuiCNPJ();validadeStep3CNPJ();validadeStep3NomeEmpresa();validadeStep2Porte();validadeStep2CEP()}else{validadeStep2DataNasc();validadeStep2Sexo();validadeStep2CPF();validadeStep2RendaMensal();validadeStep2EstadoCivil();validadeStep2CEP()}}else{if($j("form fieldset").hasClass("step3-3")){validadeStep3Nome();validadeStep3Email();validadeStep3Telefone();validadeStep3Captcha()}}}}}goToAncoraError()}function goToAncoraError(){if($j("#frm_comment_news #errorsign_fields").hasClass("errorsign_main")){$j("html, body").animate({scrollTop:$j("#form_comment").offset().top},500)}}function validationStepsBradescoCartaoAdicional1(){validateStepTextField("nomeAcicional_1","text_nomeAcicional_1");validadeStepDataNascAdicional(1);validateStepCPFAdicional("cpfAdicional_1","cpfAdicional_1");validateStepParentescoAdicional("parentescoAdicional_1","sel_parentescoAdicional_1")}function validationStepsBradescoCartaoAdicional2(){validateStepTextField("nomeAcicional_2","text_nomeAcicional_2");validadeStepDataNascAdicional(2);validateStepCPFAdicional("cpfAdicional_2","cpfAdicional_2");validateStepParentescoAdicional("parentescoAdicional_2","sel_parentescoAdicional_2")}function validationStep1SeguroSaudeIndividual(){validadeStep1Radio("possuiDoenca","radio_possuiDoenca");if(($j("#possuiDoenca #possui_doenca").is(":checked"))){validadeStep1TextBox("qualDoenca","qual_doenca")}validadeStep1Radio("possuiPlano","radio_possuiPlano");if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("quantoTempo","tempo")}if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("listSeguradora","seguradora")}if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("valorAtual","valor_atual")}}function validationStep1SeguroSaudeEmpresarial(){validadeStep1Radio("possuiPlano","radio_possuiPlano");if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("quantoTempo","tempo")}if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("listSeguradora","seguradora")}if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("valorAtual","valor_atual")}}function validationStep1SeguroSaudeFamiliar(){var b=$j(".sexo").parent().parent().attr("id");var e=$j(".sexo").attr("id");validadeStep1Select(b,e);var a=$j("select.idade").parent().parent().attr("id");var f=$j("select.idade").attr("id");var d=f.split("-")[1];validadeStep1DataNascSegSauFamiliar(a,d);validadeStep1Radio("possuiDoenca","radio_possuiDoenca");if(($j("#possuiDoenca #possui_doenca").is(":checked"))){validadeStep1TextBox("qualDoenca","qual_doenca")}validadeStep1Radio("possuiPlano","radio_possuiPlano");if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("quantoTempo","tempo")}if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("listSeguradora","seguradora")}if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("valorAtual","valor_atual")}}function addTermsErrorSign(){if($j("fieldset #errorsign_terms").length==0){$j("fieldset").prepend("<p class='errorsign_main' id='errorsign_terms'>Para prosseguir, é necessário aceitar os Termos de Uso e Política de Privacidade abaixo:</p>");$j("#cb_disclaimer").after("<span class='errorsign'>!</span>")}}function addCaptchaErrorSign(){if($j("fieldset #errorsign_fields").length==0){$j("fieldset").prepend("<p class='errorsign_main' id='errorsign_fields'>Para prosseguir, é necessário digitar corretamente o código da imagem abaixo:</p>");$j("#seq").after("<span class='errorsign'>!</span>")}}$j(document).ready(function(){$j(".add_one").click(function(){$j(this).toggleClass("add").toggleClass("remove");var a=$j(this).parent().find(".input_wrapper:last");if($j(a).hasClass("hidden")){$j(a).find("input, select").removeAttr("disabled")}else{$j(a).find("input, select").attr("disabled","disabled")}$j(a).toggleClass("hidden")});$j("#models h3").click(function(){openModel(this)});if($j("#possuicnpj_sim").is(":checked")){$j(".cnpj").show()}else{$j(".cnpj").hide()}$j(".possuiplano_radio").live("click",function(){if($j("#possuicnpj_sim").is(":checked")){$j(".cnpj").show()}else{$j(".cnpj").hide()}});loadStatusStep()});function setStep(b){$j("#step"+b).addClass("active");for(var a=1;a<6;a++){if(b!=a){$j("#step"+a).removeClass("finished");$j("#step"+a).removeClass("active");if(b>a){$j("#step"+a).addClass("finished")}}}}function loadStatusStep(){try{var a=parseInt($j("#list_steps").attr("class").split("step")[1]);switch(a){case 1:setStep(1);break;case 2:setStep(2);break;case 3:setStep(3);break;case 4:setStep(4);break;case 5:setStep(5);break;case 6:setStep(6);break;default:setStep(1);break}}catch(b){b.message}}function openModel(a){$j(a).toggleClass("opened").next("div").toggle()}var lib={toggleElem:function(a){for(i=0;i<a.length;i++){var e="[name="+a[i]+"]";var b="[for^="+a[i]+"]";var d=$j(e);if($j(d).is(":visible")){$j(d).attr("disabled",true).parents("li").hide();$j(b).hide()}else{$j(d).attr("disabled",false).parents("li").show();$j(b).show()}}return false},hideElem:function(a){for(i=0;i<a.length;i++){var d="[name="+a[i]+"]";var b=$j(d);$j(b).attr("disabled",true).parents("li").hide()}return false},showElem:function(a){for(i=0;i<a.length;i++){var d="[name="+a[i]+"]";var b=$j(d);$j(b).attr("disabled",false).parents("li").show()}return false}};var actions={initDetalhesVeiculo:function(){$j("[name=kit_gas]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("valor_kitgas"))}else{lib.hideElem(new Array("valor_kitgas"))}});$j("[name=possui_antifurto]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("qual_anti_furto"))}else{lib.hideElem(new Array("qual_anti_furto"))}})},initInformacoesPessoais:function(){$j("[name=trabalha]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}});function a(){$j("li.atividade").hide().find(":input").attr("disabled","disabled");var b=$j("#sel_atividade option:selected").val();$j("#atividade"+b).show().find(":input").removeAttr("disabled")}a();$j("#sel_atividade").change(function(){a()})},initUtilizacaoVeiculo:function(){$j("[name=trabalha]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}});$j("[name=estuda]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("uso_local_estudo"))}else{lib.hideElem(new Array("uso_local_estudo"))}});$j("[name=residencia]").change(function(){if($j(this).val()=="4"){$j("#residenciaOutros").show()}else{$j("#residenciaOutros").hide()}})},initInformacoesCobertura:function(){$j("[name=objetivo]").click(function(){if($j(this).val()=="1"){lib.showElem(new Array("seguradora"));lib.showElem(new Array("classe_bonus"))}else{lib.hideElem(new Array("seguradora"));lib.hideElem(new Array("classe_bonus"))}})},initInformacoesFinanciamentoVeiculoUsado:function(){$j("[name=estadoCivil]").click(function(){if($j(this).val()=="2"){lib.showElem(new Array("conjuge"))}else{lib.hideElem(new Array("conjuge"))}})},initInformacoesFinanciamentoVeiculoNovo:function(){$j("[name=estadoCivil]").click(function(){if($j(this).val()=="2"){lib.showElem(new Array("conjuge"))}else{lib.hideElem(new Array("conjuge"))}})},initInformacoesCreditoPessoal:function(){$j("[name=estadoCivil]").click(function(){if($j(this).val()=="2"){lib.showElem(new Array("conjuge"))}else{lib.hideElem(new Array("conjuge"))}})},initInformacoesPlano:function(){$j("[name=possuiDoenca]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("doenca"))}else{lib.hideElem(new Array("doenca"))}});$j("[name=possuiplano]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("tempoPlano"));lib.showElem(new Array("operadoraPlano"));lib.showElem(new Array("valorPlano"))}else{lib.hideElem(new Array("tempoPlano"));lib.hideElem(new Array("operadoraPlano"));lib.hideElem(new Array("valorPlano"))}});$j("[name=fumante]").click(function(){if($j(this).val()=="0"){lib.showElem(new Array("ex_fumante"))}else{lib.hideElem(new Array("ex_fumante"))}})},initRefinanVeiculo:function(){$j("[name=trabalha]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}})},initConsorcioAutomotivo:function(){$j("[name=trabalha]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}})},initSeguroVidaIndividual:function(){$j("[name=fumante]").click(function(){if($j(this).val()=="false"){lib.showElem(new Array("exfumante"))}else{lib.hideElem(new Array("exfumante"))}});$j("[name=outros]").click(function(){if($j(this).val()=="outros"&&$j(this).is(":checked")){lib.showElem(new Array("cobertura_outros"))}else{lib.hideElem(new Array("cobertura_outros"))}});$j("[name=possui_seguro]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("tempoSeguro"));lib.showElem(new Array("seguradora"));lib.showElem(new Array("valorSeguro"))}else{lib.hideElem(new Array("tempoSeguro"));lib.hideElem(new Array("seguradora"));lib.hideElem(new Array("valorSeguro"))}});$j("[name=trabalha]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}});$j("[name=contribuicao]").click(function(){if($j(this).val()=="1"){lib.showElem(new Array("mensal"));lib.hideElem(new Array("unica"))}else{lib.showElem(new Array("unica"));lib.hideElem(new Array("mensal"))}})},initSeguroVidaEmpresarial:function(){$j("[name=cobertura]").click(function(){if($j(this).val()=="5"&&$j(this).is(":checked")){lib.showElem(new Array("cobertura_outros"))}else{lib.hideElem(new Array("cobertura_outros"))}});$j("[name=possui_plano]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("quanto_tempo"));lib.showElem(new Array("seguradora"));lib.showElem(new Array("valor_atual"))}else{lib.hideElem(new Array("quanto_tempo"));lib.hideElem(new Array("seguradora"));lib.hideElem(new Array("valor_atual"))}});$j("[name=outros]").click(function(){if($j(this).val()=="outros"&&$j(this).is(":checked")){lib.showElem(new Array("cobertura_outros"))}else{lib.hideElem(new Array("cobertura_outros"))}});$j("[name=contribuicao]").click(function(){if($j(this).val()=="1"){lib.showElem(new Array("mensal"));lib.hideElem(new Array("unica"))}else{lib.showElem(new Array("unica"));lib.hideElem(new Array("mensal"))}})},initSeguroVidaIndividual:function(){$j("[name=fumante]").click(function(){if($j(this).val()=="false"){lib.showElem(new Array("exfumante"))}else{lib.hideElem(new Array("exfumante"))}});$j("[name=outros]").click(function(){if($j(this).val()=="outros"&&$j(this).is(":checked")){lib.showElem(new Array("cobertura_outros"))}else{lib.hideElem(new Array("cobertura_outros"))}});$j("[name=possui_seguro]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("tempoSeguro"));lib.showElem(new Array("seguradora"));lib.showElem(new Array("valorSeguro"))}else{lib.hideElem(new Array("tempoSeguro"));lib.hideElem(new Array("seguradora"));lib.hideElem(new Array("valorSeguro"))}});$j("[name=trabalha]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}});$j("[name=contribuicao]").click(function(){if($j(this).val()=="1"){lib.showElem(new Array("mensal"));lib.hideElem(new Array("unica"))}else{lib.showElem(new Array("unica"));lib.hideElem(new Array("mensal"))}})},initSeguroVidaMulher:function(){$j("[name=fumante]").click(function(){if($j(this).val()=="false"){lib.showElem(new Array("exfumante"))}else{lib.hideElem(new Array("exfumante"))}});$j("[name=outros]").click(function(){if($j(this).val()=="outros"&&$j(this).is(":checked")){lib.showElem(new Array("cobertura_outros"))}else{lib.hideElem(new Array("cobertura_outros"))}});$j("[name=possui_seguro]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("tempoSeguro"));lib.showElem(new Array("seguradora"));lib.showElem(new Array("valorSeguro"))}else{lib.hideElem(new Array("tempoSeguro"));lib.hideElem(new Array("seguradora"));lib.hideElem(new Array("valorSeguro"))}});$j("[name=trabalha]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}});$j("[name=contribuicao]").click(function(){if($j(this).val()=="1"){lib.showElem(new Array("mensal"));lib.hideElem(new Array("unica"))}else{lib.showElem(new Array("unica"));lib.hideElem(new Array("mensal"))}})},initSeguroNautico:function(){$j("[name=possui_seguro]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("quanto_tempo"));lib.showElem(new Array("seguradora"))}else{lib.hideElem(new Array("quanto_tempo"));lib.hideElem(new Array("seguradora"))}})},initConsorcioImobiliario:function(){$j("[name=trabalha]").click(function(){if($j(this).val()=="sim"){lib.showElem(new Array("profissao"))}else{lib.hideElem(new Array("profissao"))}})},initCreditoPessoal:function(){$j("[name=possuiConta]").change(function(){if($j(this).val()=="true"){lib.showElem(new Array("possuiCheque"))}else{lib.hideElem(new Array("possuiCheque"))}});$j("[name=ocupacaoPrincipal]").change(function(){if($j(this).val()=="outros"){$j("#liOutros").show()}else{$j("#liOutros").hide()}})},initEmprestimoConsignado:function(){$j("[name=possuiEmprestimo]").change(function(){if($j(this).val()=="true"){lib.showElem(new Array("valorEmprestimoAproximado"))}else{lib.hideElem(new Array("valorEmprestimoAproximado"))}})},initSeguroResidencial:function(){$j("[name=possuiBanco]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("qualBanco"))}else{lib.hideElem(new Array("qualBanco"))}});$j("[name=possuiCartao]").click(function(){if($j(this).val()=="true"){lib.showElem(new Array("qualCartao"))}else{lib.hideElem(new Array("qualCartao"))}})}};var IsIE=false;if("\v"=="v"){IsIE=true}function onlyLetters(b){var a;document.all?a=b.keyCode:a=b.which;return((a>94&&a<91)||(a==32)||(a==219)||(a==59)||(a==222)||(a==16)||(a==192)||(a==190)||(a>140)||a==37||a==39||a==35||a==36||a==46||(a>64&&a<91)||(a>96&&a<123)||a==8||a==0)}var Key={BACKSPACE:8,NONE:0};function validaMaxLenght(f,b,d){var a;IsIE?a=f.keyCode:a=f.which;field=document.getElementById(b);if((d-field.value.length)<=0){if(a==8||a==0){return true}else{return false}}}var DateValidator={_epattern:new RegExp("[0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]"),isDateValid:function(a){if(DateValidator._epattern.test(a)){return true}return false}};var NomeValidatorFull={isNomeValid:function(a,b){return(NomeValidator.isNomeValid(a)&&NomeValidatorSemNumero.isNomeValidSemNumero(a)&&repeticao3Caracteres(b))}};var NomeValidator={isNomeValid:function(a){if(a.length>=6){return true}return false}};var NomeValidatorSugestao={_epattern:new RegExp("[,.:;?/}!@#$%&*(/)+=]"),isNomeValid:function(a){if(NomeValidatorSugestao._epattern.test(a)){return false}if(a.length>=3){return true}return false}};var NomeValidatorSemNumero={_epattern:new RegExp("[0-9]"),isNomeValidSemNumero:function(a){if(NomeValidatorSemNumero._epattern.test(a)){return false}return true}};function repeticao3Caracteres(f){var b=document.getElementById(f);var a=b.value;for(var e=0;e<a.length;e++){var d=a.charAt(e);if(((e+1)<(a.length-1))&&((e+2)<(a.length))){if((a.charAt(e)==a.charAt(e+1))&&(a.charAt(e)==a.charAt(e+2))){return false}}return true}}function repeticao4Caracteres(f){var b=document.getElementById(f);var a=b.value;for(var e=0;e<a.length;e++){var d=a.charAt(e);if(((e+1)<(a.length-1))&&((e+2)<(a.length))&&((e+3)<(a.length))){if((a.charAt(e)==a.charAt(e+1))&&(a.charAt(e)==a.charAt(e+2))&&(a.charAt(e)==a.charAt(e+3))){return false}}return true}}var CharRepetido={isCharRepetido:function(b){var d=true;var a=0;for(x=0;x<b.length;x++){if(b[x]==b[x+1]){}}return d}};var DiaValidator={isDiaValid:function(a){return a>=1&&a<=31}};var MesValidator={isMesValid:function(a){return a>=1&&a<=12}};var AnoValidator={isAnoValid:function(a){return a>=1900&&a<=3000}};var EmailValidator={_epattern:new RegExp("^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+\\.+([a-zA-Z0-9]{2,4})+"),isEmailValid:function(a){if(EmailValidator._epattern.test(a)){return true}return false}};var DateValidator={_epattern:new RegExp("[0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]"),isDateValid:function(a){if(DateValidator._epattern.test(a)){return true}return false}};var TelValidator={_epattern:new RegExp(".([0-9]{2}.) [0-9]{4}-[0-9]{4}|.([0-9]{2}.) [0-9]{8}|.([0-9]{2}.) [0-9]{8}|[0-9]{2}-[0-9]{8}|[0-9]{8}"),isTelValid:function(a){if(TelValidator._epattern.test(a)){return !isNumberRedundant(a)}return false}};function isNumberRedundant(b){b=b.replace("-","");b=b.replace(")","");b=b.replace("(","");b=recuperaTel(b);var a=new Array();for(i=0;i<=9;i++){a[i]=0}for(i=0;i<8;i++){a[b.charAt(i)]++}for(i=0;i<=9;i++){if(a[i]>=7){return true}}return false}function recuperaTel(a){return a.substring(a.length-8,a.length)}var TelValidatorWithLimitChar={_epattern:new RegExp(".([0-9][0-9].) [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]|.([0-9][0-9].) [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]|.([0-9][0-9].) [0-9][0-9][0-9][0-9][0-9][0-9][0-9]"),isTelValid:function(a){if(TelValidator._epattern.test(a)&&a.length==14){return true}return false}};var CEPValidator={_epattern:new RegExp("[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]"),isCEPValid:function(a){if(CEPValidator._epattern.test(a)){return true}return false}};var CPFValidator={isCPFValid:function(b){var a,e,d,f,h,g;g=1;if(b.length<11){return false}for(f=0;f<b.length-1;f++){if(b.charAt(f)!=b.charAt(f+1)){g=0;break}}if(!g){a=b.substring(0,9);e=b.substring(9);d=0;for(f=10;f>1;f--){d+=a.charAt(10-f)*f}h=d%11<2?0:11-d%11;if(h!=e.charAt(0)){return false}a=b.substring(0,10);d=0;for(f=11;f>1;f--){d+=a.charAt(11-f)*f}h=d%11<2?0:11-d%11;if(h!=e.charAt(1)){return false}return true}else{return false}}};var CNPJValidator={isCNPJValid:function(f){var a,g,m,e,d,h,l,b;b=1;if(f.length<14&&f.length<15){return false}for(e=0;e<f.length-1;e++){if(f.charAt(e)!=f.charAt(e+1)){b=0;break}}if(!b){l=f.length-2;a=f.substring(0,l);g=f.substring(l);m=0;h=l-7;for(e=l;e>=1;e--){m+=a.charAt(l-e)*h--;if(h<2){h=9}}d=m%11<2?0:11-m%11;if(d!=g.charAt(0)){return false}l=l+1;a=f.substring(0,l);m=0;h=l-7;for(e=l;e>=1;e--){m+=a.charAt(l-e)*h--;if(h<2){h=9}}d=m%11<2?0:11-m%11;if(d!=g.charAt(1)){return false}return true}else{return false}}};var Validator={_epattern:new RegExp("^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+"),isEmailValid:function(h){var g=h;var a="@";var b=".";var f=g.indexOf(a);var d=g.length;var e=g.indexOf(b);if(g.indexOf(a)==-1){return false}if(g.indexOf(a)==-1||g.indexOf(a)==0||g.indexOf(a)==d){return false}if(g.indexOf(b)==-1||g.indexOf(b)==0||g.indexOf(b)==d){return false}if(g.indexOf(a,(f+1))!=-1){return false}if(g.substring(f-1,f)==b||g.substring(f+1,f+2)==b){return false}if(g.indexOf(b,(f+2))==-1){var a="@";var b=".";var f=g.indexOf(a);var d=g.length;var e=g.indexOf(b);if(g.indexOf(a)==-1){return false}if(g.indexOf(a)==-1||g.indexOf(a)==0||g.indexOf(a)==d){return false}if(g.indexOf(b)==-1||g.indexOf(b)==0||g.indexOf(b)==d){return false}if(g.indexOf(a,(f+1))!=-1){return false}if(g.substring(f-1,f)==b||g.substring(f+1,f+2)==b){return false}if(g.indexOf(b,(f+2))==-1){return false}if(g.indexOf(" ")!=-1){return false}return true;return false}if(g.indexOf(" ")!=-1){return false}if(Validator._epattern.test(h)){return true}else{return false}return true}};var Formatter={dateFormat:function(a){},_formatField:function(b,e,l){var g;var f=(!IsIE)?l.which:l.keyCode;exp=/\-|\.|\/|\(|\)| /g;campoSoNumeros=b.value.toString().replace(exp,"");var h=0;var a="";var d=campoSoNumeros.length;if(f!=8){for(i=0;i<=d;i++){g=((e.charAt(i)=="-")||(e.charAt(i)==".")||(e.charAt(i)=="/"));g=g||((e.charAt(i)=="(")||(e.charAt(i)==")")||(e.charAt(i)==" "));if(g){a+=e.charAt(i);d++}else{a+=campoSoNumeros.charAt(h);h++}}b.value=a;return true}else{return true}},telFormat:function(a,b){if(Formatter.isNumber(b)==false){b.returnValue=false;return false}return Formatter._formatField(a,"(00) 0000-0000",b)},currencyFormat:function(g,m){var p=0;var o="";var f=".";var b=",";var h=j=0;var l=len2=0;var a="0123456789";var d=aux2="";var n=(!IsIE)?m.which:m.keyCode;if(n==13||n==8||n==9||n==0){return true}o=String.fromCharCode(n);if(a.indexOf(o)==-1){return false}l=g.value.length;for(h=0;h<l;h++){if((g.value.charAt(h)!="0")&&(g.value.charAt(h)!=b)){break}}d="";for(;h<l;h++){if(a.indexOf(g.value.charAt(h))!=-1){d+=g.value.charAt(h)}}d+=o;l=d.length;if(l==0){g.value=""}if(l==1){g.value="0"+b+"0"+d}if(l==2){g.value="0"+b+d}if(l>2){aux2="";for(j=0,h=l-3;h>=0;h--){if(j==3){aux2+=f;j=0}aux2+=d.charAt(h);j++}g.value="";len2=aux2.length;for(h=len2-1;h>=0;h--){g.value+=aux2.charAt(h)}g.value+=b+d.substr(l-2,l)}return false},CNPJFormat:function(a,b){if(Formatter.isNumber(b)==false){b.returnValue=false;return false}return Formatter._formatField(a,"00.000.000/0000-00",b)},dateFormat:function(b,a){if(Formatter.isNumber(a)==false){a.returnValue=false;return false}return Formatter._formatField(b,"00/00/0000",a)},isNumber:function(b){var a;IsIE?a=b.keyCode:a=b.which;return((a>47&&a<58)||a==Key.BACKSPACE||a==Key.NONE)},fncKeyStop:function(f){var b;IsIE?b=f.keyCode:b=f.which;var d=f.ctrlKey;var a=(b==86);if(d&&a){document.getElementById("email_confirmacao").value="";return false}return true}};function onlyNumber(b){var a=(window.event)?event.keyCode:b.which;if((a>47&&a<58)){return true}else{if(a!=8){return false}else{return true}}}function bloqueiaEspeciais(b){var a=(window.event)?event.keyCode:b.which;if((a>=65&&a<=90)||(a>=97&&a<=122)||(a>=48&&a<=57)||(a==46)){}else{if(b.keyCode){b.returnValue=false}else{b.preventDefault()}}}function testStringRepeated(d){var a=false;for(var b=0;b<(d.length-2);b++){if(d.charAt(b)==d.charAt(b+1)){if(d.charAt(b+1)==d.charAt(b+2)){a=true}}}return a}function returnAge(f){var b=new Date();var h=f.split("/");if(h.length!=3){return false}var d;d=parseInt(h[2]);if(isNaN(d)){return false}var a;a=parseInt(h[1]);if(isNaN(a)){return false}var g;g=parseInt(h[0]);if(isNaN(g)){return false}if(d<=99){d+=1900}var e=(b.getFullYear()-d)-1;if(((b.getMonth()+1)-a)<0){return e}if(((b.getMonth()+1)-a)>0){return e+1}if((b.getUTCDate()-g)>=0){return e+1}return e}function showClassBorderAlert(a){$j("#"+a).addClass("borderErrosign")}function hideClassBorderAlert(a){$j("#"+a).removeClass("borderErrosign")}function showErrorSign(b){var a="<span class='errorsign'>!</span>";$j("#"+b+" .input_area").append(a)}function hideErrorSign(a){$j("#"+a+" .input_area .errorsign").remove()}function showBoxAlert(a,d,e){var b;switch(d){case 1:b="<div class='boxTextAlert boxAlert'><div class='boxTxt'>"+e+"</div></div>";showErrorSign(a);break;case 2:b="<div class='boxYellowAlert boxAlert'><div class='boxTxt'>"+e+"</div></div>";break;case 2:b="<div class='boxRedAlert boxAlert'><div class='boxTxt'>"+e+"</div></div>";showErrorSign(a);break;default:break}$j("#"+a).append(b);$j("#"+a+" .boxAlert").show()}function hideBoxAlert(a){$j("#"+a+" .boxAlert").hide();$j("#"+a+" .boxAlert").remove();hideErrorSign(a)}function showBoxAlertNumero(){var a="<div class='boxYellowAlert_numero boxAlert'><div class='boxTxt'>Não esqueça de colocar o número da residência</div></div>";$j("#numero").append(a);$j("#numero .boxAlert").show()}function hideBoxAlertNumero(){$j("#numero .boxAlert").hide();$j("#numero .boxAlert").remove()}function showBoxAlertNumeroCorrespondencia(){var a="<div class='boxYellowAlert_numero boxAlert'><div class='boxTxt'>Não esqueça de colocar o número da residência</div></div>";$j("#numeroCorrespondencia").append(a);$j("#numeroCorrespondencia .boxAlert").show()}function hideBoxAlertNumeroCorrespondencia(){$j("#numeroCorrespondencia .boxAlert").hide();$j("#numeroCorrespondencia .boxAlert").remove()}function insertCepFields(b){$j("#text_endereco").val(b.endereco);$j("#text_cidade").val(b.cidade);var a;$j("#sel_estado option").each(function(){if($j(this).val()==b.estado){a=$j(this).index()}});$j("#sel_estado option:eq("+a+")").attr("selected","selected");$j("#text_bairro").val(b.bairro);$j("#address_wrapper").show();$j("form fieldset #address_wrapper").find(".errorsign").remove();$j("form fieldset .cep .errorsign").remove()}function clearCepFields(){$j("#text_endereco").val("");$j("#text_numero").val("");$j("#text_complemento").val("");$j("#text_cidade").val("");$j("#sel_estado option:eq(0)").attr("selected","selected");$j("#text_bairro").val("");$j("#address_wrapper").hide();showBoxAlert("cep",1,$j("#erro_step2 #erro_step2_cep").text());showClassBorderAlert("text_cep")}function showCEP(){CepAjax.getCep($j("#text_cep").val(),function(b){var a=jQuery.parseJSON(b);if(a.cep!=null){hideBoxAlert("cep");showBoxAlertNumero();insertCepFields(a)}else{hideBoxAlert("cep");showBoxAlert("cep",1,$j("#erro_step2 #erro_step2_cep_incorreto").text());showClassBorderAlert("text_cep");hideBoxAlertNumero();clearCepFields()}})}$j("#text_cep").live("keyup",function(){if(CEPValidator.isCEPValid($j("#text_cep").val())){showCEP()}});$j("#text_cep").live("blur",function(){if(CEPValidator.isCEPValid($j("#text_cep").val())){showCEP()}});function insertCepFieldsCorrespondencia(b){$j("#text_enderecoCorrespondencia").val(b.endereco);$j("#text_cidadeCorrespondencia").val(b.cidade);var a;$j("#sel_estadoCorrespondencia option").each(function(){if($j(this).val()==b.estado){a=$j(this).index()}});$j("#sel_estadoCorrespondencia option:eq("+a+")").attr("selected","selected");$j("#text_bairroCorrespondencia").val(b.bairro);$j("#address_wrapper_correspondencia").show();$j("form fieldset #address_wrapper_correspondencia").find(".errorsign").remove();$j("form fieldset .cepCorrespondencia .errorsign").remove()}function clearCepFieldsCorrespondencia(){$j("#text_enderecoCorrespondencia").val("");$j("#text_numeroCorrespondencia").val("");$j("#text_complementoCorrespondencia").val("");$j("#text_cidadeCorrespondencia").val("");$j("#sel_estadoCorrespondencia option:eq(0)").attr("selected","selected");$j("#text_bairroCorrespondencia").val("");$j("#address_wrapper_correspondencia").hide();showBoxAlert("cepCorrespondencia",1,$j("#erro_step2 #erro_step2_cep").text());showClassBorderAlert("text_cepCorrespondencia")}function showCEPCorrespondencia(){CepAjax.getCep($j("#text_cepCorrespondencia").val(),function(b){var a=jQuery.parseJSON(b);if(a.cep!=null){hideBoxAlert("cepCorrespondencia");showBoxAlertNumeroCorrespondencia();insertCepFieldsCorrespondencia(a)}else{hideBoxAlert("cepCorrespondencia");showBoxAlert("cepCorrespondencia",1,$j("#erro_bradesco #erro_bradesco_cep_incorreto").text());showClassBorderAlert("text_cepCorrespondencia");hideBoxAlertNumeroCorrespondencia();clearCepFieldsCorrespondencia()}})}$j("#text_cepCorrespondencia").live("keyup",function(){if(CEPValidator.isCEPValid($j("#text_cepCorrespondencia").val())){showCEPCorrespondencia()}});$j("#text_cepCorrespondencia").live("blur",function(){if(CEPValidator.isCEPValid($j("#text_cepCorrespondencia").val())){showCEPCorrespondencia()}});$j(document).ready(function(){try{$j(".radio_tipoPlano").focus(function(){hideBoxAlert("liTipoPlano")});$j(".radio_tipoPlano").blur(function(){validadeStep1Radio("liTipoPlano","radio_tipoPlano")});$j(".sexo").focus(function(){var b=$j(this).parent().parent().attr("id");hideBoxAlert(b)});$j(".sexo").blur(function(){var d=$j(this).parent().parent().attr("id");var b=$j(this).attr("id");validadeStep1Select(d,b)});$j("select.idade").focus(function(){var e=$j(this).parent().parent().attr("id");var d=$j(this).attr("id");var b=d.split("-")[1];hideBoxAlert(e);hideClassBorderAlert("birth_day-"+b);hideClassBorderAlert("birth_month-"+b);hideClassBorderAlert("birth_year-"+b)});$j("select.idade").blur(function(){var e=$j(this).parent().parent().attr("id");var d=$j(this).attr("id");var b=d.split("-")[1];validadeStep1DataNascSegSauFamiliar(e,b)});$j(".radio_possuiDoenca").focus(function(){hideBoxAlert("possuiDoenca")});$j(".radio_possuiDoenca").blur(function(){validadeStep1Radio("possuiDoenca","radio_possuiDoenca")});$j("#qual_doenca").focus(function(){hideBoxAlert("qualDoenca");hideClassBorderAlert("qual_doenca")});$j("#qual_doenca").blur(function(){if(($j("#possuiDoenca #possui_doenca").is(":checked"))){validadeStep1TextBox("qualDoenca","qual_doenca")}});$j(".radio_possuiPlano").focus(function(){hideBoxAlert("possuiPlano")});$j(".radio_possuiPlano").blur(function(){validadeStep1Radio("possuiPlano","radio_possuiPlano")});$j("#tempo").focus(function(){hideBoxAlert("quantoTempo");hideClassBorderAlert("tempo")});$j("#tempo").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("quantoTempo","tempo")}});$j("#seguradora").focus(function(){hideBoxAlert("listSeguradora");hideClassBorderAlert("seguradora")});$j("#seguradora").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("listSeguradora","seguradora")}});$j("#valor_atual").focus(function(){hideBoxAlert("valorAtual");hideClassBorderAlert("valor_atual")});$j("#valor_atual").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("valorAtual","valor_atual")}})}catch(a){}try{$j(".radio_possuiDoenca").focus(function(){hideBoxAlert("possuiDoenca")});$j(".radio_possuiDoenca").blur(function(){validadeStep1Radio("possuiDoenca","radio_possuiDoenca")});$j("#qual_doenca").focus(function(){hideBoxAlert("qualDoenca");hideClassBorderAlert("qual_doenca")});$j("#qual_doenca").blur(function(){if(($j("#possuiDoenca #possui_doenca").is(":checked"))){validadeStep1TextBox("qualDoenca","qual_doenca")}});$j(".radio_possuiPlano").focus(function(){hideBoxAlert("possuiPlano")});$j(".radio_possuiPlano").blur(function(){validadeStep1Radio("possuiPlano","radio_possuiPlano")});$j("#tempo").focus(function(){hideBoxAlert("quantoTempo");hideClassBorderAlert("tempo")});$j("#tempo").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("quantoTempo","tempo")}});$j("#seguradora").focus(function(){hideBoxAlert("listSeguradora");hideClassBorderAlert("seguradora")});$j("#seguradora").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("listSeguradora","seguradora")}});$j("#valor_atual").focus(function(){hideBoxAlert("valorAtual");hideClassBorderAlert("valor_atual")});$j("#valor_atual").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("valorAtual","valor_atual")}})}catch(a){}try{$j(".radio_possuiPlano").focus(function(){hideBoxAlert("possuiPlano")});$j(".radio_possuiPlano").blur(function(){validadeStep1Radio("possuiPlano","radio_possuiPlano")});$j("#tempo").focus(function(){hideBoxAlert("quantoTempo");hideClassBorderAlert("tempo")});$j("#tempo").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("quantoTempo","tempo")}});$j("#seguradora").focus(function(){hideBoxAlert("listSeguradora");hideClassBorderAlert("seguradora")});$j("#seguradora").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("listSeguradora","seguradora")}});$j("#valor_atual").focus(function(){hideBoxAlert("valorAtual");hideClassBorderAlert("valor_atual")});$j("#valor_atual").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("valorAtual","valor_atual")}})}catch(a){}try{$j(".sexo").focus(function(){var b=$j(this).parent().parent().attr("id");hideBoxAlert(b)});$j(".sexo").blur(function(){var d=$j(this).parent().parent().attr("id");var b=$j(this).attr("id");validadeStep1Select(d,b)});$j("select.idade").focus(function(){var e=$j(this).parent().parent().attr("id");var d=$j(this).attr("id");var b=d.split("-")[1];hideBoxAlert(e);hideClassBorderAlert("birth_day-"+b);hideClassBorderAlert("birth_month-"+b);hideClassBorderAlert("birth_year-"+b)});$j("select.idade").blur(function(){var e=$j(this).parent().parent().attr("id");var d=$j(this).attr("id");var b=d.split("-")[1];validadeStep1DataNascSegSauFamiliar(e,b)});$j(".radio_possuiDoenca").focus(function(){hideBoxAlert("possuiDoenca")});$j(".radio_possuiDoenca").blur(function(){validadeStep1Radio("possuiDoenca","radio_possuiDoenca")});$j("#qual_doenca").focus(function(){hideBoxAlert("qualDoenca");hideClassBorderAlert("qual_doenca")});$j("#qual_doenca").blur(function(){if(($j("#possuiDoenca #possui_doenca").is(":checked"))){validadeStep1TextBox("qualDoenca","qual_doenca")}});$j(".radio_possuiPlano").focus(function(){hideBoxAlert("possuiPlano")});$j(".radio_possuiPlano").blur(function(){validadeStep1Radio("possuiPlano","radio_possuiPlano")});$j("#tempo").focus(function(){hideBoxAlert("quantoTempo");hideClassBorderAlert("tempo")});$j("#tempo").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("quantoTempo","tempo")}});$j("#seguradora").focus(function(){hideBoxAlert("listSeguradora");hideClassBorderAlert("seguradora")});$j("#seguradora").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("listSeguradora","seguradora")}});$j("#valor_atual").focus(function(){hideBoxAlert("valorAtual");hideClassBorderAlert("valor_atual")});$j("#valor_atual").blur(function(){if(($j("#possuiPlano #oferece").is(":checked"))){validadeStep1Select("valorAtual","valor_atual")}})}catch(a){}});function validadeStep1Radio(b,a){hideBoxAlert(b);if(!($j("#"+b+" ."+a).is(":checked"))){showBoxAlert(b,1,$j("#erro_step1 #erro_step1_default").text())}else{hideErrorSign(b)}}function validadeStep1Select(b,a){hideBoxAlert(b);hideClassBorderAlert(a);if($j("select#"+a+" option:eq(0)").attr("selected")){showBoxAlert(b,1,$j("#erro_step1 #erro_step1_default").text());showClassBorderAlert(a)}}function validadeStep1TextBox(a,b){hideBoxAlert(a);hideClassBorderAlert(b);if(($j("#"+b).val()!="")&&($j("#"+b).val()!=" ")){if(testStringRepeated($j("#"+b).val())){showBoxAlert(a,1,$j("#erro_step1 #erro_step1_default").text());showClassBorderAlert(b)}}else{showBoxAlert(a,1,$j("#erro_step1 #erro_step1_default").text());showClassBorderAlert(b)}}function validadeStep1DataNascSegSauFamiliar(f,b){var e="birth_day-"+b;var d="birth_month-"+b;var h="birth_year-"+b;hideBoxAlert(f);hideClassBorderAlert(e);hideClassBorderAlert(d);hideClassBorderAlert(h);var l;var a;var g;if(!$j("select#"+e+" option:eq(0)").attr("selected")){l=$j("select#"+e).val();if(!$j("select#"+d+" option:eq(0)").attr("selected")){a=$j("select#"+d).val();if($j("select#"+h+" option:eq(0)").attr("selected")){showBoxAlert(f,1,$j("#erro_step1 #erro_step1_default").text());showClassBorderAlert(e);showClassBorderAlert(d);showClassBorderAlert(h)}else{g=$j("select#"+h).val()}}else{showBoxAlert(f,1,$j("#erro_step1 #erro_step1_default").text());showClassBorderAlert(e);showClassBorderAlert(d);showClassBorderAlert(h)}}else{showBoxAlert(f,1,$j("#erro_step1 #erro_step1_default").text());showClassBorderAlert(e);showClassBorderAlert(d);showClassBorderAlert(h)}}$j(document).ready(function(){$j("select.datanascimento").focus(function(){hideBoxAlert("nascimento");hideClassBorderAlert("birth_day");hideClassBorderAlert("birth_month");hideClassBorderAlert("birth_year")});$j("select.datanascimento").blur(function(){validadeStep2DataNasc()});$j(".radio_sexo").focus(function(){hideBoxAlert("sexo")});$j(".radio_sexo").blur(function(){validadeStep2Sexo()});$j("#text_cpf").focus(function(){hideBoxAlert("cpf");hideClassBorderAlert("text_cpf");showBoxAlert("cpf",2,$j("#dica_step2 #dica_step2_cpf").text())});$j("#text_cpf").blur(function(){validadeStep2CPF()});$j("#renda").focus(function(){hideBoxAlert("rendaMensal");hideClassBorderAlert("renda")});$j("#renda").blur(function(){validadeStep2RendaMensal()});$j("select#sel_estcivil").blur(function(){validadeStep2EstadoCivil()});$j("#text_cep").focus(function(){hideBoxAlert("cep");hideClassBorderAlert("text_cep");hideBoxAlertNumero()});$j("#text_cep").blur(function(){validadeStep2CEP()});$j("select#sel_estado").focus(function(){hideErrorSign("estado")});$j("select#sel_estado").blur(function(){validadeStep2Estado()})});function validadeStep2DataNasc(){hideBoxAlert("nascimento");hideClassBorderAlert("birth_day");hideClassBorderAlert("birth_month");hideClassBorderAlert("birth_year");var f;var a;var d;if(!$j("select#birth_day option:eq(0)").attr("selected")){f=$j("select#birth_day").val();if(!$j("select#birth_month option:eq(0)").attr("selected")){a=$j("select#birth_month").val();if($j("select#birth_year option:eq(0)").attr("selected")){showBoxAlert("nascimento",1,$j("#erro_step2 #erro_step2_dataNas").text());showClassBorderAlert("birth_day");showClassBorderAlert("birth_month");showClassBorderAlert("birth_year")}else{d=$j("select#birth_year").val()}}else{showBoxAlert("nascimento",1,$j("#erro_step2 #erro_step2_dataNas").text());showClassBorderAlert("birth_day");showClassBorderAlert("birth_month");showClassBorderAlert("birth_year")}}else{showBoxAlert("nascimento",1,$j("#erro_step2 #erro_step2_dataNas").text());showClassBorderAlert("birth_day");showClassBorderAlert("birth_month");showClassBorderAlert("birth_year")}if((f!=null)&&(a!=null)&&(d!=null)){var b=f+"/"+a+"/"+d;var e=returnAge(b);if((e!=false)&&(e!=null)){if(e<18){showBoxAlert("nascimento",1,$j("#erro_step2 #erro_step2_dataNasMenor").text());showClassBorderAlert("birth_day");showClassBorderAlert("birth_month");showClassBorderAlert("birth_year")}}}}function validadeStep2Sexo(){hideBoxAlert("sexo");if(!($j("#sexo .radio_sexo").is(":checked"))){showBoxAlert("sexo",1,$j("#erro_step2 #erro_step2_sexo").text())}else{hideErrorSign("sexo")}}function validadeStep2CPF(){hideBoxAlert("cpf");if($j("#text_cpf").val()!=""){if(!CPFValidator.isCPFValid($j("#text_cpf").val())){showBoxAlert("cpf",1,$j("#erro_step2 #erro_step2_cpf_incorreto").text());showClassBorderAlert("text_cpf")}}else{showBoxAlert("cpf",1,$j("#erro_step2 #erro_step2_cpf").text());showClassBorderAlert("text_cpf")}}function validadeStep2RendaMensal(){hideBoxAlert("rendaMensal");if($j("select#renda option:eq(0)").attr("selected")){showBoxAlert("rendaMensal",1,$j("#erro_step2 #erro_step2_rendaMensal").text());showClassBorderAlert("renda")}}function validadeStep2EstadoCivil(){hideBoxAlert("estadoCivil");hideClassBorderAlert("sel_estcivil");if($j("select#sel_estcivil option:eq(0)").attr("selected")){showBoxAlert("estadoCivil",1,$j("#erro_step2 #erro_step2_estadoCivil").text());showClassBorderAlert("sel_estcivil")}}function validadeStep2CEP(){hideBoxAlert("cep");if(($j("#text_cep").val()=="")||($j("#text_cep").val()==" ")){clearCepFields()}else{if(!(CEPValidator.isCEPValid($j("#text_cep").val()))){clearCepFields()}showBoxAlertNumero()}}function validadeStep2Estado(){hideBoxAlert("estado");if($j("select#sel_estado option:eq(0)").attr("selected")){showErrorSign("estado")}}function focusElemetErroSignEndereco(a){hideErrorSign(a)}function blurElemetErroSignEndereco(b,a){hideBoxAlert(b);if(($j("#"+a).val()=="")||($j("#"+a).val()==" ")){showErrorSign(b);if(a=="text_numero"){showBoxAlertNumero()}}else{if(a=="text_numero"){hideBoxAlertNumero()}}}$j(document).ready(function(){$j("#text_nome").focus(function(){hideBoxAlert("nome");hideClassBorderAlert("text_nome")});$j("#text_nome").blur(function(){validadeStep3Nome()});$j("#text_email").focus(function(){hideBoxAlert("email");hideClassBorderAlert("text_email")});$j("#text_email").blur(function(){validadeStep3Email()});$j(".telefone_1").focus(function(){hideBoxAlert("telefone");hideClassBorderAlert("sel_ddd");hideClassBorderAlert("text_telefone")});$j(".telefone_1").blur(function(){validadeStep3Telefone()});$j("#seq").focus(function(){hideBoxAlert("captcha");hideClassBorderAlert("seq")});$j("#seq").blur(function(){validadeStep3Captcha()});$j("#cb_disclaimer").focus(function(){$j("#disclaimer .errorsign").remove()});$j("#cb_disclaimer").blur(function(){$j("#disclaimer .errorsign").remove();if(!$j("#cb_disclaimer").is(":checked")){$j("#cb_disclaimer").after("<span class='errorsign'>!</span>")}})});function validadeStep3Captcha(){hideBoxAlert("captcha");hideClassBorderAlert("seq");if(($j("#seq").val()=="")||($j("#seq").val()==" ")){showBoxAlert("captcha",1,$j("#erro_step3 #erro_step3_captcha").text());showClassBorderAlert("seq")}}function validadeStep3Nome(){hideBoxAlert("nome");hideClassBorderAlert("text_nome");if(($j("#text_nome").val()!="")&&($j("#text_nome").val()!=" ")){if(testStringRepeated($j("#text_nome").val())){showBoxAlert("nome",1,$j("#erro_step3 #erro_step3_nome").text());showClassBorderAlert("text_nome")}}else{showBoxAlert("nome",1,$j("#erro_step3 #erro_step3_nome").text());showClassBorderAlert("text_nome")}}function validadeStep3Email(){hideBoxAlert("email");if(($j("#text_email").val()=="")||($j("#text_email").val()==" ")){showBoxAlert("email",1,$j("#erro_step3 #erro_step3_email").text());showClassBorderAlert("text_email")}else{if(!EmailValidator.isEmailValid($j("#text_email").val())){showBoxAlert("email",1,$j("#erro_step3 #erro_step3_email_invalido").text());showClassBorderAlert("text_email")}}}function validadeStep3Telefone(){hideBoxAlert("telefone");hideClassBorderAlert("sel_ddd");hideClassBorderAlert("text_telefone");if(!$j("select#sel_ddd option:eq(0)").attr("selected")){if(($j("#text_telefone").val()=="")||($j("#text_telefone").val()==" ")){showBoxAlert("telefone",1,$j("#erro_step3 #erro_step3_telefone").text());showClassBorderAlert("text_telefone")}}else{showBoxAlert("telefone",1,$j("#erro_step3 #erro_step3_telefone").text());showClassBorderAlert("sel_ddd");showClassBorderAlert("text_telefone")}}function changeContent(d){var b=$j(d).parent().attr("id");b=b.split("_")[1];thisBox=$j(d).parents(".box");$j(thisBox).find(".item_content").fadeOut(400);$j(thisBox).find("#content_"+b).fadeIn(400);var f=$j(d).parents("ul").find(".active");var a=$j(f).find("span").html();$j(f).removeClass("active").html("<a href='javascript://' title='"+a+"'>"+a+"</a>");var e=$j(d).html();$j(d).parent().addClass("active").html("<span id='item_selected'>"+e+"</span>")}$j(document).ready(function(){$j("#cotacao_enviada .box_top a").live("mouseover",function(){changeContent(this)})});$j(document).ready(function(){$j("#box_newsletter form input#bt_participar").click(function(){var a=$j("#txt_newsletter_nome").val();var b=$j("#txt_newsletter_email").val();NewsletterAjax.assinaNewsLetter(a,b,function(d){if(!d){$j("#newsletter_step3 h4").html("Houve um problema no cadastro.Tente mais tarde.")}else{$j("#newsletter_step3 h4").html("Newsletter assinada com sucesso!")}})})});if(!EL2){var EL2={_version:"1.0",namespace:function(d){var a=d.split(".");var e=this;for(var b=0;b<a.length;b++){if(e[a[b]]==undefined){e[a[b]]={}}e=e[a[b]]}},host:""}}EL2.namespace("core");EL2.core={name:"ns:EL2.core",extend:function(b,a){for(key in b){if(b[key]!=undefined){a[key]=b[key]}}return a},loadModule:function(b){var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("src",b);document.getElementsByTagName("head")[0].appendChild(a)},bbimport:function(a){loadModule("js/"+a)},log:function(b,a){}};EL2.host="http://api.elephant2.com";if(!$J){var $J=$}EL2.namespace("sb");EL2.sb={name:"ns:EL2.namespace.sb",_locale:{},el2D:document,el2H:EL2.host,el2I:EL2.host+"/el2sb/images/",el2_pgtitle:document.title,el2_pgurl:document.location.href,el2_timer:{},el2_delay:800,el2_hex:"999",el2_size:{width:"320",height:"20"},el2_img:EL2.host+"/el2sb/images/toolbar320.gif",el2_background:"rect",el2_cssfile:null,el2_sid:1,el2_lang:"pt-br",el2_sbs_top:0,el2_sbs_left:0,el2_container:"el2sb",el2_sbs:{sbs:[{name:"Orkut",dir:"orkut",css:"el2_orku",url:"http://promote.orkut.com/preview?nt=orkut.com&tt=@@T@@&du=@@U@@&cn="},{name:"Facebook",dir:"facebook",css:"el2_fbok",url:"http://www.facebook.com/share.php?u=@@U@@"},{name:"Twitter",dir:"twitter",css:"el2_twitt",url:"http://www.twitter.com/?status=@@T@@%20-%20@@U@@"},{name:"Google Buzz",dir:"gbuzz",css:"el2_gbuzz",url:"http://www.google.com/buzz/post?url=@@U@@&imageurl=@@T@@"},{name:"Linkk",dir:"linkk",css:"el2_linkk",url:"http://www.linkk.com.br/submit.php?url=@@U@@"},{name:"Sonico",dir:"sonico",css:"el2_gsonic",url:"http://www.sonico.com/share.php?title=@@T@@&url=@@U@@"},{name:"Delicious",dir:"delicious",css:"el2_deli",url:"http://del.icio.us/post?url=@@U@@&title=@@T@@"},{name:"Google",dir:"gbookmarks",css:"el2_gbook",url:"http://www.google.com/bookmarks/mark?op=edit&bkmk=@@U@@&title=@@T@@"},{name:"diHITT",dir:"dihitt",css:"el2_dihi",url:"http://www.dihitt.com.br/submit?rUrl=@@U@@&rTitle=@@T@@"},{name:"Ueba",dir:"ueba",css:"el2_ueba",url:"http://ueba.com.br/NovoLink?url=@@U@@&titulo=@@T@@&origem=EL2SB"},{name:"Y!Bookmarks",dir:"ybookmarks",css:"el2_ybook",url:"http://myweb2.search.yahoo.com/myresults/bookmarklet?u=@@U@@&t=@@T@@"},{name:"Digg",dir:"digg",css:"el2_digg",url:"http://digg.com/submit?phase=2&url=@@U@@&title=@@T@@"},{name:"Live Favorites",dir:"livefavorites",css:"el2_live",url:"https://skydrive.live.com/sharefavorite.aspx/.SharedFavorites?url=@@U@@&title=@@T@@"},{name:"Stumbleupon",dir:"stumbleupon",css:"el2_stum",url:"http://www.stumbleupon.com/submit?url=@@U@@&title=@@T@@"},{name:"Blinklist",dir:"blinklist",css:"el2_blklst",url:"http://www.blinklist.com/index.php?Action=Blink/addblink.php&Url=@@U@@&Title=@@T@@&Description=@@T@@"},{name:"Simpy",dir:"simpy",css:"el2_simp",url:"http://www.simpy.com/simpy/LinkAdd.do?href=@@U@@&title=@@T@@&note=@@T@@&v=6"},{name:"LinkedIn",dir:"linkedin",css:"el2_lnkin",url:"http://www.linkedin.com/shareArticle?mini=true&url=@@U@@&title=@@T@@&summary=@@T@@&source=Elephant2%20Social%20Bookmarks"},{name:"Reddit",dir:"reddit",css:"el2_redd",url:"http://reddit.com/submit?url=@@U@@&title=@@T@@"},{name:"Newsvine",dir:"newsvine",css:"el2_nvin",url:"http://www.newsvine.com/_tools/seed?popoff=0&u=@@U@@&h=@@T@@"},{name:"Technorati",dir:"technorati",css:"el2_techno",url:"http://technorati.com/faves?sub=addfavbtn&add=@@U@@"}]},getURLService:function(b,a){return this.share(b,a)},share:function(d,b){if(b=="undefined"||b==undefined){b=this.el2_pgtitle}for(var a=0;a<this.el2_sbs.sbs.length;a++){_sbs=this.el2_sbs.sbs[a];if(_sbs.dir==d){var e=EL2.host+"/sb/"+_sbs.dir+"?SID="+this.el2_sid+"&pagetitle="+encodeURIComponent(b)+"&pageurl="+encodeURIComponent(this.el2_pgurl);if(this.el2_cssfile){e+="&cssfile="+encodeURIComponent(this.el2_cssfile)}return e}}return""},getURL:function(a){return a.replace("@@U@@",E$.el2_pgurl).replace("@@T@@",E$.el2_pgtitle)},writeCSSFile:function(a){if(this.el2_background!="rect"&&this.el2_background!="rounded"){this.el2_background="rect"}var b=".el2sb * {margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background-color:transparent;background-image:none;line-height:100%}";b+=".el2sb{position:relative;height:"+E$.el2_size.height+"px}";b+=".el2toolbar{position:absolute;display:block;background-color:#"+a+";width:"+E$.el2_size.width+"px;height:"+E$.el2_size.height+"px}";b+=".el2sbs{position:absolute;top:22px;left:0;width:325px;height:225px;background:#FCFCFC;font:lighter 12px tahoma,arial,verdana,sans;display:none;z-index:100;border:1px solid;}";b+=".el2sbs h2{border:0;color:#AAA;font-size:14px;font-weight:700;margin:0;padding:15px 0 0 15px;background-image:none;text-align:left !important;display:block;}";b+=".el2sbs ul{list-style:none;height:135px;overflow:hidden;margin:5px 10px 0 10px;padding:0}";b+=".el2sbs ul li{list-style-type:none;margin:8px 0px;width:85px;float:left;font-size:12px;text-align:left}";b+=".el2sbs ul li a{background-image:url("+E$.el2I+"el2sb_sprite.gif);background-repeat:no-repeat;padding-left:20px;display:block;height:16px;text-decoration:none;color:#369}";b+=".el2_gsonic{background-position:0 -96px}.el2_gbuzz{background-position:0 -80px}.el2_deli{background-position:0 -112px}.el2_digg{background-position:0 -192px}";b+=".el2_stum{background-position:0 -224px}.el2_nvin{background-position:0 -304px}.el2_techno{background-position:0 -320px}.el2_redd{background-position:0 -288px}";b+=".el2_magn{background-position:0 -102px}.el2_gbook{background-position:0 -128px}.el2_live{background-position:0 -208px}";b+=".el2_ybook{background-position:0 -176px}.el2_lnkin{background-position:0 -272px}.el2_linkk{background-position:0 -48px}";b+=".el2_ueba{background-position:0 -204px}.el2_lnkto{background-position:0 -221px}.el2_qi{background-position:0 -238px}";b+=".el2_blklst{background-position:0 -240px}.el2_dihi{background-position:0 -144px}.el2_simp{background-position:0 -256px}";b+=".el2_ueba{background-position:0 -160px}.el2_rec6{background-position:0 -320px}.el2_twitt{background-position:0 0px}";b+=".el2_fbok{background-position:0 -16px}.el2_orku{background-position:0 -32px}.el2_gost{background-position:0 -64px}";b+=".el2sbs a.el2toggle{left:0;margin:5px 10px 0 !important;text-transform:uppercase;font-size:9px;text-align:center;display:block;position:absolute;top:180px;width:176px;height:16px;background:url("+E$.el2I+"btn_mais2.gif);color:#AAA;line-height:16px;cursor:pointer}";b+=".el2sbs p{position:absolute;bottom:10px;right:10px;font-size:10px;color:#AAA}";b+=".el2btn_close{position:absolute;top:15px;left:80%;cursor:pointer;text-decoration:none;color:#AAA;font-weight:bold}";b+=".el2btn_close img{border:none}";$J("head").append("<style>"+b+"</style>")},writeToolbar:function(a,d,b,m){if(jQuery.isArray(a)){for(var l=0;l<a.length;l++){var e=$J("#"+a[l].id);e.append('<span class="el2toolbar"><img src="'+d+'" width="'+b+'" height="'+m+'"></span>');var g=(a[l].title!=undefined)?a[l].title:this.el2_pgtitle;var f=(a[l].url!=undefined)?a[l].url:this.el2_pgurl;this.writeSBList(this.el2_sbs.sbs,a[l].id,g,f);this.setup(e)}}else{var e=$J("#"+a);e.append('<span class="el2toolbar"><img src="'+d+'" width="'+b+'" height="'+m+'"></span>');this.writeSBList(this.el2_sbs.sbs,a,this.el2_pgtitle,this.el2_pgurl);this.setup(e)}},writeSBList:function(d,g,b,a){var e="";var f="?SID="+this.el2_sid+"&pagetitle="+encodeURIComponent(b)+"&pageurl="+encodeURIComponent(a);if(this.el2_cssfile){f+="&cssfile="+encodeURIComponent(this.el2_cssfile)}for(i=0;i<d.length;i++){e+='<li><a href="'+EL2.host+"/sb/"+d[i].dir+f+'" class="'+d[i].css+'">'+d[i].name+"</a></li>"}$J("body").append('<div class="el2sbs" id="el2sbs_'+g+'"><h2>'+E$._locale.title+'</h2><a href="javascript://" class="el2btn_close">'+E$._locale.fechar+' <img src="'+this.el2I+'closebutton.gif" /></a><ul>'+e+'</ul><a class="el2toggle">'+E$._locale.mais+'</a><p class="el2pwd">Powered by EL<sup>2</sup></p></div>');$J("a[class^='el2_']").attr("target","_blank")},setDelay:function(a){return setTimeout(function(){$J(a).fadeOut(400)},E$.el2_delay)},setup:function(b){var a=$J("#el2sbs_"+b.attr("id"));$J($J(b).find(".el2toolbar")).hover(function(){E$.calcPosition(this);var d=$J(this).offset().left;var e=$J(a).width()+$J(this).offset().left;if(e>$J(window).width()){d=d-($J(a).width()-($J(this).width()*0.9))}a.css("left",d).css("top",E$.el2_sbs_top);$J("#el2sbs_"+$J(this).parent().attr("id")).fadeIn(400);clearTimeout(E$.el2_timer)},function(){clearTimeout(E$.el2_timer);E$.el2_timer=E$.setDelay($J("#el2sbs_"+$J(this).parent().attr("id")))});$J(a).hover(function(){clearTimeout(E$.el2_timer)},function(){E$.el2_timer=E$.setDelay(this)});$J($J(a).find(".el2toggle")).click(function(){var d=$J(a).find("ul").css("overflow");if(d=="hidden"){$J(this).html(E$._locale.menos);a.find("ul").css("overflow","auto")}else{$J(this).html(E$._locale.mais);a.find("ul").css("overflow","hidden").scrollTop(0)}});$J(".el2btn_close").click(function(){$J(a).fadeOut(400)})},calcPosition:function(e){var a=$J(e).parent();var f=$J(e).offset().top;var b=this.f_clientHeight()-f+this.f_scrollTop();var d=$J("#el2sbs_"+a.attr("id")).height();if((d>b)&&b>0){E$.el2_sbs_top=f-d}else{E$.el2_sbs_top=f+$J(e).height()}},f_clientHeight:function(){return this.f_filterResults(window.innerHeight?window.innerHeight:0,document.documentElement?document.documentElement.clientHeight:0,document.body?document.body.clientHeight:0)},f_scrollTop:function(){return this.f_filterResults(window.pageYOffset?window.pageYOffset:0,document.documentElement?document.documentElement.scrollTop:0,document.body?document.body.scrollTop:0)},f_filterResults:function(e,b,a){var d=e?e:0;if(b&&(!d||(d>b))){d=b}return a&&(!d||(d>a))?a:d},init:function(a){EL2.core.extend(a,this);this._locale=EL2.sb.language.getLabels(this.el2_lang);this.writeCSSFile(this.el2_hex);this.writeToolbar(this.el2_container,this.el2_img,this.el2_size.width,this.el2_size.height)}};EL2.namespace("sb.language");EL2.sb.language={ptBR:{title:"Compartilhar",mais:"Mais op&ccedil&otilde;es",menos:"Menos op&ccedil&otilde;es",powered:"Powered by EL<sup>2</sup>",fechar:"Fechar"},esES:{title:"Compartir",mais:"Ver m&aacute;s",menos:"Ver menos",powered:"Powered by EL<sup>2</sup>",fechar:"Cerrar"},getLabels:function(a){if(a=="es-es"){return this.esES}else{return this.ptBR}}};var E$=EL2.sb;
