(function(a,b){function ci(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cf(a){if(!b_[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";b_[a]=c}return b_[a]}function ce(a,b){var c={};d.each(cd.concat.apply([],cd.slice(0,b)),function(){c[this]=a});return c}function b$(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bZ(){try{return new a.XMLHttpRequest}catch(b){}}function bY(){d(a).unload(function(){for(var a in bW)bW[a](0,1)})}function bS(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bR(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 bQ(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bs.test(a)?e(a,f):bQ(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bQ(a+"["+f+"]",b[f],c,e)}function bP(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===bJ,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=bP(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bP(a,c,d,e,"*",g));return l}function bO(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bD),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bq(a,b,c){var e=b==="width"?bk:bl,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function bc(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function bb(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function ba(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);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(d.expando)}}function _(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function $(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Q(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(L.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function P(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function H(a,b){return(a&&a!=="*"?a+".":"")+b.replace(t,"`").replace(u,"&")}function G(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,p=[],q=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(r,"")===a.type?q.push(g.selector):t.splice(i--,1);f=d(a.target).closest(q,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&p.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){f=p[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function E(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function y(){return!0}function x(){return!1}function i(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function h(a,c,e){if(e===b&&a.nodeType===1){e=a.getAttribute("data-"+c);if(typeof e==="string"){try{e=e==="true"?!0:e==="false"?!1:e==="null"?null:d.isNaN(e)?g.test(e)?d.parseJSON(e):e:parseFloat(e)}catch(f){}d.data(a,c,e)}else e=b}return e}var c=a.document,d=function(){function G(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(G,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x,y,z=Object.prototype.toString,A=Object.prototype.hasOwnProperty,B=Array.prototype.push,C=Array.prototype.slice,D=String.prototype.trim,E=Array.prototype.indexOf,F={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.2",length:0,size:function(){return this.length},toArray:function(){return C.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 e=this.constructor();d.isArray(a)?B.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),x.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(C.apply(this,arguments),"slice",C.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:B,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,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"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;x.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=d._Deferred();if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",y,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",y),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&G()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):F[z.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!A.call(a,"constructor")&&!A.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||A.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=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:D?function(a){return a==null?"":D.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?B.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(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,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){F["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),E&&(d.inArray=function(a,b){return E.call(b,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?y=function(){c.removeEventListener("DOMContentLoaded",y,!1),d.ready()}:c.attachEvent&&(y=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",y),d.ready())});return d}(),e="then done fail isResolved isRejected promise".split(" "),f=[].slice;d.extend({_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){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=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){f=f||[],c=1;try{while(a[0])a.shift().apply(d,f)}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),f;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(f)return f;f=a={}}var c=e.length;while(c--)a[e[c]]=b[e[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?f.call(arguments,0):c,--g||h.resolveWith(h,f.call(b,0))}}var b=arguments,c=0,e=b.length,g=e,h=e<=1&&a&&d.isFunction(a.promise)?a:d.Deferred();if(e>1){for(;c<e;c++)b[c]&&d.isFunction(b[c].promise)?b[c].promise().then(i(c),h.reject):--g;g||h.resolveWith(h,b)}else h!==a&&h.resolveWith(h,e?[a]:[]);return h.promise()}}),function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0,reliableMarginRight:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e)}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(a.style.width="1px",a.style.marginRight="0",d.support.reliableMarginRight=(parseInt(c.defaultView.getComputedStyle(a,null).marginRight,10)||0)===0),b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function");return d};d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}}();var g=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.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?d.cache[a[d.expando]]:a[d.expando];return!!a&&!i(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,g=b.nodeType,h=g?d.cache:b,j=g?b[d.expando]:d.expando;if(!h[j])return;if(c){var k=e?h[j][f]:h[j];if(k){delete k[c];if(!i(k))return}}if(e){delete h[j][f];if(!i(h[j]))return}var l=h[j][f];d.support.deleteExpando||h!=a?delete h[j]:h[j]=null,l?(h[j]={},g||(h[j].toJSON=d.noop),h[j][f]=l):g&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var f=this[0].attributes,g;for(var i=0,j=f.length;i<j;i++)g=f[i].name,g.indexOf("data-")===0&&(g=g.substr(5),h(this[0],g,e[g]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=h(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var j=/[\n\t\r]/g,k=/\s+/,l=/\r/g,m=/^(?:href|src|style)$/,n=/^(?:button|input)$/i,o=/^(?:button|input|object|select|textarea)$/i,p=/^a(?:rea)?$/i,q=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(k);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=f.className;for(var i=0,j=b.length;i<j;i++)g.indexOf(" "+b[i]+" ")<0&&(h+=" "+b[i]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(k);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var h=(" "+g.className+" ").replace(j," ");for(var i=0,l=c.length;i<l;i++)h=h.replace(" "+c[i]+" "," ");g.className=d.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),i=b,j=a.split(k);while(f=j[g++])i=e?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(j," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var j=i?f:0,k=i?f+1:h.length;j<k;j++){var m=h[j];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(q.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(l,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this.nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&q.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=m.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&n.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var k=a.getAttributeNode("tabIndex");return k&&k.specified?k.value:o.test(a.nodeName)||p.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var l=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return l===null?b:l}h&&(a[c]=e);return a[c]}});var r=/\.(.*)$/,s=/^(?:textarea|input|select)$/i,t=/\./g,u=/ /g,v=/[^\w\s.|`]/g,w=function(a){return a.replace(v,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=x;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=function(a){return typeof d!=="undefined"&&d.event.triggered!==a.type?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=x);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.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("(^|\\.)"+d.map(m.slice(0).sort(),w).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(r,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=a.type,l[m]())}catch(p){}k&&(l["on"+m]=k),d.event.triggered=b}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!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[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[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=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.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:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,H(a.origType,a.selector),d.extend({},a,{handler:G,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,H(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.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)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?y:x):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=y;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=y;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=y,this.stopPropagation()},isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x};var z=function(a){var b=a.relatedTarget;try{if(b&&b!==c&&!b.parentNode)return;while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},A=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?A:z,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?A:z)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&E("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&E("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var B,C=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},D=function D(a){var c=a.target,e,f;if(s.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=C(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:D,beforedeactivate:D,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&D.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&D.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",C(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in B)d.event.add(this,c+".specialChange",B[c]);return s.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return s.test(this.nodeName)}},B=d.event.special.change.filters,B.focus=B.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function f(a){var c=d.event.fix(a);c.type=b,c.originalEvent={},d.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var e=0;d.event.special[b]={setup:function(){e++===0&&c.addEventListener(a,f,!0)},teardown:function(){--e===0&&c.removeEventListener(a,f,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);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(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var F={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=r.exec(h),k="",j&&(k=j[0],h=h.replace(r,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(F[h]+k),h=h+k):h=(F[h]||h)+k;if(c==="live")for(var p=0,q=n.length;p<q;p++)d.event.add(n[p],"live."+H(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+H(h,m),f)}return this}}),d.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){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.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,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;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(f.call(n)==="[object Array]")if(u)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]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};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){if(f===!0)continue}else g=o=!0}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 d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,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]=e++;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"text"===c&&(b===c||b===null)},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},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(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;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){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}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)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXMLDoc=k.isXML,d.contains=k.contains}();var I=/Until$/,J=/^(?:parents|prevUntil|prevAll)/,K=/,/,L=/^.[^:#\[\.,]*$/,M=Array.prototype.slice,N=d.expr.match.POS,O={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(Q(this,a,!1),"not",a)},filter:function(a){return this.pushStack(Q(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=N.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(P(c[0])||P(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=M.call(arguments);I.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!O[a]?d.unique(f):f,(this.length>1||K.test(e))&&J.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},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 R=/ jQuery\d+="(?:\d+|null)"/g,S=/^\s+/,T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,U=/<([\w:]+)/,V=/<tbody/i,W=/<|&#?\w+;/,X=/<(?:script|object|embed|option|style)/i,Y=/checked\s*(?:[^=]|=\s*.checked.)/i,Z={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,"",""]};Z.optgroup=Z.option,Z.tbody=Z.tfoot=Z.colgroup=Z.caption=Z.thead,Z.th=Z.td,d.support.htmlSerialize||(Z._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(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 d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(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(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(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=d(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,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.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 d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(R,""):null;if(typeof a!=="string"||X.test(a)||!d.support.leadingWhitespace&&S.test(a)||Z[(U.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(T,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).before(a):d(c).append(a)})}return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&Y.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?$(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,bc)}return this}}),d.buildFragment=function(a,b,e){var f,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)==="<"&&!X.test(a[0])&&(d.support.checkClone||!Y.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){ba(a,e),f=bb(a),g=bb(e);for(h=0;f[h];++h)ba(f[h],g[h])}if(b){_(a,e);if(c){f=bb(a),g=bb(e);for(h=0;f[h];++h)_(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||W.test(i)){if(typeof i==="string"){i=i.replace(T,"<$1></$2>");var j=(U.exec(i)||["",""])[1].toLowerCase(),k=Z[j]||Z._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=V.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&S.test(i)&&m.insertBefore(b.createTextNode(S.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bd=/alpha\([^)]*\)/i,be=/opacity=([^)]*)/,bf=/-([a-z])/ig,bg=/([A-Z]|^ms)/g,bh=/^-?\d+(?:px)?$/i,bi=/^-?\d/,bj={position:"absolute",visibility:"hidden",display:"block"},bk=["Left","Right"],bl=["Top","Bottom"],bm,bn,bo,bp=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bm(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bm)return bm(a,c,g)},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(bf,bp)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bq(a,b,e):d.swap(a,bj,function(){f=bq(a,b,e)});if(f<=0){f=bm(a,b,b),f==="0px"&&bo&&(f=bo(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bh.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return be.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bd.test(f)?f.replace(bd,e):c.filter+" "+e}}),d(function(){d.support.reliableMarginRight||(d.cssHooks.marginRight={get:function(a,b){var c;d.swap(a,{display:"inline-block"},function(){b?c=bm(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bn=function(a,c,e){var f,g,h;e=e.replace(bg,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bo=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bh.test(d)&&bi.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}),bm=bn||bo,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var br=/%20/g,bs=/\[\]$/,bt=/\r?\n/g,bu=/#.*$/,bv=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bw=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bx=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,by=/^(?:GET|HEAD)$/,bz=/^\/\//,bA=/\?/,bB=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bC=/^(?:select|textarea)/i,bD=/\s+/,bE=/([?&])_=[^&]*/,bF=/(^|\-)([a-z])/g,bG=function(a,b,c){return b+c.toUpperCase()},bH=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bI=d.fn.load,bJ={},bK={},bL,bM;try{bL=c.location.href}catch(bN){bL=c.createElement("a"),bL.href="",bL=bL.href}bM=bH.exec(bL.toLowerCase())||[],d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bI)return bI.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.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?d("<div>").append(c.replace(bB,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bC.test(this.nodeName)||bw.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(bt,"\r\n")}}):{name:b.name,value:c.replace(bt,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bL,isLocal:bx.test(bM[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":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bO(bJ),ajaxTransport:bO(bK),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bR(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bS(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bF,bG)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bv.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bu,"").replace(bz,bM[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bD),e.crossDomain==null&&(q=bH.exec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bM[1]||q[2]!=bM[2]||(q[3]||(q[1]==="http:"?80:443))!=(bM[3]||(bM[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bP(bJ,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!by.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(bA.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bE,"$1_="+w);e.url=x+(x===e.url?(bA.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.beforeSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bP(bK,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bQ(g,a[g],c,f);return e.join("&").replace(br,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bT=d.now(),bU=/(\=)\?(&|$)|\?\?/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bT++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bU.test(b.url)||f&&bU.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bU,l),b.url===j&&(f&&(k=k.replace(bU,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.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(!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 bV=d.now(),bW,bX;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bZ()||b$()}:bZ,bX=d.ajaxSettings.xhr(),d.support.ajax=!!bX,d.support.cors=bX&&"withCredentials"in bX,bX=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),!a.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bW[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bW||(bW={},bY()),h=bV++,g.onreadystatechange=bW[h]=c):c()},abort:function(){c&&c(0,1)}}}});var b_={},ca=/^(?:toggle|show|hide)$/,cb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cc,cd=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(ce("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cf(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(ce("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(ce("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,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cf(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(ca.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=cb.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber[c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:ce("show",1),slideUp:ce("hide",1),slideToggle:ce("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.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=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!cc&&(cc=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(cc),cc=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.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}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var cg=/^t(?:able|d|h)$/i,ch=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=ci(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=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(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!cg.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.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;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.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>";d.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),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=(e==="absolute"||e==="fixed")&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.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):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=ch.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!ch.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=ci(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=ci(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);

f=0;
function hidden(a) {
if (f!=0){
document.getElementById(a).style.display="none";
f=0;}
else {
document.getElementById(a).style.display="block";
f=1;}
}
function highlight(x){
document.forms[x].elements[0].focus()
document.forms[x].elements[0].select()
}
f1=0;
f2=0;
function hidden1() {

if (f1!=1){
document.getElementById('imgfvd').style.display="none";
document.getElementById('imgfvc').style.display="block";

f1=1;
f2=0;}

}
function hidden2() {

if (f2!=1){
document.getElementById('imgfvc').style.display="none";
document.getElementById('imgfvd').style.display="block";

f2=1;
f1=0;}


}
function highlight1(){
document.getElementById('form1').elements[0].focus()
document.getElementById('form1').elements[0].select()
}
function highlight2(){
document.getElementById('form2').elements[0].focus()
document.getElementById('form2').elements[0].select()
}

var opened = 0;
var stopper = 0;

function nonebox1() {
  if (opened==1 && stopper==0) { 
    $(".langrpopup").hide();
    opened=0;
    stopper=1;
  }
  if (stopper==1 && opened==1) {
    stopper=0;
  }
};
           
function lng() {
  if (stopper==1 && opened==0) {
    stopper=0;
  }
  if (opened==0 && stopper==0) {
    $(".langrpopup").toggle();
    opened=1;
    stopper=1;
  }
};



function SetCookie (name, value) {
    document.cookie = name + "=" + escape (value) + "; path=/; expires=Mon, 01-Jan-2060 00:00:00 GMT";
}

var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return }f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return }if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return }}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return }var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return }var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return }AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('q(!m){A m={Y:{a6:\'b4\',b2:\'\',b3:\'8J 2g dm\',bC:\'8J 2g dl 2g dj\',82:\'dr 2g df D (f)\',cl:\'da by <i>ab ah</i>\',cO:\'cX 2g d0 ab ah dd\',8O:\'aq\',93:\'al\',8X:\'ar\',8V:\'8I\',8W:\'8I (d8)\',aY:\'d4\',an:\'aa\',ao:\'aa 1p (aw)\',ap:\'ai\',ak:\'ai 1p (aw)\',8N:\'aq (8K 19)\',90:\'al (8K 2Y)\',8Y:\'ar\',av:\'1:1\',3T:\'dN %1 dO %2\',9P:\'8J 2g 24 2G, e2 af es 2g 3t. dI 8K du P 1C af 36.\'},4n:\'L/bB/\',7I:\'d2.5l\',69:\'d1.5l\',5H:5y,7z:5y,4A:15,9C:15,5t:15,6W:15,4k:cW,bg:0.75,9B:K,9q:5,3J:2,er:3,5o:1h,c8:\'4u 2Y\',c9:1,8x:K,cm:\'dn://L.dA/\',ck:\'dx\',aM:K,9G:[\'a\',\'5m\'],3d:[],cB:5y,3H:0,8a:50,6E:1h,6U:K,4t:K,3U:\'5N\',86:K,3Z:\'1N\',7y:\'1N\',aZ:I,b6:I,7X:K,4w:ae,5X:ae,5T:K,1T:\'dt-cZ\',9N:{2S:\'<N 1V="L-2S"><6l>\'+\'<1J 1V="L-36">\'+\'<a 22="#" 29="{m.Y.8N}">\'+\'<1D>{m.Y.8O}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-3O">\'+\'<a 22="#" 29="{m.Y.ao}">\'+\'<1D>{m.Y.an}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-3l">\'+\'<a 22="#" 29="{m.Y.ak}">\'+\'<1D>{m.Y.ap}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-1C">\'+\'<a 22="#" 29="{m.Y.90}">\'+\'<1D>{m.Y.93}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-3t">\'+\'<a 22="#" 29="{m.Y.8Y}">\'+\'<1D>{m.Y.8X}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-18-2x">\'+\'<a 22="#" 29="{m.Y.82}">\'+\'<1D>{m.Y.av}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-24">\'+\'<a 22="#" 29="{m.Y.8W}" >\'+\'<1D>{m.Y.8V}</1D></a>\'+\'</1J>\'+\'</6l></N>\',ba:\'<N 1V="L-d5"><6l>\'+\'<1J 1V="L-36">\'+\'<a 22="#" 29="{m.Y.8N}" 2e="E m.36(k)">\'+\'<1D>{m.Y.8O}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-1C">\'+\'<a 22="#" 29="{m.Y.90}" 2e="E m.1C(k)">\'+\'<1D>{m.Y.93}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-3t">\'+\'<a 22="#" 29="{m.Y.8Y}" 2e="E 1h">\'+\'<1D>{m.Y.8X}</1D></a>\'+\'</1J>\'+\'<1J 1V="L-24">\'+\'<a 22="#" 29="{m.Y.8W}" 2e="E m.24(k)">\'+\'<1D>{m.Y.8V}</1D></a>\'+\'</1J>\'+\'</6l></N>\'+\'<N 1V="L-1e"></N>\'+\'<N 1V="L-eb"><N>\'+\'<1D 1V="L-47" 29="{m.Y.aY}"><1D></1D></1D>\'+\'</N></N>\'},6s:[],a7:K,14:[],9l:[\'5T\',\'3A\',\'3Z\',\'7y\',\'aZ\',\'b6\',\'1T\',\'3J\',\'eo\',\'eq\',\'e3\',\'be\',\'dL\',\'dM\',\'dJ\',\'ay\',\'cq\',\'7X\',\'45\',\'68\',\'3d\',\'3H\',\'M\',\'O\',\'9i\',\'6E\',\'6U\',\'4t\',\'dF\',\'dH\',\'dQ\',\'2J\',\'86\',\'4f\',\'4H\',\'3U\',\'8i\',\'95\',\'4w\',\'5X\',\'6N\',\'a8\',\'2B\',\'2P\',\'cF\',\'cD\',\'1d\'],1S:[],5x:0,9X:{x:[\'bn\',\'19\',\'41\',\'2Y\',\'bl\'],y:[\'5w\',\'16\',\'9f\',\'4u\',\'6L\']},7w:{},ay:{},be:{},8i:{aT:{},28:{},aS:{}},4d:[],6o:[],4m:{},4o:[],7F:[],5a:[],7i:{},8j:{},7n:[],3N:/dS\\/4\\.0/.1b(4N.6f)?8:80((4N.6f.5D().2q(/.+(?:bf|dR|dV|1E)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1]),1E:(W.62&&!2c.3F),4p:/cC/.1b(4N.6f),6u:/dW.+bf:1\\.[0-8].+e0/.1b(4N.6f),$:C(1x){q(1x)E W.9h(1x)},2o:C(2d,3o){2d[2d.V]=3o},1c:C(bc,4g,48,6a,bb){A el=W.1c(bc);q(4g)m.3Q(el,4g);q(bb)m.S(el,{8r:0,8B:\'1z\',9D:0});q(48)m.S(el,48);q(6a)6a.1Z(el);E el},3Q:C(el,4g){P(A x 30 4g)el[x]=4g[x];E el},S:C(el,48){P(A x 30 48){q(m.1E&&x==\'1A\'){q(48[x]>0.99)el.G.dE(\'5E\');J el.G.5E=\'b7(1A=\'+(48[x]*2D)+\')\'}J el.G[x]=48[x]}},2v:C(el,1i,3z){A 4y,5c,4z;q(1H 3z!=\'7K\'||3z===I){A 2K=bj;3z={4b:2K[2],2P:2K[3],74:2K[4]}}q(1H 3z.4b!=\'3T\')3z.4b=5y;3z.2P=1g[3z.2P]||1g.ad;3z.7l=m.3Q({},1i);P(A 3c 30 1i){A e=1L m.fx(el,3z,3c);4y=80(m.7U(el,3c))||0;5c=80(1i[3c]);4z=3c!=\'1A\'?\'F\':\'\';e.3m(4y,5c,4z)}},7U:C(el,1i){q(W.8b){E W.8b.cQ(el,I).cP(1i)}J{q(1i==\'1A\')1i=\'5E\';A 3o=el.5Y[1i.2k(/\\-(\\w)/g,C(a,b){E b.ag()})];q(1i==\'5E\')3o=3o.2k(/b7\\(1A=([0-9]+)\\)/,C(a,b){E b/2D});E 3o===\'\'?1:3o}},7v:C(){A d=W,w=2c,5V=d.7B&&d.7B!=\'8S\'?d.5u:d.1e;A M=m.1E?5V.8R:(d.5u.8R||7j.ek),O=m.1E?5V.bL:7j.ej;m.4F={M:M,O:O,5C:m.1E?5V.5C:ei,5z:m.1E?5V.5z:em}},6I:C(el){q(/5m/i.1b(el.3K)){A 7D=W.2w(\'1M\');P(A i=0;i<7D.V;i++){A u=7D[i].en;q(u&&u.2k(/^.*?#/,\'\')==el.23.3c){el=7D[i];5i}}}A p={x:el.4S,y:el.89};5s(el.b9){el=el.b9;p.x+=el.4S;p.y+=el.89;q(el!=W.1e&&el!=W.5u){p.x-=el.5C;p.y-=el.5z}}E p},2x:C(a,28,3m,T){q(!a)a=m.1c(\'a\',I,{1o:\'1z\'},m.26);q(1H a.66==\'C\')E 28;q(T==\'3s\'){P(A i=0;i<m.4o.V;i++){q(m.4o[i]&&m.4o[i].a==a){m.4o[i].cj();m.4o[i]=I;E 1h}}m.aL=K}1t{1L m.5P(a,28,3m,T);E 1h}1u(e){E K}},9H:C(a,28,3m){E m.2x(a,28,3m,\'3s\')},9p:C(){E m.1c(\'N\',{1a:\'L-3s-R\',2f:m.9O(m.9N.ba)})},4r:C(el,3K,1a){A 1m=el.2w(3K);P(A i=0;i<1m.V;i++){q((1L 51(1a)).1b(1m[i].1a)){E 1m[i]}}E I},9O:C(s){s=s.2k(/\\s/g,\' \');A 2m=/{m\\.Y\\.([^}]+)\\}/g,6w=s.2q(2m),Y;q(6w)P(A i=0;i<6w.V;i++){Y=6w[i].2k(2m,"$1");q(1H m.Y[Y]!=\'1W\')s=s.2k(6w[i],m.Y[Y])}E s},bF:C(){A 1m=W.2w(\'a\');P(A i=0;i<1m.V;i++){A T=m.aU(1m[i]);q(T&&!1m[i].aV){(C(){A t=T;q(m.1B(m,\'eg\',{7d:1m[i],T:t})){1m[i].2e=(T==\'2G\')?C(){E m.2x(k)}:C(){E m.9H(k,{2J:t})}}})();1m[i].aV=K}}m.6v()},aU:C(el){q(el.7E==\'L\')E\'2G\';J q(el.7E==\'L-2R\')E\'2R\';J q(el.7E==\'L-1l\')E\'1l\';J q(el.7E==\'L-3y\')E\'3y\'},9I:C(a){P(A i=0;i<m.5a.V;i++){q(m.5a[i][0]==a){A c=m.5a[i][1];m.5a[i][1]=c.6b(1);E c}}E I},bz:C(e){A 2d=m.6v();P(A i=0;i<2d.58.V;i++){A a=2d.58[i];q(m.3X(a,\'2J\')==\'2R\'&&m.3X(a,\'86\'))m.2o(m.7F,a)}m.7Y(0)},7Y:C(i){q(!m.7F[i])E;A a=m.7F[i];A 6n=m.4x(m.3X(a,\'9i\'));q(!6n)6n=m.9p();A 2R=1L m.7P(a,6n,1);2R.a3=C(){};2R.3v=C(){m.2o(m.5a,[a,6n]);m.7Y(i+1)};2R.9o()},aO:C(){A 85=0,7r=-1,14=m.14,B,1G;P(A i=0;i<14.V;i++){B=14[i];q(B){1G=B.U.G.1G;q(1G&&1G>85){85=1G;7r=i}}}q(7r==-1)m.3e=-1;J 14[7r].3R()},3X:C(a,61){a.66=a.2e;A p=a.66?a.66():I;a.66=I;E(p&&1H p[61]!=\'1W\')?p[61]:(1H m[61]!=\'1W\'?m[61]:I)},7L:C(a){A 1d=m.3X(a,\'1d\');q(1d)E 1d;E a.22},4x:C(1x){A 1R=m.$(1x),4J=m.8j[1x],a={};q(!1R&&!4J)E I;q(!4J){4J=1R.6b(K);4J.1x=\'\';m.8j[1x]=4J;E 1R}J{E 4J.6b(K)}},3E:C(d){q(d)m.9n.1Z(d);m.9n.2f=\'\'},1v:C(B){q(!m.2T){m.2T=m.1c(\'N\',{1a:\'L-d3 L-2A-D\',6h:\'\',2e:C(){q(m.1B(m,\'d9\'))m.24()}},{1n:\'21\',1A:0},m.26,K)}m.2T.G.1o=\'\';m.2T.6h+=\'|\'+B.Q;q(m.6u&&m.aP)m.S(m.2T,{91:\'7J(\'+m.4n+\'dc.aX)\',1A:1});J m.2v(m.2T,{1A:B.3H},m.8a)},9s:C(Q){q(!m.2T)E;q(1H Q!=\'1W\')m.2T.6h=m.2T.6h.2k(\'|\'+Q,\'\');q((1H Q!=\'1W\'&&m.2T.6h!=\'\')||(m.2t&&m.3X(m.2t,\'3H\')))E;q(m.6u&&m.aP)m.2T.G.1o=\'1z\';J m.2v(m.2T,{1A:0},m.8a,I,C(){m.2T.G.1o=\'1z\'})},7W:C(7f,B){A 1k=B=B||m.2E();q(m.2t)E 1h;J m.1k=1k;1t{m.2t=7f;7f.2e()}1u(e){m.1k=m.2t=I}1t{q(!7f||B.3d[1]!=\'3C\')B.24()}1u(e){}E 1h},7g:C(el,2l){A B=m.2E(el);q(B)E m.7W(B.84(2l),B);J E 1h},36:C(el){E m.7g(el,-1)},1C:C(el){E m.7g(el,1)},6M:C(e){q(!e)e=2c.2z;q(!e.2F)e.2F=e.9b;q(1H e.2F.9x!=\'1W\')E K;q(!m.1B(m,\'cU\',e))E K;A B=m.2E();A 2l=I;az(e.cV){2a 70:q(B)B.7c();E K;2a 32:2l=2;5i;2a 34:2a 39:2a 40:2l=1;5i;2a 8:2a 33:2a 37:2a 38:2l=-1;5i;2a 27:2a 13:2l=0}q(2l!==I){q(2l!=2)m.5d(W,2c.3F?\'9r\':\'9E\',m.6M);q(!m.aM)E K;q(e.59)e.59();J e.bt=1h;q(B){q(2l==0){B.24()}J q(2l==2){q(B.1p)B.1p.bO()}J{q(B.1p)B.1p.3l();m.7g(B.Q,2l)}E 1h}}E K},cR:C(11){m.2o(m.1S,m.3Q(11,{1Y:\'1Y\'+m.5x++}))},cr:C(1r){A 35=1r.2B;q(1H 35==\'7K\'){P(A i=0;i<35.V;i++){A o={};P(A x 30 1r)o[x]=1r[x];o.2B=35[i];m.2o(m.6o,o)}}J{m.2o(m.6o,1r)}},8U:C(7d,7M){A el,2m=/^L-U-([0-9]+)$/;el=7d;5s(el.23){q(el.73!==1W)E el.73;q(el.1x&&2m.1b(el.1x))E el.1x.2k(2m,"$1");el=el.23}q(!7M){el=7d;5s(el.23){q(el.3K&&m.6X(el)){P(A Q=0;Q<m.14.V;Q++){A B=m.14[Q];q(B&&B.a==el)E Q}}el=el.23}}E I},2E:C(el,7M){q(1H el==\'1W\')E m.14[m.3e]||I;q(1H el==\'3T\')E m.14[el]||I;q(1H el==\'9m\')el=m.$(el);E m.14[m.8U(el,7M)]||I},6X:C(a){E(a.2e&&a.2e.cz().2k(/\\s/g,\' \').2q(/m.(cY|e)dC/))},c4:C(){P(A i=0;i<m.14.V;i++)q(m.14[i]&&m.14[i].6x)m.aO()},1B:C(6e,9T,2K){E 6e&&6e[9T]?(6e[9T](6e,2K)!==1h):K},8C:C(e){q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!m.1B(B,\'dp\',a))E 1h;q(a.T==\'47\')B.47(a);J{B.9R(a.19+a.dX,a.16+a.dY);q(a.T==\'2G\')B.R.G.4K=\'3t\'}}E 1h},ac:C(e){1t{q(!e)e=2c.2z;A 6y=/do/i.1b(e.T);q(!e.2F)e.2F=e.9b;q(m.1E)e.9a=6y?e.dT:e.eR;A B=m.2E(e.2F);q(!B.6x)E;q(!B||!e.9a||m.2E(e.9a,K)==B||m.2C)E;m.1B(B,6y?\'fz\':\'fy\',e);P(A i=0;i<B.1S.V;i++)(C(){A o=m.$(\'1Y\'+B.1S[i]);q(o&&o.7N){q(6y)m.S(o,{1n:\'21\',1o:\'\'});m.2v(o,{1A:6y?o.1A:0},o.42)}})()}1u(e){}},2n:C(el,2z,3P){q(el==W&&2z==\'4a\')m.2o(m.7n,3P);1t{el.2n(2z,3P,1h)}1u(e){1t{el.b8(\'6m\'+2z,3P);el.fv(\'6m\'+2z,3P)}1u(e){el[\'6m\'+2z]=3P}}},5d:C(el,2z,3P){1t{el.5d(2z,3P,1h)}1u(e){1t{el.b8(\'6m\'+2z,3P)}1u(e){el[\'6m\'+2z]=I}}},7p:C(i){q(m.a7&&m.6s[i]&&m.6s[i]!=\'1W\'){A 1M=W.1c(\'1M\');1M.4I=C(){1M=I;m.7p(i+1)};1M.1d=m.6s[i]}},bA:C(3T){q(3T&&1H 3T!=\'7K\')m.9q=3T;A 2d=m.6v();P(A i=0;i<2d.5b.V&&i<m.9q;i++){m.2o(m.6s,m.7L(2d.5b[i]))}q(m.1T)1L m.5B(m.1T,C(){m.7p(0)});J m.7p(0);q(m.69)A 5l=m.1c(\'1M\',{1d:m.4n+m.69})},7q:C(){q(!m.26){m.7v();m.5j=m.1E&&m.3N<7;m.c0=m.5j&&a1.fE==\'fD:\';P(A x 30 m.7H){q(1H m[x]!=\'1W\')m.Y[x]=m[x];J q(1H m.Y[x]==\'1W\'&&1H m.7H[x]!=\'1W\')m.Y[x]=m.7H[x]}m.26=m.1c(\'N\',{1a:\'L-26\'},{1j:\'2p\',19:0,16:0,M:\'2D%\',1G:m.4k,a0:\'b4\'},W.1e,K);m.2s=m.1c(\'a\',{1a:\'L-2s\',29:m.Y.b3,2f:m.Y.b2,22:\'bM:;\'},{1j:\'2p\',16:\'-4l\',1A:m.bg,1G:1},m.26);m.9n=m.1c(\'N\',I,{1o:\'1z\'},m.26);m.2A=m.1c(\'N\',{1a:\'L-2A L-2A-D\'},{1n:(m.4p&&m.3N<cA)?\'21\':\'1q\'},m.26,1);m.3x=m.1c(\'N\',I,{aC:\'aB\',fl:\'fk\'},I,K);1g.fi=C(t,b,c,d){E c*t/d+b};1g.ad=C(t,b,c,d){E c*(t/=d)*t+b};1g.8m=C(t,b,c,d){E-c*(t/=d)*(t-2)+b};m.cN=m.5j;m.cT=((2c.3F&&m.3N<9)||4N.aH==\'aG\'||(m.1E&&m.3N<5.5));m.1B(k,\'fn\')}},4a:C(){q(m.a2)E;m.a2=K;P(A i=0;i<m.7n.V;i++)m.7n[i]()},a5:C(){A el,1m,62=[],5b=[],58=[],3h={},2m;P(A i=0;i<m.9G.V;i++){1m=W.2w(m.9G[i]);P(A j=0;j<1m.V;j++){el=1m[j];2m=m.6X(el);q(2m){m.2o(62,el);q(2m[0]==\'m.2x\')m.2o(5b,el);J q(2m[0]==\'m.9H\')m.2o(58,el);A g=m.3X(el,\'2B\')||\'1z\';q(!3h[g])3h[g]=[];m.2o(3h[g],el)}}}m.4Q={62:62,3h:3h,5b:5b,58:58};E m.4Q},6v:C(){E m.4Q||m.a5()},24:C(el){A B=m.2E(el);q(B)B.24();E 1h}};m.fx=C(31,1r,1i){k.1r=1r;k.31=31;k.1i=1i;q(!1r.at)1r.at={}};m.fx.5h={9j:C(){(m.fx.3M[k.1i]||m.fx.3M.aI)(k);q(k.1r.3M)k.1r.3M.au(k.31,k.4C,k)},3m:C(8y,2g,4z){k.9W=(1L 7m()).77();k.4y=8y;k.5c=2g;k.4z=4z;k.4C=k.4y;k.H=k.8o=0;A 7j=k;C t(7k){E 7j.3M(7k)}t.31=k.31;q(t()&&m.4d.2o(t)==1){m.am=fL(C(){A 4d=m.4d;P(A i=0;i<4d.V;i++)q(!4d[i]())4d.fK(i--,1);q(!4d.V){fO(m.am)}},13)}},3M:C(7k){A t=(1L 7m()).77();q(7k||t>=k.1r.4b+k.9W){k.4C=k.5c;k.H=k.8o=1;k.9j();k.1r.7l[k.1i]=K;A a9=K;P(A i 30 k.1r.7l)q(k.1r.7l[i]!==K)a9=1h;q(a9){q(k.1r.74)k.1r.74.au(k.31)}E 1h}J{A n=t-k.9W;k.8o=n/k.1r.4b;k.H=k.1r.2P(n,0,1,k.1r.4b);k.4C=k.4y+((k.5c-k.4y)*k.H);k.9j()}E K}};m.3Q(m.fx,{3M:{1A:C(fx){m.S(fx.31,{1A:fx.4C})},aI:C(fx){1t{q(fx.31.G&&fx.31.G[fx.1i]!=I)fx.31.G[fx.1i]=fx.4C+fx.4z;J fx.31[fx.1i]=fx.4C}1u(e){}}}});m.5B=C(1T,3v){k.3v=3v;k.1T=1T;A v=m.3N,4i;k.8T=m.1E&&v>=5.5&&v<7;q(!1T){q(3v)3v();E}m.7q();k.2j=m.1c(\'2j\',{eI:0},{1n:\'1q\',1j:\'2p\',fh:\'eL\',M:0},m.26,K);A 4U=m.1c(\'4U\',I,I,k.2j,1);k.2I=[];P(A i=0;i<=8;i++){q(i%3==0)4i=m.1c(\'4i\',I,{O:\'1N\'},4U,K);k.2I[i]=m.1c(\'2I\',I,I,4i,K);A G=i!=4?{eM:0,eQ:0}:{1j:\'4B\'};m.S(k.2I[i],G)}k.2I[4].1a=1T+\' L-1f\';k.b5()};m.5B.5h={b5:C(){A 1d=m.4n+(m.eP||"eO/")+k.1T+".aX";A aW=m.4p?m.26:I;k.3V=m.1c(\'1M\',I,{1j:\'2p\',16:\'-4l\'},aW,K);A 3u=k;k.3V.4I=C(){3u.b0()};k.3V.1d=1d},b0:C(){A o=k.1w=k.3V.M/4,H=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],1v={O:(2*o)+\'F\',M:(2*o)+\'F\'};P(A i=0;i<=8;i++){q(H[i]){q(k.8T){A w=(i==1||i==7)?\'2D%\':k.3V.M+\'F\';A N=m.1c(\'N\',I,{M:\'2D%\',O:\'2D%\',1j:\'4B\',2i:\'1q\'},k.2I[i],K);m.1c(\'N\',I,{5E:"ew:eu.ca.ev(ez=eA, 1d=\'"+k.3V.1d+"\')",1j:\'2p\',M:w,O:k.3V.O+\'F\',19:(H[i][0]*o)+\'F\',16:(H[i][1]*o)+\'F\'},N,K)}J{m.S(k.2I[i],{91:\'7J(\'+k.3V.1d+\') \'+(H[i][0]*o)+\'F \'+(H[i][1]*o)+\'F\'})}q(2c.3F&&(i==3||i==5))m.1c(\'N\',I,1v,k.2I[i],K);m.S(k.2I[i],1v)}}k.3V=I;q(m.4m[k.1T])m.4m[k.1T].5J();m.4m[k.1T]=k;q(k.3v)k.3v()},4R:C(H,1w,ax,42,2P){A B=k.B,5F=B.U.G,1w=1w||0,H=H||{x:B.x.H+1w,y:B.y.H+1w,w:B.x.Z(\'2h\')-2*1w,h:B.y.Z(\'2h\')-2*1w};q(ax)k.2j.G.1n=(H.h>=4*k.1w)?\'21\':\'1q\';m.S(k.2j,{19:(H.x-k.1w)+\'F\',16:(H.y-k.1w)+\'F\',M:(H.w+2*k.1w)+\'F\'});H.w-=2*k.1w;H.h-=2*k.1w;m.S(k.2I[4],{M:H.w>=0?H.w+\'F\':0,O:H.h>=0?H.h+\'F\':0});q(k.8T)k.2I[3].G.O=k.2I[5].G.O=k.2I[4].G.O},5J:C(aF){q(aF)k.2j.G.1n=\'1q\';J m.3E(k.2j)}};m.6A=C(B,1v){k.B=B;k.1v=1v;k.3n=1v==\'x\'?\'cf\':\'cg\';k.3q=k.3n.5D();k.5R=1v==\'x\'?\'c2\':\'c3\';k.6K=k.5R.5D();k.8e=1v==\'x\'?\'ce\':\'cd\';k.bd=k.8e.5D();k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'F\'}J k.D=i;B.R.G[k.3q]=i+\'F\';B.U.G[k.3q]=k.Z(\'2h\')+\'F\';q(B.1f)B.1f.4R();q(B.3W)B.3W.G[k.3q]=i+\'F\';q(k.1v==\'y\'&&B.6q&&B.1e.G.O!=\'1N\')1t{B.6q.1e.G.2i=\'1N\'}1u(e){}q(B.2u){A d=B.2r;q(k.9U===1W)k.9U=B.1s[\'1w\'+k.3n]-d[\'1w\'+k.3n];d.G[k.3q]=(k.D-k.9U)+\'F\';q(k.1v==\'x\')B.43.G.M=\'1N\';q(B.1e)B.1e.G[k.3q]=\'1N\'}q(k.1v==\'x\'&&B.1y)B.5q(K);q(k.1v==\'x\'&&B.1p&&B.2H){q(i==k.18)B.1p.5n(\'18-2x\');J B.1p.4q(\'18-2x\')}},a4:C(i){k.H=i;k.B.U.G[k.6K]=i+\'F\';q(k.B.1f)k.B.1f.4R()}};m.5P=C(a,28,3m,3p){q(W.ch&&m.1E&&!m.a2){m.2n(W,\'4a\',C(){1L m.5P(a,28,3m,3p)});E}k.a=a;k.3m=3m;k.3p=3p||\'2G\';k.2u=(3p==\'3s\');k.2H=!k.2u;m.a7=1h;k.1S=[];k.1k=m.1k;m.1k=I;m.7q();A Q=k.Q=m.14.V;P(A i=0;i<m.9l.V;i++){A 3c=m.9l[i];k[3c]=28&&1H 28[3c]!=\'1W\'?28[3c]:m[3c]}q(!k.1d)k.1d=a.22;A el=(28&&28.81)?m.$(28.81):a;el=k.aj=el.2w(\'1M\')[0]||el;k.6G=el.1x||a.1x;q(!m.1B(k,\'f7\'))E K;P(A i=0;i<m.14.V;i++){q(m.14[i]&&m.14[i].a==a&&!(k.1k&&k.3d[1]==\'3C\')){m.14[i].3R();E 1h}}q(!m.f6)P(A i=0;i<m.14.V;i++){q(m.14[i]&&m.14[i].aj!=el&&!m.14[i].76){m.14[i].6O()}}m.14[Q]=k;q(!m.9B&&!m.2t){q(m.14[Q-1])m.14[Q-1].24();q(1H m.3e!=\'1W\'&&m.14[m.3e])m.14[m.3e].24()}k.el=el;k.1K=m.6I(el);m.7v();A x=k.x=1L m.6A(k,\'x\');x.9A();A y=k.y=1L m.6A(k,\'y\');y.9A();q(/5m/i.1b(el.3K))k.b1(el);k.U=m.1c(\'N\',{1x:\'L-U-\'+k.Q,1a:\'L-U \'+k.95},{1n:\'1q\',1j:\'2p\',1G:m.4k+=2},I,K);k.U.ff=k.U.fe=m.ac;q(k.3p==\'2G\'&&k.3J==2)k.3J=0;q(!k.1T||(k.1k&&k.2H&&k.3d[1]==\'3C\')){k[k.3p+\'9y\']()}J q(m.4m[k.1T]){k.9w();k[k.3p+\'9y\']()}J{k.6z();A B=k;1L m.5B(k.1T,C(){B.9w();B[B.3p+\'9y\']()})}E K};m.5P.5h={9k:C(e){2c.a1.22=k.1d},9w:C(){A 1f=k.1f=m.4m[k.1T];1f.B=k;1f.2j.G.1G=k.U.G.1G-1;m.4m[k.1T]=I},6z:C(){q(k.76||k.2s)E;k.2s=m.2s;A B=k;k.2s.2e=C(){B.6O()};q(!m.1B(k,\'f5\'))E;A B=k,l=k.x.Z(\'9z\')+\'F\',t=k.y.Z(\'9z\')+\'F\';q(!2X&&k.1k&&k.3d[1]==\'3C\')A 2X=k.1k;q(2X){l=2X.x.Z(\'9g\')+\'F\';t=2X.y.Z(\'9g\')+\'F\';k.2s.G.1G=m.4k++}4e(C(){q(B.2s)m.S(B.2s,{19:l,16:t,1G:m.4k++})},2D)},eW:C(){A B=k;A 1M=W.1c(\'1M\');k.R=1M;1M.4I=C(){q(m.14[B.Q])B.6i()};q(m.eV)1M.eU=C(){E 1h};1M.1a=\'L-2G\';m.S(1M,{1n:\'1q\',1o:\'3G\',1j:\'2p\',6N:\'4l\',1G:3});1M.29=m.Y.9P;q(m.4p)m.26.1Z(1M);q(m.1E&&m.eY)1M.1d=I;1M.1d=k.1d;k.6z()},eZ:C(){q(!m.1B(k,\'f3\'))E;k.R=m.9I(k.a);q(!k.R)k.R=m.4x(k.9i);q(!k.R)k.R=m.9p();k.8h([\'71\']);q(k.71){A 1e=m.4r(k.R,\'N\',\'L-1e\');q(1e)1e.1Z(k.71);k.71.G.1o=\'3G\'}m.1B(k,\'f0\');A 1s=k.1s=k.R;q(/(3y|1l)/.1b(k.2J))k.7V(1s);m.26.1Z(k.U);m.S(k.U,{1j:\'f1\',8r:\'0 \'+m.9C+\'F 0 \'+m.4A+\'F\'});k.R=m.1c(\'N\',{1a:\'L-3s\'},{1j:\'4B\',1G:3,2i:\'1q\'},k.U);k.43=m.1c(\'N\',I,I,k.R,1);k.43.1Z(1s);m.S(1s,{1j:\'4B\',1o:\'3G\',a0:m.Y.a6||\'\'});q(k.M)1s.G.M=k.M+\'F\';q(k.O)m.S(1s,{O:k.O+\'F\',2i:\'1q\'});q(1s.1P<k.4w)1s.G.M=k.4w+\'F\';q(k.2J==\'2R\'&&!m.9I(k.a)){k.6z();A B=k;A 2R=1L m.7P(k.a,1s);2R.1d=k.1d;2R.3v=C(){q(m.14[B.Q])B.6i()};2R.a3=C(){a1.22=B.1d};2R.9o()}J q(k.2J==\'1l\'&&k.3U==\'5N\'){k.6T()}J k.6i()},6i:C(){1t{q(!k.R)E;k.R.4I=I;q(k.76)E;J k.76=K;A x=k.x,y=k.y;q(k.2s){m.S(k.2s,{16:\'-4l\'});k.2s=I;m.1B(k,\'cp\')}q(k.2H){x.18=k.R.M;y.18=k.R.O;m.S(k.R,{M:x.t+\'F\',O:y.t+\'F\'});k.U.1Z(k.R);m.26.1Z(k.U)}J q(k.8p)k.8p();x.9Z();y.9Z();m.S(k.U,{19:(x.1K+x.3k-x.cb)+\'F\',16:(y.1K+x.3k-y.cb)+\'F\'});k.9e();k.bk();A 2V=x.18/y.18;x.9L();k.2W(x);y.9L();k.2W(y);q(k.2u)k.aE();q(k.1y)k.5q(0,1);q(k.5T){q(k.2H)k.cE(2V);J k.8F();A 1O=k.1p;q(1O&&k.1k&&1O.2S&&1O.aN){A H=1O.cy.1j||\'\',p;P(A 1v 30 m.9X)P(A i=0;i<5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(k.2u&&k.3U==\'6t\')k.6T();q(k.1l){1t{A B=k,2y=k.1l.9d||k.1l.63.W;m.2n(2y,\'8A\',C(){q(m.3e!=B.Q)B.3R()})}1u(e){}q(m.1E&&1H k.5A!=\'fV\')k.1l.G.M=(k.4f-1)+\'F\'}q(k.3H)m.1v(k);q(m.2t&&m.2t==k.a)m.2t=I;k.cI();A p=m.4F,88=m.7w.x+p.5C,83=m.7w.y+p.5z;k.8Z=k.x.H<88&&88<k.x.H+k.x.Z(\'2h\')&&k.y.H<83&&83<k.y.H+k.y.Z(\'2h\');q(k.1y)k.bv();m.1B(k,\'fU\')},cI:C(){A Q=k.Q;A 1T=k.1T;1L m.5B(1T,C(){1t{m.14[Q].cJ()}1u(e){}})},cJ:C(){A 1C=k.84(1);q(1C&&1C.2e.cz().2q(/m\\.2x/))A 1M=m.1c(\'1M\',{1d:m.7L(1C)})},84:C(2l){A 87=k.79(),as=m.4Q.3h[k.2B||\'1z\'];q(!as[87+2l]&&k.1p&&k.1p.8G){q(2l==1)E as[0];J q(2l==-1)E as[as.V-1]}E as[87+2l]||I},79:C(){A 2d=m.6v().3h[k.2B||\'1z\'];q(2d)P(A i=0;i<2d.V;i++){q(2d[i]==k.a)E i}E I},bi:C(){q(k[k.68]){A 2d=m.4Q.3h[k.2B||\'1z\'];q(2d){A s=m.Y.3T.2k(\'%1\',k.79()+1).2k(\'%2\',2d.V);k[k.68].2f=\'<N 1V="L-3T">\'+s+\'</N>\'+k[k.68].2f}}},9e:C(){q(!k.1k){P(A i=0;i<m.6o.V;i++){A 1O=m.6o[i],35=1O.2B;q(1H 35==\'1W\'||35===I||35===k.2B)k.1p=1L m.9Y(k.Q,1O)}}J{k.1p=k.1k.1p}A 1O=k.1p;q(!1O)E;A Q=1O.4c=k.Q;1O.bV();1O.5n(\'18-2x\');q(1O.2S){A o=1O.cy||{};o.4O=1O.2S;o.1Y=\'2S\';k.4T(o)}q(1O.2L)1O.2L.7G(k);q(!k.1k&&k.45)1O.3O(K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3e].24()}1u(e){}}A z=m.4k++,5F={1o:\'\',1G:z};m.S(k.U,5F);k.5A=1h;A o=k.1f||0;q(o){q(!k.3J)5F.1n=\'1q\';m.S(o.2j,5F)}q(k.1p){k.9e()}k.9c()}1u(e){}},4T:C(o){A el=o.4O,4Z=(o.bx==\'2A\'&&!/7R$/.1b(o.1j));q(1H el==\'9m\')el=m.4x(el);q(o.3s)el=m.1c(\'N\',{2f:o.3s});q(!el||1H el==\'9m\')E;q(!m.1B(k,\'f8\',{11:el}))E;el.G.1o=\'3G\';o.1Y=o.1Y||o.4O;q(k.3d[1]==\'3C\'&&k.bI(o,el))E;k.94();A M=o.M&&/^[0-9]+(F|%)$/.1b(o.M)?o.M:\'1N\';q(/^(19|2Y)7R$/.1b(o.1j)&&!/^[0-9]+F$/.1b(o.M))M=\'f9\';A 11=m.1c(\'N\',{1x:\'1Y\'+m.5x++,1Y:o.1Y},{1j:\'2p\',1n:\'1q\',M:M,a0:m.Y.a6||\'\',1A:0},4Z?m.2A:k.1y,K);q(4Z)11.73=k.Q;11.1Z(el);m.3Q(11,{1A:1,bw:0,bm:0,42:(o.5k===0||o.5k===1h||(o.5k==2&&m.1E))?0:5y});m.3Q(11,o);q(k.bp){k.5W(11);q(!11.7N||k.8Z)m.2v(11,{1A:11.1A},11.42)}m.2o(k.1S,m.5x-1)},5W:C(11){A p=11.1j||\'9f 41\',4Z=(11.bx==\'2A\'),6P=11.bw,6Y=11.bm;q(4Z){m.2A.G.1o=\'3G\';11.73=k.Q;q(11.1P>11.23.1P)11.G.M=\'2D%\'}J q(11.23!=k.1y)k.1y.1Z(11);q(/19$/.1b(p))11.G.19=6P+\'F\';q(/41$/.1b(p))m.S(11,{19:\'50%\',4A:(6P-1g.3a(11.1P/2))+\'F\'});q(/2Y$/.1b(p))11.G.2Y=-6P+\'F\';q(/^bn$/.1b(p)){m.S(11,{2Y:\'2D%\',9C:k.x.cb+\'F\',16:-k.y.cb+\'F\',4u:-k.y.cb+\'F\',2i:\'1N\'});k.x.1F=11.1P}J q(/^bl$/.1b(p)){m.S(11,{19:\'2D%\',4A:k.x.cb+\'F\',16:-k.y.cb+\'F\',4u:-k.y.cb+\'F\',2i:\'1N\'});k.x.3f=11.1P}A 9F=11.23.1U;11.G.O=\'1N\';q(4Z&&11.1U>9F)11.G.O=m.5j?9F+\'F\':\'2D%\';q(/^16/.1b(p))11.G.16=6Y+\'F\';q(/^9f/.1b(p))m.S(11,{16:\'50%\',5t:(6Y-1g.3a(11.1U/2))+\'F\'});q(/^4u/.1b(p))11.G.4u=-6Y+\'F\';q(/^5w$/.1b(p)){m.S(11,{19:(-k.x.1F-k.x.cb)+\'F\',2Y:(-k.x.3f-k.x.cb)+\'F\',4u:\'2D%\',6W:k.y.cb+\'F\',M:\'1N\'});k.y.1F=11.1U}J q(/^6L$/.1b(p)){m.S(11,{1j:\'4B\',19:(-k.x.1F-k.x.cb)+\'F\',2Y:(-k.x.3f-k.x.cb)+\'F\',16:\'2D%\',5t:k.y.cb+\'F\',M:\'1N\'});k.y.3f=11.1U;11.G.1j=\'2p\'}},bk:C(){k.8h([\'5v\',\'8d\'],K);k.bi();q(k.8d)m.1B(k,\'eD\');q(k.5v)m.1B(k,\'eE\');q(k.5v&&k.7X)k.5v.1a+=\' L-3t\';q(m.8x)k.bo();P(A i=0;i<m.1S.V;i++){A o=m.1S[i],6Z=o.81,35=o.2B;q((!6Z&&!35)||(6Z&&6Z==k.6G)||(35&&35===k.2B)){q(k.2H||(k.2u&&o.cw))k.4T(o)}}A 6F=[];P(A i=0;i<k.1S.V;i++){A o=m.$(\'1Y\'+k.1S[i]);q(/7R$/.1b(o.1j))k.5W(o);J m.2o(6F,o)}P(A i=0;i<6F.V;i++)k.5W(6F[i]);k.bp=K},94:C(){q(!k.1y)k.1y=m.1c(\'N\',{1a:k.95},{1j:\'2p\',M:(k.x.D||(k.3A?k.M:I)||k.x.18)+\'F\',O:(k.y.D||k.y.18)+\'F\',1n:\'1q\',2i:\'1q\',1G:m.1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*>.*?</bY>\',\'bW\'),\'\');q(k.1l){A 2y=k.1l.9d;q(!2y&&k.1l.63)2y=k.1l.63.W;q(!2y){A 3u=k;4e(C(){3u.64()},25);E}2y.bX();2y.dk(s);2y.24();1t{s=2y.9h(k.1x).2f}1u(e){1t{s=k.1l.W.9h(k.1x).2f}1u(e){}}m.3E(k.1l)}J{7b=/(<1e[^>]*>|<\\/1e>)/dh;q(7b.1b(s))s=s.7h(7b)[m.1E?1:2]}}m.4r(k.R,\'7a\',\'L-1e\').2f=s;k.3v();P(A x 30 k)k[x]=I}};m.9Y=C(4c,1r){q(m.dq!==1h)m.a5();k.4c=4c;P(A x 30 1r)k[x]=1r[x];q(k.co)k.c1();q(k.2L)k.2L=m.bS(k)};m.9Y.5h={c1:C(){k.2S=m.1c(\'N\',{2f:m.9O(m.9N.2S)},I,m.26);A 6g=[\'3O\',\'3l\',\'36\',\'1C\',\'3t\',\'18-2x\',\'24\'];k.1Q={};A 3u=k;P(A i=0;i<6g.V;i++){k.1Q[6g[i]]=m.4r(k.2S,\'1J\',\'L-\'+6g[i]);k.4q(6g[i])}k.1Q.3l.G.1o=\'1z\'},bV:C(){q(k.8G||!k.2S)E;A B=m.14[k.4c],5l=B.79(),2m=/78$/;q(5l==0)k.5n(\'36\');J q(2m.1b(k.1Q.36.2w(\'a\')[0].1a))k.4q(\'36\');q(5l+1==m.4Q.3h[B.2B||\'1z\'].V){k.5n(\'1C\');k.5n(\'3O\')}J q(2m.1b(k.1Q.1C.2w(\'a\')[0].1a)){k.4q(\'1C\');k.4q(\'3O\')}},4q:C(1Q){q(!k.1Q)E;A bP=k,a=k.1Q[1Q].2w(\'a\')[0],2m=/78$/;a.2e=C(){bP[1Q]();E 1h};q(2m.1b(a.1a))a.1a=a.1a.2k(2m,\'\')},5n:C(1Q){q(!k.1Q)E;A a=k.1Q[1Q].2w(\'a\')[0];a.2e=C(){E 1h};q(!/78$/.1b(a.1a))a.1a+=\' 78\'},bO:C(){q(k.45)k.3l();J k.3O()},3O:C(bQ){q(k.1Q){k.1Q.3O.G.1o=\'1z\';k.1Q.3l.G.1o=\'\'}k.45=K;q(!bQ)m.1C(k.4c)},3l:C(){q(k.1Q){k.1Q.3l.G.1o=\'1z\';k.1Q.3O.G.1o=\'\'}dv(k.45);k.45=I},36:C(){k.3l();m.36(k.1Q.36)},1C:C(){k.3l();m.1C(k.1Q.1C)},3t:C(){},\'18-2x\':C(){m.2E().7c()},24:C(){m.24(k.1Q.24)}};m.bS=C(1p){C 7G(B){m.3Q(1r||{},{4O:4E,1Y:\'2L\',1a:\'L-2L-\'+52+\'-11 \'+(1r.1a||\'\')});q(m.5j)1r.5k=0;B.4T(1r);m.S(4E.23,{2i:\'1q\'})};C 2b(3B){53(1W,1g.3a(3B*4E[3S?\'1P\':\'1U\']*0.7))};C 53(i,8c){q(i===1W)P(A j=0;j<6r.V;j++){q(6r[j]==m.14[1p.4c].a){i=j;5i}}q(i===1W)E;A as=4E.2w(\'a\'),4G=as[i],49=4G.23,19=3S?\'c2\':\'c3\',2Y=3S?\'ce\':\'cd\',M=3S?\'cf\':\'cg\',4S=\'1w\'+19,1P=\'1w\'+M,7e=N.23.23[1P],5g=7e-2j[1P],60=3w(2j.G[3S?\'19\':\'16\'])||0,2N=60,db=20;q(8c!==1W){2N=60-8c;q(5g>0)5g=0;q(2N>0)2N=0;q(2N<5g)2N=5g}J{P(A j=0;j<as.V;j++)as[j].1a=\'\';4G.1a=\'L-4G-3Z\';A 98=i>0?as[i-1].23[4S]:49[4S],8q=49[4S]+49[1P]+(as[i+1]?as[i+1].23[1P]:0);q(8q>7e-60)2N=7e-8q;J q(98<-60)2N=-98}A 8n=49[4S]+(49[1P]-7s[1P])/2+2N;m.2v(2j,3S?{19:2N}:{16:2N},I,\'8m\');m.2v(7s,3S?{19:8n}:{16:8n},I,\'8m\');7T.G.1o=2N<0?\'3G\':\'1z\';7Z.G.1o=(2N>5g)?\'3G\':\'1z\'};A 6r=m.4Q.3h[m.14[1p.4c].2B||\'1z\'],1r=1p.2L,52=1r.52||\'c7\',7S=(52==\'d6\'),4h=7S?[\'N\',\'6l\',\'1J\',\'1D\']:[\'2j\',\'4U\',\'4i\',\'2I\'],3S=(52==\'c7\'),4E=m.1c(\'N\',{1a:\'L-2L L-2L-\'+52,2f:\'<N 1V="L-2L-ec">\'+\'<\'+4h[0]+\'><\'+4h[1]+\'></\'+4h[1]+\'></\'+4h[0]+\'></N>\'+\'<N 1V="L-2b-1I"><N></N></N>\'+\'<N 1V="L-2b-ed"><N></N></N>\'+\'<N 1V="L-7s"><N></N></N>\'},{1o:\'1z\'},m.26),6p=4E.7u,N=6p[0],7T=6p[1],7Z=6p[2],7s=6p[3],2j=N.ee,4U=4E.2w(4h[1])[0],4i;P(A i=0;i<6r.V;i++){q(i==0||!3S)4i=m.1c(4h[2],I,I,4U);(C(){A a=6r[i],49=m.1c(4h[3],I,I,4i),ea=i;m.1c(\'a\',{22:a.22,2e:C(){m.2E(k).3R();E m.7W(a)},2f:m.bN?m.bN(a):a.2f},I,49)})()}q(!7S){7T.2e=C(){2b(-1)};7Z.2e=C(){2b(1)};m.2n(4U,W.e5!==1W?\'e6\':\'e7\',C(e){A 3B=0;e=e||2c.2z;q(e.br){3B=e.br/ep;q(m.3F)3B=-3B}J q(e.bs){3B=-e.bs/3}q(3B)2b(-3B*0.2);q(e.59)e.59();e.bt=1h})}E{7G:7G,53:53}};m.7H=m.Y;A eh=m.5P;q(m.1E){(C(){1t{W.5u.e4(\'19\')}1u(e){4e(bj.dK,50);E}m.4a()})()}m.2n(W,\'dP\',m.4a);m.2n(2c,\'8u\',m.4a);m.2n(W,\'4a\',C(){q(m.7I||m.3H){A G=m.1c(\'G\',{T:\'dZ/7U\'},I,W.2w(\'e1\')[0]);C 5U(97,8t){q(!m.1E){G.1Z(W.dU(97+" {"+8t+"}"))}J{A 1k=W.bH[W.bH.V-1];q(1H(1k.5U)=="7K")1k.5U(97,8t)}}C 5G(1i){E\'ef( ( ( e8 = W.5u.\'+1i+\' ? W.5u.\'+1i+\' : W.1e.\'+1i+\' ) ) + \\\'F\\\' );\'}q(m.7I)5U(\'.L 1M\',\'4K: 7J(\'+m.4n+m.7I+\'), 7C !dD;\');5U(\'.L-2A-D\',m.1E&&(m.3N<7||W.7B==\'8S\')?\'1j: 2p; \'+\'19:\'+5G(\'5C\')+\'16:\'+5G(\'5z\')+\'M:\'+5G(\'8R\')+\'O:\'+5G(\'bL\'):\'1j: d7; M: 2D%; O: 2D%; 19: 0; 16: 0\')}});m.2n(2c,\'47\',C(){m.7v();q(m.2A)P(A i=0;i<m.2A.7u.V;i++){A 1R=m.2A.7u[i],B=m.2E(1R);B.5W(1R);q(1R.1Y==\'2L\')B.1p.2L.53()}});m.2n(W,\'7t\',C(e){m.7w={x:e.7x,y:e.7A}});m.2n(W,\'8A\',m.8C);m.2n(W,\'bG\',m.8C);m.2n(W,\'4a\',m.bF);m.2n(2c,\'8u\',m.bA);m.2n(2c,\'8u\',m.bz)}m.4n=\'L/bB/\';m.8x=1h;m.1T=\'3m\';m.3H=0.65;m.5H=0;m.7z=0;m.7y=\'41\';m.5o=K;m.cR({3s:\'<N 1V="dG" 2e="E m.24(k)" 29="8I"></N>\',1j:\'16 2Y\',cw:K,5k:2});m.cr({2B:\'cM\',cn:e9,8G:K,co:1h});A de={2B:\'cM\',3d:[\'2x\',\'3C\']};',62,994,'||||||||||||||||||||this||hs||||if||||||||||var|exp|function|size|return|px|style|pos|null|else|true|highslide|width|div|height|for|key|content|setStyles|type|wrapper|length|document||lang|get||overlay|||expanders||top||full|left|className|test|createElement|src|body|outline|Math|false|prop|position|last|iframe|els|visibility|display|slideshow|hidden|options|innerContent|try|catch|dim|offset|id|overlayBox|none|opacity|fireEvent|next|span|ie|p1|zIndex|typeof|up|li|tpos|new|img|auto|ss|offsetWidth|btn|node|overlays|outlineType|offsetHeight|class|undefined|imgSize|hsId|appendChild||visible|href|parentNode|close||container||params|title|case|scroll|window|arr|onclick|innerHTML|to|wsize|overflow|table|replace|op|re|addEventListener|push|absolute|match|scrollerDiv|loading|upcoming|isHtml|animate|getElementsByTagName|expand|doc|event|viewport|slideshowGroup|dragArgs|100|getExpander|target|image|isImage|td|objectType|args|thumbstrip|imgPad|tblPos|minSize|easing|xhr|ajax|controls|dimmer|hiddenBy|ratio|justify|tgt|right|xSize|in|elem||||sg|previous||||round|min|name|transitions|focusKey|p2|marginMin|groups|lastX|lastY|tb|pause|custom|ucwh|val|contentType|wh|xpos|html|move|pThis|onLoad|parseInt|clearing|swf|opt|useBox|delta|crossfade|hasDragged|discardElement|opera|block|dimmingOpacity|changed|outlineWhileAnimating|tagName|elPos|step|uaVersion|play|func|extend|focus|isX|number|objectLoadTime|graphic|releaseMask|getParam|yp1|anchor||center|dur|mediumContent|ySize|autoplay|xp1|resize|styles|cell|ready|duration|expKey|timers|setTimeout|objectWidth|attribs|tree|tr|tgtArr|zIndexCounter|9999px|pendingOutlines|graphicsDir|sleeping|safari|enable|getElementByClass|blurExp|preserveContent|bottom|max|minWidth|getNode|start|unit|marginLeft|relative|now|clientSize|dom|page|active|objectHeight|onload|clone|cursor|ypos|invPos|navigator|overlayId|marginMax|anchors|setPosition|offsetLeft|createOverlay|tbody|fitsize|fadeBox|moveOnly|doShowHide|relToVP||RegExp|mode|selectThumb|hDiff|scrollingContent|wDiff|allowReduce|htmls|preventDefault|cacheBindings|images|end|removeEventListener|cNode|ruler|minTblPos|prototype|break|ieLt7|fade|cur|area|disable|padToMinWidth|Id|sizeOverlayBox|styleRestoreCursor|while|marginTop|documentElement|heading|above|idCounter|250|scrollTop|isClosing|Outline|scrollLeft|toLowerCase|filter|stl|fix|expandDuration|mask|destroy|fac|xsize|afterClose|before|minX|Expander|trans|uclt|ysize|allowSizeReduction|addRule|iebody|positionOverlay|minHeight|currentStyle|minY|curTblPos|param|all|contentWindow|loadHTML||getParams|maxY|numberPosition|restoreCursor|parent|cloneNode|opos|maxX|obj|userAgent|buttons|owner|contentLoaded|setAttribute|credits|ul|on|cache|slideshows|domCh|iDoc|group|preloadTheseImages|after|geckoMac|getAnchors|matches|isExpanded|over|showLoading|Dimension|kdeBugCorr|yimgPad|showHideElements|allowWidthReduction|os|thumbsUserSetId|dragHandler|getPosition|wrapperKey|lt|below|keyHandler|maxWidth|cancelLoading|offX|dir|oDiv|afterExpand|writeExtendedContent|allowHeightReduction|setSize|marginBottom|isHsAnchor|offY|tId||maincontent|ximgPad|hsKey|complete||onLoadStarted|getTime|disabled|getAnchorIndex|DIV|regBody|doFullExpand|element|overlayWidth|adj|previousOrNext|split|cachedGets|self|gotoEnd|curAnim|Date|onReady|pre|preloadFullImage|init|topmostKey|marker|mousemove|childNodes|getPageSize|mouse|clientX|align|restoreDuration|clientY|compatMode|pointer|imgs|rel|preloadTheseAjax|add|langDefaults|expandCursor|url|object|getSrc|expOnly|hideOnMouseOut|fullExpandLabel|Ajax|destroyOverlays|panel|floatMode|scrollUp|css|setObjContainerSize|transit|dragByHeading|preloadAjaxElement|scrollDown|parseFloat|thumbnailId|fullExpandTitle|mY|getAdjacentAnchor|topZ|cacheAjax|current|mX|offsetTop|dimmingDuration|defaultView|scrollBy|caption|ucrb|osize|ie6|getInline|swfOptions|clones|Text|correctIframeSize|easeOutQuad|markerPos|state|htmlGetSize|activeRight|padding|types|dec|load|startOff|endOff|showCredits|from|names|mousedown|border|mouseClickHandler|doWrapper|other|fitOverlayBox|repeat|maxsize|Close|Click|arrow|hasMovedMin|getIframePageHeight|previousTitle|previousText|yp2|xp2|clientWidth|BackCompat|hasAlphaImageLoader|getWrapperKey|closeText|closeTitle|moveText|moveTitle|mouseIsOver|nextTitle|background|removeChild|nextText|genOverlayBox|wrapperClassName|props|sel|activeLeft||relatedTarget|srcElement|show|contentDocument|initSlideshow|middle|loadingPosXfade|getElementById|contentId|update|error|overrides|string|garbageBin|run|getSelfRendered|numberOfImagesToPreload|keypress|undim|swfobject|changeSize|getElementContent|connectOutline|form|Create|loadingPos|calcThumb|allowMultipleInstances|marginRight|margin|keydown|parOff|openerTagNames|htmlExpand|getCacheBinding|distance|hasFocused|calcExpanded|abs|skin|replaceLang|restoreTitle|blur|moveTo|origProp|evt|sizeDiff|resizeTo|startTime|oPos|Slideshow|calcBorders|direction|location|isReady|onError|setPos|updateAnchors|cssDirection|continuePreloading|maxHeight|done|Play|Highslide|wrapperMouseHandler|easeInQuad|200|and|toUpperCase|JS|Pause|thumb|pauseTitle|Next|timerId|playText|playTitle|pauseText|Previous|Move||orig|call|fullExpandText|spacebar|vis|headingOverlay|switch|clickY|both|clear|pow|htmlSizeOperations|hide|KDE|vendor|_0|clickX|newHeight|hasHtmlExpanders|enableKeyListener|fixedControls|focusTopmost|dimmingGeckoFix|wmode|hasExtendedContent|attributes|flashvars|isUnobtrusiveAnchor|hsHasSetClick|appendTo|png|resizeTitle|targetX|onGraphicLoad|getImageMapAreaCorrection|loadingText|loadingTitle|ltr|preloadGraphic|targetY|alpha|detachEvent|offsetParent|contentWrapper|nopad|tag|rb|captionOverlay|rv|loadingOpacity|hand|getNumber|arguments|getOverlays|rightpanel|offsetY|leftpanel|writeCredits|gotOverlays|createFullExpand|wheelDelta|detail|returnValue|doPanels|showOverlays|offsetX|relativeTo||preloadAjax|preloadImages|graphics|focusTitle|clearsY|indexOf|setClickEvents|mouseup|styleSheets|reuseOverlay|destroyObject|htmlPrepareClose|clientHeight|javascript|stripItemFormatter|hitSpace|sls|wait|setRequestHeader|Thumbstrip|XMLHttpRequest|tmpMin|checkFirstAndLast|gi|open|script|cachedGet|ie6SSL|getControls|Left|Top|reOrder|ActiveXObject|sleep|horizontal|fullExpandPosition|fullExpandOpacity|Microsoft||XMLHTTP|Bottom|Right|Width|Height|readyState|clearsX|awake|creditsTarget|creditsText|creditsHref|interval|useControls|onHideLoading|creditsPosition|addSlideshow|addOverlay|Overlay|nextSibling|_|useOnHtml|Eval|overlayOptions|toString|525|transitionDuration|Safari|fadeInOut|correctRatio|easingClose|ximgSize|yimgSize|prepareNextOutline|preloadNext|newImg|oldImg|group1|hideSelects|creditsTitle|getPropertyValue|getComputedStyle|registerOverlay|getAttribute|hideIframes|onKeyDown|keyCode|1001|Go|htmlE|shadow|the|zoomout|zoomin|dimming|Resize|header|float|fixed|esc|onDimmerClick|Powered|mgnRight|geckodimmer|homepage|config1|actual|dragSensitivity|ig|sqrt|front|write|bring|cancel|http|mouseover|onDrag|dynamicallyUpdateAnchors|Expand|button|drop|keys|clearTimeout|onImageClick|_1|01|white|com|onDrop|xpand|important|removeAttribute|maincontentId|closebutton|maincontentText|Use|headingEval|callee|headingId|headingText|Image|of|DOMContentLoaded|maincontentEval|it|Trident|fromElement|createTextNode|ra|Macintosh|||text|Gecko|HEAD|click|captionEval|doScroll|onmousewheel|mousewheel|DOMMouseScroll|ignoreMe|5000|pI|footer|inner|down|firstChild|expression|onSetClickEvent|HsExpander|pageXOffset|innerHeight|innerWidth||pageYOffset|useMap|captionId|120|captionText|outlineStartOffset|drag|www|DXImageTransform|AlphaImageLoader|progid|transparent|embedSWF|sizingMethod|scale|flash|IFRAME|onAfterGetCaption|onAfterGetHeading|version|expressInstallSwfurl|eval|cellSpacing|onBeforeGetHeading|onCreateFullExpand|collapse|lineHeight|SELECT|outlines|outlinesDir|fontSize|toElement|frameborder|onBlur|oncontextmenu|blockRightClick|imageCreate|onBeforeClose|flushImgSize|htmlCreate|onAfterGetContent|static|onFocus|onBeforeGetContent|default|onShowLoading|allowSimultaneousLoading|onInit|onCreateOverlay|200px|newWidth|removeSWF|fit|StopPlay|onmouseout|onmouseover|onBeforeGetCaption|borderCollapse|linearTween|Type|1px|paddingTop|application|onActivate|Content|clip|onDoFullExpand|With|onBeforeExpand|urlencoded|send|attachEvent|link||onMouseOut|onMouseOver|floor|reflow|responseText|https|protocol|about|blank|GET|Requested|forceAjaxReload|splice|setInterval|dummy|300|clearInterval|onreadystatechange|nodeName|insertBefore|500|Msxml2|onAfterExpand|boolean|rect|onAfterClose|shape|coords|circle|reuse'.split('|'),0,{}))

hs.graphicsDir = 'http://www.freemake.com/highslide/graphics/';

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18256617-1']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();


/* VK and openapi?22 */
(function(w) {
if (w.fastXDM) return;

var handlers = {};
var onEnvLoad = [];
var env = {};

// Key generation
function genKey() {
  var key = '';
  for (i=0;i<5;i++) key += Math.ceil(Math.random()*15).toString(16);
  return key;
}
function waitFor(obj, prop, func, self,  count) {
  if (obj[prop]) {
     func.apply(self);
  } else {
    count = count || 0;
    if (count < 1000) setTimeout(function() {
      waitFor(obj, prop, func, self, count + 1)
    }, 0);
  }
}
function attachScript(url) {
  setTimeout(function() {
    var newScript = document.createElement('script');
    newScript.type = 'text/javascript';
    newScript.src = url || w.fastXDM.helperUrl;
    waitFor(document, 'body', function() {
      document.getElementsByTagName('HEAD')[0].appendChild(newScript);
    });
  }, 0);
}

// Env functions
function getEnv(callback, self) {
  if (env.loaded) {
    callback.apply(self, [env]);
  } else {
    onEnvLoad.push([self, callback]);
  }
}

function envLoaded() {
  env.loaded = true;
  var i = onEnvLoad.length;
  while (i--) {
    onEnvLoad[i][1].apply(onEnvLoad[i][0], [env]);
  }
}

function applyMethod(strData, self) {
  getEnv(function(env) {
    var data = env.json.parse(strData);
    if (data[0]) {
      if (!data[1]) data[1] = [];
      var i = data[1].length;
      while (i--) {
        if (data[1][i]._func) {
          var funcNum = data[1][i]._func;
          data[1][i] = function() {
            var args = Array.prototype.slice.call(arguments);
            args.unshift('_func'+funcNum);
            self.callMethod.apply(self, args);
          }
        }
      }
      setTimeout(function() {
        if (!self.methods[data[0]]) throw Error('fastXDM: Method ' + data[0] + ' is undefined');
        self.methods[data[0]].apply(self, data[1]);
      }, 0);
    }
  });
}
// XDM object
w.fastXDM = {
  _id: 0,
  helperUrl: 'http://userapi.com/js/api/xdmHelper.js',

  Server: function(methods, filter) {
    this.methods = methods || {};
    this.id = w.fastXDM._id++;
    this.filter = filter;
    this.key = genKey();
    this.methods['%init%'] = this.methods['__fxdm_i'] = function() {
      w.fastXDM.run(this.id);
      if (this.methods['onInit']) this.methods['onInit']();
    };
    this.frameName = 'fXD'+this.key;
    this.server = true;
    handlers[this.key] = [applyMethod, this];
  },

  Client: function(methods) {
    this.methods = methods || {};
    this.id = w.fastXDM._id++;
    w.fastXDM.run(this.id);
    if (window.name.indexOf('fXD') == 0) {
      this.key = window.name.substr(3);
    } else {
      throw Error('Wrong window.name property.');
    }
    this.caller = window.parent;
    handlers[this.key] = [applyMethod, this];
    this.client = true;

    w.fastXDM.on('helper', function() {
      w.fastXDM.onClientStart(this);
    }, this);

    getEnv(function(env) {
      env.send(this, env.json.stringify(['%init%']));
      var methods = this.methods;
      setTimeout(function() {
        if (methods['onInit']) methods['onInit']();
      }, 0);
    }, this);
  },

  onMessage: function(e) {
    if (!e.data) return false;
    var key = e.data.substr(0, 5);
    if (handlers[key]) {
      var self = handlers[key][1];
      if (self && (!self.filter || self.filter(e.origin))) {
        handlers[key][0](e.data.substr(6), self);
      }
    }
  },

  setJSON: function(json) {
    env.json = json;
  },

  getJSON: function(callback) {
    if (!callback) return env.json;
    getEnv(function(env) {
      callback(env.json);
    });
  },

  setEnv: function(exEnv) {
    for (i in exEnv) {
      env[i] = exEnv[i];
    }
    envLoaded();
  },

  _q: {},

  on: function(key, act, self) {
    if (!this._q[key]) this._q[key] = [];
    if (this._q[key] == -1) {
      act.apply(self);
    } else {
      this._q[key].push([act, self]);
    }
  },

  run: function(key) {
    var len = (this._q[key] || []).length;
    if (this._q[key] && len > 0) {
      for (var i = 0; i < len; i++) this._q[key][i][0].apply(this._q[key][i][1]);
    }
    this._q[key] = -1;
  },

  waitFor: waitFor
}

w.fastXDM.Server.prototype.start = function(obj, count) {
  if (obj.contentWindow) {
    this.caller = obj.contentWindow;
    this.frame = obj;

    w.fastXDM.on('helper', function() {
      w.fastXDM.onServerStart(this);
    }, this);

  } else { // Opera old versions
    var self = this;
    count = count || 0;
    if (count < 50) setTimeout(function() {
      self.start.apply(self, [obj, count+1]);
    }, 100);
  }
}

function extend(obj1, obj2){
  for (var i in obj2) {
    if (obj1[i] && typeof(obj1[i]) == 'object') {
      extend(obj1[i], obj2[i])
    } else {
      obj1[i] = obj2[i];
    }
  }
}

w.fastXDM.Server.prototype.append = function(obj, options) {
  var div = document.createElement('DIV');
  div.innerHTML = '<iframe name="'+this.frameName+'" />';
  var frame = div.firstChild;
  var self = this;
  setTimeout(function() {
    frame.frameBorder = '0';
    if (options) extend(frame, options);
    obj.insertBefore(frame, obj.firstChild);
    self.start(frame);
  }, 0);
  return frame;
}

w.fastXDM.Client.prototype.callMethod = w.fastXDM.Server.prototype.callMethod = function() {
  var args = Array.prototype.slice.call(arguments);
  var method = args.shift();
  var i = args.length;
  while (i--) {
    if (typeof(args[i]) == 'function') {
      this.funcsCount = (this.funcsCount || 0) + 1;
      var func = args[i];
      var funcName = '_func' + this.funcsCount;
      this.methods[funcName] = function() {
        func.apply(this, arguments);
        delete this.methods[funcName];
      }
      args[i] = {_func: this.funcsCount};
    }
  }
  waitFor(this, 'caller', function() {
    w.fastXDM.on(this.id, function() {
      getEnv(function(env) {
        env.send(this, env.json.stringify([method, args]));
      }, this);
    }, this);
  }, this);
}

if (w.JSON && typeof(w.JSON) == 'object' && w.JSON.parse && w.JSON.stringify && w.JSON.stringify({a:[1,2,3]}).replace(/ /g, '') == '{"a":[1,2,3]}') {
  env.json = {parse: w.JSON.parse, stringify: w.JSON.stringify};
} else {
  w.fastXDM._needJSON = true;
}

// PostMessage cover
if (w.postMessage) {
  env.protocol = 'p';
  env.send = function(xdm, strData) {
    // alert(key+':'+strData);
    xdm.caller.postMessage(xdm.key+':'+strData, "*");
  }
  if (w.addEventListener) {
    w.addEventListener("message", w.fastXDM.onMessage, false);
  } else {
    w.attachEvent("onmessage", w.fastXDM.onMessage);
  }

  if (w.fastXDM._needJSON) {
    w.fastXDM._onlyJSON = true;
    attachScript();
  } else {
    envLoaded();
  }
} else {
  attachScript();
}
})(window);


if (!window.VK) window.VK = {};


/*
 * Based on JavaScript implementation of the RSA Data Security, Inc. MD5 Message
 * Copyright (C) Paul Johnston 1999 - 2009
 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
 * Distributed under the BSD License
 */
if(!VK.MD5){VK.MD5=function(n){var j=function(o,r){var q=(o&65535)+(r&65535),p=(o>>16)+(r>>16)+(q>>16);return(p<<16)|(q&65535)},g=function(o,p){return(o<<p)|(o>>>(32-p))},k=function(w,r,p,o,v,u){return j(g(j(j(r,w),j(o,u)),v),p)},a=function(q,p,w,v,o,u,r){return k((p&w)|((~p)&v),q,p,o,u,r)},h=function(q,p,w,v,o,u,r){return k((p&v)|(w&(~v)),q,p,o,u,r)},c=function(q,p,w,v,o,u,r){return k(p^w^v,q,p,o,u,r)},m=function(q,p,w,v,o,u,r){return k(w^(p|(~v)),q,p,o,u,r)},b=function(A,u){var z=1732584193,y=-271733879,w=-1732584194,v=271733878,r,q,p,o;A[u>>5]|=128<<((u)%32);A[(((u+64)>>>9)<<4)+14]=u;for(var t=0,s=A.length;t<s;t+=16){r=z;q=y;p=w;o=v;z=a(z,y,w,v,A[t+0],7,-680876936);v=a(v,z,y,w,A[t+1],12,-389564586);w=a(w,v,z,y,A[t+2],17,606105819);y=a(y,w,v,z,A[t+3],22,-1044525330);z=a(z,y,w,v,A[t+4],7,-176418897);v=a(v,z,y,w,A[t+5],12,1200080426);w=a(w,v,z,y,A[t+6],17,-1473231341);y=a(y,w,v,z,A[t+7],22,-45705983);z=a(z,y,w,v,A[t+8],7,1770035416);v=a(v,z,y,w,A[t+9],12,-1958414417);w=a(w,v,z,y,A[t+10],17,-42063);y=a(y,w,v,z,A[t+11],22,-1990404162);z=a(z,y,w,v,A[t+12],7,1804603682);v=a(v,z,y,w,A[t+13],12,-40341101);w=a(w,v,z,y,A[t+14],17,-1502002290);y=a(y,w,v,z,A[t+15],22,1236535329);z=h(z,y,w,v,A[t+1],5,-165796510);v=h(v,z,y,w,A[t+6],9,-1069501632);w=h(w,v,z,y,A[t+11],14,643717713);y=h(y,w,v,z,A[t+0],20,-373897302);z=h(z,y,w,v,A[t+5],5,-701558691);v=h(v,z,y,w,A[t+10],9,38016083);w=h(w,v,z,y,A[t+15],14,-660478335);y=h(y,w,v,z,A[t+4],20,-405537848);z=h(z,y,w,v,A[t+9],5,568446438);v=h(v,z,y,w,A[t+14],9,-1019803690);w=h(w,v,z,y,A[t+3],14,-187363961);y=h(y,w,v,z,A[t+8],20,1163531501);z=h(z,y,w,v,A[t+13],5,-1444681467);v=h(v,z,y,w,A[t+2],9,-51403784);w=h(w,v,z,y,A[t+7],14,1735328473);y=h(y,w,v,z,A[t+12],20,-1926607734);z=c(z,y,w,v,A[t+5],4,-378558);v=c(v,z,y,w,A[t+8],11,-2022574463);w=c(w,v,z,y,A[t+11],16,1839030562);y=c(y,w,v,z,A[t+14],23,-35309556);z=c(z,y,w,v,A[t+1],4,-1530992060);v=c(v,z,y,w,A[t+4],11,1272893353);w=c(w,v,z,y,A[t+7],16,-155497632);y=c(y,w,v,z,A[t+10],23,-1094730640);z=c(z,y,w,v,A[t+13],4,681279174);v=c(v,z,y,w,A[t+0],11,-358537222);w=c(w,v,z,y,A[t+3],16,-722521979);y=c(y,w,v,z,A[t+6],23,76029189);z=c(z,y,w,v,A[t+9],4,-640364487);v=c(v,z,y,w,A[t+12],11,-421815835);w=c(w,v,z,y,A[t+15],16,530742520);y=c(y,w,v,z,A[t+2],23,-995338651);z=m(z,y,w,v,A[t+0],6,-198630844);v=m(v,z,y,w,A[t+7],10,1126891415);w=m(w,v,z,y,A[t+14],15,-1416354905);y=m(y,w,v,z,A[t+5],21,-57434055);z=m(z,y,w,v,A[t+12],6,1700485571);v=m(v,z,y,w,A[t+3],10,-1894986606);w=m(w,v,z,y,A[t+10],15,-1051523);y=m(y,w,v,z,A[t+1],21,-2054922799);z=m(z,y,w,v,A[t+8],6,1873313359);v=m(v,z,y,w,A[t+15],10,-30611744);w=m(w,v,z,y,A[t+6],15,-1560198380);y=m(y,w,v,z,A[t+13],21,1309151649);z=m(z,y,w,v,A[t+4],6,-145523070);v=m(v,z,y,w,A[t+11],10,-1120210379);w=m(w,v,z,y,A[t+2],15,718787259);y=m(y,w,v,z,A[t+9],21,-343485551);z=j(z,r);y=j(y,q);w=j(w,p);v=j(v,o)}return[z,y,w,v]},f=function(r){var q="",s=-1,p=r.length,o,t;while(++s<p){o=r.charCodeAt(s);t=s+1<p?r.charCodeAt(s+1):0;if(55296<=o&&o<=56319&&56320<=t&&t<=57343){o=65536+((o&1023)<<10)+(t&1023);s++}if(o<=127){q+=String.fromCharCode(o)}else{if(o<=2047){q+=String.fromCharCode(192|((o>>>6)&31),128|(o&63))}else{if(o<=65535){q+=String.fromCharCode(224|((o>>>12)&15),128|((o>>>6)&63),128|(o&63))}else{if(o<=2097151){q+=String.fromCharCode(240|((o>>>18)&7),128|((o>>>12)&63),128|((o>>>6)&63),128|(o&63))}}}}}return q},e=function(p){var o=Array(p.length>>2),r,q;for(r=0,q=o.length;r<q;r++){o[r]=0}for(r=0,q=p.length*8;r<q;r+=8){o[r>>5]|=(p.charCodeAt(r/8)&255)<<(r%32)}return o},l=function(p){var o="";for(var r=0,q=p.length*32;r<q;r+=8){o+=String.fromCharCode((p[r>>5]>>>(r%32))&255)}return o},d=function(o){return l(b(e(o),o.length*8))},i=function(q){var t="0123456789abcdef",p="",o;for(var s=0,r=q.length;s<r;s++){o=q.charCodeAt(s);p+=t.charAt((o>>>4)&15)+t.charAt(o&15)}return p};return i(d(f(n)))}};

/*
 * VKontakte Open API JavaScript library
 * http://vkontakte.ru/
 */

VK.extend = function(target, source, overwrite) {
  for (var key in source) {
    if (overwrite || typeof target[key] === 'undefined') {
      target[key] = source[key];
    }
  }
  return target;
};


if (!VK.xdConnectionCallbacks) {

VK.extend(VK, {
  _apiId: null,
  _session: null,
  _userStatus: 'unknown',
  _domain: {
    'main': 'http://vkontakte.ru/',
    'api': 'http://api.vkontakte.ru/',
    'apiPath': 'api.php'
  },
  _path: {
    login: 'login.php',
    proxy: 'fxdm_proxy_.html'
  },
  _rootId: 'vk_api_transport',
  _nameTransportPath: '',
  xdReady: false,
  access: {
    FRIENDS:   0x2,
    PHOTOS:    0x4,
    AUDIO:     0x8,
    VIDEO:     0x10,
    MATCHES:   0x20,
    QUESTIONS: 0x40,
    WIKI:      0x80
  }
}, true);

VK.init = function(options) {
  var body, root;

  if (!options.apiId) {
    throw 'VK.init() called without an apiId'
  }
  VK._apiId = options.apiId;

  if (options.vk) {
    VK._domain.main = 'http://vk.com/';
  }

  if (options.onlyWidgets) return true;

  if (options.nameTransportPath && options.nameTransportPath != '') {
    VK._nameTransportPath = options.nameTransportPath;
  }

  root = document.getElementById(VK._rootId);
  if (!root) {
    root = document.createElement('div');
    root.id = VK._rootId;
    body = document.getElementsByTagName('body')[0];
    body.insertBefore(root, body.childNodes[0]);
  }
  root.style.position = 'absolute';
  root.style.top = '-10000px';

  var session = VK.Cookie.load();
  if (session) {
    VK.Auth._loadState = 'loaded';
    VK.Auth.setSession(session, session ? 'connected' : 'unknown');
  }
  //this._lazyInit();
};

if(!VK.Cookie) {
  VK.Cookie = {
    _domain: null,
    load: function() {
      var
        cookie = document.cookie.match('\\bvk_app_' + VK._apiId + '=([^;]*)\\b'),
        session;

      if (cookie) {
        session = this.decode(cookie[1]);
        session.expire = parseInt(session.expire, 10);
        VK.Cookie._domain = '.' + window.location.hostname;//session.base_domain;
      }

      return session;
    },
    setRaw: function(val, ts, domain) {
      var
        rawCookie;

      rawCookie = 'vk_app_' + VK._apiId + '=' + val + '';
      rawCookie += (val && ts == 0 ? '' : '; expires=' + new Date(ts * 1000).toGMTString());
      rawCookie += '; path=/';
      rawCookie += (domain ? '; domain=.' + domain : '');
      document.cookie = rawCookie;

      this._domain = domain;
    },
    set: function(session) {
      session
        ? this.setRaw(this.encode(session), session.expire, window.location.hostname)
        : this.clear();
    },
    clear: function() {
      this.setRaw('', 0, this._domain);
    },
    encode: function(params) {
      var
        pairs = [],
        key;

      for(key in params) {
        if (key != 'user') pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(params[key]));
      }
      pairs.sort();

      return pairs.join('&');
    },
    decode: function(str) {
      var
        params = {},
        parts = str.split('&'),
        i,
        pair;

      for (i=0; i < parts.length; i++) {
        pair = parts[i].split('=', 2);
        if (pair && pair[0]) {
          params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);
        }
      }

      return params;
    }
  }
}

if(!VK.Api) {
  VK.Api = {
    _headId: null,
    _callbacks: {},
    ie6_7: function() {
      if (!VK.Api.ieTested) {
        VK.Api.isIE6_7 = navigator.userAgent.match(/MSIE [6|7]/i);
        VK.Api.ieTested = true;
      }
      return VK.Api.isIE6_7;
    },
    attachScript: function(url) {
      if (!VK.Api._headId) VK.Api._headId = document.getElementsByTagName("head")[0];
      var newScript = document.createElement('script');
      newScript.type = 'text/javascript';
      newScript.setAttribute('encoding', 'UTF-8');
      newScript.src = url;
      VK.Api._headId.appendChild(newScript);
    },
    checkMethod: function(method, params, cb, queryTry) {
      var m = method.toLowerCase();
      if (m == 'wall.post' || m == 'activity.set') {
        var text = (m == 'activity.set') ? params['text'] : params['message'];
        var query =  'http://vkontakte.ru/apps.php?act=a_prepare_post&widget=1&aid='+parseInt(VK._apiId)+'&text='+encodeURIComponent(text);
        if (m == 'wall.post') {
          query += '&owner_id='+parseInt(params['owner_id'] || 0)+'&attachment='+(params['attachment'] || '');
        }
        var box = VK.Util.Box(query, [460, 220], {
          proxy: function (hash, error) {
            if (error) {
              cb({error: error});
            } else {
              params['method_access'] = hash;
              VK.Api.call(method, params, cb, queryTry);
            }
          }
        });
        box.show();
        return false;
      }
      return true;
    },
    call: function(method, params, cb, queryTry) {
      var
        query = params || {},
        qs,
        responseCb;

      if (typeof query != 'object' || typeof cb != 'function') {
        return false;
      }
      if (!params.method_access && !params.method_force && !VK.Api.checkMethod(method, params, cb, queryTry)) {
        return;
      }

      if (!queryTry) queryTry = 0;

      if (VK.Auth._loadState != 'loaded') {
        var authFunc = function(result) {
          if (result && result.session) {
            VK.Observer.unsubscribe('auth.loginStatus', authFunc);
            VK.Api.call(method, params, cb);
          }
        };
        VK.Observer.subscribe('auth.loginStatus', authFunc);
        VK.Auth.getLoginStatus();
        return;
      }


      VK.extend(query, {
        api_id: VK._apiId,
        v: '3.0',
        format: 'JSON',
        method: method
      }, true);

      if (VK.Api.queryLength(query) < 1500 && !VK.Api.ie6_7()) {
        var useXDM = false;
        var rnd = parseInt(Math.random() * 10000000);
        while (VK.Api._callbacks[rnd]) { rnd = parseInt(Math.random() * 10000000); };
        query['callback'] = 'VK.Api._callbacks['+rnd+']';
      } else {
        var useXDM = true;
      }

      VK.extend(query, {
        sig: this.sign(query),
        sid: VK._session ? VK._session.sid : ''
      }, true);
      qs = VK.Cookie.encode(query);

      responseCb = function(response) {
        if (response.error && (response.error.error_code == 3 || response.error.error_code == 4 || response.error.error_code == 5)) {
          if (queryTry > 3) return false;
          var repeatCall = function(resp) {
            VK.Observer.unsubscribe('auth.sessionChange', repeatCall);
            delete params['sid'];
            delete params['sig'];
            if (resp.session) VK.Api.call(method, params, cb, queryTry + 1);
          }
          VK.Observer.subscribe('auth.sessionChange', repeatCall);
          VK.Auth.getLoginStatus();
        } else {
          cb(response);
        }
        if (!useXDM) delete VK.Api._callbacks[rnd];
      };

      if (useXDM) {
        if (VK.xdReady) {
          VK.XDM.remote.callMethod('apiCall', qs, responseCb);
        } else {
          VK.Observer.subscribe('xdm.init', function() {VK.XDM.remote.callMethod('apiCall', qs, responseCb);});
          VK.XDM.init();
        }
      } else {
        VK.Api._callbacks[rnd] = responseCb;
        VK.Api.attachScript(VK._domain.api + VK._domain.apiPath+'?' + qs);
      }
    },
    sign: function(query) {
      var i, keys = [], sign;
      for(i in query) {
        keys.push(i.toString());
      }
      keys.sort();
      sign = VK._session ? VK._session.mid : 0;
      for(i=0; i<keys.length; i++) {
        sign += keys[i] + '=' + query[keys[i]];
      }
      sign += VK._session ? VK._session.secret : '';
      return VK.MD5(sign);
    },
    queryLength: function(query) {
      var len = 100; // sid + sig
      for (i in query) {
        len+=i.length + encodeURIComponent(query.i).length + 1;
      }
      return len;
    }
  }
  
  // Alias
  VK.api = function(method, params, cb) {VK.Api.call(method, params, cb);}
};

if(!VK.Auth) {
VK.Auth = {
  popup: null,
  lsCb: {},
  setSession: function(session, status, settings) {
    var
      login = !VK._session && session,
      logout = VK._session && !session,
      both = VK._session && session && VK._session.mid != session.mid,
      sessionChange = login || logout || (VK._session && session && VK._session.sid != session.sid),
      statusChange = status != VK._userStatus,
      response = {
        'session': session,
        'status': status,
        'settings': settings
      };

    VK._session = session;

    VK._userStatus = status;

    VK.Cookie.set(session);

    if (sessionChange || statusChange || both) {
      setTimeout(function() {
        if (statusChange) {
          VK.Observer.publish('auth.statusChange', response);
        }

        if (logout || both) {
          VK.Observer.publish('auth.logout', response);
        }

        if (login || both) {
          if (VK.xdReady) VK.XDM.remote.init(VK._apiId, session, status);
          VK.Observer.publish('auth.login', response);
        }

        if (sessionChange) {
          VK.Observer.publish('auth.sessionChange', response);
        }
      }, 0);
    }
    
    return response;
  },
  /* Public VK.Auth methods */
  login: function(cb, settings) {
    var channel, url;
    if(!VK._apiId) {
      return false;
    }
    channel = window.location.protocol + '//' + window.location.hostname;
    url = VK._domain.main + VK._path.login + '?app='+VK._apiId+'&layout=openapi';
    if(settings && parseInt(settings) > 0) {
      url += '&settings=' + settings;
    }
    VK.Observer.unsubscribe('auth.onLogin');
    VK.Observer.subscribe('auth.onLogin', cb);
    VK.UI.popup({
      width: 554,
      height: 287,
      url: url
    });
    var authCallback = function() {
      VK.Auth.getLoginStatus(function(resp) {
        VK.Observer.publish('auth.onLogin', resp);
        VK.Observer.unsubscribe('auth.onLogin');
      }, true);
    }

    VK.UI.popupOpened = true;
    var popupCheck = function() {
      if (!VK.UI.popupOpened) return false;
      try {
        if (!VK.UI.active['top']) {
          VK.UI.popupOpened = false;
          authCallback();
          return true;
        }
      } catch(e) {
        VK.UI.popupOpened = false;
        authCallback();
        return true;
      }
      setTimeout(popupCheck, 100);
    };

    setTimeout(popupCheck, 100);
  },
  /* Logout user from app, vkontakte.ru & login.vk.com */
  logout: function(cb) {
    if (!VK._session || !VK._session.sid) {
      cb();
      return true;
    }
    VK.Auth._logoutCb = function(result) {
      if (result == 2) {
        VK.Auth.setSession(null, 'unknown');
        VK.Auth.getLoginStatus(function(response) {
          if (response.session) VK.Auth.logout(cb);
        }, true);
      } else {
        cb();
      }
    }
    VK.Api.attachScript(VK._domain.main+'logout.php?openapi=1&app='+parseInt(VK._apiId)+'&mid='+VK._session.mid+'&sid='+VK._session.sid+'&rnd='+parseInt(Math.random()*10000));

    VK.Auth.setSession(null, 'unknown');
    VK.Cookie.clear();
  },
  revokeGrants: function(cb) {
    var onLogout = function(resp) {
      VK.Observer.unsubscribe('auth.statusChange', onLogout);
      if (cb) cb(resp);
    }
    VK.Observer.subscribe('auth.statusChange', onLogout);
    if (VK._session && VK._session.sid) VK.Api.attachScript('http://login.vk.com/?act=openapi&aid='+parseInt(VK._apiId)+'&location=' + encodeURIComponent(window.location.hostname)+'&do_logout=1&sid='+VK._session.sid);
    VK.Cookie.clear();
  },
  /* Get current login status from session (sync) (not use on load time)*/
  getSession: function() {
    return VK._session;
  },
  /* Get current login status from vkontakte.ru (async) */
  getLoginStatus: function(cb, force) {
    if (!VK._apiId) {
      return;
    }

    if (cb) {
      if (!force && VK.Auth._loadState == 'loaded') {
        cb({status: VK._userStatus, session: VK._session});
        return;
      } else {
        VK.Observer.subscribe('auth.loginStatus', cb);
      }
    }

    if (!force && VK.Auth._loadState == 'loading') {
      return;
    }

    VK.Auth._loadState = 'loading';
    var rnd = parseInt(Math.random() * 10000000);
    while (VK.Auth.lsCb[rnd]) { rnd = parseInt(Math.random() * 10000000); };
    VK.Auth.lsCb[rnd] = function(response) {
      VK.Auth._loadState = 'loaded';
      if (response && response.auth) {
        var session = {mid: response.user.id, sid: response.sid, secret: response.secret, expire: response.expire, sig: response.sig};
        if (force) session['user'] = response.user;
        var status = 'connected';
      } else {
        var session = null;
        var status = 'unknown';
      }
      VK.Auth.setSession(session, status);
      VK.Observer.publish('auth.loginStatus', {session: session, status: status});
      VK.Observer.unsubscribe('auth.loginStatus');
    };
    // AttachScript here
    VK.Api.attachScript('http://login.vk.com/?act=openapi&aid='+parseInt(VK._apiId)+'&location=' + encodeURIComponent(window.location.hostname)+'&rnd='+rnd);
  }
}
};

} else { // if VK.xdConnectionCallbacks
  setTimeout(function() {
    var callback;
    while (callback = VK.xdConnectionCallbacks.pop()) {
      callback();
    }
  }, 0);
  VK.Widgets = false;
}

if (!VK.UI) {
  VK.UI = {
    active: null,
    _buttons: [],
    popup: function(options) {
      var
        screenX = typeof window.screenX != 'undefined' ? window.screenX : window.screenLeft,
        screenY = typeof window.screenY != 'undefined' ? window.screenY : window.screenTop,
        outerWidth = typeof window.outerWidth != 'undefined' ? window.outerWidth : document.body.clientWidth,
        outerHeight = typeof window.outerHeight != 'undefined' ? window.outerHeight : (document.body.clientHeight - 22),
        width = options.width,
        height = options.height,
        left = parseInt(screenX + ((outerWidth - width) / 2), 10),
        top = parseInt(screenY + ((outerHeight - height) / 2.5), 10),
        features = (
          'width=' + width +
          ',height=' + height +
          ',left=' + left +
          ',top=' + top
        );
        this.active = window.open(options.url, 'vk_openapi', features);
    },
    button: function(el, handler) {
      var html = '';

      if (typeof el == 'string') {
        el = document.getElementById(el);
      }


      this._buttons.push(el);
      index = this._buttons.length - 1;

      html = (
        '<table cellspacing="0" cellpadding="0" id="openapi_UI_' + index + '" onmouseover="VK.UI._change(1, ' + index + ');" onmouseout="VK.UI._change(0, ' + index + ');" onmousedown="VK.UI._change(2, ' + index + ');" onmouseup="VK.UI._change(1, ' + index + ');" style="cursor: pointer; border: 0px; font-family: tahoma; font-size: 10px;"><tr style="vertical-align: middle"><td></td>' +
        '<td><div style="border: 1px solid #3b6798;"><div style="border: 1px solid #5c82ab; border-top-color: #7e9cbc; background-color: #6d8fb3; color: #fff; text-shadow: 0px 1px #45688E; height: 15px; padding: 2px 4px 0px 6px;">&#1042;&#1086;&#1081;&#1090;&#1080;</div></div></td>' +
        '<td><div style="background: url('+VK._domain.main+'images/btns.png) 0px -42px no-repeat; width: 21px; height: 21px"></div></td>' +
        '<td><div style="border: 1px solid #3b6798;"><div style="border: 1px solid #5c82ab; border-top-color: #7e9cbc; background-color: #6d8fb3; color: #fff; text-shadow: 0px 1px #45688E; height: 15px; padding: 2px 6px 0px 4px;">&#1050;&#1086;&#1085;&#1090;&#1072;&#1082;&#1090;&#1077;</div></div></td><td></td>' +
        '</tr></table>'
      );
      el.innerHTML = html;
      el.style.width = el.childNodes[0].offsetWidth + 'px';
    },
    _change: function(state, index) {
      var row = document.getElementById('openapi_UI_' + index).rows[0];
      var elems = [row.cells[1].firstChild.firstChild, row.cells[3].firstChild.firstChild];
      for (var i = 0; i < 2; ++i) {
         var elem = elems[i];
        if (state == 0) {
          elem.style.backgroundColor = '#6D8FB3';
          elem.style.borderTopColor = '#7E9CBC';
          elem.style.borderLeftColor = elem.style.borderRightColor = elem.style.borderBottomColor = '#5C82AB';
        } else if (state == 1) {
          elem.style.backgroundColor = '#84A1BF';
          elem.style.borderTopColor = '#92ACC7';
          elem.style.borderLeftColor = elem.style.borderRightColor = elem.style.borderBottomColor = '#7293B7';
        } else if (state == 2) {
          elem.style.backgroundColor = '#6688AD';
          elem.style.borderBottomColor = '#7495B8';
          elem.style.borderLeftColor = elem.style.borderRightColor = elem.style.borderTopColor = '#51779F';
        }
      }
      var elems = [row.cells[0].firstChild, row.cells[4].firstChild];
      for (var i = 0; i < 2; ++i) {
        var elem = elems[i];
        if (elem) {
          if (state == 0) {
            elem.style.backgroundPosition = '-21px -' + (42 + i * 21) + 'px';
          } else if (state == 1) {
            elem.style.backgroundPosition = '-23px -' + (42 + i * 21) + 'px';
          } else if (state == 2) {
            elem.style.backgroundPosition = '-25px -' + (42 + i * 21) + 'px';
          }
        }
      }
      if (state == 0 || state == 2) {
        row.cells[2].firstChild.style.backgroundPosition = '0px -42px';
      } else if (state == 1) {
        row.cells[2].firstChild.style.backgroundPosition = '0px -63px';
      }
    }
  };
}

if (!VK.XDM) {
  VK.XDM = {
    remote: null,
    init: function() {
      if (this.remote) return false;
      var url = VK._domain.api + VK._path.proxy;
      this.remote = new fastXDM.Server({
        onInit: function() {
          VK.XDM.remote.callMethod('init', VK._apiId, VK._session, VK._userStatus);
          VK.xdReady = true;
          VK.Observer.publish('xdm.init');
        },
        setSession: {
          isVoid: true,
          method: function(session, status) {
            VK.Auth.setSession(session, status);
          }
        },
        alert: {
          isVoid: true,
          method: function(text) {
            alert(text);
          }
        }
      });

      this.remote.append(document.getElementById(VK._rootId), {
        src: url
      });
    },
    xdHandler: function(code) {
      try {
        eval('VK.' + code);
      } catch(e) {};
    }
  }
};

if (!VK.Observer) {
  VK.Observer = {
    _subscribers: function() {
      if (!this._subscribersMap) {
        this._subscribersMap = {};
      }
      return this._subscribersMap;
    },
    publish: function(eventName) {
      var
        args = Array.prototype.slice.call(arguments),
        eventName = args.shift(),
        subscribers = this._subscribers()[eventName],
        i, j;

      if (!subscribers) return;

      for (i = 0, j = subscribers.length; i < j; i++) {
        if(subscribers[i] != null) {
          subscribers[i].apply(this, args);
        }
      }
    },
    subscribe: function(eventName, handler) {
      var
        subscribers = this._subscribers();

      if(typeof handler != 'function') return false;

      if(!subscribers[eventName]) {
        subscribers[eventName] = [handler];
      } else {
        subscribers[eventName].push(handler);
      }
    },
    unsubscribe: function(eventName, handler) {
      var
        subscribers = this._subscribers()[eventName],
        i, j;

      if (!subscribers) return false;
      if (typeof handler == 'function') {
        for (i = 0, j = subscribers.length; i < j; i++) {
          if (subscribers[i] == handler) {
            subscribers[i] = null;
          }
        }
      } else {
        delete this._subscribers()[eventName];
      }
    }
  }
}

if (!VK.Widgets) {
  VK.Widgets = {};

  VK.Widgets.count = 0;
  VK.Widgets.RPC = {};

  VK.Widgets.publish = function() {
    VK.Observer.publish.apply(VK.Observer, arguments);
  }

  VK.Widgets.loading = function(obj, enabled) {
    obj.style.background = enabled ? 'url("http://vk.com/images/upload.gif") center center no-repeat transparent' : 'none';
  }

  VK.Widgets.Comments = function(objId, options, page) {
    var pData = VK.Util.getPageData();
    if (!VK._apiId) throw Error('VK not initialized. Please use VK.init');
    options = options || {};
    var params = {
      limit: options.limit || 10,
      page: page || 0,
      status_publish: options.autoPublish === undefined ? 1 : options.autoPublish,
      attach: options.attach === undefined ? '*' : (options.attach ? options.attach : ''),
      height: options.height || 0,
      norealtime: options.norealtime ? 1 : 0,
      url: options.pageUrl || pData.url,
      title: options.pageTitle || pData.title,
      description: options.pageDescription || pData.description,
      image: options.pageImage || pData.image
    }, mouseup = function () {
      rpc.callMethod('mouseUp');
      return false;
    }, move = function (event) {
      rpc.callMethod('mouseMove', {screenY: event.screenY});
    }, 
    res = VK.Widgets._constructor('widget_comments.php', objId, options, params, {
      showBox: function (url, props) {
        var box = VK.Util.Box((options.base_domain || 'http://vkontakte.ru/') + url, [props.width, props.height], {
          proxy: function () {
            rpc.callMethod.apply(rpc, arguments);
          }
        });
        box.show();
      },
      commentsNum: options.onNumberUpdate || function() {}, // DEPRECATED
      onChange: options.onChange || function()  {},
      startDrag: function() {
        cursorBack = window.document.body.style.cursor;
        window.document.body.style.cursor = 'pointer';
        VK.Util.addEvent('mousemove', move);
        VK.Util.addEvent('mouseup', mouseup);
      },
      stopDrag: function() {
        window.document.body.style.cursor = cursorBack;
        VK.Util.removeEvent('mousemove', move);
        VK.Util.removeEvent('mouseup', mouseup);
      }
    }, {
      startHeight: '133px',
      minWidth: 300,
      width: '100%'
    }), iframe = res[1], rpc = res[2];
  };

  VK.Widgets.Recommended = function(objId, options) {
    var pData = VK.Util.getPageData();
    if (!VK._apiId) throw Error('VK not initialized. Please use VK.init');
    options = options || {};
    var params = {
      limit: options.limit || 5,
      max: options.max || 0,
      sort: options.sort || 'likes',
      verb: options.verb || 0,
      period: options.period || 'week',
      target: options.target || 'parent'
    };
    var res = VK.Widgets._constructor('widget_recommended.php', objId, options, params, {
    }, {
      startHeight: (90 + params.limit * 30) + 'px',
      minWidth: 150,
      width: '100%'
    }), iframe = res[1], rpc = res[2];
  };

  VK.Widgets.Like = function(objId, options, page) {
    var pData = VK.Util.getPageData();
    if (!VK._apiId) throw Error('VK not initialized. Please use VK.init');
    options = VK.extend(options || {}, {allowTransparency: true});
    if (options.type == 'button' || options.type == 'vertical' || options.type == 'mini') delete options.width;
    var 
      type = (options.type == 'full' || options.type == 'button' || options.type == 'vertical' || options.type == 'mini') ? options.type : 'full',
      width = type == 'full' ? Math.max(200, options.width || 350) : (type == 'button' ? 180 : (type == 'mini' ? 100 : 41)),
      height = type == 'vertical' ? 51 : (type == 'full' ? 23 : 22),
      params = {
        page: page || 0,
        url: options.pageUrl || pData.url,
        type: type,
        verb: options.verb == 1 ? 1 : 0,
        title: options.pageTitle || pData.title,
        description: options.pageDescription || pData.description,
        image: options.pageImage || pData.image
      }, 
      ttHere = options.ttHere || false,
      res = VK.Widgets._constructor('widget_like.php', objId, options, params, {
        initTooltip: function (counter) {
          tooltipRpc = new fastXDM.Server({
            onInit: counter ? function() {showTooltip(true)} : function () {},
            proxy: function () {
               buttonRpc.callMethod.apply(buttonRpc, arguments);
            },
            showBox: function (url, props) {
              var box = VK.Util.Box((options.base_domain || 'http://vkontakte.ru/') + url, [props.width, props.height], {
                proxy: function () {
                  tooltipRpc.callMethod.apply(tooltipRpc, arguments);
                }
              });
              box.show();
            },
            statsBox: function (act) {
              hideTooltip(true);
              statsBox = VK.Util.Box(buttonIfr.src + '&act=a_stats_box', [498, 442]);
              statsBox.show();
            }
          });
          tooltipIfr = tooltipRpc.append(ttHere ? obj : document.body, {
            src: buttonIfr.src + '&act=a_share_tooltip',
            scrolling: 'no',
            allowTransparency: true,
            id: buttonIfr.id + '_tt',
            style: {position: 'absolute', padding: 0, display: 'block', visibility: 'hidden', border: '0', width: '206px', height: '127px', zIndex: 5000, overflow: 'hidden'}
          });

          obj.onmouseover = tooltipIfr.onmouseover = function () {isOver = true;};
          obj.onmouseout = tooltipIfr.onmouseout = function () {
            clearTimeout(checkTO);
            isOver = false;
            checkTO = setTimeout(function () {hideTooltip(); }, 200);
          };
        },
        showTooltip: showTooltip,
        hideTooltip: hideTooltip,
        showBox: function (url, props) {
          var box = VK.Util.Box((options.base_domain || 'http://vkontakte.ru/') + url, [props.width, props.height], {
            proxy: function () {
              buttonRpc.callMethod.apply(buttonRpc, arguments);
            }
          });
          box.show();
        },
        proxy: function () {if (tooltipRpc) tooltipRpc.callMethod.apply(tooltipRpc, arguments);},
        onChange: options.onChange || function () {}
      }, {
        startHeight: height + 'px',
        minWidth: width
      }),
      tooltipIfr, tooltipRpc, isOver = false, checkTO, statsBox,
      obj = res[0],
      buttonIfr = res[1],
      buttonRpc = res[2];
    VK.Util.ss(obj, {height: height + 'px', width: width + 'px', position: 'relative', clear: 'both'});
    VK.Util.ss(buttonIfr, {height: height + 'px', width: width + 'px', overflow: 'hidden', zIndex: 150});
    
    function showTooltip(force) {
      if ((!isOver && !force) || !tooltipRpc) return;
      if (!tooltipIfr || !tooltipRpc || tooltipIfr.style.display != 'none' && tooltipIfr.style.visibility != 'hidden') return;
      var scrollTop = options.getScrollTop ? options.getScrollTop() : (document.body.scrollTop || document.documentElement.scrollTop || 0), objPos = VK.Util.getXY(obj), startY = ttHere ? 0 : objPos[1];
      if (scrollTop > objPos[1] - 120 && options.tooltipPos != 'top' || type == 'vertical' || options.tooltipPos == 'bottom') {
        tooltipIfr.style.top = (startY + height + 2) + 'px';
        tooltipRpc.callMethod('show', false);
      } else {
        tooltipIfr.style.top = (startY - 125) + 'px';
        tooltipRpc.callMethod('show', true);
      }
      VK.Util.ss(tooltipIfr, {left: ((ttHere ? 0 : objPos[0]) - (type == 'vertical' || type == 'mini' ? 36 : 2)) + 'px', display: 'block', visibility: 'visible'});
      isOver = true;
    };
    function hideTooltip(force) {
      if ((isOver && !force) || !tooltipRpc) return;
      tooltipRpc.callMethod('hide');
      buttonRpc.callMethod('hide');
      setTimeout(function () {tooltipIfr.style.display = 'none'}, 400);
    };
  }

  VK.Widgets.Poll = function(objId, options, pollId) {
    var pData = VK.Util.getPageData();
    if (!VK._apiId) throw Error('VK not initialized. Please use VK.init');
    if (!pollId) throw Error('No poll id passed');
    options = options || {};
    var params = {
      poll_id: pollId,
      url: options.pageUrl || pData.url || location.href,
      title: options.pageTitle || pData.title,
      description: options.pageDescription || pData.description
    };
    VK.Widgets._constructor('widget_poll.php', objId, options, params, {}, {
      startHeight: '133px',
      minWidth: 300,
      width: '100%'
    });
  }

  VK.Widgets.Donate = function(objId, options, merchant_id) {
    if (!merchant_id) {
      throw Error('No merchant_id passed');
    }
    var params = {
      merchant_id: merchant_id,
      mode: (options.mode) ? '1' : '0',
      users: (options.users) ? '1' : '0',
      test_mode: (options.test_mode) ? '1' : '0',
      text: (options.text) ? '1' : '0'
    };
    if (!options.width) {
      options.width = 200;
    }
    VK.Widgets._constructor('widget_donate.php', objId, options, params, {}, {
      minWidth: 200,
      width: '200',
      startHeight: 80
    })
  }
  
  VK.Widgets.Community = VK.Widgets.Group = function(objId, options, gid) {
    gid = parseInt(gid);
    var RPC;
    if (!gid) {
      throw Error('No group_id passed');
    }
    options.mode = parseInt(options.mode).toString();
    var params = {
      gid: gid,
      mode: (options.mode) ? options.mode : '0'
    };
    if (!options.width) {
      options.width = 200;
    }
    if (options.wall) {
      params.wall = options.wall;
    }
    if (!options.height) {
      options.height = 290;
    }
    
    var cursorBack;
    
    function mouseup() {
      RPC.callMethod('mouseUp');
      return false;
    }
    
    function move(event) {
      RPC.callMethod('mouseMove', {screenY: event.screenY});
      return false;
    }
    
    var widget = VK.Widgets._constructor('widget_community.php', objId, options, params, {
      showBox: function (url, props) {
        var box = VK.Util.Box((options.base_domain || 'http://vkontakte.ru/') + url, [props.width, props.height], {
          proxy: function () {
            rpc.callMethod.apply(rpc, arguments);
          }
        });
        box.show();
      },
      startDrag: function() {
        cursorBack = window.document.body.style.cursor;
        window.document.body.style.cursor = 'pointer';
        VK.Util.addEvent('mousemove', move);
        VK.Util.addEvent('mouseup', mouseup);
      },
      stopDrag: function() {
        window.document.body.style.cursor = cursorBack;
        VK.Util.removeEvent('mousemove', move);
        VK.Util.removeEvent('mouseup', mouseup);
      },
      auth: function() {
        VK.Auth.login(null, 1);
      }
    }, {
      minWidth: 120,
      width: '200',
      height: '290',
      startHeight: 200
    });
    
    RPC = widget[2];
  }
  
  VK.Widgets.Auth = function(objId, options) {
    var pData = VK.Util.getPageData();
    if (!VK._apiId) throw Error('VK not initialized. Please use VK.init');
    if (!options.width) {
      options.width = 200;
    }
    if (options.type) {
      type = 1;
    } else {
      type = 0;
    }
    VK.Widgets._constructor('widget_auth.php', objId, options, {}, {makeAuth: function(data) {
      if (data.session) {
        VK.Auth._loadState = 'loaded';
        VK.Auth.setSession(data.session, 'connected');
        VK.Observer.publish('auth.loginStatus', {session: data.session, status: 'connected'});
        VK.Observer.unsubscribe('auth.loginStatus');
      }
      if (options.onAuth) {
        options.onAuth(data);
      } else {
        if (options.authUrl) {
          var href = options.authUrl;
        } else {
          var href = window.location.href;
        }
        if (href.indexOf('?') == -1) {
          href+='?';
        } else {
          href+='&';
        }
        var vars = [];
        
        for (var i in data) {
          if (i != 'session') vars.push(i+'='+decodeURIComponent(data[i]));
        }
        window.location.href = href + vars.join('&');
      }
    }}, {startHeight: 80});
  }

  VK.Widgets._constructor = function(widgetUrl, objId, options, params, funcs, defaults) {
    options = options || {};
    defaults = defaults || {};
    funcs = funcs || {};
    var base_domain = options.base_domain || 'http://vkontakte.ru';
    
    var obj = document.getElementById(objId), ifr;

    var widgetId = ++VK.Widgets.count;
    if (options.width == 'auto') {
      var width = obj.clientWidth || '100%';
    } else {
      var width = parseInt(options.width);
    }
    
    if (options.height) {
      params.height = options.height;
      obj.height = options.height;
    } else {
      obj.height = (defaults.startHeight || 200) + 'px';
    }
    
    width = width ? (Math.max(defaults.minWidth || 200, Math.min(10000, width)) + 'px') : '100%';
    if (!params.url) params.url = options.pageUrl || location.href.replace(/#.*$/, '');
    var url = base_domain + '/' + widgetUrl + '?app=' + (VK._apiId || '0') + '&width=' + width;
    if (VK._iframeAppWidget) {
      params['iframe_app'] = 1;
    }
    for (i in params) {
      if (i == 'title' && params[i].length > 80) params[i] = params[i].substr(0, 80)+'...';
      if (i == 'description' && params[i].length > 160) params[i] = params[i].substr(0, 160)+'...';
      if (typeof(params[i]) == 'number') {
        var encodedParam = params[i];
      } else {
        var encodedParam = encodeURIComponent(params[i]);
      }
      url += '&' + i + '=' + encodedParam;
    }
    obj.style.width = width;
    //obj.innerHTML = '';
    //obj.style.border = '1px solid #bec8d3';
    VK.Widgets.loading(obj, true);
    funcs.publish = VK.Widgets.publish;
    funcs.onInit = function() {
      VK.Widgets.loading(obj, false);
      if (funcs.onReady) funcs.onReady();
    }
    funcs.resize = function(e, cb) {
      obj.style.height = e + 'px';
      var el = document.getElementById('vkwidget'+widgetId);
      if (el) {
        el.style.height = e + 'px';
      }
    }
    VK.Widgets.RPC[widgetId] = new fastXDM.Server(funcs, function(origin) {
      if (!origin) return true;
      origin = origin.toLowerCase();
      return (origin.indexOf('.vkontakte.ru') != -1
           || origin.indexOf('/vkontakte.ru') != -1
           || origin.indexOf('.vk.com') != -1
           || origin.indexOf('/vk.com') != -1);
    });
    var iframe = VK.Widgets.RPC[widgetId].append(obj, {
      src: url,
      width: width,
      height: defaults.startHeight || '100%',
      scrolling: 'no',
      id: 'vkwidget' + widgetId,
      allowTransparency: options.allowTransparency || false,
      style: {
        overflow: 'hidden'
      }
    });
    return [obj, iframe, VK.Widgets.RPC[widgetId]];
  }
}

VK.Util = {
  getPageData: function () {
    if (!VK._pData) {
      var metas = document.getElementsByTagName('meta'), pData = {}, keys = ['description', 'title', 'url', 'image', 'app_id'], metaName;
      for (var i in metas) {
        if (!metas[i].getAttribute) continue;
        if (metas[i].getAttribute && ((metaName = metas[i].getAttribute('name')) || (metaName = metas[i].getAttribute('property')))) {
          for (var j in keys) {
            if (metaName == keys[j] || metaName == 'og:'+keys[j] || metaName == 'vk:'+keys[j]) {
              pData[keys[j]] = metas[i].content;
            }
          }
        }
      }
      if (pData.app_id && !VK._apiId) {
        VK._apiId = pData.app_id;
      }
      pData.title = pData.title || document.title || '';
      pData.description = pData.description || '';
      pData.image = pData.image || '';
      if (!pData.url && VK._iframeAppWidget && VK._apiId) {
        pData.url = '/app' + VK._apiId;
        if (VK._browserHash) {
          pData.url += VK._browserHash
        }
      }
      var loc = location.href.replace(/#.*$/, '');
      if (!pData.url || !pData.url.indexOf(loc)) {
        pData.url = loc;
      }
      VK._pData = pData;
    }
    return VK._pData;
  },
  getXY: function (obj) {
   if (!obj || obj == undefined) return;
   var left = 0, top = 0;
   if (obj.offsetParent) {
    do {
     left += obj.offsetLeft;
     top += obj.offsetTop;
    } while (obj = obj.offsetParent);
   }
   return [left,top];
  },
  Box: function (src, sizes, fnc, options) {
    fnc = fnc || {};
    var rpc = new fastXDM.Server(VK.extend(fnc, {
      onInit: function () {
        iframe.style.background = 'transparent';
      },
      hide: function () {
        iframe.style.display = 'none';
      },
      destroy: function () {
        delete rpc;
        try {iframe.src = 'about: blank;';} catch (e) {};
        iframe.parentNode.removeChild(iframe);
      },
      resize: function (w, h) {
        sizes[0] = w;
        sizes[1] = h;
        VK.Util.ss(iframe, {width: sizes[0] + 'px', height: sizes[1] + 'px'});
        updateCoords();
      }
    }, true)),
    iframe = rpc.append(document.body, {
      src: src,
      scrolling: 'no',
      allowTransparency: true,
      style: {position: 'absolute', left: '50%', zIndex: 1002, background: 'http://vkontakte.ru/images/upload.gif center center no-repeat transparent', padding: '0', border: '0', width: sizes[0] + 'px', height: sizes[1] + 'px', overflow: 'hidden'}
    }),
    updateCoords = function (scrollTop, height) {
        height = Math.min(1000, height || (window.innerHeight ? window.innerHeight : (document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.offsetHeight)));
        scrollTop = scrollTop || Math.max(parseInt(window.pageYOffset) || 0, document.documentElement.scrollTop,  document.body.scrollTop);
        var top = Math.max(0, scrollTop + (height - sizes[1]) / 3);
        VK.Util.ss(iframe, {'top': top + 'px', margin: '0 0 0 ' + (-sizes[0]/2) + 'px'});
    };
    return {
      show: function (scrollTop, height) {
        updateCoords(scrollTop, height);
        iframe.style.display = 'block';
      },
      hide: function () {
        iframe.style.display = 'none';
      },
      iframe: iframe,
      rpc: rpc
    }
  },
  addEvent: function(type, func) {
    if (window.document.addEventListener) {
      window.document.addEventListener(type, func, false);
    } else if (window.document.attachEvent) {
      window.document.attachEvent('on'+type, func);
    }
  },
  removeEvent: function(type, func) {
    if (window.document.removeEventListener) {
      window.document.removeEventListener(type, func, false);
    } else if (window.document.detachEvent) {
      window.document.detachEvent('on'+type, func);
    }
  },
  ss: function (el, styles) {VK.extend(el.style, styles, true);}
}

/* Init asynchronous library loading */
window.vkAsyncInit && setTimeout(vkAsyncInit, 0);

VK.init({apiId: 2252063, onlyWidgets: true});


function SetCookie (name, value) {
    document.cookie = name + "=" + escape (value) + "; path=/; expires=Mon, 01-Jan-2060 00:00:00 GMT";
}
opened=0;
stopper=0;
function nonebox1() {
  if (opened==1 && stopper==0) { 
    $(".langrpopup").hide();
    opened=0;
    stopper=1;
  }
  if (stopper==1 && opened==1) {
    stopper=0;
  }
};
function lng() {
  if (stopper==1 && opened==0) {
    stopper=0;
  }
  if (opened==0 && stopper==0) {
    $(".langrpopup").toggle();
    opened=1;stopper=1;
  }
};

function lazyload(a) {
   return hs.expand(a, { src: a.title} );
}

