(function(){var L=this,G,Y=L.jQuery,P=L.$,O=L.jQuery=L.$=function(e,f){return new O.fn.init(e,f)},d=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,F=/^.[^:#\[\.,]*$/;O.fn=O.prototype={init:function(e,h){e=e||document;if(e.nodeType){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var g=d.exec(e);if(g&&(g[1]||!h)){if(g[1]){e=O.clean([g[1]],h)}else{var i=document.getElementById(g[3]);if(i&&i.id!=g[3]){return O().find(e)}var f=O(i||[]);f.context=document;f.selector=e;return f}}else{return O(h).find(e)}}else{if(O.isFunction(e)){return O(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setArray(O.isArray(e)?e:O.makeArray(e))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(e){return e===G?Array.prototype.slice.call(this):this[e]},pushStack:function(f,h,e){var g=O(f);g.prevObject=this;g.context=this.context;if(h==="find"){g.selector=this.selector+(this.selector?" ":"")+e}else{if(h){g.selector=this.selector+"."+h+"("+e+")"}}return g},setArray:function(e){this.length=0;Array.prototype.push.apply(this,e);return this},each:function(f,e){return O.each(this,f,e)},index:function(e){return O.inArray(e&&e.jquery?e[0]:e,this)},attr:function(f,h,g){var e=f;if(typeof f==="string"){if(h===G){return this[0]&&O[g||"attr"](this[0],f)}else{e={};e[f]=h}}return this.each(function(j){for(f in e){O.attr(g?this.style:this,f,O.prop(this,e[f],g,j,f))}})},css:function(e,f){if((e=="width"||e=="height")&&parseFloat(f)<0){f=G}return this.attr(e,f,"curCSS")},text:function(f){if(typeof f!=="object"&&f!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(f))}var e="";O.each(f||this,function(){O.each(this.childNodes,function(){if(this.nodeType!=8){e+=this.nodeType!=1?this.nodeValue:O.fn.text([this])}})});return e},wrapAll:function(e){if(this[0]){var f=O(e,this[0].ownerDocument).clone();if(this[0].parentNode){f.insertBefore(this[0])}f.map(function(){var g=this;while(g.firstChild){g=g.firstChild}return g}).append(this)}return this},wrapInner:function(e){return this.each(function(){O(this).contents().wrapAll(e)})},wrap:function(e){return this.each(function(){O(this).wrapAll(e)})},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType==1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType==1){this.insertBefore(e,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this.nextSibling)})},end:function(){return this.prevObject||O([])},push:[].push,sort:[].sort,splice:[].splice,find:function(e){if(this.length===1){var f=this.pushStack([],"find",e);f.length=0;O.find(e,this[0],f);return f}else{return this.pushStack(O.unique(O.map(this,function(g){return O.find(e,g)})),"find",e)}},clone:function(g){var e=this.map(function(){if(!O.support.noCloneEvent&&!O.isXMLDoc(this)){var i=this.outerHTML;if(!i){var j=this.ownerDocument.createElement("div");j.appendChild(this.cloneNode(true));i=j.innerHTML}return O.clean([i.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(g===true){var h=this.find("*").andSelf(),f=0;e.find("*").andSelf().each(function(){if(this.nodeName!==h[f].nodeName){return }var i=O.data(h[f],"events");for(var l in i){for(var j in i[l]){O.event.add(this,l,i[l][j],i[l][j].data)}}f++})}return e},filter:function(e){return this.pushStack(O.isFunction(e)&&O.grep(this,function(g,f){return e.call(g,f)})||O.multiFilter(e,O.grep(this,function(f){return f.nodeType===1})),"filter",e)},closest:function(e){var g=O.expr.match.POS.test(e)?O(e):null,f=0;return this.map(function(){var h=this;while(h&&h.ownerDocument){if(g?g.index(h)>-1:O(h).is(e)){O.data(h,"closest",f);return h}h=h.parentNode;f++}})},not:function(e){if(typeof e==="string"){if(F.test(e)){return this.pushStack(O.multiFilter(e,this,true),"not",e)}else{e=O.multiFilter(e,this)}}var f=e.length&&e[e.length-1]!==G&&!e.nodeType;return this.filter(function(){return f?O.inArray(this,e)<0:this!=e})},add:function(e){return this.pushStack(O.unique(O.merge(this.get(),typeof e==="string"?O(e):O.makeArray(e))))},is:function(e){return !!e&&O.multiFilter(e,this).length>0},hasClass:function(e){return !!e&&this.is("."+e)},val:function(m){if(m===G){var e=this[0];if(e){if(O.nodeName(e,"option")){return(e.attributes.value||{}).specified?e.value:e.text}if(O.nodeName(e,"select")){var j=e.selectedIndex,n=[],o=e.options,h=e.type=="select-one";if(j<0){return null}for(var f=h?j:0,l=h?j+1:o.length;f<l;f++){var g=o[f];if(g.selected){m=O(g).val();if(h){return m}n.push(m)}}return n}return(e.value||"").replace(/\r/g,"")}return G}if(typeof m==="number"){m+=""}return this.each(function(){if(this.nodeType!=1){return }if(O.isArray(m)&&/radio|checkbox/.test(this.type)){this.checked=(O.inArray(this.value,m)>=0||O.inArray(this.name,m)>=0)}else{if(O.nodeName(this,"select")){var i=O.makeArray(m);O("option",this).each(function(){this.selected=(O.inArray(this.value,i)>=0||O.inArray(this.text,i)>=0)});if(!i.length){this.selectedIndex=-1}}else{this.value=m}}})},html:function(e){return e===G?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(e)},replaceWith:function(e){return this.after(e).remove()},eq:function(e){return this.slice(e,+e+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(e){return this.pushStack(O.map(this,function(g,f){return e.call(g,f,g)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(m,p,o){if(this[0]){var j=(this[0].ownerDocument||this[0]).createDocumentFragment(),f=O.clean(m,(this[0].ownerDocument||this[0]),j),h=j.firstChild;if(h){for(var g=0,e=this.length;g<e;g++){o.call(n(this[g],h),this.length>1||g>0?j.cloneNode(true):j)}}if(f){O.each(f,Z)}}return this;function n(i,l){return p&&O.nodeName(i,"table")&&O.nodeName(l,"tr")?(i.getElementsByTagName("tbody")[0]||i.appendChild(i.ownerDocument.createElement("tbody"))):i}}};O.fn.init.prototype=O.fn;function Z(e,f){if(f.src){O.ajax({url:f.src,async:false,dataType:"script"})}else{O.globalEval(f.text||f.textContent||f.innerHTML||"")}if(f.parentNode){f.parentNode.removeChild(f)}}function E(){return +new Date}O.extend=O.fn.extend=function(){var l=arguments[0]||{},h=1,j=arguments.length,e=false,g;if(typeof l==="boolean"){e=l;l=arguments[1]||{};h=2}if(typeof l!=="object"&&!O.isFunction(l)){l={}}if(j==h){l=this;--h}for(;h<j;h++){if((g=arguments[h])!=null){for(var f in g){var m=l[f],n=g[f];if(l===n){continue}if(e&&n&&typeof n==="object"&&!n.nodeType){l[f]=O.extend(e,m||(n.length!=null?[]:{}),n)}else{if(n!==G){l[f]=n}}}}}return l};var B=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},S=Object.prototype.toString;O.extend({noConflict:function(e){L.$=P;if(e){L.jQuery=Y}return O},isFunction:function(e){return S.call(e)==="[object Function]"},isArray:function(e){return S.call(e)==="[object Array]"},isXMLDoc:function(e){return e.nodeType===9&&e.documentElement.nodeName!=="HTML"||!!e.ownerDocument&&O.isXMLDoc(e.ownerDocument)},globalEval:function(g){if(g&&/\S/.test(g)){var f=document.getElementsByTagName("head")[0]||document.documentElement,e=document.createElement("script");e.type="text/javascript";if(O.support.scriptEval){e.appendChild(document.createTextNode(g))}else{e.text=g}f.insertBefore(e,f.firstChild);f.removeChild(e)}},nodeName:function(f,e){return f.nodeName&&f.nodeName.toUpperCase()==e.toUpperCase()},each:function(g,m,f){var e,h=0,j=g.length;if(f){if(j===G){for(e in g){if(m.apply(g[e],f)===false){break}}}else{for(;h<j;){if(m.apply(g[h++],f)===false){break}}}}else{if(j===G){for(e in g){if(m.call(g[e],e,g[e])===false){break}}}else{for(var l=g[0];h<j&&m.call(l,h,l)!==false;l=g[++h]){}}}return g},prop:function(h,j,g,f,e){if(O.isFunction(j)){j=j.call(h,f)}return typeof j==="number"&&g=="curCSS"&&!B.test(e)?j+"px":j},className:{add:function(e,f){O.each((f||"").split(/\s+/),function(g,h){if(e.nodeType==1&&!O.className.has(e.className,h)){e.className+=(e.className?" ":"")+h}})},remove:function(e,f){if(e.nodeType==1){e.className=f!==G?O.grep(e.className.split(/\s+/),function(g){return !O.className.has(f,g)}).join(" "):""}},has:function(f,e){return f&&O.inArray(e,(f.className||f).toString().split(/\s+/))>-1}},swap:function(h,g,i){var e={};for(var f in g){e[f]=h.style[f];h.style[f]=g[f]}i.call(h);for(var f in g){h.style[f]=e[f]}},css:function(h,f,j,e){if(f=="width"||f=="height"){var m,g={position:"absolute",visibility:"hidden",display:"block"},l=f=="width"?["Left","Right"]:["Top","Bottom"];function i(){m=f=="width"?h.offsetWidth:h.offsetHeight;if(e==="border"){return }O.each(l,function(){if(!e){m-=parseFloat(O.curCSS(h,"padding"+this,true))||0}if(e==="margin"){m+=parseFloat(O.curCSS(h,"margin"+this,true))||0}else{m-=parseFloat(O.curCSS(h,"border"+this+"Width",true))||0}})}if(h.offsetWidth!==0){i()}else{O.swap(h,g,i)}return Math.max(0,Math.round(m))}return O.curCSS(h,f,j)},curCSS:function(i,f,g){var m,e=i.style;if(f=="opacity"&&!O.support.opacity){m=O.attr(e,"opacity");return m==""?"1":m}if(f.match(/float/i)){f=W}if(!g&&e&&e[f]){m=e[f]}else{if(Q.getComputedStyle){if(f.match(/float/i)){f="float"}f=f.replace(/([A-Z])/g,"-$1").toLowerCase();var n=Q.getComputedStyle(i,null);if(n){m=n.getPropertyValue(f)}if(f=="opacity"&&m==""){m="1"}}else{if(i.currentStyle){var j=f.replace(/\-(\w)/g,function(o,p){return p.toUpperCase()});m=i.currentStyle[f]||i.currentStyle[j];if(!/^\d+(px)?$/i.test(m)&&/^\d/.test(m)){var h=e.left,l=i.runtimeStyle.left;i.runtimeStyle.left=i.currentStyle.left;e.left=m||0;m=e.pixelLeft+"px";e.left=h;i.runtimeStyle.left=l}}}}return m},clean:function(f,m,j){m=m||document;if(typeof m.createElement==="undefined"){m=m.ownerDocument||m[0]&&m[0].ownerDocument||document}if(!j&&f.length===1&&typeof f[0]==="string"){var h=/^<(\w+)\s*\/?>$/.exec(f[0]);if(h){return[m.createElement(h[1])]}}var g=[],e=[],n=m.createElement("div");O.each(f,function(s,v){if(typeof v==="number"){v+=""}if(!v){return }if(typeof v==="string"){v=v.replace(/(<(\w+)[^>]*?)\/>/g,function(w,x,i){return i.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?w:x+"></"+i+">"});var q=v.replace(/^\s+/,"").substring(0,10).toLowerCase();var t=!q.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!q.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||q.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!q.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!q.indexOf("<td")||!q.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!q.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!O.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];n.innerHTML=t[1]+v+t[2];while(t[0]--){n=n.lastChild}if(!O.support.tbody){var u=/<tbody/i.test(v),p=!q.indexOf("<table")&&!u?n.firstChild&&n.firstChild.childNodes:t[1]=="<table>"&&!u?n.childNodes:[];for(var o=p.length-1;o>=0;--o){if(O.nodeName(p[o],"tbody")&&!p[o].childNodes.length){p[o].parentNode.removeChild(p[o])}}}if(!O.support.leadingWhitespace&&/^\s/.test(v)){n.insertBefore(m.createTextNode(v.match(/^\s*/)[0]),n.firstChild)}v=O.makeArray(n.childNodes)}if(v.nodeType){g.push(v)}else{g=O.merge(g,v)}});if(j){for(var l=0;g[l];l++){if(O.nodeName(g[l],"script")&&(!g[l].type||g[l].type.toLowerCase()==="text/javascript")){e.push(g[l].parentNode?g[l].parentNode.removeChild(g[l]):g[l])}else{if(g[l].nodeType===1){g.splice.apply(g,[l+1,0].concat(O.makeArray(g[l].getElementsByTagName("script"))))}j.appendChild(g[l])}}return e}return g},attr:function(j,g,l){if(!j||j.nodeType==3||j.nodeType==8){return G}var h=!O.isXMLDoc(j),m=l!==G;g=h&&O.props[g]||g;if(j.tagName){var f=/href|src|style/.test(g);if(g=="selected"&&j.parentNode){j.parentNode.selectedIndex}if(g in j&&h&&!f){if(m){if(g=="type"&&O.nodeName(j,"input")&&j.parentNode){throw"type property can't be changed"}j[g]=l}if(O.nodeName(j,"form")&&j.getAttributeNode(g)){return j.getAttributeNode(g).nodeValue}if(g=="tabIndex"){var i=j.getAttributeNode("tabIndex");return i&&i.specified?i.value:j.nodeName.match(/(button|input|object|select|textarea)/i)?0:j.nodeName.match(/^(a|area)$/i)&&j.href?0:G}return j[g]}if(!O.support.style&&h&&g=="style"){return O.attr(j.style,"cssText",l)}if(m){j.setAttribute(g,""+l)}var e=!O.support.hrefNormalized&&h&&f?j.getAttribute(g,2):j.getAttribute(g);return e===null?G:e}if(!O.support.opacity&&g=="opacity"){if(m){j.zoom=1;j.filter=(j.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(l)+""=="NaN"?"":"alpha(opacity="+l*100+")")}return j.filter&&j.filter.indexOf("opacity=")>=0?(parseFloat(j.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}g=g.replace(/-([a-z])/ig,function(n,o){return o.toUpperCase()});if(m){j[g]=l}return j[g]},trim:function(e){return(e||"").replace(/^\s+|\s+$/g,"")},makeArray:function(g){var e=[];if(g!=null){var f=g.length;if(f==null||typeof g==="string"||O.isFunction(g)||g.setInterval){e[0]=g}else{while(f){e[--f]=g[f]}}}return e},inArray:function(g,h){for(var e=0,f=h.length;e<f;e++){if(h[e]===g){return e}}return -1},merge:function(h,e){var f=0,g,j=h.length;if(!O.support.getAll){while((g=e[f++])!=null){if(g.nodeType!=8){h[j++]=g}}}else{while((g=e[f++])!=null){h[j++]=g}}return h},unique:function(n){var g=[],f={};try{for(var h=0,j=n.length;h<j;h++){var m=O.data(n[h]);if(!f[m]){f[m]=true;g.push(n[h])}}}catch(l){g=n}return g},grep:function(f,l,e){var g=[];for(var h=0,j=f.length;h<j;h++){if(!e!=!l(f[h],h)){g.push(f[h])}}return g},map:function(e,l){var f=[];for(var g=0,h=e.length;g<h;g++){var j=l(e[g],g);if(j!=null){f[f.length]=j}}return f.concat.apply([],f)}});var c=navigator.userAgent.toLowerCase();O.browser={version:(c.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(c),opera:/opera/.test(c),msie:/msie/.test(c)&&!/opera/.test(c),mozilla:/mozilla/.test(c)&&!/(compatible|webkit)/.test(c)};O.each({parent:function(e){return e.parentNode},parents:function(e){return O.dir(e,"parentNode")},next:function(e){return O.nth(e,2,"nextSibling")},prev:function(e){return O.nth(e,2,"previousSibling")},nextAll:function(e){return O.dir(e,"nextSibling")},prevAll:function(e){return O.dir(e,"previousSibling")},siblings:function(e){return O.sibling(e.parentNode.firstChild,e)},children:function(e){return O.sibling(e.firstChild)},contents:function(e){return O.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:O.makeArray(e.childNodes)}},function(e,f){O.fn[e]=function(g){var h=O.map(this,f);if(g&&typeof g=="string"){h=O.multiFilter(g,h)}return this.pushStack(O.unique(h),e,g)}});O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,f){O.fn[e]=function(g){var m=[],o=O(g);for(var n=0,h=o.length;n<h;n++){var j=(n>0?this.clone(true):this).get();O.fn[f].apply(O(o[n]),j);m=m.concat(j)}return this.pushStack(m,e,g)}});O.each({removeAttr:function(e){O.attr(this,e,"");if(this.nodeType==1){this.removeAttribute(e)}},addClass:function(e){O.className.add(this,e)},removeClass:function(e){O.className.remove(this,e)},toggleClass:function(f,e){if(typeof e!=="boolean"){e=!O.className.has(this,f)}O.className[e?"add":"remove"](this,f)},remove:function(e){if(!e||O.filter(e,[this]).length){O("*",this).add([this]).each(function(){O.event.remove(this);O.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){O(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(e,f){O.fn[e]=function(){return this.each(f,arguments)}});function J(e,f){return e[0]&&parseInt(O.curCSS(e[0],f,true),10)||0}var H="jQuery"+E(),V=0,a={};O.extend({cache:{},data:function(f,e,g){f=f==L?a:f;var h=f[H];if(!h){h=f[H]=++V}if(e&&!O.cache[h]){O.cache[h]={}}if(g!==G){O.cache[h][e]=g}return e?O.cache[h][e]:h},removeData:function(g,f){g=g==L?a:g;var i=g[H];if(f){if(O.cache[i]){delete O.cache[i][f];f="";for(f in O.cache[i]){break}if(!f){O.removeData(g)}}}else{try{delete g[H]}catch(h){if(g.removeAttribute){g.removeAttribute(H)}}delete O.cache[i]}},queue:function(f,e,h){if(f){e=(e||"fx")+"queue";var g=O.data(f,e);if(!g||O.isArray(h)){g=O.data(f,e,O.makeArray(h))}else{if(h){g.push(h)}}}return g},dequeue:function(h,g){var e=O.queue(h,g),f=e.shift();if(!g||g==="fx"){f=e[0]}if(f!==G){f.call(h)}}});O.fn.extend({data:function(e,g){var h=e.split(".");h[1]=h[1]?"."+h[1]:"";if(g===G){var f=this.triggerHandler("getData"+h[1]+"!",[h[0]]);if(f===G&&this.length){f=O.data(this[0],e)}return f===G&&h[1]?this.data(h[0]):f}else{return this.trigger("setData"+h[1]+"!",[h[0],g]).each(function(){O.data(this,e,g)})}},removeData:function(e){return this.each(function(){O.removeData(this,e)})},queue:function(e,f){if(typeof e!=="string"){f=e;e="fx"}if(f===G){return O.queue(this[0],e)}return this.each(function(){var g=O.queue(this,e,f);if(e=="fx"&&g.length==1){g[0].call(this)}})},dequeue:function(e){return this.each(function(){O.dequeue(this,e)})}});(function(){var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,n=0,i=Object.prototype.toString;var g=function(AA,w,AD,AE){AD=AD||[];w=w||document;if(w.nodeType!==1&&w.nodeType!==9){return[]}if(!AA||typeof AA!=="string"){return AD}var AB=[],y,AH,AK,e,AF,x,z=true;u.lastIndex=0;while((y=u.exec(AA))!==null){AB.push(y[1]);if(y[2]){x=RegExp.rightContext;break}}if(AB.length>1&&o.exec(AA)){if(AB.length===2&&j.relative[AB[0]]){AH=l(AB[0]+AB[1],w)}else{AH=j.relative[AB[0]]?[w]:g(AB.shift(),w);while(AB.length){AA=AB.shift();if(j.relative[AA]){AA+=AB.shift()}AH=l(AA,AH)}}}else{var AG=AE?{expr:AB.pop(),set:f(AE)}:g.find(AB.pop(),AB.length===1&&w.parentNode?w.parentNode:w,t(w));AH=g.filter(AG.expr,AG.set);if(AB.length>0){AK=f(AH)}else{z=false}while(AB.length){var AJ=AB.pop(),AI=AJ;if(!j.relative[AJ]){AJ=""}else{AI=AB.pop()}if(AI==null){AI=w}j.relative[AJ](AK,AI,t(w))}}if(!AK){AK=AH}if(!AK){throw"Syntax error, unrecognized expression: "+(AJ||AA)}if(i.call(AK)==="[object Array]"){if(!z){AD.push.apply(AD,AK)}else{if(w.nodeType===1){for(var AC=0;AK[AC]!=null;AC++){if(AK[AC]&&(AK[AC]===true||AK[AC].nodeType===1&&m(w,AK[AC]))){AD.push(AH[AC])}}}else{for(var AC=0;AK[AC]!=null;AC++){if(AK[AC]&&AK[AC].nodeType===1){AD.push(AH[AC])}}}}}else{f(AK,AD)}if(x){g(x,w,AD,AE);if(h){hasDuplicate=false;AD.sort(h);if(hasDuplicate){for(var AC=1;AC<AD.length;AC++){if(AD[AC]===AD[AC-1]){AD.splice(AC--,1)}}}}}return AD};g.matches=function(e,w){return g(e,null,null,w)};g.find=function(AC,e,AD){var AB,z;if(!AC){return[]}for(var y=0,x=j.order.length;y<x;y++){var AA=j.order[y],z;if((z=j.match[AA].exec(AC))){var w=RegExp.leftContext;if(w.substr(w.length-1)!=="\\"){z[1]=(z[1]||"").replace(/\\/g,"");AB=j.find[AA](z,e,AD);if(AB!=null){AC=AC.replace(j.match[AA],"");break}}}}if(!AB){AB=e.getElementsByTagName("*")}return{set:AB,expr:AC}};g.filter=function(AF,AE,AI,y){var x=AF,AK=[],AC=AE,AA,e,AB=AE&&AE[0]&&t(AE[0]);while(AF&&AE.length){for(var AD in j.filter){if((AA=j.match[AD].exec(AF))!=null){var w=j.filter[AD],AJ,AH;e=false;if(AC==AK){AK=[]}if(j.preFilter[AD]){AA=j.preFilter[AD](AA,AC,AI,AK,y,AB);if(!AA){e=AJ=true}else{if(AA===true){continue}}}if(AA){for(var z=0;(AH=AC[z])!=null;z++){if(AH){AJ=w(AH,AA,z,AC);var AG=y^!!AJ;if(AI&&AJ!=null){if(AG){e=true}else{AC[z]=false}}else{if(AG){AK.push(AH);e=true}}}}}if(AJ!==G){if(!AI){AC=AK}AF=AF.replace(j.match[AD],"");if(!e){return[]}break}}}if(AF==x){if(e==null){throw"Syntax error, unrecognized expression: "+AF}else{break}}x=AF}return AC};var j=g.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")}},relative:{"+":function(AC,e,AB){var z=typeof e==="string",AD=z&&!/\W/.test(e),AA=z&&!AD;if(AD&&!AB){e=e.toUpperCase()}for(var y=0,x=AC.length,w;y<x;y++){if((w=AC[y])){while((w=w.previousSibling)&&w.nodeType!==1){}AC[y]=AA||w&&w.nodeName===e?w||false:w===e}}if(AA){g.filter(e,AC,true)}},">":function(AB,w,AC){var z=typeof w==="string";if(z&&!/\W/.test(w)){w=AC?w:w.toUpperCase();for(var x=0,e=AB.length;x<e;x++){var AA=AB[x];if(AA){var y=AA.parentNode;AB[x]=y.nodeName===w?y:false}}}else{for(var x=0,e=AB.length;x<e;x++){var AA=AB[x];if(AA){AB[x]=z?AA.parentNode:AA.parentNode===w}}if(z){g.filter(w,AB,true)}}},"":function(y,w,AA){var x=n++,e=v;if(!w.match(/\W/)){var z=w=AA?w:w.toUpperCase();e=s}e("parentNode",w,x,y,z,AA)},"~":function(y,w,AA){var x=n++,e=v;if(typeof w==="string"&&!w.match(/\W/)){var z=w=AA?w:w.toUpperCase();e=s}e("previousSibling",w,x,y,z,AA)}},find:{ID:function(w,x,y){if(typeof x.getElementById!=="undefined"&&!y){var e=x.getElementById(w[1]);return e?[e]:[]}},NAME:function(x,AA,AB){if(typeof AA.getElementsByName!=="undefined"){var w=[],z=AA.getElementsByName(x[1]);for(var y=0,e=z.length;y<e;y++){if(z[y].getAttribute("name")===x[1]){w.push(z[y])}}return w.length===0?null:w}},TAG:function(e,w){return w.getElementsByTagName(e[1])}},preFilter:{CLASS:function(y,w,x,e,AB,AC){y=" "+y[1].replace(/\\/g,"")+" ";if(AC){return y}for(var z=0,AA;(AA=w[z])!=null;z++){if(AA){if(AB^(AA.className&&(" "+AA.className+" ").indexOf(y)>=0)){if(!x){e.push(AA)}}else{if(x){w[z]=false}}}}return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(w,e){for(var x=0;e[x]===false;x++){}return e[x]&&t(e[x])?w[1]:w[1].toUpperCase()},CHILD:function(e){if(e[1]=="nth"){var w=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2]=="even"&&"2n"||e[2]=="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(w[1]+(w[2]||1))-0;e[3]=w[3]-0}e[0]=n++;return e},ATTR:function(z,w,x,e,AA,AB){var y=z[1].replace(/\\/g,"");if(!AB&&j.attrMap[y]){z[1]=j.attrMap[y]}if(z[2]==="~="){z[4]=" "+z[4]+" "}return z},PSEUDO:function(z,w,x,e,AA){if(z[1]==="not"){if(z[3].match(u).length>1||/^\w/.test(z[3])){z[3]=g(z[3],null,null,w)}else{var y=g.filter(z[3],w,x,true^AA);if(!x){e.push.apply(e,y)}return false}}else{if(j.match.POS.test(z[0])||j.match.CHILD.test(z[0])){return true}}return z},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){e.parentNode.selectedIndex;return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(x,w,e){return !!g(e[3],x).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toUpperCase()==="BUTTON"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(w,e){return e===0},last:function(x,w,e,y){return w===y.length-1},even:function(w,e){return e%2===0},odd:function(w,e){return e%2===1},lt:function(x,w,e){return w<e[3]-0},gt:function(x,w,e){return w>e[3]-0},nth:function(x,w,e){return e[3]-0==w},eq:function(x,w,e){return e[3]-0==w}},filter:{PSEUDO:function(AB,x,y,AC){var w=x[1],z=j.filters[w];if(z){return z(AB,y,x,AC)}else{if(w==="contains"){return(AB.textContent||AB.innerText||"").indexOf(x[3])>=0}else{if(w==="not"){var AA=x[3];for(var y=0,e=AA.length;y<e;y++){if(AA[y]===AB){return false}}return true}}}},CHILD:function(e,y){var AB=y[1],w=e;switch(AB){case"only":case"first":while(w=w.previousSibling){if(w.nodeType===1){return false}}if(AB=="first"){return true}w=e;case"last":while(w=w.nextSibling){if(w.nodeType===1){return false}}return true;case"nth":var x=y[2],AE=y[3];if(x==1&&AE==0){return true}var AA=y[0],AD=e.parentNode;if(AD&&(AD.sizcache!==AA||!e.nodeIndex)){var z=0;for(w=AD.firstChild;w;w=w.nextSibling){if(w.nodeType===1){w.nodeIndex=++z}}AD.sizcache=AA}var AC=e.nodeIndex-AE;if(x==0){return AC==0}else{return(AC%x==0&&AC/x>=0)}}},ID:function(w,e){return w.nodeType===1&&w.getAttribute("id")===e},TAG:function(w,e){return(e==="*"&&w.nodeType===1)||w.nodeName===e},CLASS:function(w,e){return(" "+(w.className||w.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(AA,y){var x=y[1],e=j.attrHandle[x]?j.attrHandle[x](AA):AA[x]!=null?AA[x]:AA.getAttribute(x),AB=e+"",z=y[2],w=y[4];return e==null?z==="!=":z==="="?AB===w:z==="*="?AB.indexOf(w)>=0:z==="~="?(" "+AB+" ").indexOf(w)>=0:!w?AB&&e!==false:z==="!="?AB!=w:z==="^="?AB.indexOf(w)===0:z==="$="?AB.substr(AB.length-w.length)===w:z==="|="?AB===w||AB.substr(0,w.length+1)===w+"-":false},POS:function(z,w,x,AA){var e=w[2],y=j.setFilters[e];if(y){return y(z,x,w,AA)}}}};var o=j.match.POS;for(var q in j.match){j.match[q]=RegExp(j.match[q].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var f=function(w,e){w=Array.prototype.slice.call(w);if(e){e.push.apply(e,w);return e}return w};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(p){f=function(z,y){var w=y||[];if(i.call(z)==="[object Array]"){Array.prototype.push.apply(w,z)}else{if(typeof z.length==="number"){for(var x=0,e=z.length;x<e;x++){w.push(z[x])}}else{for(var x=0;z[x];x++){w.push(z[x])}}}return w}}var h;if(document.documentElement.compareDocumentPosition){h=function(w,e){var x=w.compareDocumentPosition(e)&4?-1:w===e?0:1;if(x===0){hasDuplicate=true}return x}}else{if("sourceIndex" in document.documentElement){h=function(w,e){var x=w.sourceIndex-e.sourceIndex;if(x===0){hasDuplicate=true}return x}}else{if(document.createRange){h=function(y,w){var x=y.ownerDocument.createRange(),e=w.ownerDocument.createRange();x.selectNode(y);x.collapse(true);e.selectNode(w);e.collapse(true);var z=x.compareBoundaryPoints(Range.START_TO_END,e);if(z===0){hasDuplicate=true}return z}}}}(function(){var w=document.createElement("form"),x="script"+(new Date).getTime();w.innerHTML="<input name='"+x+"'/>";var e=document.documentElement;e.insertBefore(w,e.firstChild);if(!!document.getElementById(x)){j.find.ID=function(z,AA,AB){if(typeof AA.getElementById!=="undefined"&&!AB){var y=AA.getElementById(z[1]);return y?y.id===z[1]||typeof y.getAttributeNode!=="undefined"&&y.getAttributeNode("id").nodeValue===z[1]?[y]:G:[]}};j.filter.ID=function(AA,y){var z=typeof AA.getAttributeNode!=="undefined"&&AA.getAttributeNode("id");return AA.nodeType===1&&z&&z.nodeValue===y}}e.removeChild(w)})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){j.find.TAG=function(w,AA){var z=AA.getElementsByTagName(w[1]);if(w[1]==="*"){var y=[];for(var x=0;z[x];x++){if(z[x].nodeType===1){y.push(z[x])}}z=y}return z}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){j.attrHandle.href=function(w){return w.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var e=g,w=document.createElement("div");w.innerHTML="<p class='TEST'></p>";if(w.querySelectorAll&&w.querySelectorAll(".TEST").length===0){return }g=function(AA,z,x,y){z=z||document;if(!y&&z.nodeType===9&&!t(z)){try{return f(z.querySelectorAll(AA),x)}catch(AB){}}return e(AA,z,x,y)};g.find=e.find;g.filter=e.filter;g.selectors=e.selectors;g.matches=e.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var e=document.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(e.getElementsByClassName("e").length===0){return }e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return }j.order.splice(1,0,"CLASS");j.find.CLASS=function(w,x,y){if(typeof x.getElementsByClassName!=="undefined"&&!y){return x.getElementsByClassName(w[1])}}})()}function s(w,AB,AA,AF,AC,AE){var AD=w=="previousSibling"&&!AE;for(var y=0,x=AF.length;y<x;y++){var e=AF[y];if(e){if(AD&&e.nodeType===1){e.sizcache=AA;e.sizset=y}e=e[w];var z=false;while(e){if(e.sizcache===AA){z=AF[e.sizset];break}if(e.nodeType===1&&!AE){e.sizcache=AA;e.sizset=y}if(e.nodeName===AB){z=e;break}e=e[w]}AF[y]=z}}}function v(w,AB,AA,AF,AC,AE){var AD=w=="previousSibling"&&!AE;for(var y=0,x=AF.length;y<x;y++){var e=AF[y];if(e){if(AD&&e.nodeType===1){e.sizcache=AA;e.sizset=y}e=e[w];var z=false;while(e){if(e.sizcache===AA){z=AF[e.sizset];break}if(e.nodeType===1){if(!AE){e.sizcache=AA;e.sizset=y}if(typeof AB!=="string"){if(e===AB){z=true;break}}else{if(g.filter(AB,[e]).length>0){z=e;break}}}e=e[w]}AF[y]=z}}}var m=document.compareDocumentPosition?function(w,e){return w.compareDocumentPosition(e)&16}:function(w,e){return w!==e&&(w.contains?w.contains(e):true)};var t=function(e){return e.nodeType===9&&e.documentElement.nodeName!=="HTML"||!!e.ownerDocument&&t(e.ownerDocument)};var l=function(e,AC){var y=[],z="",AA,x=AC.nodeType?[AC]:AC;while((AA=j.match.PSEUDO.exec(e))){z+=AA[0];e=e.replace(j.match.PSEUDO,"")}e=j.relative[e]?e+"*":e;for(var AB=0,w=x.length;AB<w;AB++){g(e,x[AB],y)}return g.filter(z,y)};O.find=g;O.filter=g.filter;O.expr=g.selectors;O.expr[":"]=O.expr.filters;g.selectors.filters.hidden=function(e){return e.offsetWidth===0||e.offsetHeight===0};g.selectors.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0};g.selectors.filters.animated=function(e){return O.grep(O.timers,function(w){return e===w.elem}).length};O.multiFilter=function(x,e,w){if(w){x=":not("+x+")"}return g.matches(x,e)};O.dir=function(x,w){var e=[],y=x[w];while(y&&y!=document){if(y.nodeType==1){e.push(y)}y=y[w]}return e};O.nth=function(z,e,x,y){e=e||1;var w=0;for(;z;z=z[x]){if(z.nodeType==1&&++w==e){break}}return z};O.sibling=function(x,w){var e=[];for(;x;x=x.nextSibling){if(x.nodeType==1&&x!=w){e.push(x)}}return e};return ;L.Sizzle=g})();O.event={add:function(i,f,h,l){if(i.nodeType==3||i.nodeType==8){return }if(i.setInterval&&i!=L){i=L}if(!h.guid){h.guid=this.guid++}if(l!==G){var g=h;h=this.proxy(g);h.data=l}var e=O.data(i,"events")||O.data(i,"events",{}),j=O.data(i,"handle")||O.data(i,"handle",function(){return typeof O!=="undefined"&&!O.event.triggered?O.event.handle.apply(arguments.callee.elem,arguments):G});j.elem=i;O.each(f.split(/\s+/),function(n,o){var p=o.split(".");o=p.shift();h.type=p.slice().sort().join(".");var m=e[o];if(O.event.specialAll[o]){O.event.specialAll[o].setup.call(i,l,p)}if(!m){m=e[o]={};if(!O.event.special[o]||O.event.special[o].setup.call(i,l,p)===false){if(i.addEventListener){i.addEventListener(o,j,false)}else{if(i.attachEvent){i.attachEvent("on"+o,j)}}}}m[h.guid]=h;O.event.global[o]=true});i=null},guid:1,global:{},remove:function(l,h,j){if(l.nodeType==3||l.nodeType==8){return }var g=O.data(l,"events"),f,e;if(g){if(h===G||(typeof h==="string"&&h.charAt(0)==".")){for(var i in g){this.remove(l,i+(h||""))}}else{if(h.type){j=h.handler;h=h.type}O.each(h.split(/\s+/),function(n,p){var s=p.split(".");p=s.shift();var o=RegExp("(^|\\.)"+s.slice().sort().join(".*\\.")+"(\\.|$)");if(g[p]){if(j){delete g[p][j.guid]}else{for(var q in g[p]){if(o.test(g[p][q].type)){delete g[p][q]}}}if(O.event.specialAll[p]){O.event.specialAll[p].teardown.call(l,s)}for(f in g[p]){break}if(!f){if(!O.event.special[p]||O.event.special[p].teardown.call(l,s)===false){if(l.removeEventListener){l.removeEventListener(p,O.data(l,"handle"),false)}else{if(l.detachEvent){l.detachEvent("on"+p,O.data(l,"handle"))}}}f=null;delete g[p]}}})}for(f in g){break}if(!f){var m=O.data(l,"handle");if(m){m.elem=null}O.removeData(l,"events");O.removeData(l,"handle")}}},trigger:function(j,m,i,f){var h=j.type||j;if(!f){j=typeof j==="object"?j[H]?j:O.extend(O.Event(h),j):O.Event(h);if(h.indexOf("!")>=0){j.type=h=h.slice(0,-1);j.exclusive=true}if(!i){j.stopPropagation();if(this.global[h]){O.each(O.cache,function(){if(this.events&&this.events[h]){O.event.trigger(j,m,this.handle.elem)}})}}if(!i||i.nodeType==3||i.nodeType==8){return G}j.result=G;j.target=i;m=O.makeArray(m);m.unshift(j)}j.currentTarget=i;var l=O.data(i,"handle");if(l){l.apply(i,m)}if((!i[h]||(O.nodeName(i,"a")&&h=="click"))&&i["on"+h]&&i["on"+h].apply(i,m)===false){j.result=false}if(!f&&i[h]&&!j.isDefaultPrevented()&&!(O.nodeName(i,"a")&&h=="click")){this.triggered=true;try{i[h]()}catch(n){}}this.triggered=false;if(!j.isPropagationStopped()){var g=i.parentNode||i.ownerDocument;if(g){O.event.trigger(j,m,g,true)}}},handle:function(m){var l,e;m=arguments[0]=O.event.fix(m||L.event);m.currentTarget=this;var n=m.type.split(".");m.type=n.shift();l=!n.length&&!m.exclusive;var i=RegExp("(^|\\.)"+n.slice().sort().join(".*\\.")+"(\\.|$)");e=(O.data(this,"events")||{})[m.type];for(var g in e){var h=e[g];if(l||i.test(h.type)){m.handler=h;m.data=h.data;var f=h.apply(this,arguments);if(f!==G){m.result=f;if(f===false){m.preventDefault();m.stopPropagation()}}if(m.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(h){if(h[H]){return h}var f=h;h=O.Event(f);for(var g=this.props.length,l;g;){l=this.props[--g];h[l]=f[l]}if(!h.target){h.target=h.srcElement||document}if(h.target.nodeType==3){h.target=h.target.parentNode}if(!h.relatedTarget&&h.fromElement){h.relatedTarget=h.fromElement==h.target?h.toElement:h.fromElement}if(h.pageX==null&&h.clientX!=null){var j=document.documentElement,e=document.body;h.pageX=h.clientX+(j&&j.scrollLeft||e&&e.scrollLeft||0)-(j.clientLeft||0);h.pageY=h.clientY+(j&&j.scrollTop||e&&e.scrollTop||0)-(j.clientTop||0)}if(!h.which&&((h.charCode||h.charCode===0)?h.charCode:h.keyCode)){h.which=h.charCode||h.keyCode}if(!h.metaKey&&h.ctrlKey){h.metaKey=h.ctrlKey}if(!h.which&&h.button){h.which=(h.button&1?1:(h.button&2?3:(h.button&4?2:0)))}return h},proxy:function(f,e){e=e||function(){return f.apply(this,arguments)};e.guid=f.guid=f.guid||e.guid||this.guid++;return e},special:{ready:{setup:b,teardown:function(){}}},specialAll:{live:{setup:function(e,f){O.event.add(this,f[0],C)},teardown:function(g){if(g.length){var e=0,f=RegExp("(^|\\.)"+g[0]+"(\\.|$)");O.each((O.data(this,"events").live||{}),function(){if(f.test(this.type)){e++}});if(e<1){O.event.remove(this,g[0],C)}}}}}};O.Event=function(e){if(!this.preventDefault){return new O.Event(e)}if(e&&e.type){this.originalEvent=e;this.type=e.type}else{this.type=e}this.timeStamp=E();this[H]=true};function K(){return false}function U(){return true}O.Event.prototype={preventDefault:function(){this.isDefaultPrevented=U;var f=this.originalEvent;if(!f){return }if(f.preventDefault){f.preventDefault()}f.returnValue=false},stopPropagation:function(){this.isPropagationStopped=U;var f=this.originalEvent;if(!f){return }if(f.stopPropagation){f.stopPropagation()}f.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U;this.stopPropagation()},isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K};var A=function(g){var f=g.relatedTarget;while(f&&f!=this){try{f=f.parentNode}catch(h){f=this}}if(f!=this){g.type=g.data;O.event.handle.apply(this,arguments)}};O.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(f,e){O.event.special[e]={setup:function(){O.event.add(this,f,A,e)},teardown:function(){O.event.remove(this,f,A)}}});O.fn.extend({bind:function(f,g,e){return f=="unload"?this.one(f,g,e):this.each(function(){O.event.add(this,f,e||g,e&&g)})},one:function(g,h,f){var e=O.event.proxy(f||h,function(i){O(this).unbind(i,e);return(f||h).apply(this,arguments)});return this.each(function(){O.event.add(this,g,e,f&&h)})},unbind:function(f,e){return this.each(function(){O.event.remove(this,f,e)})},trigger:function(e,f){return this.each(function(){O.event.trigger(e,f,this)})},triggerHandler:function(e,g){if(this[0]){var f=O.Event(e);f.preventDefault();f.stopPropagation();O.event.trigger(f,g,this[0]);return f.result}},toggle:function(g){var e=arguments,f=1;while(f<e.length){O.event.proxy(g,e[f++])}return this.click(O.event.proxy(g,function(h){this.lastToggle=(this.lastToggle||0)%f;h.preventDefault();return e[this.lastToggle++].apply(this,arguments)||false}))},hover:function(e,f){return this.mouseenter(e).mouseleave(f)},ready:function(e){b();if(O.isReady){e.call(document,O)}else{O.readyList.push(e)}return this},live:function(g,f){var e=O.event.proxy(f);e.guid+=this.selector+g;O(document).bind(I(g,this.selector),this.selector,e);return this},die:function(f,e){O(document).unbind(I(f,this.selector),e?{guid:e.guid+this.selector+f}:null);return this}});function C(h){var e=RegExp("(^|\\.)"+h.type+"(\\.|$)"),g=true,f=[];O.each(O.data(this,"events").live||[],function(j,l){if(e.test(l.type)){var m=O(h.target).closest(l.data)[0];if(m){f.push({elem:m,fn:l})}}});f.sort(function(j,i){return O.data(j.elem,"closest")-O.data(i.elem,"closest")});O.each(f,function(){if(this.fn.call(this.elem,h,this.fn.data)===false){return(g=false)}});return g}function I(f,e){return["live",f,e.replace(/\./g,"`").replace(/ /g,"|")].join(".")}O.extend({isReady:false,readyList:[],ready:function(){if(!O.isReady){O.isReady=true;if(O.readyList){O.each(O.readyList,function(){this.call(document,O)});O.readyList=null}O(document).triggerHandler("ready")}}});var X=false;function b(){if(X){return }X=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);O.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);O.ready()}});if(document.documentElement.doScroll&&L==L.top){(function(){if(O.isReady){return }try{document.documentElement.doScroll("left")}catch(e){setTimeout(arguments.callee,0);return }O.ready()})()}}}O.event.add(L,"load",O.ready)}O.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(f,e){O.fn[e]=function(g){return g?this.bind(e,g):this.trigger(e)}});O(L).bind("unload",function(){for(var e in O.cache){if(e!=1&&O.cache[e].handle){O.event.remove(O.cache[e].handle.elem)}}});(function(){O.support={};var g=document.documentElement,h=document.createElement("script"),m=document.createElement("div"),l="script"+(new Date).getTime();m.style.display="none";m.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var i=m.getElementsByTagName("*"),f=m.getElementsByTagName("a")[0];if(!i||!i.length||!f){return }O.support={leadingWhitespace:m.firstChild.nodeType==3,tbody:!m.getElementsByTagName("tbody").length,objectAll:!!m.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!m.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:f.style.opacity==="0.5",cssFloat:!!f.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};h.type="text/javascript";try{h.appendChild(document.createTextNode("window."+l+"=1;"))}catch(j){}g.insertBefore(h,g.firstChild);if(L[l]){O.support.scriptEval=true;delete L[l]}g.removeChild(h);if(m.attachEvent&&m.fireEvent){m.attachEvent("onclick",function(){O.support.noCloneEvent=false;m.detachEvent("onclick",arguments.callee)});m.cloneNode(true).fireEvent("onclick")}O(function(){var e=document.createElement("div");e.style.width=e.style.paddingLeft="1px";document.body.appendChild(e);O.boxModel=O.support.boxModel=e.offsetWidth===2;document.body.removeChild(e).style.display="none"})})();var W=O.support.cssFloat?"cssFloat":"styleFloat";O.props={"for":"htmlFor","class":"className","float":W,cssFloat:W,styleFloat:W,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};O.fn.extend({_load:O.fn.load,load:function(g,j,l){if(typeof g!=="string"){return this._load(g)}var i=g.indexOf(" ");if(i>=0){var e=g.slice(i,g.length);g=g.slice(0,i)}var h="GET";if(j){if(O.isFunction(j)){l=j;j=null}else{if(typeof j==="object"){j=O.param(j);h="POST"}}}var f=this;O.ajax({url:g,type:h,dataType:"html",data:j,complete:function(n,m){if(m=="success"||m=="notmodified"){f.html(e?O("<div/>").append(n.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(e):n.responseText)}if(l){f.each(l,[n.responseText,m,n])}}});return this},serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?O.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(e,f){var g=O(this).val();return g==null?null:O.isArray(g)?O.map(g,function(j,h){return{name:f.name,value:j}}):{name:f.name,value:g}}).get()}});O.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(e,f){O.fn[f]=function(g){return this.bind(f,g)}});var R=E();O.extend({get:function(e,g,h,f){if(O.isFunction(g)){h=g;g=null}return O.ajax({type:"GET",url:e,data:g,success:h,dataType:f})},getScript:function(e,f){return O.get(e,null,f,"script")},getJSON:function(e,f,g){return O.get(e,f,g,"json")},post:function(e,g,h,f){if(O.isFunction(g)){h=g;g={}}return O.ajax({type:"POST",url:e,data:g,success:h,dataType:f})},ajaxSetup:function(e){O.extend(O.ajaxSettings,e)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return L.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(o){o=O.extend(true,o,O.extend(true,{},O.ajaxSettings,o));var AA,g=/=\?(&|$)/g,v,z,h=o.type.toUpperCase();if(o.data&&o.processData&&typeof o.data!=="string"){o.data=O.param(o.data)}if(o.dataType=="jsonp"){if(h=="GET"){if(!o.url.match(g)){o.url+=(o.url.match(/\?/)?"&":"?")+(o.jsonp||"callback")+"=?"}}else{if(!o.data||!o.data.match(g)){o.data=(o.data?o.data+"&":"")+(o.jsonp||"callback")+"=?"}}o.dataType="json"}if(o.dataType=="json"&&(o.data&&o.data.match(g)||o.url.match(g))){AA="jsonp"+R++;if(o.data){o.data=(o.data+"").replace(g,"="+AA+"$1")}o.url=o.url.replace(g,"="+AA+"$1");o.dataType="script";L[AA]=function(s){z=s;j();n();L[AA]=G;try{delete L[AA]}catch(AB){}if(i){i.removeChild(x)}}}if(o.dataType=="script"&&o.cache==null){o.cache=false}if(o.cache===false&&h=="GET"){var f=E();var y=o.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+f+"$2");o.url=y+((y==o.url)?(o.url.match(/\?/)?"&":"?")+"_="+f:"")}if(o.data&&h=="GET"){o.url+=(o.url.match(/\?/)?"&":"?")+o.data;o.data=null}if(o.global&&!O.active++){O.event.trigger("ajaxStart")}var u=/^(\w+:)?\/\/([^\/?#]+)/.exec(o.url);if(o.dataType=="script"&&h=="GET"&&u&&(u[1]&&u[1]!=location.protocol||u[2]!=location.host)){var i=document.getElementsByTagName("head")[0];var x=document.createElement("script");x.src=o.url;if(o.scriptCharset){x.charset=o.scriptCharset}if(!AA){var q=false;x.onload=x.onreadystatechange=function(){if(!q&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){q=true;j();n();x.onload=x.onreadystatechange=null;i.removeChild(x)}}}i.appendChild(x);return G}var m=false;var l=o.xhr();if(o.username){l.open(h,o.url,o.async,o.username,o.password)}else{l.open(h,o.url,o.async)}try{if(o.data){l.setRequestHeader("Content-Type",o.contentType)}if(o.ifModified){l.setRequestHeader("If-Modified-Since",O.lastModified[o.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}l.setRequestHeader("X-Requested-With","XMLHttpRequest");l.setRequestHeader("Accept",o.dataType&&o.accepts[o.dataType]?o.accepts[o.dataType]+", */*":o.accepts._default)}catch(w){}if(o.beforeSend&&o.beforeSend(l,o)===false){if(o.global&&!--O.active){O.event.trigger("ajaxStop")}l.abort();return false}if(o.global){O.event.trigger("ajaxSend",[l,o])}var p=function(s){if(l.readyState==0){if(t){clearInterval(t);t=null;if(o.global&&!--O.active){O.event.trigger("ajaxStop")}}}else{if(!m&&l&&(l.readyState==4||s=="timeout")){m=true;if(t){clearInterval(t);t=null}v=s=="timeout"?"timeout":!O.httpSuccess(l)?"error":o.ifModified&&O.httpNotModified(l,o.url)?"notmodified":"success";if(v=="success"){try{z=O.httpData(l,o.dataType,o)}catch(AC){v="parsererror"}}if(v=="success"){var AB;try{AB=l.getResponseHeader("Last-Modified")}catch(AC){}if(o.ifModified&&AB){O.lastModified[o.url]=AB}if(!AA){j()}}else{O.handleError(o,l,v)}n();if(s){l.abort()}if(o.async){l=null}}}};if(o.async){var t=setInterval(p,13);if(o.timeout>0){setTimeout(function(){if(l&&!m){p("timeout")}},o.timeout)}}try{l.send(o.data)}catch(w){O.handleError(o,l,null,w)}if(!o.async){p()}function j(){if(o.success){o.success(z,v)}if(o.global){O.event.trigger("ajaxSuccess",[l,o])}}function n(){if(o.complete){o.complete(l,v)}if(o.global){O.event.trigger("ajaxComplete",[l,o])}if(o.global&&!--O.active){O.event.trigger("ajaxStop")}}return l},handleError:function(g,i,f,h){if(g.error){g.error(i,f,h)}if(g.global){O.event.trigger("ajaxError",[i,g,h])}},active:0,httpSuccess:function(g){try{return !g.status&&location.protocol=="file:"||(g.status>=200&&g.status<300)||g.status==304||g.status==1223}catch(f){}return false},httpNotModified:function(h,f){try{var i=h.getResponseHeader("Last-Modified");return h.status==304||i==O.lastModified[f]}catch(g){}return false},httpData:function(j,h,g){var f=j.getResponseHeader("content-type"),e=h=="xml"||!h&&f&&f.indexOf("xml")>=0,i=e?j.responseXML:j.responseText;if(e&&i.documentElement.tagName=="parsererror"){throw"parsererror"}if(g&&g.dataFilter){i=g.dataFilter(i,h)}if(typeof i==="string"){if(h=="script"){O.globalEval(i)}if(h=="json"){i=L["eval"]("("+i+")")}}return i},param:function(e){var g=[];function h(i,j){g[g.length]=encodeURIComponent(i)+"="+encodeURIComponent(j)}if(O.isArray(e)||e.jquery){O.each(e,function(){h(this.name,this.value)})}else{for(var f in e){if(O.isArray(e[f])){O.each(e[f],function(){h(f,this)})}else{h(f,O.isFunction(e[f])?e[f]():e[f])}}}return g.join("&").replace(/%20/g,"+")}});var M={},N,D=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function T(f,e){var g={};O.each(D.concat.apply([],D.slice(0,e)),function(){g[this]=f});return g}O.fn.extend({show:function(m,o){if(m){return this.animate(T("show",3),m,o)}else{for(var h=0,f=this.length;h<f;h++){var e=O.data(this[h],"olddisplay");this[h].style.display=e||"";if(O.css(this[h],"display")==="none"){var g=this[h].tagName,n;if(M[g]){n=M[g]}else{var j=O("<"+g+" />").appendTo("body");n=j.css("display");if(n==="none"){n="block"}j.remove();M[g]=n}O.data(this[h],"olddisplay",n)}}for(var h=0,f=this.length;h<f;h++){this[h].style.display=O.data(this[h],"olddisplay")||""}return this}},hide:function(h,j){if(h){return this.animate(T("hide",3),h,j)}else{for(var g=0,f=this.length;g<f;g++){var e=O.data(this[g],"olddisplay");if(!e&&e!=="none"){O.data(this[g],"olddisplay",O.css(this[g],"display"))}}for(var g=0,f=this.length;g<f;g++){this[g].style.display="none"}return this}},_toggle:O.fn.toggle,toggle:function(g,f){var e=typeof g==="boolean";return O.isFunction(g)&&O.isFunction(f)?this._toggle.apply(this,arguments):g==null||e?this.each(function(){var h=e?g:O(this).is(":hidden");O(this)[h?"show":"hide"]()}):this.animate(T("toggle",3),g,f)},fadeTo:function(e,g,f){return this.animate({opacity:g},e,f)},animate:function(i,f,h,g){var e=O.speed(f,h,g);return this[e.queue===false?"each":"queue"](function(){var l=O.extend({},e),n,m=this.nodeType==1&&O(this).is(":hidden"),j=this;for(n in i){if(i[n]=="hide"&&m||i[n]=="show"&&!m){return l.complete.call(this)}if((n=="height"||n=="width")&&this.style){l.display=O.css(this,"display");l.overflow=this.style.overflow}}if(l.overflow!=null){this.style.overflow="hidden"}l.curAnim=O.extend({},i);O.each(i,function(p,u){var t=new O.fx(j,l,p);if(/toggle|show|hide/.test(u)){t[u=="toggle"?m?"show":"hide":u](i)}else{var s=u.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),v=t.cur(true)||0;if(s){var o=parseFloat(s[2]),q=s[3]||"px";if(q!="px"){j.style[p]=(o||1)+q;v=((o||1)/t.cur(true))*v;j.style[p]=v+q}if(s[1]){o=((s[1]=="-="?-1:1)*o)+v}t.custom(v,o,q)}else{t.custom(v,u,"")}}});return true})},stop:function(f,e){var g=O.timers;if(f){this.queue([])}this.each(function(){for(var h=g.length-1;h>=0;h--){if(g[h].elem==this){if(e){g[h](true)}g.splice(h,1)}}});if(!e){this.dequeue()}return this}});O.each({slideDown:T("show",1),slideUp:T("hide",1),slideToggle:T("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(e,f){O.fn[e]=function(g,h){return this.animate(f,g,h)}});O.extend({speed:function(g,h,f){var e=typeof g==="object"?g:{complete:f||!f&&h||O.isFunction(g)&&g,duration:g,easing:f&&h||h&&!O.isFunction(h)&&h};e.duration=O.fx.off?0:typeof e.duration==="number"?e.duration:O.fx.speeds[e.duration]||O.fx.speeds._default;e.old=e.complete;e.complete=function(){if(e.queue!==false){O(this).dequeue()}if(O.isFunction(e.old)){e.old.call(this)}};return e},easing:{linear:function(g,h,e,f){return e+f*g},swing:function(g,h,e,f){return((-Math.cos(g*Math.PI)/2)+0.5)*f+e}},timers:[],fx:function(f,e,g){this.options=e;this.elem=f;this.prop=g;if(!e.orig){e.orig={}}}});O.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(O.fx.step[this.prop]||O.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(f){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var e=parseFloat(O.css(this.elem,this.prop,f));return e&&e>-10000?e:parseFloat(O.curCSS(this.elem,this.prop))||0},custom:function(i,h,g){this.startTime=E();this.start=i;this.end=h;this.unit=g||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function f(j){return e.step(j)}f.elem=this.elem;if(f()&&O.timers.push(f)&&!N){N=setInterval(function(){var l=O.timers;for(var j=0;j<l.length;j++){if(!l[j]()){l.splice(j--,1)}}if(!l.length){clearInterval(N);N=G}},13)}},show:function(){this.options.orig[this.prop]=O.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());O(this.elem).show()},hide:function(){this.options.orig[this.prop]=O.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(h){var g=E();if(h||g>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var e=true;for(var f in this.options.curAnim){if(this.options.curAnim[f]!==true){e=false}}if(e){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(O.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){O(this.elem).hide()}if(this.options.hide||this.options.show){for(var j in this.options.curAnim){O.attr(this.elem.style,j,this.options.orig[j])}}this.options.complete.call(this.elem)}return false}else{var l=g-this.startTime;this.state=l/this.options.duration;this.pos=O.easing[this.options.easing||(O.easing.swing?"swing":"linear")](this.state,l,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};O.extend(O.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){O.attr(e.elem.style,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=e.now+e.unit}else{e.elem[e.prop]=e.now}}}});if(document.documentElement["getBoundingClientRect"]){O.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return O.offset.bodyOffset(this[0])}var g=this[0].getBoundingClientRect(),j=this[0].ownerDocument,f=j.body,e=j.documentElement,m=e.clientTop||f.clientTop||0,l=e.clientLeft||f.clientLeft||0,i=g.top+(self.pageYOffset||O.boxModel&&e.scrollTop||f.scrollTop)-m,h=g.left+(self.pageXOffset||O.boxModel&&e.scrollLeft||f.scrollLeft)-l;return{top:i,left:h}}}else{O.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return O.offset.bodyOffset(this[0])}O.offset.initialized||O.offset.initialize();var j=this[0],g=j.offsetParent,f=j,p=j.ownerDocument,n,h=p.documentElement,l=p.body,m=p.defaultView,e=m.getComputedStyle(j,null),o=j.offsetTop,i=j.offsetLeft;while((j=j.parentNode)&&j!==l&&j!==h){n=m.getComputedStyle(j,null);o-=j.scrollTop,i-=j.scrollLeft;if(j===g){o+=j.offsetTop,i+=j.offsetLeft;if(O.offset.doesNotAddBorder&&!(O.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(j.tagName))){o+=parseInt(n.borderTopWidth,10)||0,i+=parseInt(n.borderLeftWidth,10)||0}f=g,g=j.offsetParent}if(O.offset.subtractsBorderForOverflowNotVisible&&n.overflow!=="visible"){o+=parseInt(n.borderTopWidth,10)||0,i+=parseInt(n.borderLeftWidth,10)||0}e=n}if(e.position==="relative"||e.position==="static"){o+=l.offsetTop,i+=l.offsetLeft}if(e.position==="fixed"){o+=Math.max(h.scrollTop,l.scrollTop),i+=Math.max(h.scrollLeft,l.scrollLeft)}return{top:o,left:i}}}O.offset={initialize:function(){if(this.initialized){return }var m=document.body,f=document.createElement("div"),h,g,o,i,n,e,j=m.style.marginTop,l='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';n={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(e in n){f.style[e]=n[e]}f.innerHTML=l;m.insertBefore(f,m.firstChild);h=f.firstChild,g=h.firstChild,i=h.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(g.offsetTop!==5);this.doesAddBorderForTableAndCells=(i.offsetTop===5);h.style.overflow="hidden",h.style.position="relative";this.subtractsBorderForOverflowNotVisible=(g.offsetTop===-5);m.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(m.offsetTop===0);m.style.marginTop=j;m.removeChild(f);this.initialized=true},bodyOffset:function(e){O.offset.initialized||O.offset.initialize();var g=e.offsetTop,f=e.offsetLeft;if(O.offset.doesNotIncludeMarginInBodyOffset){g+=parseInt(O.curCSS(e,"marginTop",true),10)||0,f+=parseInt(O.curCSS(e,"marginLeft",true),10)||0}return{top:g,left:f}}};O.fn.extend({position:function(){var i=0,h=0,f;if(this[0]){var g=this.offsetParent(),j=this.offset(),e=/^body|html$/i.test(g[0].tagName)?{top:0,left:0}:g.offset();j.top-=J(this,"marginTop");j.left-=J(this,"marginLeft");e.top+=J(g,"borderTopWidth");e.left+=J(g,"borderLeftWidth");f={top:j.top-e.top,left:j.left-e.left}}return f},offsetParent:function(){var e=this[0].offsetParent||document.body;while(e&&(!/^body|html$/i.test(e.tagName)&&O.css(e,"position")=="static")){e=e.offsetParent}return O(e)}});O.each(["Left","Top"],function(f,e){var g="scroll"+e;O.fn[g]=function(h){if(!this[0]){return null}return h!==G?this.each(function(){this==L||this==document?L.scrollTo(!f?h:O(L).scrollLeft(),f?h:O(L).scrollTop()):this[g]=h}):this[0]==L||this[0]==document?self[f?"pageYOffset":"pageXOffset"]||O.boxModel&&document.documentElement[g]||document.body[g]:this[0][g]}});O.each(["Height","Width"],function(j,g){var e=j?"Left":"Top",h=j?"Right":"Bottom",f=g.toLowerCase();O.fn["inner"+g]=function(){return this[0]?O.css(this[0],f,false,"padding"):null};O.fn["outer"+g]=function(i){return this[0]?O.css(this[0],f,false,i?"margin":"border"):null};var l=g.toLowerCase();O.fn[l]=function(i){return this[0]==L?document.compatMode=="CSS1Compat"&&document.documentElement["client"+g]||document.body["client"+g]:this[0]==document?Math.max(document.documentElement["client"+g],document.body["scroll"+g],document.documentElement["scroll"+g],document.body["offset"+g],document.documentElement["offset"+g]):i===G?(this.length?O.css(this[0],l):null):this.css(l,typeof i==="string"?i:i+"px")}})})();(function(D){D.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(F,E){D.fx.step[E]=function(G){if(G.state<=0.045){G.start=C(G.elem,E);G.end=B(G.end)}G.elem.style[E]="rgb("+[Math.max(Math.min(parseInt((G.pos*(G.end[0]-G.start[0]))+G.start[0]),255),0),Math.max(Math.min(parseInt((G.pos*(G.end[1]-G.start[1]))+G.start[1]),255),0),Math.max(Math.min(parseInt((G.pos*(G.end[2]-G.start[2]))+G.start[2]),255),0)].join(",")+")"}});function B(F){var E;if(F&&F.constructor==Array&&F.length==3){return F}if(E=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(F)){return[parseInt(E[1]),parseInt(E[2]),parseInt(E[3])]}if(E=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(F)){return[parseFloat(E[1])*2.55,parseFloat(E[2])*2.55,parseFloat(E[3])*2.55]}if(E=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(F)){return[parseInt(E[1],16),parseInt(E[2],16),parseInt(E[3],16)]}if(E=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(F)){return[parseInt(E[1]+E[1],16),parseInt(E[2]+E[2],16),parseInt(E[3]+E[3],16)]}return A[D.trim(F).toLowerCase()]}function C(G,E){var F;do{F=D.curCSS(G,E);if(F!=""&&F!="transparent"||D.nodeName(G,"body")){break}E="backgroundColor"}while(G=G.parentNode);return B(F)}var A={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);(function(A){A.url={};A.extend(A.url,{_params:{},init:function(){var B="";try{B=(document.location.href.split("?",2)[1]||"").split("#")[0].split("&")||[];for(var C=0;C<B.length;C++){var E=B[C].split("=");if(E[0]){this._params[E[0]]=unescape(E[1])}}}catch(D){alert(D)}},param:function(B){return this._params[B]||""},paramAll:function(){return this._params}});A.url.init()})(jQuery);shortcut={"all_shortcuts":{},"add":function(B,H,D){var G={"type":"keydown","propagate":false,"disable_in_input":true,"target":document,"keycode":false};if(!D){D=G}else{for(var A in G){if(typeof D[A]=="undefined"){D[A]=G[A]}}}var F=D.target;if(typeof D.target=="string"){F=document.getElementById(D.target)}var C=this;B=B.toLowerCase();var E=function(M){M=M||window.event;if(D["disable_in_input"]){var J;if(M.target){J=M.target}else{if(M.srcElement){J=M.srcElement}}if(J.nodeType==3){J=J.parentNode}if(J.tagName=="INPUT"||J.tagName=="TEXTAREA"){return }}if(M.keyCode){code=M.keyCode}else{if(M.which){code=M.which}}var L=String.fromCharCode(code).toLowerCase();if(code==188){L=","}if(code==190){L="."}var Q=B.split("+");var P=0;var N={"`":"~","1":"!","2":"@","3":"#","4":"$","5":"%","6":"^","7":"&","8":"*","9":"(","0":")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"};var K={"esc":27,"escape":27,"tab":9,"space":32,"return":13,"enter":13,"backspace":8,"scrolllock":145,"scroll_lock":145,"scroll":145,"capslock":20,"caps_lock":20,"caps":20,"numlock":144,"num_lock":144,"num":144,"pause":19,"break":19,"insert":45,"home":36,"delete":46,"end":35,"pageup":33,"page_up":33,"pu":33,"pagedown":34,"page_down":34,"pd":34,"left":37,"up":38,"right":39,"down":40,"num0":96,"num1":97,"num2":98,"num3":99,"num4":100,"num5":101,"num6":102,"num7":103,"num8":104,"num9":105,"f1":112,"f2":113,"f3":114,"f4":115,"f5":116,"f6":117,"f7":118,"f8":119,"f9":120,"f10":121,"f11":122,"f12":123};var O={shift:{wanted:false,pressed:false},ctrl:{wanted:false,pressed:false},alt:{wanted:false,pressed:false},meta:{wanted:false,pressed:false}};if(M.ctrlKey){O.ctrl.pressed=true}if(M.shiftKey){O.shift.pressed=true}if(M.altKey){O.alt.pressed=true}if(M.metaKey){O.meta.pressed=true}for(var I=0;k=Q[I],I<Q.length;I++){if(k=="ctrl"||k=="control"){P++;O.ctrl.wanted=true}else{if(k=="shift"){P++;O.shift.wanted=true}else{if(k=="alt"){P++;O.alt.wanted=true}else{if(k=="meta"){P++;O.meta.wanted=true}else{if(k.length>1){if(K[k]==code){P++}}else{if(D["keycode"]){if(D["keycode"]==code){P++}}else{if(L==k){P++}else{if(N[L]&&M.shiftKey){L=N[L];if(L==k){P++}}}}}}}}}}if(P==Q.length&&O.ctrl.pressed==O.ctrl.wanted&&O.shift.pressed==O.shift.wanted&&O.alt.pressed==O.alt.wanted&&O.meta.pressed==O.meta.wanted){H(M);if(!D["propagate"]){M.cancelBubble=true;M.returnValue=false;if(M.stopPropagation){M.stopPropagation();M.preventDefault()}return false}}};this.all_shortcuts[B]={"callback":E,"target":F,"event":D["type"]};if(F.addEventListener){F.addEventListener(D["type"],E,false)}else{if(F.attachEvent){F.attachEvent("on"+D["type"],E)}else{F["on"+D["type"]]=E}}},"remove":function(A){A=A.toLowerCase();var D=this.all_shortcuts[A];delete (this.all_shortcuts[A]);if(!D){return }var B=D["event"];var C=D["target"];var E=D["callback"];if(C.detachEvent){C.detachEvent("on"+B,E)}else{if(C.removeEventListener){C.removeEventListener(B,E,false)}else{C["on"+B]=false}}}};Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}};Date.getMonthNumberFromName=function(B){var E=Date.CultureInfo.monthNames,A=Date.CultureInfo.abbreviatedMonthNames,D=B.toLowerCase();for(var C=0;C<E.length;C++){if(E[C].toLowerCase()==D||A[C].toLowerCase()==D){return C}}return -1};Date.getDayNumberFromName=function(B){var F=Date.CultureInfo.dayNames,A=Date.CultureInfo.abbreviatedDayNames,E=Date.CultureInfo.shortestDayNames,D=B.toLowerCase();for(var C=0;C<F.length;C++){if(F[C].toLowerCase()==D||A[C].toLowerCase()==D){return C}}return -1};Date.isLeapYear=function(A){return(((A%4===0)&&(A%100!==0))||(A%400===0))};Date.getDaysInMonth=function(A,B){return[31,(Date.isLeapYear(A)?29:28),31,30,31,30,31,31,30,31,30,31][B]};Date.getTimezoneOffset=function(A,B){return(B||false)?Date.CultureInfo.abbreviatedTimeZoneDST[A.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[A.toUpperCase()]};Date.getTimezoneAbbreviation=function(B,D){var C=(D||false)?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard,A;for(A in C){if(C[A]===B){return A}}return null};Date.prototype.clone=function(){return new Date(this.getTime())};Date.prototype.compareTo=function(A){if(isNaN(this)){throw new Error(this)}if(A instanceof Date&&!isNaN(A)){return(this>A)?1:(this<A)?-1:0}else{throw new TypeError(A)}};Date.prototype.equals=function(A){return(this.compareTo(A)===0)};Date.prototype.between=function(C,A){var B=this.getTime();return B>=C.getTime()&&B<=A.getTime()};Date.prototype.addMilliseconds=function(A){this.setMilliseconds(this.getMilliseconds()+A);return this};Date.prototype.addSeconds=function(A){return this.addMilliseconds(A*1000)};Date.prototype.addMinutes=function(A){return this.addMilliseconds(A*60000)};Date.prototype.addHours=function(A){return this.addMilliseconds(A*3600000)};Date.prototype.addDays=function(A){return this.addMilliseconds(A*86400000)};Date.prototype.addWeeks=function(A){return this.addMilliseconds(A*604800000)};Date.prototype.addMonths=function(A){var B=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+A);this.setDate(Math.min(B,this.getDaysInMonth()));return this};Date.prototype.addYears=function(A){return this.addMonths(A*12)};Date.prototype.add=function(B){if(typeof B=="number"){this._orient=B;return this}var A=B;if(A.millisecond||A.milliseconds){this.addMilliseconds(A.millisecond||A.milliseconds)}if(A.second||A.seconds){this.addSeconds(A.second||A.seconds)}if(A.minute||A.minutes){this.addMinutes(A.minute||A.minutes)}if(A.hour||A.hours){this.addHours(A.hour||A.hours)}if(A.month||A.months){this.addMonths(A.month||A.months)}if(A.year||A.years){this.addYears(A.year||A.years)}if(A.day||A.days){this.addDays(A.day||A.days)}return this};Date._validate=function(D,C,A,B){if(typeof D!="number"){throw new TypeError(D+" is not a Number.")}else{if(D<C||D>A){throw new RangeError(D+" is not a valid value for "+B+".")}}return true};Date.validateMillisecond=function(A){return Date._validate(A,0,999,"milliseconds")};Date.validateSecond=function(A){return Date._validate(A,0,59,"seconds")};Date.validateMinute=function(A){return Date._validate(A,0,59,"minutes")};Date.validateHour=function(A){return Date._validate(A,0,23,"hours")};Date.validateDay=function(C,A,B){return Date._validate(C,1,Date.getDaysInMonth(A,B),"days")};Date.validateMonth=function(A){return Date._validate(A,0,11,"months")};Date.validateYear=function(A){return Date._validate(A,1,9999,"seconds")};Date.prototype.set=function(B){var A=B;if(!A.millisecond&&A.millisecond!==0){A.millisecond=-1}if(!A.second&&A.second!==0){A.second=-1}if(!A.minute&&A.minute!==0){A.minute=-1}if(!A.hour&&A.hour!==0){A.hour=-1}if(!A.day&&A.day!==0){A.day=-1}if(!A.month&&A.month!==0){A.month=-1}if(!A.year&&A.year!==0){A.year=-1}if(A.millisecond!=-1&&Date.validateMillisecond(A.millisecond)){this.addMilliseconds(A.millisecond-this.getMilliseconds())}if(A.second!=-1&&Date.validateSecond(A.second)){this.addSeconds(A.second-this.getSeconds())}if(A.minute!=-1&&Date.validateMinute(A.minute)){this.addMinutes(A.minute-this.getMinutes())}if(A.hour!=-1&&Date.validateHour(A.hour)){this.addHours(A.hour-this.getHours())}if(A.month!==-1&&Date.validateMonth(A.month)){this.addMonths(A.month-this.getMonth())}if(A.year!=-1&&Date.validateYear(A.year)){this.addYears(A.year-this.getFullYear())}if(A.day!=-1&&Date.validateDay(A.day,this.getFullYear(),this.getMonth())){this.addDays(A.day-this.getDate())}if(A.timezone){this.setTimezone(A.timezone)}if(A.timezoneOffset){this.setTimezoneOffset(A.timezoneOffset)}return this};Date.prototype.clearTime=function(){this.setHours(0);this.setMinutes(0);this.setSeconds(0);this.setMilliseconds(0);return this};Date.prototype.isLeapYear=function(){var A=this.getFullYear();return(((A%4===0)&&(A%100!==0))||(A%400===0))};Date.prototype.isWeekday=function(){return !(this.is().sat()||this.is().sun())};Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())};Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})};Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})};Date.prototype.moveToDayOfWeek=function(A,B){var C=(A-this.getDay()+7*(B||+1))%7;return this.addDays((C===0)?C+=7*(B||+1):C)};Date.prototype.moveToMonth=function(C,A){var B=(C-this.getMonth()+12*(A||+1))%12;return this.addMonths((B===0)?B+=12*(A||+1):B)};Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/86400000)};Date.prototype.getWeekOfYear=function(A){var G=this.getFullYear(),C=this.getMonth(),E=this.getDate();var I=A||Date.CultureInfo.firstDayOfWeek;var D=7+1-new Date(G,0,1).getDay();if(D==8){D=1}var B=((Date.UTC(G,C,E,0,0,0)-Date.UTC(G,0,1,0,0,0))/86400000)+1;var H=Math.floor((B-D+7)/7);if(H===I){G--;var F=7+1-new Date(G,0,1).getDay();if(F==2||F==8){H=53}else{H=52}}return H};Date.prototype.isDST=function(){return this.toString().match(/(E|C|M|P)(S|D)T/)[2]=="D"};Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST())};Date.prototype.setTimezoneOffset=function(B){var A=this.getTimezoneOffset(),C=Number(B)*-6/10;this.addMinutes(C-A);return this};Date.prototype.setTimezone=function(A){return this.setTimezoneOffset(Date.getTimezoneOffset(A))};Date.prototype.getUTCOffset=function(){var B=this.getTimezoneOffset()*-10/6,A;if(B<0){A=(B-10000).toString();return A[0]+A.substr(2)}else{A=(B+10000).toString();return"+"+A.substr(1)}};Date.prototype.getDayName=function(A){return A?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]};Date.prototype.getMonthName=function(A){return A?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()]};Date.prototype._toString=Date.prototype.toString;Date.prototype.toString=function(C){var A=this;var B=function B(D){return(D.toString().length==1)?"0"+D:D};return C?C.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(D){switch(D){case"hh":return B(A.getHours()<13?A.getHours():(A.getHours()-12));case"h":return A.getHours()<13?A.getHours():(A.getHours()-12);case"HH":return B(A.getHours());case"H":return A.getHours();case"mm":return B(A.getMinutes());case"m":return A.getMinutes();case"ss":return B(A.getSeconds());case"s":return A.getSeconds();case"yyyy":return A.getFullYear();case"yy":return A.getFullYear().toString().substring(2,4);case"dddd":return A.getDayName();case"ddd":return A.getDayName(true);case"dd":return B(A.getDate());case"d":return A.getDate().toString();case"MMMM":return A.getMonthName();case"MMM":return A.getMonthName(true);case"MM":return B((A.getMonth()+1));case"M":return A.getMonth()+1;case"t":return A.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case"tt":return A.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case"zzz":case"zz":case"z":return""}}):this._toString()};Date.now=function(){return new Date()};Date.today=function(){return Date.now().clearTime()};Date.prototype._orient=+1;Date.prototype.next=function(){this._orient=+1;return this};Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){this._orient=-1;return this};Date.prototype._is=false;Date.prototype.is=function(){this._is=true;return this};Number.prototype._dateElement="day";Number.prototype.fromNow=function(){var A={};A[this._dateElement]=this;return Date.now().add(A)};Number.prototype.ago=function(){var A={};A[this._dateElement]=this*-1;return Date.now().add(A)};(function(){var G=Date.prototype,A=Number.prototype;var M=("sunday monday tuesday wednesday thursday friday saturday").split(/\s/),L=("january february march april may june july august september october november december").split(/\s/),K=("Millisecond Second Minute Hour Day Week Month Year").split(/\s/),J;var I=function(N){return function(){if(this._is){this._is=false;return this.getDay()==N}return this.moveToDayOfWeek(N,this._orient)}};for(var F=0;F<M.length;F++){G[M[F]]=G[M[F].substring(0,3)]=I(F)}var H=function(N){return function(){if(this._is){this._is=false;return this.getMonth()===N}return this.moveToMonth(N,this._orient)}};for(var D=0;D<L.length;D++){G[L[D]]=G[L[D].substring(0,3)]=H(D)}var E=function(N){return function(){if(N.substring(N.length-1)!="s"){N+="s"}return this["add"+N](this._orient)}};var B=function(N){return function(){this._dateElement=N;return this}};for(var C=0;C<K.length;C++){J=K[C].toLowerCase();G[J]=G[J+"s"]=E(K[C]);A[J]=A[J+"s"]=B(J)}}());Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ")};Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern)};Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern)};Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern)};Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern)};Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}};(function(){Date.Parsing={Exception:function(I){this.message="Parse error at '"+I.substring(0,10)+" ...'"}};var A=Date.Parsing;var C=A.Operators={rtoken:function(I){return function(J){var K=J.match(I);if(K){return([K[0],J.substring(K[0].length)])}else{throw new A.Exception(J)}}},token:function(I){return function(J){return C.rtoken(new RegExp("^s*"+J+"s*"))(J)}},stoken:function(I){return C.rtoken(new RegExp("^"+I))},until:function(I){return function(J){var K=[],M=null;while(J.length){try{M=I.call(this,J)}catch(L){K.push(M[0]);J=M[1];continue}break}return[K,J]}},many:function(I){return function(J){var M=[],K=null;while(J.length){try{K=I.call(this,J)}catch(L){return[M,J]}M.push(K[0]);J=K[1]}return[M,J]}},optional:function(I){return function(J){var K=null;try{K=I.call(this,J)}catch(L){return[null,J]}return[K[0],K[1]]}},not:function(I){return function(J){try{I.call(this,J)}catch(K){return[null,J]}throw new A.Exception(J)}},ignore:function(I){return I?function(J){var K=null;K=I.call(this,J);return[null,K[1]]}:null},product:function(){var J=arguments[0],K=Array.prototype.slice.call(arguments,1),L=[];for(var I=0;I<J.length;I++){L.push(C.each(J[I],K))}return L},cache:function(K){var I={},J=null;return function(L){try{J=I[L]=(I[L]||K.call(this,L))}catch(M){J=I[L]=M}if(J instanceof A.Exception){throw J}else{return J}}},any:function(){var I=arguments;return function(K){var L=null;for(var J=0;J<I.length;J++){if(I[J]==null){continue}try{L=(I[J].call(this,K))}catch(M){L=null}if(L){return L}}throw new A.Exception(K)}},each:function(){var I=arguments;return function(K){var N=[],L=null;for(var J=0;J<I.length;J++){if(I[J]==null){continue}try{L=(I[J].call(this,K))}catch(M){throw new A.Exception(K)}N.push(L[0]);K=L[1]}return[N,K]}},all:function(){var J=arguments,I=I;return I.each(I.optional(J))},sequence:function(I,J,K){J=J||C.rtoken(/^\s*/);K=K||null;if(I.length==1){return I[0]}return function(O){var P=null,Q=null;var S=[];for(var N=0;N<I.length;N++){try{P=I[N].call(this,O)}catch(R){break}S.push(P[0]);try{Q=J.call(this,P[1])}catch(M){Q=null;break}O=Q[1]}if(!P){throw new A.Exception(O)}if(Q){throw new A.Exception(Q[1])}if(K){try{P=K.call(this,P[1])}catch(L){throw new A.Exception(P[1])}}return[S,(P?P[1]:O)]}},between:function(J,K,I){I=I||J;var L=C.each(C.ignore(J),K,C.ignore(I));return function(M){var N=L.call(this,M);return[[N[0][0],r[0][2]],N[1]]}},list:function(I,J,K){J=J||C.rtoken(/^\s*/);K=K||null;return(I instanceof Array?C.each(C.product(I.slice(0,-1),C.ignore(J)),I.slice(-1),C.ignore(K)):C.each(C.many(C.each(I,C.ignore(J))),px,C.ignore(K)))},set:function(I,J,K){J=J||C.rtoken(/^\s*/);K=K||null;return function(X){var L=null,N=null,M=null,O=null,P=[[],X],W=false;for(var R=0;R<I.length;R++){M=null;N=null;L=null;W=(I.length==1);try{L=I[R].call(this,X)}catch(U){continue}O=[[L[0]],L[1]];if(L[1].length>0&&!W){try{M=J.call(this,L[1])}catch(V){W=true}}else{W=true}if(!W&&M[1].length===0){W=true}if(!W){var S=[];for(var Q=0;Q<I.length;Q++){if(R!=Q){S.push(I[Q])}}N=C.set(S,J).call(this,M[1]);if(N[0].length>0){O[0]=O[0].concat(N[0]);O[1]=N[1]}}if(O[1].length<P[1].length){P=O}if(P[1].length===0){break}}if(P[0].length===0){return P}if(K){try{M=K.call(this,P[1])}catch(T){throw new A.Exception(P[1])}P[1]=M[1]}return P}},forward:function(I,J){return function(K){return I[J].call(this,K)}},replace:function(J,I){return function(K){var L=J.call(this,K);return[I,L[1]]}},process:function(J,I){return function(K){var L=J.call(this,K);return[I.call(this,L[0]),L[1]]}},min:function(I,J){return function(K){var L=J.call(this,K);if(L[0].length<I){throw new A.Exception(K)}return L}}};var H=function(I){return function(){var J=null,M=[];if(arguments.length>1){J=Array.prototype.slice.call(arguments)}else{if(arguments[0] instanceof Array){J=arguments[0]}}if(J){for(var L=0,K=J.shift();L<K.length;L++){J.unshift(K[L]);M.push(I.apply(null,J));J.shift();return M}}else{return I.apply(null,arguments)}}};var G="optional not ignore cache".split(/\s/);for(var D=0;D<G.length;D++){C[G[D]]=H(C[G[D]])}var F=function(I){return function(){if(arguments[0] instanceof Array){return I.apply(null,arguments[0])}else{return I.apply(null,arguments)}}};var E="each any all".split(/\s/);for(var B=0;B<E.length;B++){C[E[B]]=F(C[E[B]])}}());(function(){var F=function(J){var K=[];for(var I=0;I<J.length;I++){if(J[I] instanceof Array){K=K.concat(F(J[I]))}else{if(J[I]){K.push(J[I])}}}return K};Date.Grammar={};Date.Translator={hour:function(I){return function(){this.hour=Number(I)}},minute:function(I){return function(){this.minute=Number(I)}},second:function(I){return function(){this.second=Number(I)}},meridian:function(I){return function(){this.meridian=I.slice(0,1).toLowerCase()}},timezone:function(I){return function(){var J=I.replace(/[^\d\+\-]/g,"");if(J.length){this.timezoneOffset=Number(J)}else{this.timezone=I.toLowerCase()}}},day:function(I){var J=I[0];return function(){this.day=Number(J.match(/\d+/)[0])}},month:function(I){return function(){this.month=((I.length==3)?Date.getMonthNumberFromName(I):(Number(I)-1))}},year:function(I){return function(){var J=Number(I);this.year=((I.length>2)?J:(J+(((J+2000)<Date.CultureInfo.twoDigitYearMax)?2000:1900)))}},rday:function(I){return function(){switch(I){case"yesterday":this.days=-1;break;case"tomorrow":this.days=1;break;case"today":this.days=0;break;case"now":this.days=0;this.now=true;break}}},finishExact:function(I){I=(I instanceof Array)?I:[I];var J=new Date();this.year=J.getFullYear();this.month=J.getMonth();this.day=1;this.hour=0;this.minute=0;this.second=0;for(var K=0;K<I.length;K++){if(I[K]){I[K].call(this)}}this.hour=(this.meridian=="p"&&this.hour<13)?this.hour+12:this.hour;if(this.day>Date.getDaysInMonth(this.year,this.month)){throw new RangeError(this.day+" is not a valid value for days.")}var L=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);if(this.timezone){L.set({timezone:this.timezone})}else{if(this.timezoneOffset){L.set({timezoneOffset:this.timezoneOffset})}}return L},finish:function(I){I=(I instanceof Array)?F(I):[I];if(I.length===0){return null}for(var M=0;M<I.length;M++){if(typeof I[M]=="function"){I[M].call(this)}}if(this.now){return new Date()}var J=Date.today();var P=null;var N=!!(this.days!=null||this.orient||this.operator);if(N){var O,L,K;K=((this.orient=="past"||this.operator=="subtract")?-1:1);if(this.weekday){this.unit="day";O=(Date.getDayNumberFromName(this.weekday)-J.getDay());L=7;this.days=O?((O+(K*L))%L):(K*L)}if(this.month){this.unit="month";O=(this.month-J.getMonth());L=12;this.months=O?((O+(K*L))%L):(K*L);this.month=null}if(!this.unit){this.unit="day"}if(this[this.unit+"s"]==null||this.operator!=null){if(!this.value){this.value=1}if(this.unit=="week"){this.unit="day";this.value=this.value*7}this[this.unit+"s"]=this.value*K}return J.add(this)}else{if(this.meridian&&this.hour){this.hour=(this.hour<13&&this.meridian=="p")?this.hour+12:this.hour}if(this.weekday&&!this.day){this.day=(J.addDays((Date.getDayNumberFromName(this.weekday)-J.getDay()))).getDate()}if(this.month&&!this.day){this.day=1}return J.set(this)}}};var B=Date.Parsing.Operators,E=Date.Grammar,D=Date.Translator,H;E.datePartDelimiter=B.rtoken(/^([\s\-\.\,\/\x27]+)/);E.timePartDelimiter=B.stoken(":");E.whiteSpace=B.rtoken(/^\s*/);E.generalDelimiter=B.rtoken(/^(([\s\,]|at|on)+)/);var A={};E.ctoken=function(M){var L=A[M];if(!L){var N=Date.CultureInfo.regexPatterns;var K=M.split(/\s+/),J=[];for(var I=0;I<K.length;I++){J.push(B.replace(B.rtoken(N[K[I]]),K[I]))}L=A[M]=B.any.apply(null,J)}return L};E.ctoken2=function(I){return B.rtoken(Date.CultureInfo.regexPatterns[I])};E.h=B.cache(B.process(B.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),D.hour));E.hh=B.cache(B.process(B.rtoken(/^(0[0-9]|1[0-2])/),D.hour));E.H=B.cache(B.process(B.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),D.hour));E.HH=B.cache(B.process(B.rtoken(/^([0-1][0-9]|2[0-3])/),D.hour));E.m=B.cache(B.process(B.rtoken(/^([0-5][0-9]|[0-9])/),D.minute));E.mm=B.cache(B.process(B.rtoken(/^[0-5][0-9]/),D.minute));E.s=B.cache(B.process(B.rtoken(/^([0-5][0-9]|[0-9])/),D.second));E.ss=B.cache(B.process(B.rtoken(/^[0-5][0-9]/),D.second));E.hms=B.cache(B.sequence([E.H,E.mm,E.ss],E.timePartDelimiter));E.t=B.cache(B.process(E.ctoken2("shortMeridian"),D.meridian));E.tt=B.cache(B.process(E.ctoken2("longMeridian"),D.meridian));E.z=B.cache(B.process(B.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),D.timezone));E.zz=B.cache(B.process(B.rtoken(/^(\+|\-)\s*\d\d\d\d/),D.timezone));E.zzz=B.cache(B.process(E.ctoken2("timezone"),D.timezone));E.timeSuffix=B.each(B.ignore(E.whiteSpace),B.set([E.tt,E.zzz]));E.time=B.each(B.optional(B.ignore(B.stoken("T"))),E.hms,E.timeSuffix);E.d=B.cache(B.process(B.each(B.rtoken(/^([0-2]\d|3[0-1]|\d)/),B.optional(E.ctoken2("ordinalSuffix"))),D.day));E.dd=B.cache(B.process(B.each(B.rtoken(/^([0-2]\d|3[0-1])/),B.optional(E.ctoken2("ordinalSuffix"))),D.day));E.ddd=E.dddd=B.cache(B.process(E.ctoken("sun mon tue wed thu fri sat"),function(I){return function(){this.weekday=I}}));E.M=B.cache(B.process(B.rtoken(/^(1[0-2]|0\d|\d)/),D.month));E.MM=B.cache(B.process(B.rtoken(/^(1[0-2]|0\d)/),D.month));E.MMM=E.MMMM=B.cache(B.process(E.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),D.month));E.y=B.cache(B.process(B.rtoken(/^(\d\d?)/),D.year));E.yy=B.cache(B.process(B.rtoken(/^(\d\d)/),D.year));E.yyy=B.cache(B.process(B.rtoken(/^(\d\d?\d?\d?)/),D.year));E.yyyy=B.cache(B.process(B.rtoken(/^(\d\d\d\d)/),D.year));H=function(){return B.each(B.any.apply(null,arguments),B.not(E.ctoken2("timeContext")))};E.day=H(E.d,E.dd);E.month=H(E.M,E.MMM);E.year=H(E.yyyy,E.yy);E.orientation=B.process(E.ctoken("past future"),function(I){return function(){this.orient=I}});E.operator=B.process(E.ctoken("add subtract"),function(I){return function(){this.operator=I}});E.rday=B.process(E.ctoken("yesterday tomorrow today now"),D.rday);E.unit=B.process(E.ctoken("minute hour day week month year"),function(I){return function(){this.unit=I}});E.value=B.process(B.rtoken(/^\d\d?(st|nd|rd|th)?/),function(I){return function(){this.value=I.replace(/\D/g,"")}});E.expression=B.set([E.rday,E.operator,E.value,E.unit,E.orientation,E.ddd,E.MMM]);H=function(){return B.set(arguments,E.datePartDelimiter)};E.mdy=H(E.ddd,E.month,E.day,E.year);E.ymd=H(E.ddd,E.year,E.month,E.day);E.dmy=H(E.ddd,E.day,E.month,E.year);E.date=function(I){return((E[Date.CultureInfo.dateElementOrder]||E.mdy).call(this,I))};E.format=B.process(B.many(B.any(B.process(B.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(I){if(E[I]){return E[I]}else{throw Date.Parsing.Exception(I)}}),B.process(B.rtoken(/^[^dMyhHmstz]+/),function(I){return B.ignore(B.stoken(I))}))),function(I){return B.process(B.each.apply(null,I),D.finishExact)});var G={};var C=function(I){return G[I]=(G[I]||E.format(I)[0])};E.formats=function(J){if(J instanceof Array){var K=[];for(var I=0;I<J.length;I++){K.push(C(J[I]))}return B.any.apply(null,K)}else{return C(J)}};E._formats=E.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","d"]);E._start=B.process(B.set([E.date,E.time,E.expression],E.generalDelimiter,E.whiteSpace),D.finish);E.start=function(I){try{var J=E._formats.call({},I);if(J[1].length===0){return J}}catch(K){}return E._start.call({},I)}}());Date._parse=Date.parse;Date.parse=function(A){var B=null;if(!A){return null}try{B=Date.Grammar.start.call({},A)}catch(C){return null}return((B[1].length===0)?B[0]:null)};Date.getParseFunction=function(B){var A=Date.Grammar.formats(B);return function(C){var D=null;try{D=A.call({},C)}catch(E){return null}return((D[1].length===0)?D[0]:null)}};Date.parseExact=function(A,B){return Date.getParseFunction(B)(A)};var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var A;var B;var C;try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");A=B.GetVariable("$version")}catch(C){}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");A="WIN 6,0,21,0";B.AllowScriptAccess="always";A=B.GetVariable("$version")}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");A=B.GetVariable("$version")}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");A="WIN 3,0,18,0"}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");A="WIN 2,0,0,11"}catch(C){A=-1}}return A}function GetSwfVer(){var G=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var F=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var A=navigator.plugins["Shockwave Flash"+F].description;var E=A.split(" ");var C=E[2].split(".");var H=C[0];var B=C[1];var D=E[3];if(D==""){D=E[4]}if(D[0]=="d"){D=D.substring(1)}else{if(D[0]=="r"){D=D.substring(1);if(D.indexOf("d")>0){D=D.substring(0,D.indexOf("d"))}}}var G=H+"."+B+"."+D}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){G=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){G=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){G=2}else{if(isIE&&isWin&&!isOpera){G=ControlVersion()}}}}}return G}function DetectFlashVer(F,D,C){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var E=versionArray[0];var A=versionArray[1];var B=versionArray[2];if(E>parseFloat(F)){return true}else{if(E==parseFloat(F)){if(A>parseFloat(D)){return true}else{if(A==parseFloat(D)){if(B>=parseFloat(C)){return true}}}}}return false}}}function AC_AddExtension(B,A){if(B.indexOf("?")!=-1){return B.replace(/\?/,A+"?")}else{return B+A}}function AC_Generateobj(E,D,A){var C="";if(isIE&&isWin&&!isOpera){C+="<object ";for(var B in E){C+=B+'="'+E[B]+'" '}C+=">";for(var B in D){C+='<param name="'+B+'" value="'+D[B]+'" /> '}C+="</object>"}else{C+="<embed ";for(var B in A){C+=B+'="'+A[B]+'" '}C+="> </embed>"}document.write(C)}function AC_FL_RunContent(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_SW_RunContent(){var A=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_GetArgs(B,E,G,D,H){var A=new Object();A.embedAttrs=new Object();A.params=new Object();A.objAttrs=new Object();for(var C=0;C<B.length;C=C+2){var F=B[C].toLowerCase();switch(F){case"classid":break;case"pluginspage":A.embedAttrs[B[C]]=B[C+1];break;case"src":case"movie":B[C+1]=AC_AddExtension(B[C+1],E);A.embedAttrs["src"]=B[C+1];A.params[G]=B[C+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":A.objAttrs[B[C]]=B[C+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":A.embedAttrs[B[C]]=A.objAttrs[B[C]]=B[C+1];break;default:A.embedAttrs[B[C]]=A.params[B[C]]=B[C+1]}}A.objAttrs["classid"]=D;if(H){A.embedAttrs["type"]=H}return A}var MT=MT||{};(function(C){MT.debug=C.url.param("debug")||C.browser.mozilla&&location.host==="local.mytomatoes.com";function A(){return new Date().moveToMidnight()}MT.today=A;function B(){return A().addDays(-1)}function D(){var G=C(this),E=C(this).find("strong"),F=Date.parseExact(E.text(),"yyyy-MM-dd");if(F===null){return }else{if(F.equals(A())){G.attr("id","today");E.text("today")}else{if(F.equals(B())){E.text("yesterday")}else{E.text(F.toString("dddd dd. MMM").toLowerCase())}}}G.data("date",F)}MT.fix_day_names=function(){C("#done h3").each(D)};MT.reload_done_div=function(){C("#done").load("views/completed_tomatoes.php",MT.fix_day_names)};MT.make_sure_that_today_is_still_today=function(){if(C("#today").exists()&&!C("#today").data("date").equals(A())){MT.reload_done_div()}};C.postJSON=function(G,H,I,F){var E=function(J){if(F&&F(J)){}else{if(MT.debug){alert("ERROR")}else{location.href="error.php"}}};C.ajax({data:H,type:"POST",url:G+"?ajax=json",timeout:20000,dataType:"json",error:E,success:function(J){if(J.result==="ok"){if(I){I(J)}}else{if(J.result==="not_logged_in"){location.href=location.href+"?session=expired"}else{E(J)}}}})};C.fn.exists=function(){return this.length>0};Date.prototype.toTimestamp=function(){return this.toString("yyyy-MM-dd HH:mm:ss")};Date.prototype.toClock=function(){return this.toString("HH:mm")};Date.prototype.to12hrClock=function(){return this.toString("hh:mm tt")};Date.prototype.moveToMidnight=function(){return Date.parseExact(this.toString("yyyy-MM-dd"),"yyyy-MM-dd")}})(jQuery);var MT=MT||{};(function(A){MT.ajax_service={save_preference:function(B,C){this.contact_server("actions/set_preference",{name:B,value:C})},contact_server:function(B,C){A.ajax({type:"POST",url:"/"+B+".php",data:C,dataType:"json"})}}}(jQuery))
