compass-jquery-plugin 0.2.5.1 → 0.2.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/VERSION.yml +1 -1
  2. data/compass-jquery-plugin.gemspec +3 -3
  3. data/lib/compiler.jar +0 -0
  4. data/lib/handle_js_files.rb +4 -2
  5. data/templates/calendar/jquery.calendar.min.js +118 -11
  6. data/templates/dynatree/jquery.dynatree.min.js +58 -1
  7. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +15 -1
  8. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +15 -1
  9. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +7 -1
  10. data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +8 -1
  11. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +8 -1
  12. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +7 -1
  13. data/templates/jqgrid/i18n/jqgrid/locale-dk.min.js +6 -1
  14. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +13 -1
  15. data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +6 -1
  16. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +12 -1
  17. data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +6 -1
  18. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +7 -1
  19. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +13 -1
  20. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +7 -1
  21. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +7 -1
  22. data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +8 -1
  23. data/templates/jqgrid/i18n/jqgrid/locale-jp.min.js +8 -1
  24. data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +6 -1
  25. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +6 -1
  26. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +7 -1
  27. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +7 -1
  28. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +7 -1
  29. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +8 -1
  30. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +16 -1
  31. data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +7 -1
  32. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +7 -1
  33. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +7 -1
  34. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +16 -1
  35. data/templates/jqgrid/jquery.jqGrid.js +27 -6
  36. data/templates/jqgrid/jquery.jqGrid.min.js +424 -1
  37. data/templates/jqtouch/jquery.jqtouch.min.js +24 -1
  38. data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +4 -1
  39. data/templates/jrails/i18n/jquery.ui/datepicker-bg.min.js +4 -1
  40. data/templates/jrails/i18n/jquery.ui/datepicker-ca.min.js +2 -1
  41. data/templates/jrails/i18n/jquery.ui/datepicker-cs.min.js +2 -1
  42. data/templates/jrails/i18n/jquery.ui/datepicker-da.min.js +2 -1
  43. data/templates/jrails/i18n/jquery.ui/datepicker-de.min.js +2 -1
  44. data/templates/jrails/i18n/jquery.ui/datepicker-el.min.js +4 -1
  45. data/templates/jrails/i18n/jquery.ui/datepicker-eo.min.js +2 -1
  46. data/templates/jrails/i18n/jquery.ui/datepicker-es.min.js +2 -1
  47. data/templates/jrails/i18n/jquery.ui/datepicker-fa.min.js +3 -1
  48. data/templates/jrails/i18n/jquery.ui/datepicker-fi.min.js +2 -1
  49. data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +2 -1
  50. data/templates/jrails/i18n/jquery.ui/datepicker-he.min.js +3 -1
  51. data/templates/jrails/i18n/jquery.ui/datepicker-hr.min.js +2 -1
  52. data/templates/jrails/i18n/jquery.ui/datepicker-hu.min.js +2 -1
  53. data/templates/jrails/i18n/jquery.ui/datepicker-hy.min.js +4 -1
  54. data/templates/jrails/i18n/jquery.ui/datepicker-id.min.js +2 -1
  55. data/templates/jrails/i18n/jquery.ui/datepicker-is.min.js +2 -1
  56. data/templates/jrails/i18n/jquery.ui/datepicker-it.min.js +2 -1
  57. data/templates/jrails/i18n/jquery.ui/datepicker-ja.min.js +2 -1
  58. data/templates/jrails/i18n/jquery.ui/datepicker-ko.min.js +2 -1
  59. data/templates/jrails/i18n/jquery.ui/datepicker-lt.min.js +2 -1
  60. data/templates/jrails/i18n/jquery.ui/datepicker-lv.min.js +2 -1
  61. data/templates/jrails/i18n/jquery.ui/datepicker-ms.min.js +2 -1
  62. data/templates/jrails/i18n/jquery.ui/datepicker-nl.min.js +2 -1
  63. data/templates/jrails/i18n/jquery.ui/datepicker-no.min.js +2 -1
  64. data/templates/jrails/i18n/jquery.ui/datepicker-pl.min.js +2 -1
  65. data/templates/jrails/i18n/jquery.ui/datepicker-pt-BR.min.js +2 -1
  66. data/templates/jrails/i18n/jquery.ui/datepicker-ro.min.js +2 -1
  67. data/templates/jrails/i18n/jquery.ui/datepicker-ru.min.js +4 -1
  68. data/templates/jrails/i18n/jquery.ui/datepicker-sk.min.js +2 -1
  69. data/templates/jrails/i18n/jquery.ui/datepicker-sl.min.js +2 -1
  70. data/templates/jrails/i18n/jquery.ui/datepicker-sq.min.js +2 -1
  71. data/templates/jrails/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -1
  72. data/templates/jrails/i18n/jquery.ui/datepicker-sr.min.js +3 -1
  73. data/templates/jrails/i18n/jquery.ui/datepicker-sv.min.js +2 -1
  74. data/templates/jrails/i18n/jquery.ui/datepicker-th.min.js +4 -1
  75. data/templates/jrails/i18n/jquery.ui/datepicker-tr.min.js +2 -1
  76. data/templates/jrails/i18n/jquery.ui/datepicker-uk.min.js +4 -1
  77. data/templates/jrails/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -1
  78. data/templates/jrails/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -1
  79. data/templates/jrails/jquery-ui.min.js +690 -1
  80. data/templates/jrails/jquery.min.js +178 -19
  81. data/templates/jrails/jquery.pngFix.min.js +2 -1
  82. data/templates/jrails/jrails.min.js +8 -1
  83. data/templates/secret_sauce/secret_sauce.min.js +1 -1
  84. metadata +3 -3
  85. data/lib/yuicompressor-2.4.2.jar +0 -0
@@ -1,19 +1,178 @@
1
- /*
2
- * jQuery JavaScript Library v1.3.2
3
- * http://jquery.com/
4
- *
5
- * Copyright (c) 2009 John Resig
6
- * Dual licensed under the MIT and GPL licenses.
7
- * http://docs.jquery.com/License
8
- *
9
- * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
10
- * Revision: 6246
11
- */
12
- (function(){var m=this,h,A=m.jQuery,r=m.$,q=m.jQuery=m.$=function(G,H){return new q.fn.init(G,H)},F=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,g=/^.[^:#\[\.,]*$/;q.fn=q.prototype={init:function(G,J){G=G||document;if(G.nodeType){this[0]=G;this.length=1;this.context=G;return this}if(typeof G==="string"){var I=F.exec(G);if(I&&(I[1]||!J)){if(I[1]){G=q.clean([I[1]],J)}else{var K=document.getElementById(I[3]);if(K&&K.id!=I[3]){return q().find(G)}var H=q(K||[]);H.context=document;H.selector=G;return H}}else{return q(J).find(G)}}else{if(q.isFunction(G)){return q(document).ready(G)}}if(G.selector&&G.context){this.selector=G.selector;this.context=G.context}return this.setArray(q.isArray(G)?G:q.makeArray(G))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(G){return G===h?Array.prototype.slice.call(this):this[G]},pushStack:function(H,J,G){var I=q(H);I.prevObject=this;I.context=this.context;if(J==="find"){I.selector=this.selector+(this.selector?" ":"")+G}else{if(J){I.selector=this.selector+"."+J+"("+G+")"}}return I},setArray:function(G){this.length=0;Array.prototype.push.apply(this,G);return this},each:function(H,G){return q.each(this,H,G)},index:function(G){return q.inArray(G&&G.jquery?G[0]:G,this)},attr:function(H,J,I){var G=H;if(typeof H==="string"){if(J===h){return this[0]&&q[I||"attr"](this[0],H)}else{G={};G[H]=J}}return this.each(function(K){for(H in G){q.attr(I?this.style:this,H,q.prop(this,G[H],I,K,H))}})},css:function(G,H){if((G=="width"||G=="height")&&parseFloat(H)<0){H=h}return this.attr(G,H,"curCSS")},text:function(H){if(typeof H!=="object"&&H!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(H))}var G="";q.each(H||this,function(){q.each(this.childNodes,function(){if(this.nodeType!=8){G+=this.nodeType!=1?this.nodeValue:q.fn.text([this])}})});return G},wrapAll:function(G){if(this[0]){var H=q(G,this[0].ownerDocument).clone();if(this[0].parentNode){H.insertBefore(this[0])}H.map(function(){var I=this;while(I.firstChild){I=I.firstChild}return I}).append(this)}return this},wrapInner:function(G){return this.each(function(){q(this).contents().wrapAll(G)})},wrap:function(G){return this.each(function(){q(this).wrapAll(G)})},append:function(){return this.domManip(arguments,true,function(G){if(this.nodeType==1){this.appendChild(G)}})},prepend:function(){return this.domManip(arguments,true,function(G){if(this.nodeType==1){this.insertBefore(G,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(G){this.parentNode.insertBefore(G,this)})},after:function(){return this.domManip(arguments,false,function(G){this.parentNode.insertBefore(G,this.nextSibling)})},end:function(){return this.prevObject||q([])},push:[].push,sort:[].sort,splice:[].splice,find:function(G){if(this.length===1){var H=this.pushStack([],"find",G);H.length=0;q.find(G,this[0],H);return H}else{return this.pushStack(q.unique(q.map(this,function(I){return q.find(G,I)})),"find",G)}},clone:function(I){var G=this.map(function(){if(!q.support.noCloneEvent&&!q.isXMLDoc(this)){var K=this.outerHTML;if(!K){var L=this.ownerDocument.createElement("div");L.appendChild(this.cloneNode(true));K=L.innerHTML}return q.clean([K.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(I===true){var J=this.find("*").andSelf(),H=0;G.find("*").andSelf().each(function(){if(this.nodeName!==J[H].nodeName){return}var K=q.data(J[H],"events");for(var M in K){for(var L in K[M]){q.event.add(this,M,K[M][L],K[M][L].data)}}H++})}return G},filter:function(G){return this.pushStack(q.isFunction(G)&&q.grep(this,function(I,H){return G.call(I,H)})||q.multiFilter(G,q.grep(this,function(H){return H.nodeType===1})),"filter",G)},closest:function(G){var I=q.expr.match.POS.test(G)?q(G):null,H=0;return this.map(function(){var J=this;while(J&&J.ownerDocument){if(I?I.index(J)>-1:q(J).is(G)){q.data(J,"closest",H);return J}J=J.parentNode;H++}})},not:function(G){if(typeof G==="string"){if(g.test(G)){return this.pushStack(q.multiFilter(G,this,true),"not",G)}else{G=q.multiFilter(G,this)}}var H=G.length&&G[G.length-1]!==h&&!G.nodeType;return this.filter(function(){return H?q.inArray(this,G)<0:this!=G})},add:function(G){return this.pushStack(q.unique(q.merge(this.get(),typeof G==="string"?q(G):q.makeArray(G))))},is:function(G){return !!G&&q.multiFilter(G,this).length>0},hasClass:function(G){return !!G&&this.is("."+G)},val:function(M){if(M===h){var G=this[0];if(G){if(q.nodeName(G,"option")){return(G.attributes.value||{}).specified?G.value:G.text}if(q.nodeName(G,"select")){var K=G.selectedIndex,N=[],O=G.options,J=G.type=="select-one";if(K<0){return null}for(var H=J?K:0,L=J?K+1:O.length;H<L;H++){var I=O[H];if(I.selected){M=q(I).val();if(J){return M}N.push(M)}}return N}return(G.value||"").replace(/\r/g,"")}return h}if(typeof M==="number"){M+=""}return this.each(function(){if(this.nodeType!=1){return}if(q.isArray(M)&&/radio|checkbox/.test(this.type)){this.checked=(q.inArray(this.value,M)>=0||q.inArray(this.name,M)>=0)}else{if(q.nodeName(this,"select")){var P=q.makeArray(M);q("option",this).each(function(){this.selected=(q.inArray(this.value,P)>=0||q.inArray(this.text,P)>=0)});if(!P.length){this.selectedIndex=-1}}else{this.value=M}}})},html:function(G){return G===h?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(G)},replaceWith:function(G){return this.after(G).remove()},eq:function(G){return this.slice(G,+G+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(G){return this.pushStack(q.map(this,function(I,H){return G.call(I,H,I)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(L,O,N){if(this[0]){var K=(this[0].ownerDocument||this[0]).createDocumentFragment(),H=q.clean(L,(this[0].ownerDocument||this[0]),K),J=K.firstChild;if(J){for(var I=0,G=this.length;I<G;I++){N.call(M(this[I],J),this.length>1||I>0?K.cloneNode(true):K)}}if(H){q.each(H,B)}}return this;function M(P,Q){return O&&q.nodeName(P,"table")&&q.nodeName(Q,"tr")?(P.getElementsByTagName("tbody")[0]||P.appendChild(P.ownerDocument.createElement("tbody"))):P}}};q.fn.init.prototype=q.fn;function B(G,H){if(H.src){q.ajax({url:H.src,async:false,dataType:"script"})}else{q.globalEval(H.text||H.textContent||H.innerHTML||"")}if(H.parentNode){H.parentNode.removeChild(H)}}function f(){return +new Date}q.extend=q.fn.extend=function(){var L=arguments[0]||{},J=1,K=arguments.length,G=false,I;if(typeof L==="boolean"){G=L;L=arguments[1]||{};J=2}if(typeof L!=="object"&&!q.isFunction(L)){L={}}if(K==J){L=this;--J}for(;J<K;J++){if((I=arguments[J])!=null){for(var H in I){var M=L[H],N=I[H];if(L===N){continue}if(G&&N&&typeof N==="object"&&!N.nodeType){L[H]=q.extend(G,M||(N.length!=null?[]:{}),N)}else{if(N!==h){L[H]=N}}}}}return L};var c=/z-?index|font-?weight|opacity|zoom|line-?height/i,s=document.defaultView||{},u=Object.prototype.toString;q.extend({noConflict:function(G){m.$=r;if(G){m.jQuery=A}return q},isFunction:function(G){return u.call(G)==="[object Function]"},isArray:function(G){return u.call(G)==="[object Array]"},isXMLDoc:function(G){return G.nodeType===9&&G.documentElement.nodeName!=="HTML"||!!G.ownerDocument&&q.isXMLDoc(G.ownerDocument)},globalEval:function(I){if(I&&/\S/.test(I)){var H=document.getElementsByTagName("head")[0]||document.documentElement,G=document.createElement("script");G.type="text/javascript";if(q.support.scriptEval){G.appendChild(document.createTextNode(I))}else{G.text=I}H.insertBefore(G,H.firstChild);H.removeChild(G)}},nodeName:function(H,G){return H.nodeName&&H.nodeName.toUpperCase()==G.toUpperCase()},each:function(I,M,H){var G,J=0,K=I.length;if(H){if(K===h){for(G in I){if(M.apply(I[G],H)===false){break}}}else{for(;J<K;){if(M.apply(I[J++],H)===false){break}}}}else{if(K===h){for(G in I){if(M.call(I[G],G,I[G])===false){break}}}else{for(var L=I[0];J<K&&M.call(L,J,L)!==false;L=I[++J]){}}}return I},prop:function(J,K,I,H,G){if(q.isFunction(K)){K=K.call(J,H)}return typeof K==="number"&&I=="curCSS"&&!c.test(G)?K+"px":K},className:{add:function(G,H){q.each((H||"").split(/\s+/),function(I,J){if(G.nodeType==1&&!q.className.has(G.className,J)){G.className+=(G.className?" ":"")+J}})},remove:function(G,H){if(G.nodeType==1){G.className=H!==h?q.grep(G.className.split(/\s+/),function(I){return !q.className.has(H,I)}).join(" "):""}},has:function(H,G){return H&&q.inArray(G,(H.className||H).toString().split(/\s+/))>-1}},swap:function(J,I,K){var G={};for(var H in I){G[H]=J.style[H];J.style[H]=I[H]}K.call(J);for(var H in I){J.style[H]=G[H]}},css:function(J,H,L,G){if(H=="width"||H=="height"){var N,I={position:"absolute",visibility:"hidden",display:"block"},M=H=="width"?["Left","Right"]:["Top","Bottom"];function K(){N=H=="width"?J.offsetWidth:J.offsetHeight;if(G==="border"){return}q.each(M,function(){if(!G){N-=parseFloat(q.curCSS(J,"padding"+this,true))||0}if(G==="margin"){N+=parseFloat(q.curCSS(J,"margin"+this,true))||0}else{N-=parseFloat(q.curCSS(J,"border"+this+"Width",true))||0}})}if(J.offsetWidth!==0){K()}else{q.swap(J,I,K)}return Math.max(0,Math.round(N))}return q.curCSS(J,H,L)},curCSS:function(K,H,I){var N,G=K.style;if(H=="opacity"&&!q.support.opacity){N=q.attr(G,"opacity");return N==""?"1":N}if(H.match(/float/i)){H=y}if(!I&&G&&G[H]){N=G[H]}else{if(s.getComputedStyle){if(H.match(/float/i)){H="float"}H=H.replace(/([A-Z])/g,"-$1").toLowerCase();var O=s.getComputedStyle(K,null);if(O){N=O.getPropertyValue(H)}if(H=="opacity"&&N==""){N="1"}}else{if(K.currentStyle){var L=H.replace(/\-(\w)/g,function(P,Q){return Q.toUpperCase()});N=K.currentStyle[H]||K.currentStyle[L];if(!/^\d+(px)?$/i.test(N)&&/^\d/.test(N)){var J=G.left,M=K.runtimeStyle.left;K.runtimeStyle.left=K.currentStyle.left;G.left=N||0;N=G.pixelLeft+"px";G.left=J;K.runtimeStyle.left=M}}}}return N},clean:function(H,M,K){M=M||document;if(typeof M.createElement==="undefined"){M=M.ownerDocument||M[0]&&M[0].ownerDocument||document}if(!K&&H.length===1&&typeof H[0]==="string"){var J=/^<(\w+)\s*\/?>$/.exec(H[0]);if(J){return[M.createElement(J[1])]}}var I=[],G=[],N=M.createElement("div");q.each(H,function(R,U){if(typeof U==="number"){U+=""}if(!U){return}if(typeof U==="string"){U=U.replace(/(<(\w+)[^>]*?)\/>/g,function(W,X,V){return V.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?W:X+"></"+V+">"});var Q=U.replace(/^\s+/,"").substring(0,10).toLowerCase();var S=!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>"]||!q.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];N.innerHTML=S[1]+U+S[2];while(S[0]--){N=N.lastChild}if(!q.support.tbody){var T=/<tbody/i.test(U),P=!Q.indexOf("<table")&&!T?N.firstChild&&N.firstChild.childNodes:S[1]=="<table>"&&!T?N.childNodes:[];for(var O=P.length-1;O>=0;--O){if(q.nodeName(P[O],"tbody")&&!P[O].childNodes.length){P[O].parentNode.removeChild(P[O])}}}if(!q.support.leadingWhitespace&&/^\s/.test(U)){N.insertBefore(M.createTextNode(U.match(/^\s*/)[0]),N.firstChild)}U=q.makeArray(N.childNodes)}if(U.nodeType){I.push(U)}else{I=q.merge(I,U)}});if(K){for(var L=0;I[L];L++){if(q.nodeName(I[L],"script")&&(!I[L].type||I[L].type.toLowerCase()==="text/javascript")){G.push(I[L].parentNode?I[L].parentNode.removeChild(I[L]):I[L])}else{if(I[L].nodeType===1){I.splice.apply(I,[L+1,0].concat(q.makeArray(I[L].getElementsByTagName("script"))))}K.appendChild(I[L])}}return G}return I},attr:function(L,I,M){if(!L||L.nodeType==3||L.nodeType==8){return h}var J=!q.isXMLDoc(L),N=M!==h;I=J&&q.props[I]||I;if(L.tagName){var H=/href|src|style/.test(I);if(I=="selected"&&L.parentNode){L.parentNode.selectedIndex}if(I in L&&J&&!H){if(N){if(I=="type"&&q.nodeName(L,"input")&&L.parentNode){throw"type property can't be changed"}L[I]=M}if(q.nodeName(L,"form")&&L.getAttributeNode(I)){return L.getAttributeNode(I).nodeValue}if(I=="tabIndex"){var K=L.getAttributeNode("tabIndex");return K&&K.specified?K.value:L.nodeName.match(/(button|input|object|select|textarea)/i)?0:L.nodeName.match(/^(a|area)$/i)&&L.href?0:h}return L[I]}if(!q.support.style&&J&&I=="style"){return q.attr(L.style,"cssText",M)}if(N){L.setAttribute(I,""+M)}var G=!q.support.hrefNormalized&&J&&H?L.getAttribute(I,2):L.getAttribute(I);return G===null?h:G}if(!q.support.opacity&&I=="opacity"){if(N){L.zoom=1;L.filter=(L.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(M)+""=="NaN"?"":"alpha(opacity="+M*100+")")}return L.filter&&L.filter.indexOf("opacity=")>=0?(parseFloat(L.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}I=I.replace(/-([a-z])/ig,function(O,P){return P.toUpperCase()});if(N){L[I]=M}return L[I]},trim:function(G){return(G||"").replace(/^\s+|\s+$/g,"")},makeArray:function(I){var G=[];if(I!=null){var H=I.length;if(H==null||typeof I==="string"||q.isFunction(I)||I.setInterval){G[0]=I}else{while(H){G[--H]=I[H]}}}return G},inArray:function(I,J){for(var G=0,H=J.length;G<H;G++){if(J[G]===I){return G}}return -1},merge:function(J,G){var H=0,I,K=J.length;if(!q.support.getAll){while((I=G[H++])!=null){if(I.nodeType!=8){J[K++]=I}}}else{while((I=G[H++])!=null){J[K++]=I}}return J},unique:function(M){var H=[],G={};try{for(var I=0,J=M.length;I<J;I++){var L=q.data(M[I]);if(!G[L]){G[L]=true;H.push(M[I])}}}catch(K){H=M}return H},grep:function(H,L,G){var I=[];for(var J=0,K=H.length;J<K;J++){if(!G!=!L(H[J],J)){I.push(H[J])}}return I},map:function(G,L){var H=[];for(var I=0,J=G.length;I<J;I++){var K=L(G[I],I);if(K!=null){H[H.length]=K}}return H.concat.apply([],H)}});var E=navigator.userAgent.toLowerCase();q.browser={version:(E.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(E),opera:/opera/.test(E),msie:/msie/.test(E)&&!/opera/.test(E),mozilla:/mozilla/.test(E)&&!/(compatible|webkit)/.test(E)};q.each({parent:function(G){return G.parentNode},parents:function(G){return q.dir(G,"parentNode")},next:function(G){return q.nth(G,2,"nextSibling")},prev:function(G){return q.nth(G,2,"previousSibling")},nextAll:function(G){return q.dir(G,"nextSibling")},prevAll:function(G){return q.dir(G,"previousSibling")},siblings:function(G){return q.sibling(G.parentNode.firstChild,G)},children:function(G){return q.sibling(G.firstChild)},contents:function(G){return q.nodeName(G,"iframe")?G.contentDocument||G.contentWindow.document:q.makeArray(G.childNodes)}},function(G,H){q.fn[G]=function(I){var J=q.map(this,H);if(I&&typeof I=="string"){J=q.multiFilter(I,J)}return this.pushStack(q.unique(J),G,I)}});q.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(G,H){q.fn[G]=function(I){var L=[],N=q(I);for(var M=0,J=N.length;M<J;M++){var K=(M>0?this.clone(true):this).get();q.fn[H].apply(q(N[M]),K);L=L.concat(K)}return this.pushStack(L,G,I)}});q.each({removeAttr:function(G){q.attr(this,G,"");if(this.nodeType==1){this.removeAttribute(G)}},addClass:function(G){q.className.add(this,G)},removeClass:function(G){q.className.remove(this,G)},toggleClass:function(H,G){if(typeof G!=="boolean"){G=!q.className.has(this,H)}q.className[G?"add":"remove"](this,H)},remove:function(G){if(!G||q.filter(G,[this]).length){q("*",this).add([this]).each(function(){q.event.remove(this);q.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){q(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(G,H){q.fn[G]=function(){return this.each(H,arguments)}});function k(G,H){return G[0]&&parseInt(q.curCSS(G[0],H,true),10)||0}var i="jQuery"+f(),x=0,C={};q.extend({cache:{},data:function(H,G,I){H=H==m?C:H;var J=H[i];if(!J){J=H[i]=++x}if(G&&!q.cache[J]){q.cache[J]={}}if(I!==h){q.cache[J][G]=I}return G?q.cache[J][G]:J},removeData:function(H,G){H=H==m?C:H;var J=H[i];if(G){if(q.cache[J]){delete q.cache[J][G];G="";for(G in q.cache[J]){break}if(!G){q.removeData(H)}}}else{try{delete H[i]}catch(I){if(H.removeAttribute){H.removeAttribute(i)}}delete q.cache[J]}},queue:function(H,G,J){if(H){G=(G||"fx")+"queue";var I=q.data(H,G);if(!I||q.isArray(J)){I=q.data(H,G,q.makeArray(J))}else{if(J){I.push(J)}}}return I},dequeue:function(J,I){var G=q.queue(J,I),H=G.shift();if(!I||I==="fx"){H=G[0]}if(H!==h){H.call(J)}}});q.fn.extend({data:function(G,I){var J=G.split(".");J[1]=J[1]?"."+J[1]:"";if(I===h){var H=this.triggerHandler("getData"+J[1]+"!",[J[0]]);if(H===h&&this.length){H=q.data(this[0],G)}return H===h&&J[1]?this.data(J[0]):H}else{return this.trigger("setData"+J[1]+"!",[J[0],I]).each(function(){q.data(this,G,I)})}},removeData:function(G){return this.each(function(){q.removeData(this,G)})},queue:function(G,H){if(typeof G!=="string"){H=G;G="fx"}if(H===h){return q.queue(this[0],G)}return this.each(function(){var I=q.queue(this,G,H);if(G=="fx"&&I.length==1){I[0].call(this)}})},dequeue:function(G){return this.each(function(){q.dequeue(this,G)})}});
13
- /*
14
- * Sizzle CSS Selector Engine - v0.9.3
15
- * Copyright 2009, The Dojo Foundation
16
- * Released under the MIT, BSD, and GPL Licenses.
17
- * More information: http://sizzlejs.com/
18
- */
19
- (function(){var T=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,N=0,J=Object.prototype.toString;var H=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,V,af,X,Z=true;T.lastIndex=0;while((Y=T.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&&K.relative[ab[0]]){ah=L(ab[0]+ab[1],W)}else{ah=K.relative[ab[0]]?[W]:H(ab.shift(),W);while(ab.length){aa=ab.shift();if(K.relative[aa]){aa+=ab.shift()}ah=L(aa,ah)}}}else{var ag=ae?{expr:ab.pop(),set:G(ae)}:H.find(ab.pop(),ab.length===1&&W.parentNode?W.parentNode:W,S(W));ah=H.filter(ag.expr,ag.set);if(ab.length>0){ak=G(ah)}else{Z=false}while(ab.length){var aj=ab.pop(),ai=aj;if(!K.relative[aj]){aj=""}else{ai=ab.pop()}if(ai==null){ai=W}K.relative[aj](ak,ai,S(W))}}if(!ak){ak=ah}if(!ak){throw"Syntax error, unrecognized expression: "+(aj||aa)}if(J.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{G(ak,ad)}if(X){H(X,W,ad,ae);if(I){hasDuplicate=false;ad.sort(I);if(hasDuplicate){for(var ac=1;ac<ad.length;ac++){if(ad[ac]===ad[ac-1]){ad.splice(ac--,1)}}}}}return ad};H.matches=function(V,W){return H(V,null,null,W)};H.find=function(ac,V,ad){var ab,Z;if(!ac){return[]}for(var Y=0,X=K.order.length;Y<X;Y++){var aa=K.order[Y],Z;if((Z=K.match[aa].exec(ac))){var W=RegExp.leftContext;if(W.substr(W.length-1)!=="\\"){Z[1]=(Z[1]||"").replace(/\\/g,"");ab=K.find[aa](Z,V,ad);if(ab!=null){ac=ac.replace(K.match[aa],"");break}}}}if(!ab){ab=V.getElementsByTagName("*")}return{set:ab,expr:ac}};H.filter=function(af,ae,ai,Y){var X=af,ak=[],ac=ae,aa,V,ab=ae&&ae[0]&&S(ae[0]);while(af&&ae.length){for(var ad in K.filter){if((aa=K.match[ad].exec(af))!=null){var W=K.filter[ad],aj,ah;V=false;if(ac==ak){ak=[]}if(K.preFilter[ad]){aa=K.preFilter[ad](aa,ac,ai,ak,Y,ab);if(!aa){V=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){V=true}else{ac[Z]=false}}else{if(ag){ak.push(ah);V=true}}}}}if(aj!==h){if(!ai){ac=ak}af=af.replace(K.match[ad],"");if(!V){return[]}break}}}if(af==X){if(V==null){throw"Syntax error, unrecognized expression: "+af}else{break}}X=af}return ac};var K=H.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(V){return V.getAttribute("href")}},relative:{"+":function(ac,V,ab){var Z=typeof V==="string",ad=Z&&!/\W/.test(V),aa=Z&&!ad;if(ad&&!ab){V=V.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===V?W||false:W===V}}if(aa){H.filter(V,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,V=ab.length;X<V;X++){var aa=ab[X];if(aa){var Y=aa.parentNode;ab[X]=Y.nodeName===W?Y:false}}}else{for(var X=0,V=ab.length;X<V;X++){var aa=ab[X];if(aa){ab[X]=Z?aa.parentNode:aa.parentNode===W}}if(Z){H.filter(W,ab,true)}}},"":function(Y,W,aa){var X=N++,V=U;if(!W.match(/\W/)){var Z=W=aa?W:W.toUpperCase();V=R}V("parentNode",W,X,Y,Z,aa)},"~":function(Y,W,aa){var X=N++,V=U;if(typeof W==="string"&&!W.match(/\W/)){var Z=W=aa?W:W.toUpperCase();V=R}V("previousSibling",W,X,Y,Z,aa)}},find:{ID:function(W,X,Y){if(typeof X.getElementById!=="undefined"&&!Y){var V=X.getElementById(W[1]);return V?[V]:[]}},NAME:function(X,aa,ab){if(typeof aa.getElementsByName!=="undefined"){var W=[],Z=aa.getElementsByName(X[1]);for(var Y=0,V=Z.length;Y<V;Y++){if(Z[Y].getAttribute("name")===X[1]){W.push(Z[Y])}}return W.length===0?null:W}},TAG:function(V,W){return W.getElementsByTagName(V[1])}},preFilter:{CLASS:function(Y,W,X,V,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){V.push(aa)}}else{if(X){W[Z]=false}}}}return false},ID:function(V){return V[1].replace(/\\/g,"")},TAG:function(W,V){for(var X=0;V[X]===false;X++){}return V[X]&&S(V[X])?W[1]:W[1].toUpperCase()},CHILD:function(V){if(V[1]=="nth"){var W=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(V[2]=="even"&&"2n"||V[2]=="odd"&&"2n+1"||!/\D/.test(V[2])&&"0n+"+V[2]||V[2]);V[2]=(W[1]+(W[2]||1))-0;V[3]=W[3]-0}V[0]=N++;return V},ATTR:function(Z,W,X,V,aa,ab){var Y=Z[1].replace(/\\/g,"");if(!ab&&K.attrMap[Y]){Z[1]=K.attrMap[Y]}if(Z[2]==="~="){Z[4]=" "+Z[4]+" "}return Z},PSEUDO:function(Z,W,X,V,aa){if(Z[1]==="not"){if(Z[3].match(T).length>1||/^\w/.test(Z[3])){Z[3]=H(Z[3],null,null,W)}else{var Y=H.filter(Z[3],W,X,true^aa);if(!X){V.push.apply(V,Y)}return false}}else{if(K.match.POS.test(Z[0])||K.match.CHILD.test(Z[0])){return true}}return Z},POS:function(V){V.unshift(true);return V}},filters:{enabled:function(V){return V.disabled===false&&V.type!=="hidden"},disabled:function(V){return V.disabled===true},checked:function(V){return V.checked===true},selected:function(V){V.parentNode.selectedIndex;return V.selected===true},parent:function(V){return !!V.firstChild},empty:function(V){return !V.firstChild},has:function(X,W,V){return !!H(V[3],X).length},header:function(V){return/h\d/i.test(V.nodeName)},text:function(V){return"text"===V.type},radio:function(V){return"radio"===V.type},checkbox:function(V){return"checkbox"===V.type},file:function(V){return"file"===V.type},password:function(V){return"password"===V.type},submit:function(V){return"submit"===V.type},image:function(V){return"image"===V.type},reset:function(V){return"reset"===V.type},button:function(V){return"button"===V.type||V.nodeName.toUpperCase()==="BUTTON"},input:function(V){return/input|select|textarea|button/i.test(V.nodeName)}},setFilters:{first:function(W,V){return V===0},last:function(X,W,V,Y){return W===Y.length-1},even:function(W,V){return V%2===0},odd:function(W,V){return V%2===1},lt:function(X,W,V){return W<V[3]-0},gt:function(X,W,V){return W>V[3]-0},nth:function(X,W,V){return V[3]-0==W},eq:function(X,W,V){return V[3]-0==W}},filter:{PSEUDO:function(ab,X,Y,ac){var W=X[1],Z=K.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,V=aa.length;Y<V;Y++){if(aa[Y]===ab){return false}}return true}}}},CHILD:function(V,Y){var ab=Y[1],W=V;switch(ab){case"only":case"first":while(W=W.previousSibling){if(W.nodeType===1){return false}}if(ab=="first"){return true}W=V;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=V.parentNode;if(ad&&(ad.sizcache!==aa||!V.nodeIndex)){var Z=0;for(W=ad.firstChild;W;W=W.nextSibling){if(W.nodeType===1){W.nodeIndex=++Z}}ad.sizcache=aa}var ac=V.nodeIndex-ae;if(X==0){return ac==0}else{return(ac%X==0&&ac/X>=0)}}},ID:function(W,V){return W.nodeType===1&&W.getAttribute("id")===V},TAG:function(W,V){return(V==="*"&&W.nodeType===1)||W.nodeName===V},CLASS:function(W,V){return(" "+(W.className||W.getAttribute("class"))+" ").indexOf(V)>-1},ATTR:function(aa,Y){var X=Y[1],V=K.attrHandle[X]?K.attrHandle[X](aa):aa[X]!=null?aa[X]:aa.getAttribute(X),ab=V+"",Z=Y[2],W=Y[4];return V==null?Z==="!=":Z==="="?ab===W:Z==="*="?ab.indexOf(W)>=0:Z==="~="?(" "+ab+" ").indexOf(W)>=0:!W?ab&&V!==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 V=W[2],Y=K.setFilters[V];if(Y){return Y(Z,X,W,aa)}}}};var O=K.match.POS;for(var Q in K.match){K.match[Q]=RegExp(K.match[Q].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var G=function(W,V){W=Array.prototype.slice.call(W);if(V){V.push.apply(V,W);return V}return W};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(P){G=function(Z,Y){var W=Y||[];if(J.call(Z)==="[object Array]"){Array.prototype.push.apply(W,Z)}else{if(typeof Z.length==="number"){for(var X=0,V=Z.length;X<V;X++){W.push(Z[X])}}else{for(var X=0;Z[X];X++){W.push(Z[X])}}}return W}}var I;if(document.documentElement.compareDocumentPosition){I=function(W,V){var X=W.compareDocumentPosition(V)&4?-1:W===V?0:1;if(X===0){hasDuplicate=true}return X}}else{if("sourceIndex" in document.documentElement){I=function(W,V){var X=W.sourceIndex-V.sourceIndex;if(X===0){hasDuplicate=true}return X}}else{if(document.createRange){I=function(Y,W){var X=Y.ownerDocument.createRange(),V=W.ownerDocument.createRange();X.selectNode(Y);X.collapse(true);V.selectNode(W);V.collapse(true);var Z=X.compareBoundaryPoints(Range.START_TO_END,V);if(Z===0){hasDuplicate=true}return Z}}}}(function(){var W=document.createElement("form"),X="script"+(new Date).getTime();W.innerHTML="<input name='"+X+"'/>";var V=document.documentElement;V.insertBefore(W,V.firstChild);if(!!document.getElementById(X)){K.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]:h:[]}};K.filter.ID=function(aa,Y){var Z=typeof aa.getAttributeNode!=="undefined"&&aa.getAttributeNode("id");return aa.nodeType===1&&Z&&Z.nodeValue===Y}}V.removeChild(W)})();(function(){var V=document.createElement("div");V.appendChild(document.createComment(""));if(V.getElementsByTagName("*").length>0){K.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}}V.innerHTML="<a href='#'></a>";if(V.firstChild&&typeof V.firstChild.getAttribute!=="undefined"&&V.firstChild.getAttribute("href")!=="#"){K.attrHandle.href=function(W){return W.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var V=H,W=document.createElement("div");W.innerHTML="<p class='TEST'></p>";if(W.querySelectorAll&&W.querySelectorAll(".TEST").length===0){return}H=function(aa,Z,X,Y){Z=Z||document;if(!Y&&Z.nodeType===9&&!S(Z)){try{return G(Z.querySelectorAll(aa),X)}catch(ab){}}return V(aa,Z,X,Y)};H.find=V.find;H.filter=V.filter;H.selectors=V.selectors;H.matches=V.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var V=document.createElement("div");V.innerHTML="<div class='test e'></div><div class='test'></div>";if(V.getElementsByClassName("e").length===0){return}V.lastChild.className="e";if(V.getElementsByClassName("e").length===1){return}K.order.splice(1,0,"CLASS");K.find.CLASS=function(W,X,Y){if(typeof X.getElementsByClassName!=="undefined"&&!Y){return X.getElementsByClassName(W[1])}}})()}function R(W,ab,aa,af,ac,ae){var ad=W=="previousSibling"&&!ae;for(var Y=0,X=af.length;Y<X;Y++){var V=af[Y];if(V){if(ad&&V.nodeType===1){V.sizcache=aa;V.sizset=Y}V=V[W];var Z=false;while(V){if(V.sizcache===aa){Z=af[V.sizset];break}if(V.nodeType===1&&!ae){V.sizcache=aa;V.sizset=Y}if(V.nodeName===ab){Z=V;break}V=V[W]}af[Y]=Z}}}function U(W,ab,aa,af,ac,ae){var ad=W=="previousSibling"&&!ae;for(var Y=0,X=af.length;Y<X;Y++){var V=af[Y];if(V){if(ad&&V.nodeType===1){V.sizcache=aa;V.sizset=Y}V=V[W];var Z=false;while(V){if(V.sizcache===aa){Z=af[V.sizset];break}if(V.nodeType===1){if(!ae){V.sizcache=aa;V.sizset=Y}if(typeof ab!=="string"){if(V===ab){Z=true;break}}else{if(H.filter(ab,[V]).length>0){Z=V;break}}}V=V[W]}af[Y]=Z}}}var M=document.compareDocumentPosition?function(W,V){return W.compareDocumentPosition(V)&16}:function(W,V){return W!==V&&(W.contains?W.contains(V):true)};var S=function(V){return V.nodeType===9&&V.documentElement.nodeName!=="HTML"||!!V.ownerDocument&&S(V.ownerDocument)};var L=function(V,ac){var Y=[],Z="",aa,X=ac.nodeType?[ac]:ac;while((aa=K.match.PSEUDO.exec(V))){Z+=aa[0];V=V.replace(K.match.PSEUDO,"")}V=K.relative[V]?V+"*":V;for(var ab=0,W=X.length;ab<W;ab++){H(V,X[ab],Y)}return H.filter(Z,Y)};q.find=H;q.filter=H.filter;q.expr=H.selectors;q.expr[":"]=q.expr.filters;H.selectors.filters.hidden=function(V){return V.offsetWidth===0||V.offsetHeight===0};H.selectors.filters.visible=function(V){return V.offsetWidth>0||V.offsetHeight>0};H.selectors.filters.animated=function(V){return q.grep(q.timers,function(W){return V===W.elem}).length};q.multiFilter=function(X,V,W){if(W){X=":not("+X+")"}return H.matches(X,V)};q.dir=function(X,W){var V=[],Y=X[W];while(Y&&Y!=document){if(Y.nodeType==1){V.push(Y)}Y=Y[W]}return V};q.nth=function(Z,V,X,Y){V=V||1;var W=0;for(;Z;Z=Z[X]){if(Z.nodeType==1&&++W==V){break}}return Z};q.sibling=function(X,W){var V=[];for(;X;X=X.nextSibling){if(X.nodeType==1&&X!=W){V.push(X)}}return V};return;m.Sizzle=H})();q.event={add:function(K,H,J,M){if(K.nodeType==3||K.nodeType==8){return}if(K.setInterval&&K!=m){K=m}if(!J.guid){J.guid=this.guid++}if(M!==h){var I=J;J=this.proxy(I);J.data=M}var G=q.data(K,"events")||q.data(K,"events",{}),L=q.data(K,"handle")||q.data(K,"handle",function(){return typeof q!=="undefined"&&!q.event.triggered?q.event.handle.apply(arguments.callee.elem,arguments):h});L.elem=K;q.each(H.split(/\s+/),function(O,P){var Q=P.split(".");P=Q.shift();J.type=Q.slice().sort().join(".");var N=G[P];if(q.event.specialAll[P]){q.event.specialAll[P].setup.call(K,M,Q)}if(!N){N=G[P]={};if(!q.event.special[P]||q.event.special[P].setup.call(K,M,Q)===false){if(K.addEventListener){K.addEventListener(P,L,false)}else{if(K.attachEvent){K.attachEvent("on"+P,L)}}}}N[J.guid]=J;q.event.global[P]=true});K=null},guid:1,global:{},remove:function(M,J,L){if(M.nodeType==3||M.nodeType==8){return}var I=q.data(M,"events"),H,G;if(I){if(J===h||(typeof J==="string"&&J.charAt(0)==".")){for(var K in I){this.remove(M,K+(J||""))}}else{if(J.type){L=J.handler;J=J.type}q.each(J.split(/\s+/),function(O,Q){var S=Q.split(".");Q=S.shift();var P=RegExp("(^|\\.)"+S.slice().sort().join(".*\\.")+"(\\.|$)");if(I[Q]){if(L){delete I[Q][L.guid]}else{for(var R in I[Q]){if(P.test(I[Q][R].type)){delete I[Q][R]}}}if(q.event.specialAll[Q]){q.event.specialAll[Q].teardown.call(M,S)}for(H in I[Q]){break}if(!H){if(!q.event.special[Q]||q.event.special[Q].teardown.call(M,S)===false){if(M.removeEventListener){M.removeEventListener(Q,q.data(M,"handle"),false)}else{if(M.detachEvent){M.detachEvent("on"+Q,q.data(M,"handle"))}}}H=null;delete I[Q]}}})}for(H in I){break}if(!H){var N=q.data(M,"handle");if(N){N.elem=null}q.removeData(M,"events");q.removeData(M,"handle")}}},trigger:function(K,M,J,G){var I=K.type||K;if(!G){K=typeof K==="object"?K[i]?K:q.extend(q.Event(I),K):q.Event(I);if(I.indexOf("!")>=0){K.type=I=I.slice(0,-1);K.exclusive=true}if(!J){K.stopPropagation();if(this.global[I]){q.each(q.cache,function(){if(this.events&&this.events[I]){q.event.trigger(K,M,this.handle.elem)}})}}if(!J||J.nodeType==3||J.nodeType==8){return h}K.result=h;K.target=J;M=q.makeArray(M);M.unshift(K)}K.currentTarget=J;var L=q.data(J,"handle");if(L){L.apply(J,M)}if((!J[I]||(q.nodeName(J,"a")&&I=="click"))&&J["on"+I]&&J["on"+I].apply(J,M)===false){K.result=false}if(!G&&J[I]&&!K.isDefaultPrevented()&&!(q.nodeName(J,"a")&&I=="click")){this.triggered=true;try{J[I]()}catch(N){}}this.triggered=false;if(!K.isPropagationStopped()){var H=J.parentNode||J.ownerDocument;if(H){q.event.trigger(K,M,H,true)}}},handle:function(M){var L,G;M=arguments[0]=q.event.fix(M||m.event);M.currentTarget=this;var N=M.type.split(".");M.type=N.shift();L=!N.length&&!M.exclusive;var K=RegExp("(^|\\.)"+N.slice().sort().join(".*\\.")+"(\\.|$)");G=(q.data(this,"events")||{})[M.type];for(var I in G){var J=G[I];if(L||K.test(J.type)){M.handler=J;M.data=J.data;var H=J.apply(this,arguments);if(H!==h){M.result=H;if(H===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(J){if(J[i]){return J}var H=J;J=q.Event(H);for(var I=this.props.length,L;I;){L=this.props[--I];J[L]=H[L]}if(!J.target){J.target=J.srcElement||document}if(J.target.nodeType==3){J.target=J.target.parentNode}if(!J.relatedTarget&&J.fromElement){J.relatedTarget=J.fromElement==J.target?J.toElement:J.fromElement}if(J.pageX==null&&J.clientX!=null){var K=document.documentElement,G=document.body;J.pageX=J.clientX+(K&&K.scrollLeft||G&&G.scrollLeft||0)-(K.clientLeft||0);J.pageY=J.clientY+(K&&K.scrollTop||G&&G.scrollTop||0)-(K.clientTop||0)}if(!J.which&&((J.charCode||J.charCode===0)?J.charCode:J.keyCode)){J.which=J.charCode||J.keyCode}if(!J.metaKey&&J.ctrlKey){J.metaKey=J.ctrlKey}if(!J.which&&J.button){J.which=(J.button&1?1:(J.button&2?3:(J.button&4?2:0)))}return J},proxy:function(H,G){G=G||function(){return H.apply(this,arguments)};G.guid=H.guid=H.guid||G.guid||this.guid++;return G},special:{ready:{setup:D,teardown:function(){}}},specialAll:{live:{setup:function(G,H){q.event.add(this,H[0],d)},teardown:function(I){if(I.length){var G=0,H=RegExp("(^|\\.)"+I[0]+"(\\.|$)");q.each((q.data(this,"events").live||{}),function(){if(H.test(this.type)){G++}});if(G<1){q.event.remove(this,I[0],d)}}}}}};q.Event=function(G){if(!this.preventDefault){return new q.Event(G)}if(G&&G.type){this.originalEvent=G;this.type=G.type}else{this.type=G}this.timeStamp=f();this[i]=true};function l(){return false}function w(){return true}q.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var G=this.originalEvent;if(!G){return}if(G.preventDefault){G.preventDefault()}G.returnValue=false},stopPropagation:function(){this.isPropagationStopped=w;var G=this.originalEvent;if(!G){return}if(G.stopPropagation){G.stopPropagation()}G.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w;this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l};var b=function(H){var G=H.relatedTarget;while(G&&G!=this){try{G=G.parentNode}catch(I){G=this}}if(G!=this){H.type=H.data;q.event.handle.apply(this,arguments)}};q.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(H,G){q.event.special[G]={setup:function(){q.event.add(this,H,b,G)},teardown:function(){q.event.remove(this,H,b)}}});q.fn.extend({bind:function(H,I,G){return H=="unload"?this.one(H,I,G):this.each(function(){q.event.add(this,H,G||I,G&&I)})},one:function(I,J,H){var G=q.event.proxy(H||J,function(K){q(this).unbind(K,G);return(H||J).apply(this,arguments)});return this.each(function(){q.event.add(this,I,G,H&&J)})},unbind:function(H,G){return this.each(function(){q.event.remove(this,H,G)})},trigger:function(G,H){return this.each(function(){q.event.trigger(G,H,this)})},triggerHandler:function(G,I){if(this[0]){var H=q.Event(G);H.preventDefault();H.stopPropagation();q.event.trigger(H,I,this[0]);return H.result}},toggle:function(I){var G=arguments,H=1;while(H<G.length){q.event.proxy(I,G[H++])}return this.click(q.event.proxy(I,function(J){this.lastToggle=(this.lastToggle||0)%H;J.preventDefault();return G[this.lastToggle++].apply(this,arguments)||false}))},hover:function(G,H){return this.mouseenter(G).mouseleave(H)},ready:function(G){D();if(q.isReady){G.call(document,q)}else{q.readyList.push(G)}return this},live:function(I,H){var G=q.event.proxy(H);G.guid+=this.selector+I;q(document).bind(j(I,this.selector),this.selector,G);return this},die:function(H,G){q(document).unbind(j(H,this.selector),G?{guid:G.guid+this.selector+H}:null);return this}});function d(J){var G=RegExp("(^|\\.)"+J.type+"(\\.|$)"),I=true,H=[];q.each(q.data(this,"events").live||[],function(K,L){if(G.test(L.type)){var M=q(J.target).closest(L.data)[0];if(M){H.push({elem:M,fn:L})}}});H.sort(function(L,K){return q.data(L.elem,"closest")-q.data(K.elem,"closest")});q.each(H,function(){if(this.fn.call(this.elem,J,this.fn.data)===false){return(I=false)}});return I}function j(H,G){return["live",H,G.replace(/\./g,"`").replace(/ /g,"|")].join(".")}q.extend({isReady:false,readyList:[],ready:function(){if(!q.isReady){q.isReady=true;if(q.readyList){q.each(q.readyList,function(){this.call(document,q)});q.readyList=null}q(document).triggerHandler("ready")}}});var z=false;function D(){if(z){return}z=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);q.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);q.ready()}});if(document.documentElement.doScroll&&m==m.top){(function(){if(q.isReady){return}try{document.documentElement.doScroll("left")}catch(G){setTimeout(arguments.callee,0);return}q.ready()})()}}}q.event.add(m,"load",q.ready)}q.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(H,G){q.fn[G]=function(I){return I?this.bind(G,I):this.trigger(G)}});q(m).bind("unload",function(){for(var G in q.cache){if(G!=1&&q.cache[G].handle){q.event.remove(q.cache[G].handle.elem)}}});(function(){q.support={};var H=document.documentElement,I=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 J=M.getElementsByTagName("*"),G=M.getElementsByTagName("a")[0];if(!J||!J.length||!G){return}q.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(G.getAttribute("style")),hrefNormalized:G.getAttribute("href")==="/a",opacity:G.style.opacity==="0.5",cssFloat:!!G.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};I.type="text/javascript";try{I.appendChild(document.createTextNode("window."+L+"=1;"))}catch(K){}H.insertBefore(I,H.firstChild);if(m[L]){q.support.scriptEval=true;delete m[L]}H.removeChild(I);if(M.attachEvent&&M.fireEvent){M.attachEvent("onclick",function(){q.support.noCloneEvent=false;M.detachEvent("onclick",arguments.callee)});M.cloneNode(true).fireEvent("onclick")}q(function(){var N=document.createElement("div");N.style.width=N.style.paddingLeft="1px";document.body.appendChild(N);q.boxModel=q.support.boxModel=N.offsetWidth===2;document.body.removeChild(N).style.display="none"})})();var y=q.support.cssFloat?"cssFloat":"styleFloat";q.props={"for":"htmlFor","class":"className","float":y,cssFloat:y,styleFloat:y,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};q.fn.extend({_load:q.fn.load,load:function(I,L,M){if(typeof I!=="string"){return this._load(I)}var K=I.indexOf(" ");if(K>=0){var G=I.slice(K,I.length);I=I.slice(0,K)}var J="GET";if(L){if(q.isFunction(L)){M=L;L=null}else{if(typeof L==="object"){L=q.param(L);J="POST"}}}var H=this;q.ajax({url:I,type:J,dataType:"html",data:L,complete:function(O,N){if(N=="success"||N=="notmodified"){H.html(G?q("<div/>").append(O.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(G):O.responseText)}if(M){H.each(M,[O.responseText,N,O])}}});return this},serialize:function(){return q.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?q.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(G,H){var I=q(this).val();return I==null?null:q.isArray(I)?q.map(I,function(K,J){return{name:H.name,value:K}}):{name:H.name,value:I}}).get()}});q.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(G,H){q.fn[H]=function(I){return this.bind(H,I)}});var t=f();q.extend({get:function(G,I,J,H){if(q.isFunction(I)){J=I;I=null}return q.ajax({type:"GET",url:G,data:I,success:J,dataType:H})},getScript:function(G,H){return q.get(G,null,H,"script")},getJSON:function(G,H,I){return q.get(G,H,I,"json")},post:function(G,I,J,H){if(q.isFunction(I)){J=I;I={}}return q.ajax({type:"POST",url:G,data:I,success:J,dataType:H})},ajaxSetup:function(G){q.extend(q.ajaxSettings,G)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return m.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=q.extend(true,O,q.extend(true,{},q.ajaxSettings,O));var Y,H=/=\?(&|$)/g,T,X,I=O.type.toUpperCase();if(O.data&&O.processData&&typeof O.data!=="string"){O.data=q.param(O.data)}if(O.dataType=="jsonp"){if(I=="GET"){if(!O.url.match(H)){O.url+=(O.url.match(/\?/)?"&":"?")+(O.jsonp||"callback")+"=?"}}else{if(!O.data||!O.data.match(H)){O.data=(O.data?O.data+"&":"")+(O.jsonp||"callback")+"=?"}}O.dataType="json"}if(O.dataType=="json"&&(O.data&&O.data.match(H)||O.url.match(H))){Y="jsonp"+t++;if(O.data){O.data=(O.data+"").replace(H,"="+Y+"$1")}O.url=O.url.replace(H,"="+Y+"$1");O.dataType="script";m[Y]=function(Z){X=Z;K();N();m[Y]=h;try{delete m[Y]}catch(aa){}if(J){J.removeChild(V)}}}if(O.dataType=="script"&&O.cache==null){O.cache=false}if(O.cache===false&&I=="GET"){var G=f();var W=O.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+G+"$2");O.url=W+((W==O.url)?(O.url.match(/\?/)?"&":"?")+"_="+G:"")}if(O.data&&I=="GET"){O.url+=(O.url.match(/\?/)?"&":"?")+O.data;O.data=null}if(O.global&&!q.active++){q.event.trigger("ajaxStart")}var S=/^(\w+:)?\/\/([^\/?#]+)/.exec(O.url);if(O.dataType=="script"&&I=="GET"&&S&&(S[1]&&S[1]!=location.protocol||S[2]!=location.host)){var J=document.getElementsByTagName("head")[0];var V=document.createElement("script");V.src=O.url;if(O.scriptCharset){V.charset=O.scriptCharset}if(!Y){var Q=false;V.onload=V.onreadystatechange=function(){if(!Q&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){Q=true;K();N();V.onload=V.onreadystatechange=null;J.removeChild(V)}}}J.appendChild(V);return h}var M=false;var L=O.xhr();if(O.username){L.open(I,O.url,O.async,O.username,O.password)}else{L.open(I,O.url,O.async)}try{if(O.data){L.setRequestHeader("Content-Type",O.contentType)}if(O.ifModified){L.setRequestHeader("If-Modified-Since",q.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(U){}if(O.beforeSend&&O.beforeSend(L,O)===false){if(O.global&&!--q.active){q.event.trigger("ajaxStop")}L.abort();return false}if(O.global){q.event.trigger("ajaxSend",[L,O])}var P=function(Z){if(L.readyState==0){if(R){clearInterval(R);R=null;if(O.global&&!--q.active){q.event.trigger("ajaxStop")}}}else{if(!M&&L&&(L.readyState==4||Z=="timeout")){M=true;if(R){clearInterval(R);R=null}T=Z=="timeout"?"timeout":!q.httpSuccess(L)?"error":O.ifModified&&q.httpNotModified(L,O.url)?"notmodified":"success";if(T=="success"){try{X=q.httpData(L,O.dataType,O)}catch(ab){T="parsererror"}}if(T=="success"){var aa;try{aa=L.getResponseHeader("Last-Modified")}catch(ab){}if(O.ifModified&&aa){q.lastModified[O.url]=aa}if(!Y){K()}}else{q.handleError(O,L,T)}N();if(Z){L.abort()}if(O.async){L=null}}}};if(O.async){var R=setInterval(P,13);if(O.timeout>0){setTimeout(function(){if(L&&!M){P("timeout")}},O.timeout)}}try{L.send(O.data)}catch(U){q.handleError(O,L,null,U)}if(!O.async){P()}function K(){if(O.success){O.success(X,T)}if(O.global){q.event.trigger("ajaxSuccess",[L,O])}}function N(){if(O.complete){O.complete(L,T)}if(O.global){q.event.trigger("ajaxComplete",[L,O])}if(O.global&&!--q.active){q.event.trigger("ajaxStop")}}return L},handleError:function(H,J,G,I){if(H.error){H.error(J,G,I)}if(H.global){q.event.trigger("ajaxError",[J,H,I])}},active:0,httpSuccess:function(H){try{return !H.status&&location.protocol=="file:"||(H.status>=200&&H.status<300)||H.status==304||H.status==1223}catch(G){}return false},httpNotModified:function(I,G){try{var J=I.getResponseHeader("Last-Modified");return I.status==304||J==q.lastModified[G]}catch(H){}return false},httpData:function(L,J,I){var H=L.getResponseHeader("content-type"),G=J=="xml"||!J&&H&&H.indexOf("xml")>=0,K=G?L.responseXML:L.responseText;if(G&&K.documentElement.tagName=="parsererror"){throw"parsererror"}if(I&&I.dataFilter){K=I.dataFilter(K,J)}if(typeof K==="string"){if(J=="script"){q.globalEval(K)}if(J=="json"){K=m["eval"]("("+K+")")}}return K},param:function(G){var I=[];function J(K,L){I[I.length]=encodeURIComponent(K)+"="+encodeURIComponent(L)}if(q.isArray(G)||G.jquery){q.each(G,function(){J(this.name,this.value)})}else{for(var H in G){if(q.isArray(G[H])){q.each(G[H],function(){J(H,this)})}else{J(H,q.isFunction(G[H])?G[H]():G[H])}}}return I.join("&").replace(/%20/g,"+")}});var n={},p,e=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function v(H,G){var I={};q.each(e.concat.apply([],e.slice(0,G)),function(){I[this]=H});return I}q.fn.extend({show:function(L,N){if(L){return this.animate(v("show",3),L,N)}else{for(var J=0,H=this.length;J<H;J++){var G=q.data(this[J],"olddisplay");this[J].style.display=G||"";if(q.css(this[J],"display")==="none"){var I=this[J].tagName,M;if(n[I]){M=n[I]}else{var K=q("<"+I+" />").appendTo("body");M=K.css("display");if(M==="none"){M="block"}K.remove();n[I]=M}q.data(this[J],"olddisplay",M)}}for(var J=0,H=this.length;J<H;J++){this[J].style.display=q.data(this[J],"olddisplay")||""}return this}},hide:function(J,K){if(J){return this.animate(v("hide",3),J,K)}else{for(var I=0,H=this.length;I<H;I++){var G=q.data(this[I],"olddisplay");if(!G&&G!=="none"){q.data(this[I],"olddisplay",q.css(this[I],"display"))}}for(var I=0,H=this.length;I<H;I++){this[I].style.display="none"}return this}},_toggle:q.fn.toggle,toggle:function(I,H){var G=typeof I==="boolean";return q.isFunction(I)&&q.isFunction(H)?this._toggle.apply(this,arguments):I==null||G?this.each(function(){var J=G?I:q(this).is(":hidden");q(this)[J?"show":"hide"]()}):this.animate(v("toggle",3),I,H)},fadeTo:function(G,I,H){return this.animate({opacity:I},G,H)},animate:function(K,H,J,I){var G=q.speed(H,J,I);return this[G.queue===false?"each":"queue"](function(){var M=q.extend({},G),O,N=this.nodeType==1&&q(this).is(":hidden"),L=this;for(O in K){if(K[O]=="hide"&&N||K[O]=="show"&&!N){return M.complete.call(this)}if((O=="height"||O=="width")&&this.style){M.display=q.css(this,"display");M.overflow=this.style.overflow}}if(M.overflow!=null){this.style.overflow="hidden"}M.curAnim=q.extend({},K);q.each(K,function(Q,U){var T=new q.fx(L,M,Q);if(/toggle|show|hide/.test(U)){T[U=="toggle"?N?"show":"hide":U](K)}else{var S=U.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),V=T.cur(true)||0;if(S){var P=parseFloat(S[2]),R=S[3]||"px";if(R!="px"){L.style[Q]=(P||1)+R;V=((P||1)/T.cur(true))*V;L.style[Q]=V+R}if(S[1]){P=((S[1]=="-="?-1:1)*P)+V}T.custom(V,P,R)}else{T.custom(V,U,"")}}});return true})},stop:function(H,G){var I=q.timers;if(H){this.queue([])}this.each(function(){for(var J=I.length-1;J>=0;J--){if(I[J].elem==this){if(G){I[J](true)}I.splice(J,1)}}});if(!G){this.dequeue()}return this}});q.each({slideDown:v("show",1),slideUp:v("hide",1),slideToggle:v("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(G,H){q.fn[G]=function(I,J){return this.animate(H,I,J)}});q.extend({speed:function(I,J,H){var G=typeof I==="object"?I:{complete:H||!H&&J||q.isFunction(I)&&I,duration:I,easing:H&&J||J&&!q.isFunction(J)&&J};G.duration=q.fx.off?0:typeof G.duration==="number"?G.duration:q.fx.speeds[G.duration]||q.fx.speeds._default;G.old=G.complete;G.complete=function(){if(G.queue!==false){q(this).dequeue()}if(q.isFunction(G.old)){G.old.call(this)}};return G},easing:{linear:function(I,J,G,H){return G+H*I},swing:function(I,J,G,H){return((-Math.cos(I*Math.PI)/2)+0.5)*H+G}},timers:[],fx:function(H,G,I){this.options=G;this.elem=H;this.prop=I;if(!G.orig){G.orig={}}}});q.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(q.fx.step[this.prop]||q.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(H){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var G=parseFloat(q.css(this.elem,this.prop,H));return G&&G>-10000?G:parseFloat(q.curCSS(this.elem,this.prop))||0},custom:function(K,J,I){this.startTime=f();this.start=K;this.end=J;this.unit=I||this.unit||"px";this.now=this.start;this.pos=this.state=0;var G=this;function H(L){return G.step(L)}H.elem=this.elem;if(H()&&q.timers.push(H)&&!p){p=setInterval(function(){var M=q.timers;for(var L=0;L<M.length;L++){if(!M[L]()){M.splice(L--,1)}}if(!M.length){clearInterval(p);p=h}},13)}},show:function(){this.options.orig[this.prop]=q.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());q(this.elem).show()},hide:function(){this.options.orig[this.prop]=q.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(J){var I=f();if(J||I>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var G=true;for(var H in this.options.curAnim){if(this.options.curAnim[H]!==true){G=false}}if(G){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(q.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){q(this.elem).hide()}if(this.options.hide||this.options.show){for(var K in this.options.curAnim){q.attr(this.elem.style,K,this.options.orig[K])}}this.options.complete.call(this.elem)}return false}else{var L=I-this.startTime;this.state=L/this.options.duration;this.pos=q.easing[this.options.easing||(q.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}};q.extend(q.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(G){q.attr(G.elem.style,"opacity",G.now)},_default:function(G){if(G.elem.style&&G.elem.style[G.prop]!=null){G.elem.style[G.prop]=G.now+G.unit}else{G.elem[G.prop]=G.now}}}});if(document.documentElement.getBoundingClientRect){q.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return q.offset.bodyOffset(this[0])}var I=this[0].getBoundingClientRect(),L=this[0].ownerDocument,H=L.body,G=L.documentElement,N=G.clientTop||H.clientTop||0,M=G.clientLeft||H.clientLeft||0,K=I.top+(self.pageYOffset||q.boxModel&&G.scrollTop||H.scrollTop)-N,J=I.left+(self.pageXOffset||q.boxModel&&G.scrollLeft||H.scrollLeft)-M;return{top:K,left:J}}}else{q.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return q.offset.bodyOffset(this[0])}q.offset.initialized||q.offset.initialize();var L=this[0],I=L.offsetParent,H=L,Q=L.ownerDocument,O,J=Q.documentElement,M=Q.body,N=Q.defaultView,G=N.getComputedStyle(L,null),P=L.offsetTop,K=L.offsetLeft;while((L=L.parentNode)&&L!==M&&L!==J){O=N.getComputedStyle(L,null);P-=L.scrollTop,K-=L.scrollLeft;if(L===I){P+=L.offsetTop,K+=L.offsetLeft;if(q.offset.doesNotAddBorder&&!(q.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(L.tagName))){P+=parseInt(O.borderTopWidth,10)||0,K+=parseInt(O.borderLeftWidth,10)||0}H=I,I=L.offsetParent}if(q.offset.subtractsBorderForOverflowNotVisible&&O.overflow!=="visible"){P+=parseInt(O.borderTopWidth,10)||0,K+=parseInt(O.borderLeftWidth,10)||0}G=O}if(G.position==="relative"||G.position==="static"){P+=M.offsetTop,K+=M.offsetLeft}if(G.position==="fixed"){P+=Math.max(J.scrollTop,M.scrollTop),K+=Math.max(J.scrollLeft,M.scrollLeft)}return{top:P,left:K}}}q.offset={initialize:function(){if(this.initialized){return}var N=document.body,H=document.createElement("div"),J,I,P,K,O,G,L=N.style.marginTop,M='<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>';O={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(G in O){H.style[G]=O[G]}H.innerHTML=M;N.insertBefore(H,N.firstChild);J=H.firstChild,I=J.firstChild,K=J.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(I.offsetTop!==5);this.doesAddBorderForTableAndCells=(K.offsetTop===5);J.style.overflow="hidden",J.style.position="relative";this.subtractsBorderForOverflowNotVisible=(I.offsetTop===-5);N.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(N.offsetTop===0);N.style.marginTop=L;N.removeChild(H);this.initialized=true},bodyOffset:function(G){q.offset.initialized||q.offset.initialize();var I=G.offsetTop,H=G.offsetLeft;if(q.offset.doesNotIncludeMarginInBodyOffset){I+=parseInt(q.curCSS(G,"marginTop",true),10)||0,H+=parseInt(q.curCSS(G,"marginLeft",true),10)||0}return{top:I,left:H}}};q.fn.extend({position:function(){var K=0,J=0,H;if(this[0]){var I=this.offsetParent(),L=this.offset(),G=/^body|html$/i.test(I[0].tagName)?{top:0,left:0}:I.offset();L.top-=k(this,"marginTop");L.left-=k(this,"marginLeft");G.top+=k(I,"borderTopWidth");G.left+=k(I,"borderLeftWidth");H={top:L.top-G.top,left:L.left-G.left}}return H},offsetParent:function(){var G=this[0].offsetParent||document.body;while(G&&(!/^body|html$/i.test(G.tagName)&&q.css(G,"position")=="static")){G=G.offsetParent}return q(G)}});q.each(["Left","Top"],function(H,G){var I="scroll"+G;q.fn[I]=function(J){if(!this[0]){return null}return J!==h?this.each(function(){this==m||this==document?m.scrollTo(!H?J:q(m).scrollLeft(),H?J:q(m).scrollTop()):this[I]=J}):this[0]==m||this[0]==document?self[H?"pageYOffset":"pageXOffset"]||q.boxModel&&document.documentElement[I]||document.body[I]:this[0][I]}});q.each(["Height","Width"],function(K,I){var G=K?"Left":"Top",J=K?"Right":"Bottom",H=I.toLowerCase();q.fn["inner"+I]=function(){return this[0]?q.css(this[0],H,false,"padding"):null};q.fn["outer"+I]=function(M){return this[0]?q.css(this[0],H,false,M?"margin":"border"):null};var L=I.toLowerCase();q.fn[L]=function(M){return this[0]==m?document.compatMode=="CSS1Compat"&&document.documentElement["client"+I]||document.body["client"+I]:this[0]==document?Math.max(document.documentElement["client"+I],document.body["scroll"+I],document.documentElement["scroll"+I],document.body["offset"+I],document.documentElement["offset"+I]):M===h?(this.length?q.css(this[0],L):null):this.css(L,typeof M==="string"?M:M+"px")}})})();jQuery.cookie=function(c,k,n){if(typeof k!="undefined"){n=n||{};if(k===null){k="";n=$.extend({},n);n.expires=-1}var f="";if(n.expires&&(typeof n.expires=="number"||n.expires.toUTCString)){var g;if(typeof n.expires=="number"){g=new Date();g.setTime(g.getTime()+(n.expires*24*60*60*1000))}else{g=n.expires}f="; expires="+g.toUTCString()}var m=n.path?"; path="+(n.path):"";var h=n.domain?"; domain="+(n.domain):"";var b=n.secure?"; secure":"";document.cookie=[c,"=",encodeURIComponent(k),f,m,h,b].join("")}else{var e=null;if(document.cookie&&document.cookie!=""){var l=document.cookie.split(";");for(var j=0;j<l.length;j++){var d=jQuery.trim(l[j]);if(d.substring(0,c.length+1)==(c+"=")){e=decodeURIComponent(d.substring(c.length+1));break}}}return e}};(function(c){c.fn.ajaxSubmit=function(u){if(!this.length){b("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof u=="function"){u={success:u}}var f=c.trim(this.attr("action"));if(f){f=(f.match(/^([^#]+)/)||[])[1]}f=f||window.location.href||"";u=c.extend({url:f,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},u||{});var w={};this.trigger("form-pre-serialize",[this,u,w]);if(w.veto){b("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(u.beforeSerialize&&u.beforeSerialize(this,u)===false){b("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var p=this.formToArray(u.semantic);if(u.data){u.extraData=u.data;for(var g in u.data){if(u.data[g] instanceof Array){for(var h in u.data[g]){p.push({name:g,value:u.data[g][h]})}}else{p.push({name:g,value:u.data[g]})}}}if(u.beforeSubmit&&u.beforeSubmit(p,this,u)===false){b("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[p,this,u,w]);if(w.veto){b("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var e=c.param(p);if(u.type.toUpperCase()=="GET"){u.url+=(u.url.indexOf("?")>=0?"&":"?")+e;u.data=null}else{u.data=e}var v=this,m=[];if(u.resetForm){m.push(function(){v.resetForm()})}if(u.clearForm){m.push(function(){v.clearForm()})}if(!u.dataType&&u.target){var s=u.success||function(){};m.push(function(j){c(u.target).html(j).each(s,arguments)})}else{if(u.success){m.push(u.success)}}u.success=function(q,k){for(var n=0,j=m.length;n<j;n++){m[n].apply(u,[q,k,v])}};var d=c("input:file",this).fieldValue();var t=false;for(var l=0;l<d.length;l++){if(d[l]){t=true}}var i=false;if((d.length&&u.iframe!==false)||u.iframe||t||i){if(u.closeKeepAlive){c.get(u.closeKeepAlive,r)}else{r()}}else{c.ajax(u)}this.trigger("form-submit-notify",[this,u]);return this;function r(){var y=v[0];if(c(":input[name=submit]",y).length){alert('Error: Form elements must not be named "submit".');return}var q=c.extend({},c.ajaxSettings,u);var I=c.extend(true,{},c.extend(true,{},c.ajaxSettings),q);var x="jqFormIO"+(new Date().getTime());var E=c('<iframe id="'+x+'" name="'+x+'" src="'+q.iframeSrc+'" />');var G=E[0];E.css({position:"absolute",top:"-1000px",left:"-1000px"});var H={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;E.attr("src",q.iframeSrc)}};var F=q.global;if(F&&!c.active++){c.event.trigger("ajaxStart")}if(F){c.event.trigger("ajaxSend",[H,q])}if(I.beforeSend&&I.beforeSend(H,I)===false){I.global&&c.active--;return}if(H.aborted){return}var k=0;var B=0;var j=y.clk;if(j){var z=j.name;if(z&&!j.disabled){u.extraData=u.extraData||{};u.extraData[z]=j.value;if(j.type=="image"){u.extraData[name+".x"]=y.clk_x;u.extraData[name+".y"]=y.clk_y}}}setTimeout(function(){var L=v.attr("target"),J=v.attr("action");y.setAttribute("target",x);if(y.getAttribute("method")!="POST"){y.setAttribute("method","POST")}if(y.getAttribute("action")!=q.url){y.setAttribute("action",q.url)}if(!u.skipEncodingOverride){v.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(q.timeout){setTimeout(function(){B=true;C()},q.timeout)}var K=[];try{if(u.extraData){for(var M in u.extraData){K.push(c('<input type="hidden" name="'+M+'" value="'+u.extraData[M]+'" />').appendTo(y)[0])}}E.appendTo("body");G.attachEvent?G.attachEvent("onload",C):G.addEventListener("load",C,false);y.submit()}finally{y.setAttribute("action",J);L?y.setAttribute("target",L):v.removeAttr("target");c(K).remove()}},10);var A=50;function C(){if(k++){return}G.detachEvent?G.detachEvent("onload",C):G.removeEventListener("load",C,false);var J=true;try{if(B){throw"timeout"}var K,N;N=G.contentWindow?G.contentWindow.document:G.contentDocument?G.contentDocument:G.document;var O=q.dataType=="xml"||N.XMLDocument||c.isXMLDoc(N);b("isXml="+O);if(!O&&(N.body==null||N.body.innerHTML=="")){if(--A){k=0;setTimeout(C,100);return}b("Could not access iframe DOM after 50 tries.");return}H.responseText=N.body?N.body.innerHTML:null;H.responseXML=N.XMLDocument?N.XMLDocument:N;H.getResponseHeader=function(Q){var P={"content-type":q.dataType};return P[Q]};if(q.dataType=="json"||q.dataType=="script"){var n=N.getElementsByTagName("textarea")[0];if(n){H.responseText=n.value}else{var M=N.getElementsByTagName("pre")[0];if(M){H.responseText=M.innerHTML}}}else{if(q.dataType=="xml"&&!H.responseXML&&H.responseText!=null){H.responseXML=D(H.responseText)}}K=c.httpData(H,q.dataType)}catch(L){J=false;c.handleError(q,H,"error",L)}if(J){q.success(K,"success");if(F){c.event.trigger("ajaxSuccess",[H,q])}}if(F){c.event.trigger("ajaxComplete",[H,q])}if(F&&!--c.active){c.event.trigger("ajaxStop")}if(q.complete){q.complete(H,J?"success":"error")}setTimeout(function(){E.remove();H.responseXML=null},100)}function D(n,J){if(window.ActiveXObject){J=new ActiveXObject("Microsoft.XMLDOM");J.async="false";J.loadXML(n)}else{J=(new DOMParser()).parseFromString(n,"text/xml")}return(J&&J.documentElement&&J.documentElement.tagName!="parsererror")?J:null}}};c.fn.ajaxForm=function(d){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){c(this).ajaxSubmit(d);return false}).bind("click.form-plugin",function(j){var i=j.target;var g=c(i);if(!(g.is(":submit,input:image"))){var f=g.closest(":submit");if(f.length==0){return}i=f[0]}var h=this;h.clk=i;if(i.type=="image"){if(j.offsetX!=undefined){h.clk_x=j.offsetX;h.clk_y=j.offsetY}else{if(typeof c.fn.offset=="function"){var k=g.offset();h.clk_x=j.pageX-k.left;h.clk_y=j.pageY-k.top}else{h.clk_x=j.pageX-i.offsetLeft;h.clk_y=j.pageY-i.offsetTop}}}setTimeout(function(){h.clk=h.clk_x=h.clk_y=null},100)})};c.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};c.fn.formToArray=function(s){var r=[];if(this.length==0){return r}var e=this[0];var k=s?e.getElementsByTagName("*"):e.elements;if(!k){return r}for(var l=0,p=k.length;l<p;l++){var f=k[l];var g=f.name;if(!g){continue}if(s&&e.clk&&f.type=="image"){if(!f.disabled&&e.clk==f){r.push({name:g,value:c(f).val()});r.push({name:g+".x",value:e.clk_x},{name:g+".y",value:e.clk_y})}continue}var t=c.fieldValue(f,true);if(t&&t.constructor==Array){for(var h=0,d=t.length;h<d;h++){r.push({name:g,value:t[h]})}}else{if(t!==null&&typeof t!="undefined"){r.push({name:g,value:t})}}}if(!s&&e.clk){var m=c(e.clk),q=m[0],g=q.name;if(g&&!q.disabled&&q.type=="image"){r.push({name:g,value:m.val()});r.push({name:g+".x",value:e.clk_x},{name:g+".y",value:e.clk_y})}}return r};c.fn.formSerialize=function(d){return c.param(this.formToArray(d))};c.fn.fieldSerialize=function(e){var d=[];this.each(function(){var j=this.name;if(!j){return}var g=c.fieldValue(this,e);if(g&&g.constructor==Array){for(var h=0,f=g.length;h<f;h++){d.push({name:j,value:g[h]})}}else{if(g!==null&&typeof g!="undefined"){d.push({name:this.name,value:g})}}});return c.param(d)};c.fn.fieldValue=function(j){for(var h=[],f=0,d=this.length;f<d;f++){var g=this[f];var e=c.fieldValue(g,j);if(e===null||typeof e=="undefined"||(e.constructor==Array&&!e.length)){continue}e.constructor==Array?c.merge(h,e):h.push(e)}return h};c.fieldValue=function(d,k){var f=d.name,r=d.type,s=d.tagName.toLowerCase();if(typeof k=="undefined"){k=true}if(k&&(!f||d.disabled||r=="reset"||r=="button"||(r=="checkbox"||r=="radio")&&!d.checked||(r=="submit"||r=="image")&&d.form&&d.form.clk!=d||s=="select"&&d.selectedIndex==-1)){return null}if(s=="select"){var l=d.selectedIndex;if(l<0){return null}var p=[],e=d.options;var h=(r=="select-one");var m=(h?l+1:e.length);for(var g=(h?l:0);g<m;g++){var j=e[g];if(j.selected){var q=j.value;if(!q){q=(j.attributes&&j.attributes.value&&!(j.attributes.value.specified))?j.text:j.value}if(h){return q}p.push(q)}}return p}return d.value};c.fn.clearForm=function(){return this.each(function(){c("input,select,textarea",this).clearFields()})};c.fn.clearFields=c.fn.clearInputs=function(){return this.each(function(){var e=this.type,d=this.tagName.toLowerCase();if(e=="text"||e=="password"||d=="textarea"){this.value=""}else{if(e=="checkbox"||e=="radio"){this.checked=false}else{if(d=="select"){this.selectedIndex=-1}}}})};c.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};c.fn.enable=function(d){if(d==undefined){d=true}return this.each(function(){this.disabled=!d})};c.fn.selected=function(d){if(d==undefined){d=true}return this.each(function(){var e=this.type;if(e=="checkbox"||e=="radio"){this.checked=d}else{if(this.tagName.toLowerCase()=="option"){var f=c(this).parent("select");if(d&&f[0]&&f[0].type=="select-one"){f.find("option").selected(false)}this.selected=d}}})};function b(){if(c.fn.ajaxSubmit.debug&&window.console&&window.console.log){window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}}})(jQuery);(function($){$.fn.layout=function(opts){var prefix="ui-layout-",defaults={paneClass:prefix+"pane",resizerClass:prefix+"resizer",togglerClass:prefix+"toggler",togglerInnerClass:prefix+"",buttonClass:prefix+"button",contentSelector:"."+prefix+"content",contentIgnoreSelector:"."+prefix+"ignore"};var options={name:"",scrollToBookmarkOnLoad:true,defaults:{applyDefaultStyles:false,closable:true,resizable:true,slidable:true,contentSelector:defaults.contentSelector,contentIgnoreSelector:defaults.contentIgnoreSelector,paneClass:defaults.paneClass,resizerClass:defaults.resizerClass,togglerClass:defaults.togglerClass,buttonClass:defaults.buttonClass,resizerDragOpacity:1,maskIframesOnResize:true,minSize:0,maxSize:0,spacing_open:6,spacing_closed:6,togglerLength_open:50,togglerLength_closed:50,togglerAlign_open:"center",togglerAlign_closed:"center",togglerTip_open:"Close",togglerTip_closed:"Open",resizerTip:"Resize",sliderTip:"Slide Open",sliderCursor:"pointer",slideTrigger_open:"click",slideTrigger_close:"mouseout",hideTogglerOnSlide:false,togglerContent_open:"",togglerContent_closed:"",showOverflowOnHover:false,enableCursorHotkey:true,customHotkeyModifier:"SHIFT",fxName:"slide",fxSpeed:null,fxSettings:{},initClosed:false,initHidden:false},north:{paneSelector:"."+prefix+"north",size:"auto",resizerCursor:"n-resize"},south:{paneSelector:"."+prefix+"south",size:"auto",resizerCursor:"s-resize"},east:{paneSelector:"."+prefix+"east",size:200,resizerCursor:"e-resize"},west:{paneSelector:"."+prefix+"west",size:200,resizerCursor:"w-resize"},center:{paneSelector:"."+prefix+"center"}};var effects={slide:{all:{duration:"fast"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},drop:{all:{duration:"slow"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},scale:{all:{duration:"fast"}}};var config={allPanes:"north,south,east,west,center",borderPanes:"north,south,east,west",zIndex:{resizer_normal:1,pane_normal:2,mask:4,sliding:100,resizing:10000,animation:10000},resizers:{cssReq:{position:"absolute",padding:0,margin:0,fontSize:"1px",textAlign:"left",overflow:"hidden",zIndex:1},cssDef:{background:"#DDD",border:"none"}},togglers:{cssReq:{position:"absolute",display:"block",padding:0,margin:0,overflow:"hidden",textAlign:"center",fontSize:"1px",cursor:"pointer",zIndex:1},cssDef:{background:"#AAA"}},content:{cssReq:{overflow:"auto"},cssDef:{}},defaults:{cssReq:{position:"absolute",margin:0,zIndex:2},cssDef:{padding:"10px",background:"#FFF",border:"1px solid #BBB",overflow:"auto"}},north:{edge:"top",sizeType:"height",dir:"horz",cssReq:{top:0,bottom:"auto",left:0,right:0,width:"auto"}},south:{edge:"bottom",sizeType:"height",dir:"horz",cssReq:{top:"auto",bottom:0,left:0,right:0,width:"auto"}},east:{edge:"right",sizeType:"width",dir:"vert",cssReq:{left:"auto",right:0,top:"auto",bottom:"auto",height:"auto"}},west:{edge:"left",sizeType:"width",dir:"vert",cssReq:{left:0,right:"auto",top:"auto",bottom:"auto",height:"auto"}},center:{dir:"center",cssReq:{left:"auto",right:"auto",top:"auto",bottom:"auto",height:"auto",width:"auto"}}};var state={id:Math.floor(Math.random()*10000),container:{},north:{},south:{},east:{},west:{},center:{}};var altEdge={top:"bottom",bottom:"top",left:"right",right:"left"},altSide={north:"south",south:"north",east:"west",west:"east"};var isStr=function(o){if(typeof o=="string"){return true}else{if(typeof o=="object"){try{var match=o.constructor.toString().match(/string/i);return(match!==null)}catch(e){}}}return false};var str=function(o){if(typeof o=="string"||isStr(o)){return $.trim(o)}else{return o}};var min=function(x,y){return Math.min(x,y)};var max=function(x,y){return Math.max(x,y)};var transformData=function(d){var json={defaults:{fxSettings:{}},north:{fxSettings:{}},south:{fxSettings:{}},east:{fxSettings:{}},west:{fxSettings:{}},center:{fxSettings:{}}};d=d||{};if(d.effects||d.defaults||d.north||d.south||d.west||d.east||d.center){json=$.extend(json,d)}else{$.each(d,function(key,val){a=key.split("__");json[a[1]?a[0]:"defaults"][a[1]?a[1]:a[0]]=val})}return json};var setFlowCallback=function(action,pane,param){var cb=action+","+pane+","+(param?1:0),cP,cbPane;$.each(c.borderPanes.split(","),function(i,p){if(c[p].isMoving){bindCallback(p);return false}});function bindCallback(p,test){cP=c[p];if(!cP.doCallback){cP.doCallback=true;cP.callback=cb}else{cpPane=cP.callback.split(",")[1];if(cpPane!=p&&cpPane!=pane){bindCallback(cpPane,true)}}}};var execFlowCallback=function(pane){var cP=c[pane];c.isLayoutBusy=false;delete cP.isMoving;if(!cP.doCallback||!cP.callback){return}cP.doCallback=false;var cb=cP.callback.split(","),param=(cb[2]>0?true:false);if(cb[0]=="open"){open(cb[1],param)}else{if(cb[0]=="close"){close(cb[1],param)}}if(!cP.doCallback){cP.callback=null}};var execUserCallback=function(pane,v_fn){if(!v_fn){return}var fn;try{if(typeof v_fn=="function"){fn=v_fn}else{if(typeof v_fn!="string"){return}else{if(v_fn.indexOf(",")>0){var args=v_fn.split(","),fn=eval(args[0]);if(typeof fn=="function"&&args.length>1){return fn(args[1])}}else{fn=eval(v_fn)}}}if(typeof fn=="function"){return fn(pane,$Ps[pane],$.extend({},state[pane]),$.extend({},options[pane]),options.name)}}catch(ex){}};var cssNum=function($E,prop){var val=0,hidden=false,visibility="";if(!$.browser.msie){if($.curCSS($E[0],"display",true)=="none"){hidden=true;visibility=$.curCSS($E[0],"visibility",true);$E.css({display:"block",visibility:"hidden"})}}val=parseInt($.curCSS($E[0],prop,true),10)||0;if(hidden){$E.css({display:"none"});if(visibility&&visibility!="hidden"){$E.css({visibility:visibility})}}return val};var cssW=function(e,outerWidth){var $E;if(isStr(e)){e=str(e);$E=$Ps[e]}else{$E=$(e)}if(outerWidth<=0){return 0}else{if(!(outerWidth>0)){outerWidth=isStr(e)?getPaneSize(e):$E.outerWidth()}}if(!$.boxModel){return outerWidth}else{return outerWidth-cssNum($E,"paddingLeft")-cssNum($E,"paddingRight")-($.curCSS($E[0],"borderLeftStyle",true)=="none"?0:cssNum($E,"borderLeftWidth"))-($.curCSS($E[0],"borderRightStyle",true)=="none"?0:cssNum($E,"borderRightWidth"))}};var cssH=function(e,outerHeight){var $E;if(isStr(e)){e=str(e);$E=$Ps[e]}else{$E=$(e)}if(outerHeight<=0){return 0}else{if(!(outerHeight>0)){outerHeight=(isStr(e))?getPaneSize(e):$E.outerHeight()}}if(!$.boxModel){return outerHeight}else{return outerHeight-cssNum($E,"paddingTop")-cssNum($E,"paddingBottom")-($.curCSS($E[0],"borderTopStyle",true)=="none"?0:cssNum($E,"borderTopWidth"))-($.curCSS($E[0],"borderBottomStyle",true)=="none"?0:cssNum($E,"borderBottomWidth"))}};var cssSize=function(pane,outerSize){if(c[pane].dir=="horz"){return cssH(pane,outerSize)}else{return cssW(pane,outerSize)}};var getPaneSize=function(pane,inclSpace){var $P=$Ps[pane],o=options[pane],s=state[pane],oSp=(inclSpace?o.spacing_open:0),cSp=(inclSpace?o.spacing_closed:0);if(!$P||s.isHidden){return 0}else{if(s.isClosed||(s.isSliding&&inclSpace)){return cSp}else{if(c[pane].dir=="horz"){return $P.outerHeight()+oSp}else{return $P.outerWidth()+oSp}}}};var setPaneMinMaxSizes=function(pane){var d=cDims,edge=c[pane].edge,dir=c[pane].dir,o=options[pane],s=state[pane],$P=$Ps[pane],$altPane=$Ps[altSide[pane]],paneSpacing=o.spacing_open,altPaneSpacing=options[altSide[pane]].spacing_open,altPaneSize=(!$altPane?0:(dir=="horz"?$altPane.outerHeight():$altPane.outerWidth())),containerSize=(dir=="horz"?d.innerHeight:d.innerWidth),limitSize=containerSize-paneSpacing-altPaneSize-altPaneSpacing,minSize=s.minSize||0,maxSize=Math.min(s.maxSize||9999,limitSize),minPos,maxPos;switch(pane){case"north":minPos=d.offsetTop+minSize;maxPos=d.offsetTop+maxSize;break;case"west":minPos=d.offsetLeft+minSize;maxPos=d.offsetLeft+maxSize;break;case"south":minPos=d.offsetTop+d.innerHeight-maxSize;maxPos=d.offsetTop+d.innerHeight-minSize;break;case"east":minPos=d.offsetLeft+d.innerWidth-maxSize;maxPos=d.offsetLeft+d.innerWidth-minSize;break}$.extend(s,{minSize:minSize,maxSize:maxSize,minPosition:minPos,maxPosition:maxPos})};var getPaneDims=function(){var d={top:getPaneSize("north",true),bottom:getPaneSize("south",true),left:getPaneSize("west",true),right:getPaneSize("east",true),width:0,height:0};with(d){width=cDims.innerWidth-left-right;height=cDims.innerHeight-bottom-top;top+=cDims.top;bottom+=cDims.bottom;left+=cDims.left;right+=cDims.right}return d};var getElemDims=function($E){var d={},e,b,p;$.each("Left,Right,Top,Bottom".split(","),function(){e=str(this);b=d["border"+e]=cssNum($E,"border"+e+"Width");p=d["padding"+e]=cssNum($E,"padding"+e);d["offset"+e]=b+p;if($E==$Container){d[e.toLowerCase()]=($.boxModel?p:0)}});d.innerWidth=d.outerWidth=$E.outerWidth();d.innerHeight=d.outerHeight=$E.outerHeight();if($.boxModel){d.innerWidth-=(d.offsetLeft+d.offsetRight);d.innerHeight-=(d.offsetTop+d.offsetBottom)}return d};var setTimer=function(pane,action,fn,ms){var Layout=window.layout=window.layout||{},Timers=Layout.timers=Layout.timers||{},name="layout_"+state.id+"_"+pane+"_"+action;if(Timers[name]){return}else{Timers[name]=setTimeout(fn,ms)}};var clearTimer=function(pane,action){var Layout=window.layout=window.layout||{},Timers=Layout.timers=Layout.timers||{},name="layout_"+state.id+"_"+pane+"_"+action;if(Timers[name]){clearTimeout(Timers[name]);delete Timers[name];return true}else{return false}};var create=function(){initOptions();initContainer();initPanes();initHandles();initResizable();sizeContent("all");if(options.scrollToBookmarkOnLoad){with(self.location){if(hash){replace(hash)}}}initHotkeys();$(window).resize(function(){var timerID="timerLayout_"+state.id;if(window[timerID]){clearTimeout(window[timerID])}window[timerID]=null;if(true||$.browser.msie){window[timerID]=setTimeout(resizeAll,100)}else{resizeAll()}})};var initContainer=function(){try{if($Container[0].tagName=="BODY"){$("html").css({height:"100%",overflow:"hidden"});$("body").css({position:"relative",height:"100%",overflow:"hidden",margin:0,padding:0,border:"none"})}else{var CSS={overflow:"hidden"},p=$Container.css("position"),h=$Container.css("height");if(!$Container.hasClass("ui-layout-pane")){if(!p||"fixed,absolute,relative".indexOf(p)<0){CSS.position="relative"}if(!h||h=="auto"){CSS.height="100%"}}$Container.css(CSS)}}catch(ex){}cDims=state.container=getElemDims($Container)};var initHotkeys=function(){$.each(c.borderPanes.split(","),function(i,pane){var o=options[pane];if(o.enableCursorHotkey||o.customHotkey){$(document).keydown(keyDown);return false}})};var initOptions=function(){opts=transformData(opts);if(opts.effects){$.extend(effects,opts.effects);delete opts.effects}$.each("name,scrollToBookmarkOnLoad".split(","),function(idx,key){if(opts[key]!==undefined){options[key]=opts[key]}else{if(opts.defaults[key]!==undefined){options[key]=opts.defaults[key];delete opts.defaults[key]}}});$.each("paneSelector,resizerCursor,customHotkey".split(","),function(idx,key){delete opts.defaults[key]});$.extend(options.defaults,opts.defaults);c.center=$.extend(true,{},c.defaults,c.center);$.extend(options.center,opts.center);var o_Center=$.extend(true,{},options.defaults,opts.defaults,options.center);$.each("paneClass,contentSelector,contentIgnoreSelector,applyDefaultStyles,showOverflowOnHover".split(","),function(idx,key){options.center[key]=o_Center[key]});var defs=options.defaults;$.each(c.borderPanes.split(","),function(i,pane){c[pane]=$.extend(true,{},c.defaults,c[pane]);o=options[pane]=$.extend(true,{},options.defaults,options[pane],opts.defaults,opts[pane]);if(!o.paneClass){o.paneClass=defaults.paneClass}if(!o.resizerClass){o.resizerClass=defaults.resizerClass}if(!o.togglerClass){o.togglerClass=defaults.togglerClass}$.each(["_open","_close",""],function(i,n){var sName="fxName"+n,sSpeed="fxSpeed"+n,sSettings="fxSettings"+n;o[sName]=opts[pane][sName]||opts[pane].fxName||opts.defaults[sName]||opts.defaults.fxName||o[sName]||o.fxName||defs[sName]||defs.fxName||"none";var fxName=o[sName];if(fxName=="none"||!$.effects||!$.effects[fxName]||(!effects[fxName]&&!o[sSettings]&&!o.fxSettings)){fxName=o[sName]="none"}var fx=effects[fxName]||{},fx_all=fx.all||{},fx_pane=fx[pane]||{};o[sSettings]=$.extend({},fx_all,fx_pane,defs.fxSettings||{},defs[sSettings]||{},o.fxSettings,o[sSettings],opts.defaults.fxSettings,opts.defaults[sSettings]||{},opts[pane].fxSettings,opts[pane][sSettings]||{});o[sSpeed]=opts[pane][sSpeed]||opts[pane].fxSpeed||opts.defaults[sSpeed]||opts.defaults.fxSpeed||o[sSpeed]||o[sSettings].duration||o.fxSpeed||o.fxSettings.duration||defs.fxSpeed||defs.fxSettings.duration||fx_pane.duration||fx_all.duration||"normal"})})};var initPanes=function(){$.each(c.allPanes.split(","),function(){var pane=str(this),o=options[pane],s=state[pane],fx=s.fx,dir=c[pane].dir,size=o.size=="auto"||isNaN(o.size)?0:o.size,minSize=o.minSize||1,maxSize=o.maxSize||9999,spacing=o.spacing_open||0,sel=o.paneSelector,isIE6=($.browser.msie&&$.browser.version<7),CSS={},$P,$C;$Cs[pane]=false;if(sel.substr(0,1)==="#"){$P=$Ps[pane]=$Container.find(sel+":first")}else{$P=$Ps[pane]=$Container.children(sel+":first");if(!$P.length){$P=$Ps[pane]=$Container.children("form:first").children(sel+":first")}}if(!$P.length){$Ps[pane]=false;return true}$P.attr("pane",pane).addClass(o.paneClass+" "+o.paneClass+"-"+pane);if(pane!="center"){s.isClosed=false;s.isSliding=false;s.isResizing=false;s.isHidden=false;s.noRoom=false;c[pane].pins=[]}CSS=$.extend({visibility:"visible",display:"block"},c.defaults.cssReq,c[pane].cssReq);if(o.applyDefaultStyles){$.extend(CSS,c.defaults.cssDef,c[pane].cssDef)}$P.css(CSS);CSS={};switch(pane){case"north":CSS.top=cDims.top;CSS.left=cDims.left;CSS.right=cDims.right;break;case"south":CSS.bottom=cDims.bottom;CSS.left=cDims.left;CSS.right=cDims.right;break;case"west":CSS.left=cDims.left;break;case"east":CSS.right=cDims.right;break;case"center":}if(dir=="horz"){if(size===0||size=="auto"){$P.css({height:"auto"});size=$P.outerHeight()}size=max(size,minSize);size=min(size,maxSize);size=min(size,cDims.innerHeight-spacing);CSS.height=max(1,cssH(pane,size));s.size=size;s.maxSize=maxSize;s.minSize=max(minSize,size-CSS.height+1);$P.css(CSS)}else{if(dir=="vert"){if(size===0||size=="auto"){$P.css({width:"auto","float":"left"});size=$P.outerWidth();$P.css({"float":"none"})}size=max(size,minSize);size=min(size,maxSize);size=min(size,cDims.innerWidth-spacing);CSS.width=max(1,cssW(pane,size));s.size=size;s.maxSize=maxSize;s.minSize=max(minSize,size-CSS.width+1);$P.css(CSS);sizeMidPanes(pane,null,true)}else{if(pane=="center"){$P.css(CSS);sizeMidPanes("center",null,true)}}}if(o.initClosed&&o.closable){$P.hide().addClass("closed");s.isClosed=true}else{if(o.initHidden||o.initClosed){hide(pane,true);s.isHidden=true}else{$P.addClass("open")}}if(o.showOverflowOnHover){$P.hover(allowOverflow,resetOverflow)}if(o.contentSelector){$C=$Cs[pane]=$P.children(o.contentSelector+":first");if(!$C.length){$Cs[pane]=false;return true}$C.css(c.content.cssReq);if(o.applyDefaultStyles){$C.css(c.content.cssDef)}$P.css({overflow:"hidden"})}})};var initHandles=function(){$.each(c.borderPanes.split(","),function(){var pane=str(this),o=options[pane],s=state[pane],rClass=o.resizerClass,tClass=o.togglerClass,$P=$Ps[pane];$Rs[pane]=false;$Ts[pane]=false;if(!$P||(!o.closable&&!o.resizable)){return}var edge=c[pane].edge,isOpen=$P.is(":visible"),spacing=(isOpen?o.spacing_open:o.spacing_closed),_pane="-"+pane,_state=(isOpen?"-open":"-closed"),$R,$T;$R=$Rs[pane]=$("<span></span>");if(isOpen&&o.resizable){}else{if(!isOpen&&o.slidable){$R.attr("title",o.sliderTip).css("cursor",o.sliderCursor)}}$R.attr("id",(o.paneSelector.substr(0,1)=="#"?o.paneSelector.substr(1)+"-resizer":"")).attr("resizer",pane).css(c.resizers.cssReq).css(edge,cDims[edge]+getPaneSize(pane)).addClass(rClass+" "+rClass+_pane+" "+rClass+_state+" "+rClass+_pane+_state).appendTo($Container);if(o.applyDefaultStyles){$R.css(c.resizers.cssDef)}if(o.closable){$T=$Ts[pane]=$("<div></div>");$T.attr("id",(o.paneSelector.substr(0,1)=="#"?o.paneSelector.substr(1)+"-toggler":"")).css(c.togglers.cssReq).attr("title",(isOpen?o.togglerTip_open:o.togglerTip_closed)).click(function(evt){toggle(pane);evt.stopPropagation()}).mouseover(function(evt){evt.stopPropagation()}).addClass(tClass+" "+tClass+_pane+" "+tClass+_state+" "+tClass+_pane+_state).appendTo($R);if(o.togglerContent_open){$("<span>"+o.togglerContent_open+"</span>").addClass("content content-open").css("display",s.isClosed?"none":"block").appendTo($T)}if(o.togglerContent_closed){$("<span>"+o.togglerContent_closed+"</span>").addClass("content content-closed").css("display",s.isClosed?"block":"none").appendTo($T)}if(o.applyDefaultStyles){$T.css(c.togglers.cssDef)}if(!isOpen){bindStartSlidingEvent(pane,true)}}});sizeHandles("all",true)};var initResizable=function(){var draggingAvailable=(typeof $.fn.draggable=="function"),minPosition,maxPosition,edge;$.each(c.borderPanes.split(","),function(){var pane=str(this),o=options[pane],s=state[pane];if(!draggingAvailable||!$Ps[pane]||!o.resizable){o.resizable=false;return true}var rClass=o.resizerClass,dragClass=rClass+"-drag",dragPaneClass=rClass+"-"+pane+"-drag",draggingClass=rClass+"-dragging",draggingPaneClass=rClass+"-"+pane+"-dragging",draggingClassSet=false,$P=$Ps[pane],$R=$Rs[pane];if(!s.isClosed){$R.attr("title",o.resizerTip).css("cursor",o.resizerCursor)}$R.draggable({containment:$Container[0],axis:(c[pane].dir=="horz"?"y":"x"),delay:200,distance:1,helper:"clone",opacity:o.resizerDragOpacity,zIndex:c.zIndex.resizing,start:function(e,ui){if(false===execUserCallback(pane,o.onresize_start)){return false}s.isResizing=true;clearTimer(pane,"closeSlider");$R.addClass(dragClass+" "+dragPaneClass);draggingClassSet=false;var resizerWidth=(pane=="east"||pane=="south"?o.spacing_open:0);setPaneMinMaxSizes(pane);s.minPosition-=resizerWidth;s.maxPosition-=resizerWidth;edge=(c[pane].dir=="horz"?"top":"left");$(o.maskIframesOnResize===true?"iframe":o.maskIframesOnResize).each(function(){$('<div class="ui-layout-mask"/>').css({background:"#fff",opacity:"0.001",zIndex:9,position:"absolute",width:this.offsetWidth+"px",height:this.offsetHeight+"px"}).css($(this).offset()).appendTo(this.parentNode)})},drag:function(e,ui){if(!draggingClassSet){$(".ui-draggable-dragging").addClass(draggingClass+" "+draggingPaneClass).children().css("visibility","hidden");draggingClassSet=true;if(s.isSliding){$Ps[pane].css("zIndex",c.zIndex.sliding)}}if(ui.position[edge]<s.minPosition){ui.position[edge]=s.minPosition}else{if(ui.position[edge]>s.maxPosition){ui.position[edge]=s.maxPosition}}},stop:function(e,ui){var dragPos=ui.position,resizerPos,newSize;$R.removeClass(dragClass+" "+dragPaneClass);switch(pane){case"north":resizerPos=dragPos.top;break;case"west":resizerPos=dragPos.left;break;case"south":resizerPos=cDims.outerHeight-dragPos.top-$R.outerHeight();break;case"east":resizerPos=cDims.outerWidth-dragPos.left-$R.outerWidth();break}newSize=resizerPos-cDims[c[pane].edge];sizePane(pane,newSize);$("div.ui-layout-mask").remove();s.isResizing=false}})})};var hide=function(pane,onInit){var o=options[pane],s=state[pane],$P=$Ps[pane],$R=$Rs[pane];if(!$P||s.isHidden){return}if(false===execUserCallback(pane,o.onhide_start)){return}s.isSliding=false;if($R){$R.hide()}if(onInit||s.isClosed){s.isClosed=true;s.isHidden=true;$P.hide();sizeMidPanes(c[pane].dir=="horz"?"all":"center");execUserCallback(pane,o.onhide_end||o.onhide)}else{s.isHiding=true;close(pane,false)}};var show=function(pane,openPane){var o=options[pane],s=state[pane],$P=$Ps[pane],$R=$Rs[pane];if(!$P||!s.isHidden){return}if(false===execUserCallback(pane,o.onshow_start)){return}s.isSliding=false;s.isShowing=true;if($R&&o.spacing_open>0){$R.show()}if(openPane===false){close(pane,true)}else{open(pane)}};var toggle=function(pane){var s=state[pane];if(s.isHidden){show(pane)}else{if(s.isClosed){open(pane)}else{close(pane)}}};var close=function(pane,force,noAnimation){var $P=$Ps[pane],$R=$Rs[pane],$T=$Ts[pane],o=options[pane],s=state[pane],doFX=!noAnimation&&!s.isClosed&&(o.fxName_close!="none"),edge=c[pane].edge,rClass=o.resizerClass,tClass=o.togglerClass,_pane="-"+pane,_open="-open",_sliding="-sliding",_closed="-closed",isShowing=s.isShowing,isHiding=s.isHiding;delete s.isShowing;delete s.isHiding;if(!$P||(!o.resizable&&!o.closable)){return}else{if(!force&&s.isClosed&&!isShowing){return}}if(c.isLayoutBusy){setFlowCallback("close",pane,force);return}if(!isShowing&&false===execUserCallback(pane,o.onclose_start)){return}c[pane].isMoving=true;c.isLayoutBusy=true;s.isClosed=true;if(isHiding){s.isHidden=true}else{if(isShowing){s.isHidden=false}}syncPinBtns(pane,false);if(!s.isSliding){sizeMidPanes(c[pane].dir=="horz"?"all":"center")}if($R){$R.css(edge,cDims[edge]).removeClass(rClass+_open+" "+rClass+_pane+_open).removeClass(rClass+_sliding+" "+rClass+_pane+_sliding).addClass(rClass+_closed+" "+rClass+_pane+_closed);if(o.resizable){$R.draggable("disable").css("cursor","default").attr("title","")}if($T){$T.removeClass(tClass+_open+" "+tClass+_pane+_open).addClass(tClass+_closed+" "+tClass+_pane+_closed).attr("title",o.togglerTip_closed)}sizeHandles()}if(doFX){lockPaneForFX(pane,true);$P.hide(o.fxName_close,o.fxSettings_close,o.fxSpeed_close,function(){lockPaneForFX(pane,false);if(!s.isClosed){return}close_2()})}else{$P.hide();close_2()}function close_2(){bindStartSlidingEvent(pane,true);if(!isShowing){execUserCallback(pane,o.onclose_end||o.onclose)}if(isShowing){execUserCallback(pane,o.onshow_end||o.onshow)}if(isHiding){execUserCallback(pane,o.onhide_end||o.onhide)}execFlowCallback(pane)}};var open=function(pane,slide,noAnimation){var $P=$Ps[pane],$R=$Rs[pane],$T=$Ts[pane],o=options[pane],s=state[pane],doFX=!noAnimation&&s.isClosed&&(o.fxName_open!="none"),edge=c[pane].edge,rClass=o.resizerClass,tClass=o.togglerClass,_pane="-"+pane,_open="-open",_closed="-closed",_sliding="-sliding",isShowing=s.isShowing;delete s.isShowing;if(!$P||(!o.resizable&&!o.closable)){return}else{if(!s.isClosed&&!s.isSliding){return}}if(s.isHidden&&!isShowing){show(pane,true);return}if(c.isLayoutBusy){setFlowCallback("open",pane,slide);return}if(false===execUserCallback(pane,o.onopen_start)){return}c[pane].isMoving=true;c.isLayoutBusy=true;if(s.isSliding&&!slide){bindStopSlidingEvents(pane,false)}s.isClosed=false;if(isShowing){s.isHidden=false}setPaneMinMaxSizes(pane);if(s.size>s.maxSize){$P.css(c[pane].sizeType,max(1,cssSize(pane,s.maxSize)))}bindStartSlidingEvent(pane,false);if(doFX){lockPaneForFX(pane,true);$P.show(o.fxName_open,o.fxSettings_open,o.fxSpeed_open,function(){lockPaneForFX(pane,false);if(s.isClosed){return}open_2()})}else{$P.show();open_2()}function open_2(){if(!s.isSliding){sizeMidPanes(c[pane].dir=="vert"?"center":"all")}if($R){$R.css(edge,cDims[edge]+getPaneSize(pane)).removeClass(rClass+_closed+" "+rClass+_pane+_closed).addClass(rClass+_open+" "+rClass+_pane+_open).addClass(!s.isSliding?"":rClass+_sliding+" "+rClass+_pane+_sliding);if(o.resizable){$R.draggable("enable").css("cursor",o.resizerCursor).attr("title",o.resizerTip)}else{$R.css("cursor","default")}if($T){$T.removeClass(tClass+_closed+" "+tClass+_pane+_closed).addClass(tClass+_open+" "+tClass+_pane+_open).attr("title",o.togglerTip_open)}sizeHandles("all")}sizeContent(pane);syncPinBtns(pane,!s.isSliding);execUserCallback(pane,o.onopen_end||o.onopen);if(isShowing){execUserCallback(pane,o.onshow_end||o.onshow)}execFlowCallback(pane)}};var lockPaneForFX=function(pane,doLock){var $P=$Ps[pane];if(doLock){$P.css({zIndex:c.zIndex.animation});if(pane=="south"){$P.css({top:cDims.top+cDims.innerHeight-$P.outerHeight()})}else{if(pane=="east"){$P.css({left:cDims.left+cDims.innerWidth-$P.outerWidth()})}}}else{if(!state[pane].isSliding){$P.css({zIndex:c.zIndex.pane_normal})}if(pane=="south"){$P.css({top:"auto"})}else{if(pane=="east"){$P.css({left:"auto"})}}}};var bindStartSlidingEvent=function(pane,enable){var o=options[pane],$R=$Rs[pane],trigger=o.slideTrigger_open;if(!$R||!o.slidable){return}if(trigger!="click"&&trigger!="dblclick"&&trigger!="mouseover"){trigger="click"}$R[enable?"bind":"unbind"](trigger,slideOpen).css("cursor",(enable?o.sliderCursor:"default")).attr("title",(enable?o.sliderTip:""))};var bindStopSlidingEvents=function(pane,enable){var o=options[pane],s=state[pane],trigger=o.slideTrigger_close,action=(enable?"bind":"unbind"),$P=$Ps[pane],$R=$Rs[pane];s.isSliding=enable;clearTimer(pane,"closeSlider");$P.css({zIndex:(enable?c.zIndex.sliding:c.zIndex.pane_normal)});$R.css({zIndex:(enable?c.zIndex.sliding:c.zIndex.resizer_normal)});if(trigger!="click"&&trigger!="mouseout"){trigger="mouseout"}if(enable){$P.bind(trigger,slideClosed);$R.bind(trigger,slideClosed);if(trigger="mouseout"){$P.bind("mouseover",cancelMouseOut);$R.bind("mouseover",cancelMouseOut)}}else{$P.unbind(trigger);$R.unbind(trigger);if(trigger="mouseout"){$P.unbind("mouseover");$R.unbind("mouseover");clearTimer(pane,"closeSlider")}}function cancelMouseOut(evt){clearTimer(pane,"closeSlider");evt.stopPropagation()}};var slideOpen=function(){var pane=$(this).attr("resizer");if(state[pane].isClosed){bindStopSlidingEvents(pane,true);open(pane,true)}};var slideClosed=function(){var $E=$(this),pane=$E.attr("pane")||$E.attr("resizer"),o=options[pane],s=state[pane];if(s.isClosed||s.isResizing){return}else{if(o.slideTrigger_close=="click"){close_NOW()}else{setTimer(pane,"closeSlider",close_NOW,300)}}function close_NOW(){bindStopSlidingEvents(pane,false);if(!s.isClosed){close(pane)}}};var sizePane=function(pane,size){var edge=c[pane].edge,dir=c[pane].dir,o=options[pane],s=state[pane],$P=$Ps[pane],$R=$Rs[pane];setPaneMinMaxSizes(pane);s.minSize=max(s.minSize,o.minSize);if(o.maxSize>0){s.maxSize=min(s.maxSize,o.maxSize)}size=max(size,s.minSize);size=min(size,s.maxSize);s.size=size;$R.css(edge,size+cDims[edge]);$P.css(c[pane].sizeType,max(1,cssSize(pane,size)));if(!s.isSliding){sizeMidPanes(dir=="horz"?"all":"center")}sizeHandles();sizeContent(pane);execUserCallback(pane,o.onresize_end||o.onresize)};var sizeMidPanes=function(panes,overrideDims,onInit){if(!panes||panes=="all"){panes="east,west,center"}var d=getPaneDims();if(overrideDims){$.extend(d,overrideDims)}$.each(panes.split(","),function(){if(!$Ps[this]){return}var pane=str(this),o=options[pane],s=state[pane],$P=$Ps[pane],$R=$Rs[pane],hasRoom=true,CSS={};if(pane=="center"){d=getPaneDims();CSS=$.extend({},d);CSS.width=max(1,cssW(pane,CSS.width));CSS.height=max(1,cssH(pane,CSS.height));hasRoom=(CSS.width>1&&CSS.height>1);if($.browser.msie&&(!$.boxModel||$.browser.version<7)){if($Ps.north){$Ps.north.css({width:cssW($Ps.north,cDims.innerWidth)})}if($Ps.south){$Ps.south.css({width:cssW($Ps.south,cDims.innerWidth)})}}}else{CSS.top=d.top;CSS.bottom=d.bottom;CSS.height=max(1,cssH(pane,d.height));hasRoom=(CSS.height>1)}if(hasRoom){$P.css(CSS);if(s.noRoom){s.noRoom=false;if(s.isHidden){return}else{show(pane,!s.isClosed)}}if(!onInit){sizeContent(pane);execUserCallback(pane,o.onresize_end||o.onresize)}}else{if(!s.noRoom){s.noRoom=true;if(s.isHidden){return}if(onInit){$P.hide();if($R){$R.hide()}}else{hide(pane)}}}})};var sizeContent=function(panes){if(!panes||panes=="all"){panes=c.allPanes}$.each(panes.split(","),function(){if(!$Cs[this]){return}var pane=str(this),ignore=options[pane].contentIgnoreSelector,$P=$Ps[pane],$C=$Cs[pane],e_C=$C[0],height=cssH($P);$P.children().each(function(){if(this==e_C){return}var $E=$(this);if(!ignore||!$E.is(ignore)){height-=$E.outerHeight()}});if(height>0){height=cssH($C,height)}if(height<1){$C.hide()}else{$C.css({height:height}).show()}})};var sizeHandles=function(panes,onInit){if(!panes||panes=="all"){panes=c.borderPanes}$.each(panes.split(","),function(){var pane=str(this),o=options[pane],s=state[pane],$P=$Ps[pane],$R=$Rs[pane],$T=$Ts[pane];if(!$P||!$R||(!o.resizable&&!o.closable)){return}var dir=c[pane].dir,_state=(s.isClosed?"_closed":"_open"),spacing=o["spacing"+_state],togAlign=o["togglerAlign"+_state],togLen=o["togglerLength"+_state],paneLen,offset,CSS={};if(spacing==0){$R.hide();return}else{if(!s.noRoom&&!s.isHidden){$R.show()}}if(dir=="horz"){paneLen=$P.outerWidth();$R.css({width:max(1,cssW($R,paneLen)),height:max(1,cssH($R,spacing)),left:cssNum($P,"left")})}else{paneLen=$P.outerHeight();$R.css({height:max(1,cssH($R,paneLen)),width:max(1,cssW($R,spacing)),top:cDims.top+getPaneSize("north",true)})}if($T){if(togLen==0||(s.isSliding&&o.hideTogglerOnSlide)){$T.hide();return}else{$T.show()}if(!(togLen>0)||togLen=="100%"||togLen>paneLen){togLen=paneLen;offset=0}else{if(typeof togAlign=="string"){switch(togAlign){case"top":case"left":offset=0;break;case"bottom":case"right":offset=paneLen-togLen;break;case"middle":case"center":default:offset=Math.floor((paneLen-togLen)/2)}}else{var x=parseInt(togAlign);if(togAlign>=0){offset=x}else{offset=paneLen-togLen+x}}}var $TC_o=(o.togglerContent_open?$T.children(".content-open"):false),$TC_c=(o.togglerContent_closed?$T.children(".content-closed"):false),$TC=(s.isClosed?$TC_c:$TC_o);if($TC_o){$TC_o.css("display",s.isClosed?"none":"block")}if($TC_c){$TC_c.css("display",s.isClosed?"block":"none")}if(dir=="horz"){var width=cssW($T,togLen);$T.css({width:max(0,width),height:max(1,cssH($T,spacing)),left:offset});if($TC){$TC.css("marginLeft",Math.floor((width-$TC.outerWidth())/2))}}else{var height=cssH($T,togLen);$T.css({height:max(0,height),width:max(1,cssW($T,spacing)),top:offset});if($TC){$TC.css("marginTop",Math.floor((height-$TC.outerHeight())/2))}}}if(onInit&&o.initHidden){$R.hide();if($T){$T.hide()}}})};var resizeAll=function(){var oldW=cDims.innerWidth,oldH=cDims.innerHeight;cDims=state.container=getElemDims($Container);var checkH=(cDims.innerHeight<oldH),checkW=(cDims.innerWidth<oldW),s,dir;if(checkH||checkW){$.each(["south","north","east","west"],function(i,pane){s=state[pane];dir=c[pane].dir;if(!s.isClosed&&((checkH&&dir=="horz")||(checkW&&dir=="vert"))){setPaneMinMaxSizes(pane);if(s.size>s.maxSize){sizePane(pane,s.maxSize)}}})}sizeMidPanes("all");sizeHandles("all")};function keyDown(evt){if(!evt){return true}var code=evt.keyCode;if(code<33){return true}var PANE={38:"north",40:"south",37:"west",39:"east"},isCursorKey=(code>=37&&code<=40),ALT=evt.altKey,SHIFT=evt.shiftKey,CTRL=evt.ctrlKey,pane=false,s,o,k,m,el;if(!CTRL&&!SHIFT){return true}else{if(isCursorKey&&options[PANE[code]].enableCursorHotkey){pane=PANE[code]}else{$.each(c.borderPanes.split(","),function(i,p){o=options[p];k=o.customHotkey;m=o.customHotkeyModifier;if((SHIFT&&m=="SHIFT")||(CTRL&&m=="CTRL")||(CTRL&&SHIFT)){if(k&&code==(isNaN(k)||k<=9?k.toUpperCase().charCodeAt(0):k)){pane=p;return false}}})}}if(!pane){return true}o=options[pane];s=state[pane];if(!o.enableCursorHotkey||s.isHidden||!$Ps[pane]){return true}el=evt.target||evt.srcElement;if(el&&SHIFT&&isCursorKey&&(el.tagName=="TEXTAREA"||(el.tagName=="INPUT"&&(code==37||code==39)))){return true}toggle(pane);evt.stopPropagation();evt.returnValue=false;return false}function allowOverflow(elem){if(this&&this.tagName){elem=this}var $P;if(typeof elem=="string"){$P=$Ps[elem]}else{if($(elem).attr("pane")){$P=$(elem)}else{$P=$(elem).parents("div[pane]:first")}}if(!$P.length){return}var pane=$P.attr("pane"),s=state[pane];if(s.cssSaved){resetOverflow(pane)}if(s.isSliding||s.isResizing||s.isClosed){s.cssSaved=false;return}var newCSS={zIndex:(c.zIndex.pane_normal+1)},curCSS={},of=$P.css("overflow"),ofX=$P.css("overflowX"),ofY=$P.css("overflowY");if(of!="visible"){curCSS.overflow=of;newCSS.overflow="visible"}if(ofX&&ofX!="visible"&&ofX!="auto"){curCSS.overflowX=ofX;newCSS.overflowX="visible"}if(ofY&&ofY!="visible"&&ofY!="auto"){curCSS.overflowY=ofX;newCSS.overflowY="visible"}s.cssSaved=curCSS;$P.css(newCSS);$.each(c.allPanes.split(","),function(i,p){if(p!=pane){resetOverflow(p)}})}function resetOverflow(elem){if(this&&this.tagName){elem=this}var $P;if(typeof elem=="string"){$P=$Ps[elem]}else{if($(elem).hasClass("ui-layout-pane")){$P=$(elem)}else{$P=$(elem).parents("div[pane]:first")}}if(!$P.length){return}var pane=$P.attr("pane"),s=state[pane],CSS=s.cssSaved||{};if(!s.isSliding&&!s.isResizing){$P.css("zIndex",c.zIndex.pane_normal)}$P.css(CSS);s.cssSaved=false}function getBtn(selector,pane,action){var $E=$(selector),err="Error Adding Button \n\nInvalid ";if(!$E.length){alert(err+"selector: "+selector)}else{if(c.borderPanes.indexOf(pane)==-1){alert(err+"pane: "+pane)}else{var btn=options[pane].buttonClass+"-"+action;$E.addClass(btn+" "+btn+"-"+pane);return $E}}return false}function addToggleBtn(selector,pane){var $E=getBtn(selector,pane,"toggle");if($E){$E.attr("title",state[pane].isClosed?"Open":"Close").click(function(evt){toggle(pane);evt.stopPropagation()})}}function addOpenBtn(selector,pane){var $E=getBtn(selector,pane,"open");if($E){$E.attr("title","Open").click(function(evt){open(pane);evt.stopPropagation()})}}function addCloseBtn(selector,pane){var $E=getBtn(selector,pane,"close");if($E){$E.attr("title","Close").click(function(evt){close(pane);evt.stopPropagation()})}}function addPinBtn(selector,pane){var $E=getBtn(selector,pane,"pin");if($E){var s=state[pane];$E.click(function(evt){setPinState($(this),pane,(s.isSliding||s.isClosed));if(s.isSliding||s.isClosed){open(pane)}else{close(pane)}evt.stopPropagation()});setPinState($E,pane,(!s.isClosed&&!s.isSliding));c[pane].pins.push(selector)}}function syncPinBtns(pane,doPin){$.each(c[pane].pins,function(i,selector){setPinState($(selector),pane,doPin)})}function setPinState($Pin,pane,doPin){var updown=$Pin.attr("pin");if(updown&&doPin==(updown=="down")){return}var root=options[pane].buttonClass,class1=root+"-pin",class2=class1+"-"+pane,UP1=class1+"-up",UP2=class2+"-up",DN1=class1+"-down",DN2=class2+"-down";$Pin.attr("pin",doPin?"down":"up").attr("title",doPin?"Un-Pin":"Pin").removeClass(doPin?UP1:DN1).removeClass(doPin?UP2:DN2).addClass(doPin?DN1:UP1).addClass(doPin?DN2:UP2)}var $Container=$(this).css({overflow:"hidden"}),$Ps={},$Cs={},$Rs={},$Ts={},c=config,cDims=state.container;create();return{options:options,state:state,panes:$Ps,toggle:toggle,open:open,close:close,hide:hide,show:show,resizeContent:sizeContent,sizePane:sizePane,resizeAll:resizeAll,addToggleBtn:addToggleBtn,addOpenBtn:addOpenBtn,addCloseBtn:addCloseBtn,addPinBtn:addPinBtn,allowOverflow:allowOverflow,resetOverflow:resetOverflow,cssWidth:cssW,cssHeight:cssH}}})(jQuery);
1
+ (function(){function r(b,c){c.src?d.ajax({url:c.src,async:false,dataType:"script"}):d.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function L(){return+new Date}function s(b,c){return b[0]&&parseInt(d.curCSS(b[0],c,true),10)||0}function D(){return false}function F(){return true}function M(b){var c=RegExp("(^|\\.)"+b.type+"(\\.|$)"),e=true,h=[];d.each(d.data(this,"events").live||[],function(l,q){if(c.test(q.type))(l=d(b.target).closest(q.data)[0])&&h.push({elem:l,
2
+ fn:q})});h.sort(function(l,q){return d.data(l.elem,"closest")-d.data(q.elem,"closest")});d.each(h,function(){if(this.fn.call(this.elem,b,this.fn.data)===false)return e=false});return e}function I(b,c){return["live",b,c.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function ha(){if(!xa){xa=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);d.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",
3
+ function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);d.ready()}});document.documentElement.doScroll&&N==N.top&&function(){if(!d.isReady){try{document.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,0);return}d.ready()}}()}d.event.add(N,"load",d.ready)}}function S(b,c){var e={};d.each(ta.concat.apply([],ta.slice(0,c)),function(){e[this]=b});return e}var N=this,ua=N.jQuery,ka=N.$,d=N.jQuery=N.$=function(b,c){return new d.fn.init(b,
4
+ c)},H=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,X=/^.[^:#\[\.,]*$/;d.fn=d.prototype={init:function(b,c){b=b||document;if(b.nodeType){this[0]=b;this.length=1;this.context=b;return this}if(typeof b==="string"){var e=H.exec(b);if(e&&(e[1]||!c))if(e[1])b=d.clean([e[1]],c);else{if((c=document.getElementById(e[3]))&&c.id!=e[3])return d().find(b);e=d(c||[]);e.context=document;e.selector=b;return e}else return d(c).find(b)}else if(d.isFunction(b))return d(document).ready(b);if(b.selector&&b.context){this.selector=
5
+ b.selector;this.context=b.context}return this.setArray(d.isArray(b)?b:d.makeArray(b))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(b){return b===void 0?Array.prototype.slice.call(this):this[b]},pushStack:function(b,c,e){b=d(b);b.prevObject=this;b.context=this.context;if(c==="find")b.selector=this.selector+(this.selector?" ":"")+e;else if(c)b.selector=this.selector+"."+c+"("+e+")";return b},setArray:function(b){this.length=0;Array.prototype.push.apply(this,b);return this},
6
+ each:function(b,c){return d.each(this,b,c)},index:function(b){return d.inArray(b&&b.jquery?b[0]:b,this)},attr:function(b,c,e){var h=b;if(typeof b==="string")if(c===void 0)return this[0]&&d[e||"attr"](this[0],b);else{h={};h[b]=c}return this.each(function(l){for(b in h)d.attr(e?this.style:this,b,d.prop(this,h[b],e,l,b))})},css:function(b,c){if((b=="width"||b=="height")&&parseFloat(c)<0)c=void 0;return this.attr(b,c,"curCSS")},text:function(b){if(typeof b!=="object"&&b!=null)return this.empty().append((this[0]&&
7
+ this[0].ownerDocument||document).createTextNode(b));var c="";d.each(b||this,function(){d.each(this.childNodes,function(){if(this.nodeType!=8)c+=this.nodeType!=1?this.nodeValue:d.fn.text([this])})});return c},wrapAll:function(b){if(this[0]){b=d(b,this[0].ownerDocument).clone();this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var c=this;c.firstChild;)c=c.firstChild;return c}).append(this)}return this},wrapInner:function(b){return this.each(function(){d(this).contents().wrapAll(b)})},
8
+ wrap:function(b){return this.each(function(){d(this).wrapAll(b)})},append:function(){return this.domManip(arguments,true,function(b){this.nodeType==1&&this.appendChild(b)})},prepend:function(){return this.domManip(arguments,true,function(b){this.nodeType==1&&this.insertBefore(b,this.firstChild)})},before:function(){return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)})},after:function(){return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
9
+ this.nextSibling)})},end:function(){return this.prevObject||d([])},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var c=this.pushStack([],"find",b);c.length=0;d.find(b,this[0],c);return c}else return this.pushStack(d.unique(d.map(this,function(e){return d.find(b,e)})),"find",b)},clone:function(b){var c=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var l=this.outerHTML;if(!l){l=this.ownerDocument.createElement("div");l.appendChild(this.cloneNode(true));
10
+ l=l.innerHTML}return d.clean([l.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(b===true){var e=this.find("*").andSelf(),h=0;c.find("*").andSelf().each(function(){if(this.nodeName===e[h].nodeName){var l=d.data(e[h],"events");for(var q in l)for(var u in l[q])d.event.add(this,q,l[q][u],l[q][u].data);h++}})}return c},filter:function(b){return this.pushStack(d.isFunction(b)&&d.grep(this,function(c,e){return b.call(c,e)})||d.multiFilter(b,d.grep(this,
11
+ function(c){return c.nodeType===1})),"filter",b)},closest:function(b){var c=d.expr.match.POS.test(b)?d(b):null,e=0;return this.map(function(){for(var h=this;h&&h.ownerDocument;){if(c?c.index(h)>-1:d(h).is(b)){d.data(h,"closest",e);return h}h=h.parentNode;e++}})},not:function(b){if(typeof b==="string")if(X.test(b))return this.pushStack(d.multiFilter(b,this,true),"not",b);else b=d.multiFilter(b,this);var c=b.length&&b[b.length-1]!==void 0&&!b.nodeType;return this.filter(function(){return c?d.inArray(this,
12
+ b)<0:this!=b})},add:function(b){return this.pushStack(d.unique(d.merge(this.get(),typeof b==="string"?d(b):d.makeArray(b))))},is:function(b){return!!b&&d.multiFilter(b,this).length>0},hasClass:function(b){return!!b&&this.is("."+b)},val:function(b){if(b===void 0){var c=this[0];if(c){if(d.nodeName(c,"option"))return(c.attributes.value||{}).specified?c.value:c.text;if(d.nodeName(c,"select")){var e=c.selectedIndex,h=[],l=c.options;c=c.type=="select-one";if(e<0)return null;var q=c?e:0;for(e=c?e+1:l.length;q<
13
+ e;q++){var u=l[q];if(u.selected){b=d(u).val();if(c)return b;h.push(b)}}return h}return(c.value||"").replace(/\r/g,"")}}else{if(typeof b==="number")b+="";return this.each(function(){if(this.nodeType==1)if(d.isArray(b)&&/radio|checkbox/.test(this.type))this.checked=d.inArray(this.value,b)>=0||d.inArray(this.name,b)>=0;else if(d.nodeName(this,"select")){var x=d.makeArray(b);d("option",this).each(function(){this.selected=d.inArray(this.value,x)>=0||d.inArray(this.text,x)>=0});if(!x.length)this.selectedIndex=
14
+ -1}else this.value=b})}},html:function(b){return b===void 0?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null:this.empty().append(b)},replaceWith:function(b){return this.after(b).remove()},eq:function(b){return this.slice(b,+b+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(b){return this.pushStack(d.map(this,function(c,e){return b.call(c,e,c)}))},andSelf:function(){return this.add(this.prevObject)},
15
+ domManip:function(b,c,e){function h(T,da){return c&&d.nodeName(T,"table")&&d.nodeName(da,"tr")?T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody")):T}if(this[0]){var l=(this[0].ownerDocument||this[0]).createDocumentFragment();b=d.clean(b,this[0].ownerDocument||this[0],l);var q=l.firstChild;if(q)for(var u=0,x=this.length;u<x;u++)e.call(h(this[u],q),this.length>1||u>0?l.cloneNode(true):l);b&&d.each(b,r)}return this}};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=
16
+ function(){var b=arguments[0]||{},c=1,e=arguments.length,h=false,l;if(typeof b==="boolean"){h=b;b=arguments[1]||{};c=2}if(typeof b!=="object"&&!d.isFunction(b))b={};if(e==c){b=this;--c}for(;c<e;c++)if((l=arguments[c])!=null)for(var q in l){var u=b[q],x=l[q];if(b!==x)if(h&&x&&typeof x==="object"&&!x.nodeType)b[q]=d.extend(h,u||(x.length!=null?[]:{}),x);else if(x!==void 0)b[q]=x}return b};var P=/z-?index|font-?weight|opacity|zoom|line-?height/i,wa=document.defaultView||{},qa=Object.prototype.toString;
17
+ d.extend({noConflict:function(b){N.$=ka;if(b)N.jQuery=ua;return d},isFunction:function(b){return qa.call(b)==="[object Function]"},isArray:function(b){return qa.call(b)==="[object Array]"},isXMLDoc:function(b){return b.nodeType===9&&b.documentElement.nodeName!=="HTML"||!!b.ownerDocument&&d.isXMLDoc(b.ownerDocument)},globalEval:function(b){if(b&&/\S/.test(b)){var c=document.getElementsByTagName("head")[0]||document.documentElement,e=document.createElement("script");e.type="text/javascript";if(d.support.scriptEval)e.appendChild(document.createTextNode(b));
18
+ else e.text=b;c.insertBefore(e,c.firstChild);c.removeChild(e)}},nodeName:function(b,c){return b.nodeName&&b.nodeName.toUpperCase()==c.toUpperCase()},each:function(b,c,e){var h,l=0,q=b.length;if(e)if(q===void 0)for(h in b){if(c.apply(b[h],e)===false)break}else for(;l<q;){if(c.apply(b[l++],e)===false)break}else if(q===void 0)for(h in b){if(c.call(b[h],h,b[h])===false)break}else for(e=b[0];l<q&&c.call(e,l,e)!==false;e=b[++l]);return b},prop:function(b,c,e,h,l){if(d.isFunction(c))c=c.call(b,h);return typeof c===
19
+ "number"&&e=="curCSS"&&!P.test(l)?c+"px":c},className:{add:function(b,c){d.each((c||"").split(/\s+/),function(e,h){if(b.nodeType==1&&!d.className.has(b.className,h))b.className+=(b.className?" ":"")+h})},remove:function(b,c){if(b.nodeType==1)b.className=c!==void 0?d.grep(b.className.split(/\s+/),function(e){return!d.className.has(c,e)}).join(" "):""},has:function(b,c){return b&&d.inArray(c,(b.className||b).toString().split(/\s+/))>-1}},swap:function(b,c,e){var h={};for(var l in c){h[l]=b.style[l];
20
+ b.style[l]=c[l]}e.call(b);for(l in c)b.style[l]=h[l]},css:function(b,c,e,h){if(c=="width"||c=="height"){var l;e={position:"absolute",visibility:"hidden",display:"block"};var q=c=="width"?["Left","Right"]:["Top","Bottom"];function u(){l=c=="width"?b.offsetWidth:b.offsetHeight;h!=="border"&&d.each(q,function(){h||(l-=parseFloat(d.curCSS(b,"padding"+this,true))||0);if(h==="margin")l+=parseFloat(d.curCSS(b,"margin"+this,true))||0;else l-=parseFloat(d.curCSS(b,"border"+this+"Width",true))||0})}b.offsetWidth!==
21
+ 0?u():d.swap(b,e,u);return Math.max(0,Math.round(l))}return d.curCSS(b,c,e)},curCSS:function(b,c,e){var h,l=b.style;if(c=="opacity"&&!d.support.opacity){h=d.attr(l,"opacity");return h==""?"1":h}if(c.match(/float/i))c=ia;if(!e&&l&&l[c])h=l[c];else if(wa.getComputedStyle){if(c.match(/float/i))c="float";c=c.replace(/([A-Z])/g,"-$1").toLowerCase();if(b=wa.getComputedStyle(b,null))h=b.getPropertyValue(c);if(c=="opacity"&&h=="")h="1"}else if(b.currentStyle){h=c.replace(/\-(\w)/g,function(q,u){return u.toUpperCase()});
22
+ h=b.currentStyle[c]||b.currentStyle[h];if(!/^\d+(px)?$/i.test(h)&&/^\d/.test(h)){c=l.left;e=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;l.left=h||0;h=l.pixelLeft+"px";l.left=c;b.runtimeStyle.left=e}}return h},clean:function(b,c,e){c=c||document;if(typeof c.createElement==="undefined")c=c.ownerDocument||c[0]&&c[0].ownerDocument||document;if(!e&&b.length===1&&typeof b[0]==="string"){var h=/^<(\w+)\s*\/?>$/.exec(b[0]);if(h)return[c.createElement(h[1])]}var l=[];h=[];var q=c.createElement("div");
23
+ d.each(b,function(u,x){if(typeof x==="number")x+="";if(x){if(typeof x==="string"){x=x.replace(/(<(\w+)[^>]*?)\/>/g,function(ba,la,ma){return ma.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?ba:la+"></"+ma+">"});u=x.replace(/^\s+/,"").substring(0,10).toLowerCase();var T=!u.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!u.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||u.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!u.indexOf("<tr")&&[2,
24
+ "<table><tbody>","</tbody></table>"]||(!u.indexOf("<td")||!u.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!u.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!d.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(q.innerHTML=T[1]+x+T[2];T[0]--;)q=q.lastChild;if(!d.support.tbody){var da=/<tbody/i.test(x);u=!u.indexOf("<table")&&!da?q.firstChild&&q.firstChild.childNodes:T[1]=="<table>"&&!da?q.childNodes:[];for(T=u.length-1;T>=0;--T)d.nodeName(u[T],
25
+ "tbody")&&!u[T].childNodes.length&&u[T].parentNode.removeChild(u[T])}!d.support.leadingWhitespace&&/^\s/.test(x)&&q.insertBefore(c.createTextNode(x.match(/^\s*/)[0]),q.firstChild);x=d.makeArray(q.childNodes)}if(x.nodeType)l.push(x);else l=d.merge(l,x)}});if(e){for(b=0;l[b];b++)if(d.nodeName(l[b],"script")&&(!l[b].type||l[b].type.toLowerCase()==="text/javascript"))h.push(l[b].parentNode?l[b].parentNode.removeChild(l[b]):l[b]);else{l[b].nodeType===1&&l.splice.apply(l,[b+1,0].concat(d.makeArray(l[b].getElementsByTagName("script"))));
26
+ e.appendChild(l[b])}return h}return l},attr:function(b,c,e){if(!(!b||b.nodeType==3||b.nodeType==8)){var h=!d.isXMLDoc(b),l=e!==void 0;c=h&&d.props[c]||c;if(b.tagName){var q=/href|src|style/.test(c);if(c in b&&h&&!q){if(l){if(c=="type"&&d.nodeName(b,"input")&&b.parentNode)throw"type property can't be changed";b[c]=e}if(d.nodeName(b,"form")&&b.getAttributeNode(c))return b.getAttributeNode(c).nodeValue;if(c=="tabIndex")return(c=b.getAttributeNode("tabIndex"))&&c.specified?c.value:b.nodeName.match(/(button|input|object|select|textarea)/i)?
27
+ 0:b.nodeName.match(/^(a|area)$/i)&&b.href?0:void 0;return b[c]}if(!d.support.style&&h&&c=="style")return d.attr(b.style,"cssText",e);l&&b.setAttribute(c,""+e);b=!d.support.hrefNormalized&&h&&q?b.getAttribute(c,2):b.getAttribute(c);return b===null?void 0:b}if(!d.support.opacity&&c=="opacity"){if(l){b.zoom=1;b.filter=(b.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(e)+""=="NaN"?"":"alpha(opacity="+e*100+")")}return b.filter&&b.filter.indexOf("opacity=")>=0?parseFloat(b.filter.match(/opacity=([^)]*)/)[1])/
28
+ 100+"":""}c=c.replace(/-([a-z])/ig,function(u,x){return x.toUpperCase()});if(l)b[c]=e;return b[c]}},trim:function(b){return(b||"").replace(/^\s+|\s+$/g,"")},makeArray:function(b){var c=[];if(b!=null){var e=b.length;if(e==null||typeof b==="string"||d.isFunction(b)||b.setInterval)c[0]=b;else for(;e;)c[--e]=b[e]}return c},inArray:function(b,c){for(var e=0,h=c.length;e<h;e++)if(c[e]===b)return e;return-1},merge:function(b,c){var e=0,h,l=b.length;if(d.support.getAll)for(;(h=c[e++])!=null;)b[l++]=h;else for(;(h=
29
+ c[e++])!=null;)if(h.nodeType!=8)b[l++]=h;return b},unique:function(b){var c=[],e={};try{for(var h=0,l=b.length;h<l;h++){var q=d.data(b[h]);if(!e[q]){e[q]=true;c.push(b[h])}}}catch(u){c=b}return c},grep:function(b,c,e){for(var h=[],l=0,q=b.length;l<q;l++)!e!=!c(b[l],l)&&h.push(b[l]);return h},map:function(b,c){for(var e=[],h=0,l=b.length;h<l;h++){var q=c(b[h],h);if(q!=null)e[e.length]=q}return e.concat.apply([],e)}});var Y=navigator.userAgent.toLowerCase();d.browser={version:(Y.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||
30
+ [0,"0"])[1],safari:/webkit/.test(Y),opera:/opera/.test(Y),msie:/msie/.test(Y)&&!/opera/.test(Y),mozilla:/mozilla/.test(Y)&&!/(compatible|webkit)/.test(Y)};d.each({parent:function(b){return b.parentNode},parents:function(b){return d.dir(b,"parentNode")},next:function(b){return d.nth(b,2,"nextSibling")},prev:function(b){return d.nth(b,2,"previousSibling")},nextAll:function(b){return d.dir(b,"nextSibling")},prevAll:function(b){return d.dir(b,"previousSibling")},siblings:function(b){return d.sibling(b.parentNode.firstChild,
31
+ b)},children:function(b){return d.sibling(b.firstChild)},contents:function(b){return d.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:d.makeArray(b.childNodes)}},function(b,c){d.fn[b]=function(e){var h=d.map(this,c);if(e&&typeof e=="string")h=d.multiFilter(e,h);return this.pushStack(d.unique(h),b,e)}});d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){d.fn[b]=function(e){for(var h=[],l=d(e),q=0,u=l.length;q<
32
+ u;q++){var x=(q>0?this.clone(true):this).get();d.fn[c].apply(d(l[q]),x);h=h.concat(x)}return this.pushStack(h,b,e)}});d.each({removeAttr:function(b){d.attr(this,b,"");this.nodeType==1&&this.removeAttribute(b)},addClass:function(b){d.className.add(this,b)},removeClass:function(b){d.className.remove(this,b)},toggleClass:function(b,c){if(typeof c!=="boolean")c=!d.className.has(this,b);d.className[c?"add":"remove"](this,b)},remove:function(b){if(!b||d.filter(b,[this]).length){d("*",this).add([this]).each(function(){d.event.remove(this);
33
+ d.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(d(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}},function(b,c){d.fn[b]=function(){return this.each(c,arguments)}});var U="jQuery"+L(),Z=0,za={};d.extend({cache:{},data:function(b,c,e){b=b==N?za:b;var h=b[U];h||(h=b[U]=++Z);if(c&&!d.cache[h])d.cache[h]={};if(e!==void 0)d.cache[h][c]=e;return c?d.cache[h][c]:h},removeData:function(b,c){b=b==N?za:b;var e=b[U];if(c){if(d.cache[e]){delete d.cache[e][c];
34
+ c="";for(c in d.cache[e])break;c||d.removeData(b)}}else{try{delete b[U]}catch(h){b.removeAttribute&&b.removeAttribute(U)}delete d.cache[e]}},queue:function(b,c,e){if(b){c=(c||"fx")+"queue";var h=d.data(b,c);if(!h||d.isArray(e))h=d.data(b,c,d.makeArray(e));else e&&h.push(e)}return h},dequeue:function(b,c){var e=d.queue(b,c),h=e.shift();if(!c||c==="fx")h=e[0];h!==void 0&&h.call(b)}});d.fn.extend({data:function(b,c){var e=b.split(".");e[1]=e[1]?"."+e[1]:"";if(c===void 0){var h=this.triggerHandler("getData"+
35
+ e[1]+"!",[e[0]]);if(h===void 0&&this.length)h=d.data(this[0],b);return h===void 0&&e[1]?this.data(e[0]):h}else return this.trigger("setData"+e[1]+"!",[e[0],c]).each(function(){d.data(this,b,c)})},removeData:function(b){return this.each(function(){d.removeData(this,b)})},queue:function(b,c){if(typeof b!=="string"){c=b;b="fx"}if(c===void 0)return d.queue(this[0],b);return this.each(function(){var e=d.queue(this,b,c);b=="fx"&&e.length==1&&e[0].call(this)})},dequeue:function(b){return this.each(function(){d.dequeue(this,
36
+ b)})}});(function(){function b(g,j,m,t,y,z){y=g=="previousSibling"&&!z;for(var K=0,fa=t.length;K<fa;K++){var J=t[K];if(J){if(y&&J.nodeType===1){J.sizcache=m;J.sizset=K}J=J[g];for(var ga=false;J;){if(J.sizcache===m){ga=t[J.sizset];break}if(J.nodeType===1&&!z){J.sizcache=m;J.sizset=K}if(J.nodeName===j){ga=J;break}J=J[g]}t[K]=ga}}}function c(g,j,m,t,y,z){y=g=="previousSibling"&&!z;for(var K=0,fa=t.length;K<fa;K++){var J=t[K];if(J){if(y&&J.nodeType===1){J.sizcache=m;J.sizset=K}J=J[g];for(var ga=false;J;){if(J.sizcache===
37
+ m){ga=t[J.sizset];break}if(J.nodeType===1){if(!z){J.sizcache=m;J.sizset=K}if(typeof j!=="string"){if(J===j){ga=true;break}}else if(q.filter(j,[J]).length>0){ga=J;break}}J=J[g]}t[K]=ga}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,h=0,l=Object.prototype.toString,q=function(g,j,m,t){m=m||[];j=j||document;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!g||typeof g!=="string")return m;var y=[],z,K,fa,J=true;for(e.lastIndex=
38
+ 0;(z=e.exec(g))!==null;){y.push(z[1]);if(z[2]){fa=RegExp.rightContext;break}}if(y.length>1&&x.exec(g))if(y.length===2&&u.relative[y[0]])z=ra(y[0]+y[1],j);else for(z=u.relative[y[0]]?[j]:q(y.shift(),j);y.length;){g=y.shift();if(u.relative[g])g+=y.shift();z=ra(g,z)}else{z=t?{expr:y.pop(),set:da(t)}:q.find(y.pop(),y.length===1&&j.parentNode?j.parentNode:j,O(j));z=q.filter(z.expr,z.set);if(y.length>0)K=da(z);else J=false;for(;y.length;){var ga=y.pop(),oa=ga;if(u.relative[ga])oa=y.pop();else ga="";if(oa==
39
+ null)oa=j;u.relative[ga](K,oa,O(j))}}K||(K=z);if(!K)throw"Syntax error, unrecognized expression: "+(ga||g);if(l.call(K)==="[object Array]")if(J)if(j.nodeType===1)for(g=0;K[g]!=null;g++){if(K[g]&&(K[g]===true||K[g].nodeType===1&&ma(j,K[g])))m.push(z[g])}else for(g=0;K[g]!=null;g++)K[g]&&K[g].nodeType===1&&m.push(z[g]);else m.push.apply(m,K);else da(K,m);if(fa){q(fa,j,m,t);if(la){hasDuplicate=false;m.sort(la);if(hasDuplicate)for(g=1;g<m.length;g++)m[g]===m[g-1]&&m.splice(g--,1)}}return m};q.matches=
40
+ function(g,j){return q(g,null,null,j)};q.find=function(g,j,m){var t,y;if(!g)return[];for(var z=0,K=u.order.length;z<K;z++){var fa=u.order[z];if(y=u.match[fa].exec(g)){var J=RegExp.leftContext;if(J.substr(J.length-1)!=="\\"){y[1]=(y[1]||"").replace(/\\/g,"");t=u.find[fa](y,j,m);if(t!=null){g=g.replace(u.match[fa],"");break}}}}t||(t=j.getElementsByTagName("*"));return{set:t,expr:g}};q.filter=function(g,j,m,t){for(var y=g,z=[],K=j,fa,J,ga=j&&j[0]&&O(j[0]);g&&j.length;){for(var oa in u.filter)if((fa=
41
+ u.match[oa].exec(g))!=null){var Ba=u.filter[oa],ja,Q;J=false;if(K==z)z=[];if(u.preFilter[oa])if(fa=u.preFilter[oa](fa,K,m,z,t,ga)){if(fa===true)continue}else J=ja=true;if(fa)for(var va=0;(Q=K[va])!=null;va++)if(Q){ja=Ba(Q,fa,va,K);var pa=t^!!ja;if(m&&ja!=null)if(pa)J=true;else K[va]=false;else if(pa){z.push(Q);J=true}}if(ja!==void 0){m||(K=z);g=g.replace(u.match[oa],"");if(!J)return[];break}}if(g==y)if(J==null)throw"Syntax error, unrecognized expression: "+g;else break;y=g}return K};var u=q.selectors=
42
+ {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\))?/},
43
+ attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,j,m){var t=typeof j==="string",y=t&&!/\W/.test(j);t=t&&!y;if(y&&!m)j=j.toUpperCase();m=0;y=g.length;for(var z;m<y;m++)if(z=g[m]){for(;(z=z.previousSibling)&&z.nodeType!==1;);g[m]=t||z&&z.nodeName===j?z||false:z===j}t&&q.filter(j,g,true)},">":function(g,j,m){var t=typeof j==="string";if(t&&!/\W/.test(j)){j=m?j:j.toUpperCase();m=0;for(var y=g.length;m<y;m++){var z=g[m];
44
+ if(z){t=z.parentNode;g[m]=t.nodeName===j?t:false}}}else{m=0;for(y=g.length;m<y;m++)if(z=g[m])g[m]=t?z.parentNode:z.parentNode===j;t&&q.filter(j,g,true)}},"":function(g,j,m){var t=h++,y=c;if(!j.match(/\W/)){var z=j=m?j:j.toUpperCase();y=b}y("parentNode",j,t,g,z,m)},"~":function(g,j,m){var t=h++,y=c;if(typeof j==="string"&&!j.match(/\W/)){var z=j=m?j:j.toUpperCase();y=b}y("previousSibling",j,t,g,z,m)}},find:{ID:function(g,j,m){if(typeof j.getElementById!=="undefined"&&!m)return(g=j.getElementById(g[1]))?
45
+ [g]:[]},NAME:function(g,j){if(typeof j.getElementsByName!=="undefined"){var m=[];j=j.getElementsByName(g[1]);for(var t=0,y=j.length;t<y;t++)j[t].getAttribute("name")===g[1]&&m.push(j[t]);return m.length===0?null:m}},TAG:function(g,j){return j.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,j,m,t,y,z){g=" "+g[1].replace(/\\/g,"")+" ";if(z)return g;z=0;for(var K;(K=j[z])!=null;z++)if(K)if(y^(K.className&&(" "+K.className+" ").indexOf(g)>=0))m||t.push(K);else if(m)j[z]=false;return false},ID:function(g){return g[1].replace(/\\/g,
46
+ "")},TAG:function(g,j){for(var m=0;j[m]===false;m++);return j[m]&&O(j[m])?g[1]:g[1].toUpperCase()},CHILD:function(g){if(g[1]=="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]=="even"&&"2n"||g[2]=="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=j[1]+(j[2]||1)-0;g[3]=j[3]-0}g[0]=h++;return g},ATTR:function(g,j,m,t,y,z){j=g[1].replace(/\\/g,"");if(!z&&u.attrMap[j])g[1]=u.attrMap[j];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,j,m,t,y){if(g[1]==="not")if(g[3].match(e).length>
47
+ 1||/^\w/.test(g[3]))g[3]=q(g[3],null,null,j);else{g=q.filter(g[3],j,m,true^y);m||t.push.apply(t,g);return false}else if(u.match.POS.test(g[0])||u.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},
48
+ has:function(g,j,m){return!!q(m[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toUpperCase()===
49
+ "BUTTON"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,j){return j===0},last:function(g,j,m,t){return j===t.length-1},even:function(g,j){return j%2===0},odd:function(g,j){return j%2===1},lt:function(g,j,m){return j<m[3]-0},gt:function(g,j,m){return j>m[3]-0},nth:function(g,j,m){return m[3]-0==j},eq:function(g,j,m){return m[3]-0==j}},filter:{PSEUDO:function(g,j,m,t){var y=j[1],z=u.filters[y];if(z)return z(g,m,j,t);else if(y==="contains")return(g.textContent||
50
+ g.innerText||"").indexOf(j[3])>=0;else if(y==="not"){j=j[3];m=0;for(t=j.length;m<t;m++)if(j[m]===g)return false;return true}},CHILD:function(g,j){var m=j[1],t=g;switch(m){case "only":case "first":for(;t=t.previousSibling;)if(t.nodeType===1)return false;if(m=="first")return true;t=g;case "last":for(;t=t.nextSibling;)if(t.nodeType===1)return false;return true;case "nth":m=j[2];var y=j[3];if(m==1&&y==0)return true;j=j[0];var z=g.parentNode;if(z&&(z.sizcache!==j||!g.nodeIndex)){var K=0;for(t=z.firstChild;t;t=
51
+ t.nextSibling)if(t.nodeType===1)t.nodeIndex=++K;z.sizcache=j}g=g.nodeIndex-y;return m==0?g==0:g%m==0&&g/m>=0}},ID:function(g,j){return g.nodeType===1&&g.getAttribute("id")===j},TAG:function(g,j){return j==="*"&&g.nodeType===1||g.nodeName===j},CLASS:function(g,j){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(g,j){var m=j[1];g=u.attrHandle[m]?u.attrHandle[m](g):g[m]!=null?g[m]:g.getAttribute(m);m=g+"";var t=j[2];j=j[4];return g==null?t==="!=":t==="="?m===j:t===
52
+ "*="?m.indexOf(j)>=0:t==="~="?(" "+m+" ").indexOf(j)>=0:!j?m&&g!==false:t==="!="?m!=j:t==="^="?m.indexOf(j)===0:t==="$="?m.substr(m.length-j.length)===j:t==="|="?m===j||m.substr(0,j.length+1)===j+"-":false},POS:function(g,j,m,t){var y=u.setFilters[j[2]];if(y)return y(g,m,j,t)}}},x=u.match.POS;for(var T in u.match)u.match[T]=RegExp(u.match[T].source+/(?![^\[]*\])(?![^\(]*\))/.source);var da=function(g,j){g=Array.prototype.slice.call(g);if(j){j.push.apply(j,g);return j}return g};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(ba){da=
53
+ function(g,j){j=j||[];if(l.call(g)==="[object Array]")Array.prototype.push.apply(j,g);else if(typeof g.length==="number")for(var m=0,t=g.length;m<t;m++)j.push(g[m]);else for(m=0;g[m];m++)j.push(g[m]);return j}}var la;if(document.documentElement.compareDocumentPosition)la=function(g,j){g=g.compareDocumentPosition(j)&4?-1:g===j?0:1;if(g===0)hasDuplicate=true;return g};else if("sourceIndex"in document.documentElement)la=function(g,j){g=g.sourceIndex-j.sourceIndex;if(g===0)hasDuplicate=true;return g};
54
+ else if(document.createRange)la=function(g,j){var m=g.ownerDocument.createRange(),t=j.ownerDocument.createRange();m.selectNode(g);m.collapse(true);t.selectNode(j);t.collapse(true);g=m.compareBoundaryPoints(Range.START_TO_END,t);if(g===0)hasDuplicate=true;return g};(function(){var g=document.createElement("form"),j="script"+(new Date).getTime();g.innerHTML="<input name='"+j+"'/>";var m=document.documentElement;m.insertBefore(g,m.firstChild);if(document.getElementById(j)){u.find.ID=function(t,y,z){if(typeof y.getElementById!==
55
+ "undefined"&&!z)return(y=y.getElementById(t[1]))?y.id===t[1]||typeof y.getAttributeNode!=="undefined"&&y.getAttributeNode("id").nodeValue===t[1]?[y]:void 0:[]};u.filter.ID=function(t,y){var z=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&z&&z.nodeValue===y}}m.removeChild(g)})();(function(){var g=document.createElement("div");g.appendChild(document.createComment(""));if(g.getElementsByTagName("*").length>0)u.find.TAG=function(j,m){m=m.getElementsByTagName(j[1]);
56
+ if(j[1]==="*"){j=[];for(var t=0;m[t];t++)m[t].nodeType===1&&j.push(m[t]);m=j}return m};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")u.attrHandle.href=function(j){return j.getAttribute("href",2)}})();document.querySelectorAll&&function(){var g=q,j=document.createElement("div");j.innerHTML="<p class='TEST'></p>";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){q=function(m,t,y,z){t=t||document;
57
+ if(!z&&t.nodeType===9&&!O(t))try{return da(t.querySelectorAll(m),y)}catch(K){}return g(m,t,y,z)};q.find=g.find;q.filter=g.filter;q.selectors=g.selectors;q.matches=g.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var g=document.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(g.getElementsByClassName("e").length!==0){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){u.order.splice(1,
58
+ 0,"CLASS");u.find.CLASS=function(j,m,t){if(typeof m.getElementsByClassName!=="undefined"&&!t)return m.getElementsByClassName(j[1])}}}}();var ma=document.compareDocumentPosition?function(g,j){return g.compareDocumentPosition(j)&16}:function(g,j){return g!==j&&(g.contains?g.contains(j):true)},O=function(g){return g.nodeType===9&&g.documentElement.nodeName!=="HTML"||!!g.ownerDocument&&O(g.ownerDocument)},ra=function(g,j){var m=[],t="",y;for(j=j.nodeType?[j]:j;y=u.match.PSEUDO.exec(g);){t+=y[0];g=g.replace(u.match.PSEUDO,
59
+ "")}g=u.relative[g]?g+"*":g;y=0;for(var z=j.length;y<z;y++)q(g,j[y],m);return q.filter(t,m)};d.find=q;d.filter=q.filter;d.expr=q.selectors;d.expr[":"]=d.expr.filters;q.selectors.filters.hidden=function(g){return g.offsetWidth===0||g.offsetHeight===0};q.selectors.filters.visible=function(g){return g.offsetWidth>0||g.offsetHeight>0};q.selectors.filters.animated=function(g){return d.grep(d.timers,function(j){return g===j.elem}).length};d.multiFilter=function(g,j,m){if(m)g=":not("+g+")";return q.matches(g,
60
+ j)};d.dir=function(g,j){var m=[];for(g=g[j];g&&g!=document;){g.nodeType==1&&m.push(g);g=g[j]}return m};d.nth=function(g,j,m){j=j||1;for(var t=0;g;g=g[m])if(g.nodeType==1&&++t==j)break;return g};d.sibling=function(g,j){for(var m=[];g;g=g.nextSibling)g.nodeType==1&&g!=j&&m.push(g);return m}})();d.event={add:function(b,c,e,h){if(!(b.nodeType==3||b.nodeType==8)){if(b.setInterval&&b!=N)b=N;if(!e.guid)e.guid=this.guid++;if(h!==void 0){e=this.proxy(e);e.data=h}var l=d.data(b,"events")||d.data(b,"events",
61
+ {}),q=d.data(b,"handle")||d.data(b,"handle",function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(arguments.callee.elem,arguments):void 0});q.elem=b;d.each(c.split(/\s+/),function(u,x){u=x.split(".");x=u.shift();e.type=u.slice().sort().join(".");var T=l[x];d.event.specialAll[x]&&d.event.specialAll[x].setup.call(b,h,u);if(!T){T=l[x]={};if(!d.event.special[x]||d.event.special[x].setup.call(b,h,u)===false)if(b.addEventListener)b.addEventListener(x,q,false);else b.attachEvent&&
62
+ b.attachEvent("on"+x,q)}T[e.guid]=e;d.event.global[x]=true});b=null}},guid:1,global:{},remove:function(b,c,e){if(!(b.nodeType==3||b.nodeType==8)){var h=d.data(b,"events"),l;if(h){if(c===void 0||typeof c==="string"&&c.charAt(0)==".")for(var q in h)this.remove(b,q+(c||""));else{if(c.type){e=c.handler;c=c.type}d.each(c.split(/\s+/),function(u,x){u=x.split(".");x=u.shift();var T=RegExp("(^|\\.)"+u.slice().sort().join(".*\\.")+"(\\.|$)");if(h[x]){if(e)delete h[x][e.guid];else for(var da in h[x])T.test(h[x][da].type)&&
63
+ delete h[x][da];d.event.specialAll[x]&&d.event.specialAll[x].teardown.call(b,u);for(l in h[x])break;if(!l){if(!d.event.special[x]||d.event.special[x].teardown.call(b,u)===false)if(b.removeEventListener)b.removeEventListener(x,d.data(b,"handle"),false);else b.detachEvent&&b.detachEvent("on"+x,d.data(b,"handle"));l=null;delete h[x]}}})}for(l in h)break;if(!l){if(c=d.data(b,"handle"))c.elem=null;d.removeData(b,"events");d.removeData(b,"handle")}}}},trigger:function(b,c,e,h){var l=b.type||b;if(!h){b=
64
+ typeof b==="object"?b[U]?b:d.extend(d.Event(l),b):d.Event(l);if(l.indexOf("!")>=0){b.type=l=l.slice(0,-1);b.exclusive=true}if(!e){b.stopPropagation();this.global[l]&&d.each(d.cache,function(){this.events&&this.events[l]&&d.event.trigger(b,c,this.handle.elem)})}if(!e||e.nodeType==3||e.nodeType==8)return;b.result=void 0;b.target=e;c=d.makeArray(c);c.unshift(b)}b.currentTarget=e;var q=d.data(e,"handle");q&&q.apply(e,c);if((!e[l]||d.nodeName(e,"a")&&l=="click")&&e["on"+l]&&e["on"+l].apply(e,c)===false)b.result=
65
+ false;if(!h&&e[l]&&!b.isDefaultPrevented()&&!(d.nodeName(e,"a")&&l=="click")){this.triggered=true;try{e[l]()}catch(u){}}this.triggered=false;if(!b.isPropagationStopped())(e=e.parentNode||e.ownerDocument)&&d.event.trigger(b,c,e,true)},handle:function(b){var c,e;b=arguments[0]=d.event.fix(b||N.event);b.currentTarget=this;e=b.type.split(".");b.type=e.shift();c=!e.length&&!b.exclusive;var h=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");e=(d.data(this,"events")||{})[b.type];for(var l in e){var q=
66
+ e[l];if(c||h.test(q.type)){b.handler=q;b.data=q.data;q=q.apply(this,arguments);if(q!==void 0){b.result=q;if(q===false){b.preventDefault();b.stopPropagation()}}if(b.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(" "),
67
+ fix:function(b){if(b[U])return b;var c=b;b=d.Event(c);for(var e=this.props.length,h;e;){h=this.props[--e];b[h]=c[h]}if(!b.target)b.target=b.srcElement||document;if(b.target.nodeType==3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement==b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null){c=document.documentElement;e=document.body;b.pageX=b.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c.clientLeft||0);b.pageY=b.clientY+(c&&c.scrollTop||
68
+ e&&e.scrollTop||0)-(c.clientTop||0)}if(!b.which&&(b.charCode||b.charCode===0?b.charCode:b.keyCode))b.which=b.charCode||b.keyCode;if(!b.metaKey&&b.ctrlKey)b.metaKey=b.ctrlKey;if(!b.which&&b.button)b.which=b.button&1?1:b.button&2?3:b.button&4?2:0;return b},proxy:function(b,c){c=c||function(){return b.apply(this,arguments)};c.guid=b.guid=b.guid||c.guid||this.guid++;return c},special:{ready:{setup:ha,teardown:function(){}}},specialAll:{live:{setup:function(b,c){d.event.add(this,c[0],M)},teardown:function(b){if(b.length){var c=
69
+ 0,e=RegExp("(^|\\.)"+b[0]+"(\\.|$)");d.each(d.data(this,"events").live||{},function(){e.test(this.type)&&c++});c<1&&d.event.remove(this,b[0],M)}}}}};d.Event=function(b){if(!this.preventDefault)return new d.Event(b);if(b&&b.type){this.originalEvent=b;this.type=b.type}else this.type=b;this.timeStamp=L();this[U]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=F;var b=this.originalEvent;if(b){b.preventDefault&&b.preventDefault();b.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=
70
+ F;var b=this.originalEvent;if(b){b.stopPropagation&&b.stopPropagation();b.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=F;this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D};var ya=function(b){for(var c=b.relatedTarget;c&&c!=this;)try{c=c.parentNode}catch(e){c=this}if(c!=this){b.type=b.data;d.event.handle.apply(this,arguments)}};d.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(b,c){d.event.special[c]=
71
+ {setup:function(){d.event.add(this,b,ya,c)},teardown:function(){d.event.remove(this,b,ya)}}});d.fn.extend({bind:function(b,c,e){return b=="unload"?this.one(b,c,e):this.each(function(){d.event.add(this,b,e||c,e&&c)})},one:function(b,c,e){var h=d.event.proxy(e||c,function(l){d(this).unbind(l,h);return(e||c).apply(this,arguments)});return this.each(function(){d.event.add(this,b,h,e&&c)})},unbind:function(b,c){return this.each(function(){d.event.remove(this,b,c)})},trigger:function(b,c){return this.each(function(){d.event.trigger(b,
72
+ c,this)})},triggerHandler:function(b,c){if(this[0]){b=d.Event(b);b.preventDefault();b.stopPropagation();d.event.trigger(b,c,this[0]);return b.result}},toggle:function(b){for(var c=arguments,e=1;e<c.length;)d.event.proxy(b,c[e++]);return this.click(d.event.proxy(b,function(h){this.lastToggle=(this.lastToggle||0)%e;h.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(b,c){return this.mouseenter(b).mouseleave(c)},ready:function(b){ha();d.isReady?b.call(document,
73
+ d):d.readyList.push(b);return this},live:function(b,c){c=d.event.proxy(c);c.guid+=this.selector+b;d(document).bind(I(b,this.selector),this.selector,c);return this},die:function(b,c){d(document).unbind(I(b,this.selector),c?{guid:c.guid+this.selector+b}:null);return this}});d.extend({isReady:false,readyList:[],ready:function(){if(!d.isReady){d.isReady=true;if(d.readyList){d.each(d.readyList,function(){this.call(document,d)});d.readyList=null}d(document).triggerHandler("ready")}}});var xa=false;d.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),
74
+ function(b,c){d.fn[c]=function(e){return e?this.bind(c,e):this.trigger(c)}});d(N).bind("unload",function(){for(var b in d.cache)b!=1&&d.cache[b].handle&&d.event.remove(d.cache[b].handle.elem)});(function(){d.support={};var b=document.documentElement,c=document.createElement("script"),e=document.createElement("div"),h="script"+(new Date).getTime();e.style.display="none";e.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
75
+ var l=e.getElementsByTagName("*"),q=e.getElementsByTagName("a")[0];if(!(!l||!l.length||!q)){d.support={leadingWhitespace:e.firstChild.nodeType==3,tbody:!e.getElementsByTagName("tbody").length,objectAll:!!e.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/red/.test(q.getAttribute("style")),hrefNormalized:q.getAttribute("href")==="/a",opacity:q.style.opacity==="0.5",cssFloat:!!q.style.cssFloat,scriptEval:false,noCloneEvent:true,
76
+ boxModel:null};c.type="text/javascript";try{c.appendChild(document.createTextNode("window."+h+"=1;"))}catch(u){}b.insertBefore(c,b.firstChild);if(N[h]){d.support.scriptEval=true;delete N[h]}b.removeChild(c);if(e.attachEvent&&e.fireEvent){e.attachEvent("onclick",function(){d.support.noCloneEvent=false;e.detachEvent("onclick",arguments.callee)});e.cloneNode(true).fireEvent("onclick")}d(function(){var x=document.createElement("div");x.style.width=x.style.paddingLeft="1px";document.body.appendChild(x);
77
+ d.boxModel=d.support.boxModel=x.offsetWidth===2;document.body.removeChild(x).style.display="none"})}})();var ia=d.support.cssFloat?"cssFloat":"styleFloat";d.props={"for":"htmlFor","class":"className","float":ia,cssFloat:ia,styleFloat:ia,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};d.fn.extend({_load:d.fn.load,load:function(b,c,e){if(typeof b!=="string")return this._load(b);var h=b.indexOf(" ");if(h>=0){var l=b.slice(h,b.length);b=b.slice(0,
78
+ h)}h="GET";if(c)if(d.isFunction(c)){e=c;c=null}else if(typeof c==="object"){c=d.param(c);h="POST"}var q=this;d.ajax({url:b,type:h,dataType:"html",data:c,complete:function(u,x){if(x=="success"||x=="notmodified")q.html(l?d("<div/>").append(u.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(l):u.responseText);e&&q.each(e,[u.responseText,x,u])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
79
+ d.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(b,c){b=d(this).val();return b==null?null:d.isArray(b)?d.map(b,function(e){return{name:c.name,value:e}}):{name:c.name,value:b}}).get()}});d.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,c){d.fn[c]=function(e){return this.bind(c,e)}});var ea=L();d.extend({get:function(b,
80
+ c,e,h){if(d.isFunction(c)){e=c;c=null}return d.ajax({type:"GET",url:b,data:c,success:e,dataType:h})},getScript:function(b,c){return d.get(b,null,c,"script")},getJSON:function(b,c,e){return d.get(b,c,e,"json")},post:function(b,c,e,h){if(d.isFunction(c)){e=c;c={}}return d.ajax({type:"POST",url:b,data:c,success:e,dataType:h})},ajaxSetup:function(b){d.extend(d.ajaxSettings,b)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,
81
+ xhr:function(){return N.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(b){function c(){b.success&&b.success(u,q);b.global&&d.event.trigger("ajaxSuccess",[O,b])}function e(){b.complete&&b.complete(O,q);b.global&&d.event.trigger("ajaxComplete",[O,b]);b.global&&!--d.active&&
82
+ d.event.trigger("ajaxStop")}b=d.extend(true,b,d.extend(true,{},d.ajaxSettings,b));var h,l=/=\?(&|$)/g,q,u,x=b.type.toUpperCase();if(b.data&&b.processData&&typeof b.data!=="string")b.data=d.param(b.data);if(b.dataType=="jsonp"){if(x=="GET")b.url.match(l)||(b.url+=(b.url.match(/\?/)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!b.data.match(l))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType=="json"&&(b.data&&b.data.match(l)||b.url.match(l))){h="jsonp"+
83
+ ea++;if(b.data)b.data=(b.data+"").replace(l,"="+h+"$1");b.url=b.url.replace(l,"="+h+"$1");b.dataType="script";N[h]=function(t){u=t;c();e();N[h]=void 0;try{delete N[h]}catch(y){}da&&da.removeChild(ba)}}if(b.dataType=="script"&&b.cache==null)b.cache=false;if(b.cache===false&&x=="GET"){l=L();var T=b.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+l+"$2");b.url=T+(T==b.url?(b.url.match(/\?/)?"&":"?")+"_="+l:"")}if(b.data&&x=="GET"){b.url+=(b.url.match(/\?/)?"&":"?")+b.data;b.data=null}b.global&&!d.active++&&d.event.trigger("ajaxStart");
84
+ l=/^(\w+:)?\/\/([^\/?#]+)/.exec(b.url);if(b.dataType=="script"&&x=="GET"&&l&&(l[1]&&l[1]!=location.protocol||l[2]!=location.host)){var da=document.getElementsByTagName("head")[0],ba=document.createElement("script");ba.src=b.url;if(b.scriptCharset)ba.charset=b.scriptCharset;if(!h){var la=false;ba.onload=ba.onreadystatechange=function(){if(!la&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){la=true;c();e();ba.onload=ba.onreadystatechange=null;da.removeChild(ba)}}}da.appendChild(ba)}else{var ma=
85
+ false,O=b.xhr();b.username?O.open(x,b.url,b.async,b.username,b.password):O.open(x,b.url,b.async);try{b.data&&O.setRequestHeader("Content-Type",b.contentType);if(b.ifModified)O.setRequestHeader("If-Modified-Since",d.lastModified[b.url]||"Thu, 01 Jan 1970 00:00:00 GMT");O.setRequestHeader("X-Requested-With","XMLHttpRequest");O.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*":b.accepts._default)}catch(ra){}if(b.beforeSend&&b.beforeSend(O,b)===false){b.global&&
86
+ !--d.active&&d.event.trigger("ajaxStop");O.abort();return false}b.global&&d.event.trigger("ajaxSend",[O,b]);var g=function(t){if(O.readyState==0){if(j){clearInterval(j);j=null;b.global&&!--d.active&&d.event.trigger("ajaxStop")}}else if(!ma&&O&&(O.readyState==4||t=="timeout")){ma=true;if(j){clearInterval(j);j=null}q=t=="timeout"?"timeout":!d.httpSuccess(O)?"error":b.ifModified&&d.httpNotModified(O,b.url)?"notmodified":"success";if(q=="success")try{u=d.httpData(O,b.dataType,b)}catch(y){q="parsererror"}if(q==
87
+ "success"){var z;try{z=O.getResponseHeader("Last-Modified")}catch(K){}if(b.ifModified&&z)d.lastModified[b.url]=z;h||c()}else d.handleError(b,O,q);e();t&&O.abort();if(b.async)O=null}};if(b.async){var j=setInterval(g,13);b.timeout>0&&setTimeout(function(){O&&!ma&&g("timeout")},b.timeout)}try{O.send(b.data)}catch(m){d.handleError(b,O,null,m)}b.async||g();return O}},handleError:function(b,c,e,h){b.error&&b.error(c,e,h);b.global&&d.event.trigger("ajaxError",[c,b,h])},active:0,httpSuccess:function(b){try{return!b.status&&
88
+ location.protocol=="file:"||b.status>=200&&b.status<300||b.status==304||b.status==1223}catch(c){}return false},httpNotModified:function(b,c){try{var e=b.getResponseHeader("Last-Modified");return b.status==304||e==d.lastModified[c]}catch(h){}return false},httpData:function(b,c,e){var h=b.getResponseHeader("content-type");b=(h=c=="xml"||!c&&h&&h.indexOf("xml")>=0)?b.responseXML:b.responseText;if(h&&b.documentElement.tagName=="parsererror")throw"parsererror";if(e&&e.dataFilter)b=e.dataFilter(b,c);if(typeof b===
89
+ "string"){c=="script"&&d.globalEval(b);if(c=="json")b=N.eval("("+b+")")}return b},param:function(b){function c(l,q){e[e.length]=encodeURIComponent(l)+"="+encodeURIComponent(q)}var e=[];if(d.isArray(b)||b.jquery)d.each(b,function(){c(this.name,this.value)});else for(var h in b)d.isArray(b[h])?d.each(b[h],function(){c(h,this)}):c(h,d.isFunction(b[h])?b[h]():b[h]);return e.join("&").replace(/%20/g,"+")}});var aa={},W,ta=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft",
90
+ "marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(b,c){if(b)return this.animate(S("show",3),b,c);else{b=0;for(c=this.length;b<c;b++){var e=d.data(this[b],"olddisplay");this[b].style.display=e||"";if(d.css(this[b],"display")==="none"){e=this[b].tagName;var h;if(aa[e])h=aa[e];else{var l=d("<"+e+" />").appendTo("body");h=l.css("display");if(h==="none")h="block";l.remove();aa[e]=h}d.data(this[b],"olddisplay",h)}}b=0;for(c=this.length;b<c;b++)this[b].style.display=d.data(this[b],
91
+ "olddisplay")||"";return this}},hide:function(b,c){if(b)return this.animate(S("hide",3),b,c);else{b=0;for(c=this.length;b<c;b++){var e=d.data(this[b],"olddisplay");!e&&e!=="none"&&d.data(this[b],"olddisplay",d.css(this[b],"display"))}b=0;for(c=this.length;b<c;b++)this[b].style.display="none";return this}},_toggle:d.fn.toggle,toggle:function(b,c){var e=typeof b==="boolean";return d.isFunction(b)&&d.isFunction(c)?this._toggle.apply(this,arguments):b==null||e?this.each(function(){var h=e?b:d(this).is(":hidden");
92
+ d(this)[h?"show":"hide"]()}):this.animate(S("toggle",3),b,c)},fadeTo:function(b,c,e){return this.animate({opacity:c},b,e)},animate:function(b,c,e,h){var l=d.speed(c,e,h);return this[l.queue===false?"each":"queue"](function(){var q=d.extend({},l),u,x=this.nodeType==1&&d(this).is(":hidden"),T=this;for(u in b){if(b[u]=="hide"&&x||b[u]=="show"&&!x)return q.complete.call(this);if((u=="height"||u=="width")&&this.style){q.display=d.css(this,"display");q.overflow=this.style.overflow}}if(q.overflow!=null)this.style.overflow=
93
+ "hidden";q.curAnim=d.extend({},b);d.each(b,function(da,ba){var la=new d.fx(T,q,da);if(/toggle|show|hide/.test(ba))la[ba=="toggle"?x?"show":"hide":ba](b);else{var ma=ba.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),O=la.cur(true)||0;if(ma){ba=parseFloat(ma[2]);var ra=ma[3]||"px";if(ra!="px"){T.style[da]=(ba||1)+ra;O=(ba||1)/la.cur(true)*O;T.style[da]=O+ra}if(ma[1])ba=(ma[1]=="-="?-1:1)*ba+O;la.custom(O,ba,ra)}else la.custom(O,ba,"")}});return true})},stop:function(b,c){var e=d.timers;b&&this.queue([]);
94
+ this.each(function(){for(var h=e.length-1;h>=0;h--)if(e[h].elem==this){c&&e[h](true);e.splice(h,1)}});c||this.dequeue();return this}});d.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,c){d.fn[b]=function(e,h){return this.animate(c,e,h)}});d.extend({speed:function(b,c,e){var h=typeof b==="object"?b:{complete:e||!e&&c||d.isFunction(b)&&b,duration:b,easing:e&&c||c&&!d.isFunction(c)&&c};h.duration=d.fx.off?0:typeof h.duration===
95
+ "number"?h.duration:d.fx.speeds[h.duration]||d.fx.speeds._default;h.old=h.complete;h.complete=function(){h.queue!==false&&d(this).dequeue();d.isFunction(h.old)&&h.old.call(this)};return h},easing:{linear:function(b,c,e,h){return e+h*b},swing:function(b,c,e,h){return(-Math.cos(b*Math.PI)/2+0.5)*h+e}},timers:[],fx:function(b,c,e){this.options=c;this.elem=b;this.prop=e;if(!c.orig)c.orig={}}});d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||
96
+ d.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(b){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(b=parseFloat(d.css(this.elem,this.prop,b)))&&b>-10000?b:parseFloat(d.curCSS(this.elem,this.prop))||0},custom:function(b,c,e){function h(q){return l.step(q)}this.startTime=L();this.start=b;this.end=c;this.unit=e||this.unit||"px";this.now=this.start;
97
+ this.pos=this.state=0;var l=this;h.elem=this.elem;if(h()&&d.timers.push(h)&&!W)W=setInterval(function(){for(var q=d.timers,u=0;u<q.length;u++)q[u]()||q.splice(u--,1);if(!q.length){clearInterval(W);W=void 0}},13)},show:function(){this.options.orig[this.prop]=d.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.attr(this.elem.style,this.prop);this.options.hide=
98
+ true;this.custom(this.cur(),0)},step:function(b){var c=L();if(b||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();b=this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)b=false;if(b){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(d.css(this.elem,"display")=="none")this.elem.style.display="block"}this.options.hide&&d(this.elem).hide();
99
+ if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.attr(this.elem.style,h,this.options.orig[h]);this.options.complete.call(this.elem)}return false}else{e=c-this.startTime;this.state=e/this.options.duration;this.pos=d.easing[this.options.easing||(d.easing.swing?"swing":"linear")](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};d.extend(d.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){d.attr(b.elem.style,
100
+ "opacity",b.now)},_default:function(b){if(b.elem.style&&b.elem.style[b.prop]!=null)b.elem.style[b.prop]=b.now+b.unit;else b.elem[b.prop]=b.now}}});d.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return d.offset.bodyOffset(this[0]);var b=this[0].getBoundingClientRect(),c=this[0].ownerDocument,e=c.body;c=c.documentElement;return{top:b.top+(self.pageYOffset||d.boxModel&&c.scrollTop||e.scrollTop)-(c.clientTop||
101
+ e.clientTop||0),left:b.left+(self.pageXOffset||d.boxModel&&c.scrollLeft||e.scrollLeft)-(c.clientLeft||e.clientLeft||0)}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return d.offset.bodyOffset(this[0]);d.offset.initialized||d.offset.initialize();var b=this[0],c=b.offsetParent,e=b.ownerDocument,h,l=e.documentElement,q=e.body;e=e.defaultView;h=e.getComputedStyle(b,null);for(var u=b.offsetTop,x=b.offsetLeft;(b=b.parentNode)&&b!==q&&b!==l;){h=e.getComputedStyle(b,
102
+ null);u-=b.scrollTop;x-=b.scrollLeft;if(b===c){u+=b.offsetTop;x+=b.offsetLeft;if(d.offset.doesNotAddBorder&&!(d.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName))){u+=parseInt(h.borderTopWidth,10)||0;x+=parseInt(h.borderLeftWidth,10)||0}c=b.offsetParent}if(d.offset.subtractsBorderForOverflowNotVisible&&h.overflow!=="visible"){u+=parseInt(h.borderTopWidth,10)||0;x+=parseInt(h.borderLeftWidth,10)||0}h=h}if(h.position==="relative"||h.position==="static"){u+=q.offsetTop;x+=q.offsetLeft}if(h.position===
103
+ "fixed"){u+=Math.max(l.scrollTop,q.scrollTop);x+=Math.max(l.scrollLeft,q.scrollLeft)}return{top:u,left:x}};d.offset={initialize:function(){if(!this.initialized){var b=document.body,c=document.createElement("div"),e,h,l,q=b.style.marginTop;e={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(h in e)c.style[h]=e[h];c.innerHTML='<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>';
104
+ b.insertBefore(c,b.firstChild);e=c.firstChild;h=e.firstChild;l=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=h.offsetTop!==5;this.doesAddBorderForTableAndCells=l.offsetTop===5;e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=h.offsetTop===-5;b.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=b.offsetTop===0;b.style.marginTop=q;b.removeChild(c);this.initialized=true}},bodyOffset:function(b){d.offset.initialized||d.offset.initialize();
105
+ var c=b.offsetTop,e=b.offsetLeft;if(d.offset.doesNotIncludeMarginInBodyOffset){c+=parseInt(d.curCSS(b,"marginTop",true),10)||0;e+=parseInt(d.curCSS(b,"marginLeft",true),10)||0}return{top:c,left:e}}};d.fn.extend({position:function(){var b;if(this[0]){b=this.offsetParent();var c=this.offset(),e=/^body|html$/i.test(b[0].tagName)?{top:0,left:0}:b.offset();c.top-=s(this,"marginTop");c.left-=s(this,"marginLeft");e.top+=s(b,"borderTopWidth");e.left+=s(b,"borderLeftWidth");b={top:c.top-e.top,left:c.left-
106
+ e.left}}return b},offsetParent:function(){for(var b=this[0].offsetParent||document.body;b&&!/^body|html$/i.test(b.tagName)&&d.css(b,"position")=="static";)b=b.offsetParent;return d(b)}});d.each(["Left","Top"],function(b,c){var e="scroll"+c;d.fn[e]=function(h){if(!this[0])return null;return h!==void 0?this.each(function(){this==N||this==document?N.scrollTo(!b?h:d(N).scrollLeft(),b?h:d(N).scrollTop()):(this[e]=h)}):this[0]==N||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||d.boxModel&&document.documentElement[e]||
107
+ document.body[e]:this[0][e]}});d.each(["Height","Width"],function(b,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?d.css(this[0],e,false,"padding"):null};d.fn["outer"+c]=function(l){return this[0]?d.css(this[0],e,false,l?"margin":"border"):null};var h=c.toLowerCase();d.fn[h]=function(l){return this[0]==N?document.compatMode=="CSS1Compat"&&document.documentElement["client"+c]||document.body["client"+c]:this[0]==document?Math.max(document.documentElement["client"+c],document.body["scroll"+
108
+ c],document.documentElement["scroll"+c],document.body["offset"+c],document.documentElement["offset"+c]):l===void 0?this.length?d.css(this[0],h):null:this.css(h,typeof l==="string"?l:l+"px")}})})();
109
+ jQuery.cookie=function(r,L,s){if(typeof L!="undefined"){s=s||{};if(L===null){L="";s=$.extend({},s);s.expires=-1}var D="";if(s.expires&&(typeof s.expires=="number"||s.expires.toUTCString)){if(typeof s.expires=="number"){D=new Date;D.setTime(D.getTime()+s.expires*24*60*60*1E3)}else D=s.expires;D="; expires="+D.toUTCString()}var F=s.path?"; path="+s.path:"",M=s.domain?"; domain="+s.domain:"";s=s.secure?"; secure":"";document.cookie=[r,"=",encodeURIComponent(L),D,F,M,s].join("")}else{L=null;if(document.cookie&&
110
+ document.cookie!=""){s=document.cookie.split(";");for(D=0;D<s.length;D++){F=jQuery.trim(s[D]);if(F.substring(0,r.length+1)==r+"="){L=decodeURIComponent(F.substring(r.length+1));break}}}return L}};
111
+ (function(r){function L(){r.fn.ajaxSubmit.debug&&window.console&&window.console.log&&window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}r.fn.ajaxSubmit=function(s){function D(){function ka(){if(!za++){Y.detachEvent?Y.detachEvent("onload",ka):Y.removeEventListener("load",ka,false);var ea=true;try{if(ya)throw"timeout";var aa,W;W=Y.contentWindow?Y.contentWindow.document:Y.contentDocument?Y.contentDocument:Y.document;var ta=X.dataType=="xml"||W.XMLDocument||r.isXMLDoc(W);L("isXml="+
112
+ ta);if(!ta&&(W.body==null||W.body.innerHTML=="")){if(--ia){za=0;setTimeout(ka,100);return}L("Could not access iframe DOM after 50 tries.");return}U.responseText=W.body?W.body.innerHTML:null;U.responseXML=W.XMLDocument?W.XMLDocument:W;U.getResponseHeader=function(h){return{"content-type":X.dataType}[h]};if(X.dataType=="json"||X.dataType=="script"){var b=W.getElementsByTagName("textarea")[0];if(b)U.responseText=b.value;else{var c=W.getElementsByTagName("pre")[0];if(c)U.responseText=c.innerHTML}}else if(X.dataType==
113
+ "xml"&&!U.responseXML&&U.responseText!=null)U.responseXML=d(U.responseText);aa=r.httpData(U,X.dataType)}catch(e){ea=false;r.handleError(X,U,"error",e)}if(ea){X.success(aa,"success");Z&&r.event.trigger("ajaxSuccess",[U,X])}Z&&r.event.trigger("ajaxComplete",[U,X]);Z&&!--r.active&&r.event.trigger("ajaxStop");if(X.complete)X.complete(U,ea?"success":"error");setTimeout(function(){qa.remove();U.responseXML=null},100)}}function d(ea,aa){if(window.ActiveXObject){aa=new ActiveXObject("Microsoft.XMLDOM");aa.async=
114
+ "false";aa.loadXML(ea)}else aa=(new DOMParser).parseFromString(ea,"text/xml");return aa&&aa.documentElement&&aa.documentElement.tagName!="parsererror"?aa:null}var H=S[0];if(r(":input[name=submit]",H).length)alert('Error: Form elements must not be named "submit".');else{var X=r.extend({},r.ajaxSettings,s),P=r.extend(true,{},r.extend(true,{},r.ajaxSettings),X),wa="jqFormIO"+(new Date).getTime(),qa=r('<iframe id="'+wa+'" name="'+wa+'" src="'+X.iframeSrc+'" />'),Y=qa[0];qa.css({position:"absolute",top:"-1000px",
115
+ left:"-1000px"});var U={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;qa.attr("src",X.iframeSrc)}},Z=X.global;Z&&!r.active++&&r.event.trigger("ajaxStart");Z&&r.event.trigger("ajaxSend",[U,X]);if(P.beforeSend&&P.beforeSend(U,P)===false)P.global&&r.active--;else if(!U.aborted){var za=0,ya=0;if(P=H.clk){var xa=P.name;if(xa&&!P.disabled){s.extraData=
116
+ s.extraData||{};s.extraData[xa]=P.value;if(P.type=="image"){s.extraData[name+".x"]=H.clk_x;s.extraData[name+".y"]=H.clk_y}}}setTimeout(function(){var ea=S.attr("target"),aa=S.attr("action");H.setAttribute("target",wa);H.getAttribute("method")!="POST"&&H.setAttribute("method","POST");H.getAttribute("action")!=X.url&&H.setAttribute("action",X.url);s.skipEncodingOverride||S.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});X.timeout&&setTimeout(function(){ya=true;ka()},X.timeout);
117
+ var W=[];try{if(s.extraData)for(var ta in s.extraData)W.push(r('<input type="hidden" name="'+ta+'" value="'+s.extraData[ta]+'" />').appendTo(H)[0]);qa.appendTo("body");Y.attachEvent?Y.attachEvent("onload",ka):Y.addEventListener("load",ka,false);H.submit()}finally{H.setAttribute("action",aa);ea?H.setAttribute("target",ea):S.removeAttr("target");r(W).remove()}},10);var ia=50}}}if(!this.length){L("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof s=="function")s={success:s};
118
+ var F=r.trim(this.attr("action"));if(F)F=(F.match(/^([^#]+)/)||[])[1];F=F||window.location.href||"";s=r.extend({url:F,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},s||{});F={};this.trigger("form-pre-serialize",[this,s,F]);if(F.veto){L("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(s.beforeSerialize&&s.beforeSerialize(this,s)===false){L("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var M=
119
+ this.formToArray(s.semantic);if(s.data){s.extraData=s.data;for(var I in s.data)if(s.data[I]instanceof Array)for(var ha in s.data[I])M.push({name:I,value:s.data[I][ha]});else M.push({name:I,value:s.data[I]})}if(s.beforeSubmit&&s.beforeSubmit(M,this,s)===false){L("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[M,this,s,F]);if(F.veto){L("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}I=r.param(M);if(s.type.toUpperCase()==
120
+ "GET"){s.url+=(s.url.indexOf("?")>=0?"&":"?")+I;s.data=null}else s.data=I;var S=this,N=[];s.resetForm&&N.push(function(){S.resetForm()});s.clearForm&&N.push(function(){S.clearForm()});if(!s.dataType&&s.target){var ua=s.success||function(){};N.push(function(ka){r(s.target).html(ka).each(ua,arguments)})}else s.success&&N.push(s.success);s.success=function(ka,d){for(var H=0,X=N.length;H<X;H++)N[H].apply(s,[ka,d,S])};I=r("input:file",this).fieldValue();ha=false;for(F=0;F<I.length;F++)if(I[F])ha=true;
121
+ if(I.length&&s.iframe!==false||s.iframe||ha||0)s.closeKeepAlive?r.get(s.closeKeepAlive,D):D();else r.ajax(s);this.trigger("form-submit-notify",[this,s]);return this};r.fn.ajaxForm=function(s){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){r(this).ajaxSubmit(s);return false}).bind("click.form-plugin",function(D){var F=D.target,M=r(F);if(!M.is(":submit,input:image")){F=M.closest(":submit");if(F.length==0)return;F=F[0]}var I=this;I.clk=F;if(F.type=="image")if(D.offsetX!=undefined){I.clk_x=
122
+ D.offsetX;I.clk_y=D.offsetY}else if(typeof r.fn.offset=="function"){M=M.offset();I.clk_x=D.pageX-M.left;I.clk_y=D.pageY-M.top}else{I.clk_x=D.pageX-F.offsetLeft;I.clk_y=D.pageY-F.offsetTop}setTimeout(function(){I.clk=I.clk_x=I.clk_y=null},100)})};r.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};r.fn.formToArray=function(s){var D=[];if(this.length==0)return D;var F=this[0],M=s?F.getElementsByTagName("*"):F.elements;if(!M)return D;for(var I=0,ha=M.length;I<ha;I++){var S=
123
+ M[I],N=S.name;if(N)if(s&&F.clk&&S.type=="image"){if(!S.disabled&&F.clk==S){D.push({name:N,value:r(S).val()});D.push({name:N+".x",value:F.clk_x},{name:N+".y",value:F.clk_y})}}else if((S=r.fieldValue(S,true))&&S.constructor==Array)for(var ua=0,ka=S.length;ua<ka;ua++)D.push({name:N,value:S[ua]});else S!==null&&typeof S!="undefined"&&D.push({name:N,value:S})}if(!s&&F.clk){s=r(F.clk);M=s[0];if((N=M.name)&&!M.disabled&&M.type=="image"){D.push({name:N,value:s.val()});D.push({name:N+".x",value:F.clk_x},{name:N+
124
+ ".y",value:F.clk_y})}}return D};r.fn.formSerialize=function(s){return r.param(this.formToArray(s))};r.fn.fieldSerialize=function(s){var D=[];this.each(function(){var F=this.name;if(F){var M=r.fieldValue(this,s);if(M&&M.constructor==Array)for(var I=0,ha=M.length;I<ha;I++)D.push({name:F,value:M[I]});else M!==null&&typeof M!="undefined"&&D.push({name:this.name,value:M})}});return r.param(D)};r.fn.fieldValue=function(s){for(var D=[],F=0,M=this.length;F<M;F++){var I=r.fieldValue(this[F],s);I===null||typeof I==
125
+ "undefined"||I.constructor==Array&&!I.length||(I.constructor==Array?r.merge(D,I):D.push(I))}return D};r.fieldValue=function(s,D){var F=s.name,M=s.type,I=s.tagName.toLowerCase();if(typeof D=="undefined")D=true;if(D&&(!F||s.disabled||M=="reset"||M=="button"||(M=="checkbox"||M=="radio")&&!s.checked||(M=="submit"||M=="image")&&s.form&&s.form.clk!=s||I=="select"&&s.selectedIndex==-1))return null;if(I=="select"){I=s.selectedIndex;if(I<0)return null;D=[];s=s.options;F=(M=M=="select-one")?I+1:s.length;for(I=
126
+ M?I:0;I<F;I++){var ha=s[I];if(ha.selected){var S=ha.value;S||(S=ha.attributes&&ha.attributes.value&&!ha.attributes.value.specified?ha.text:ha.value);if(M)return S;D.push(S)}}return D}return s.value};r.fn.clearForm=function(){return this.each(function(){r("input,select,textarea",this).clearFields()})};r.fn.clearFields=r.fn.clearInputs=function(){return this.each(function(){var s=this.type,D=this.tagName.toLowerCase();if(s=="text"||s=="password"||D=="textarea")this.value="";else if(s=="checkbox"||s==
127
+ "radio")this.checked=false;else if(D=="select")this.selectedIndex=-1})};r.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||typeof this.reset=="object"&&!this.reset.nodeType)this.reset()})};r.fn.enable=function(s){if(s==undefined)s=true;return this.each(function(){this.disabled=!s})};r.fn.selected=function(s){if(s==undefined)s=true;return this.each(function(){var D=this.type;if(D=="checkbox"||D=="radio")this.checked=s;else if(this.tagName.toLowerCase()=="option"){D=
128
+ r(this).parent("select");s&&D[0]&&D[0].type=="select-one"&&D.find("option").selected(false);this.selected=s}})}})(jQuery);
129
+ (function(r){r.fn.layout=function(L){function s(f){if(!f)return true;var i=f.keyCode;if(i<33)return true;var k={38:"north",40:"south",37:"west",39:"east"},n=i>=37&&i<=40,p=f.shiftKey,v=f.ctrlKey,A=false,w,G,E;if(!v&&!p)return true;else if(n&&H[k[i]].enableCursorHotkey)A=k[i];else r.each(B.borderPanes.split(","),function(C,V){w=H[V];G=w.customHotkey;E=w.customHotkeyModifier;if(p&&E=="SHIFT"||v&&E=="CTRL"||v&&p)if(G&&i==(isNaN(G)||G<=9?G.toUpperCase().charCodeAt(0):G)){A=V;return false}});if(!A)return true;
130
+ w=H[A];k=P[A];if(!w.enableCursorHotkey||k.isHidden||!Q[A])return true;if((k=f.target||f.srcElement)&&p&&n&&(k.tagName=="TEXTAREA"||k.tagName=="INPUT"&&(i==37||i==39)))return true;ra(A);f.stopPropagation();return f.returnValue=false}function D(f){if(this&&this.tagName)f=this;f=typeof f=="string"?Q[f]:r(f).attr("pane")?r(f):r(f).parents("div[pane]:first");if(f.length){var i=f.attr("pane"),k=P[i];k.cssSaved&&F(i);if(k.isSliding||k.isResizing||k.isClosed)k.cssSaved=false;else{var n={zIndex:B.zIndex.pane_normal+
131
+ 1},p={},v=f.css("overflow"),A=f.css("overflowX"),w=f.css("overflowY");if(v!="visible"){p.overflow=v;n.overflow="visible"}if(A&&A!="visible"&&A!="auto"){p.overflowX=A;n.overflowX="visible"}if(w&&w!="visible"&&w!="auto"){p.overflowY=A;n.overflowY="visible"}k.cssSaved=p;f.css(n);r.each(B.allPanes.split(","),function(G,E){E!=i&&F(E)})}}}function F(f){if(this&&this.tagName)f=this;f=typeof f=="string"?Q[f]:r(f).hasClass("ui-layout-pane")?r(f):r(f).parents("div[pane]:first");if(f.length){var i=f.attr("pane");
132
+ i=P[i];var k=i.cssSaved||{};!i.isSliding&&!i.isResizing&&f.css("zIndex",B.zIndex.pane_normal);f.css(k);i.cssSaved=false}}function M(f,i,k){var n=r(f);if(n.length)if(B.borderPanes.indexOf(i)==-1)alert("Error Adding Button \n\nInvalid pane: "+i);else{f=H[i].buttonClass+"-"+k;n.addClass(f+" "+f+"-"+i);return n}else alert("Error Adding Button \n\nInvalid selector: "+f);return false}function I(f,i){if(f=M(f,i,"toggle"))f.attr("title",P[i].isClosed?"Open":"Close").click(function(k){ra(i);k.stopPropagation()})}
133
+ function ha(f,i){(f=M(f,i,"open"))&&f.attr("title","Open").click(function(k){j(i);k.stopPropagation()})}function S(f,i){(f=M(f,i,"close"))&&f.attr("title","Close").click(function(k){g(i);k.stopPropagation()})}function N(f,i){var k=M(f,i,"pin");if(k){var n=P[i];k.click(function(p){ka(r(this),i,n.isSliding||n.isClosed);n.isSliding||n.isClosed?j(i):g(i);p.stopPropagation()});ka(k,i,!n.isClosed&&!n.isSliding);B[i].pins.push(f)}}function ua(f,i){r.each(B[f].pins,function(k,n){ka(r(n),f,i)})}function ka(f,
134
+ i,k){var n=f.attr("pin");if(!(n&&k==(n=="down"))){var p=H[i].buttonClass+"-pin",v=p+"-"+i;i=p+"-up";n=v+"-up";p=p+"-down";v=v+"-down";f.attr("pin",k?"down":"up").attr("title",k?"Un-Pin":"Pin").removeClass(k?i:p).removeClass(k?n:v).addClass(k?p:i).addClass(k?v:n)}}var d={paneClass:"ui-layout-pane",resizerClass:"ui-layout-resizer",togglerClass:"ui-layout-toggler",togglerInnerClass:"ui-layout-",buttonClass:"ui-layout-button",contentSelector:".ui-layout-content",contentIgnoreSelector:".ui-layout-ignore"},
135
+ H={name:"",scrollToBookmarkOnLoad:true,defaults:{applyDefaultStyles:false,closable:true,resizable:true,slidable:true,contentSelector:d.contentSelector,contentIgnoreSelector:d.contentIgnoreSelector,paneClass:d.paneClass,resizerClass:d.resizerClass,togglerClass:d.togglerClass,buttonClass:d.buttonClass,resizerDragOpacity:1,maskIframesOnResize:true,minSize:0,maxSize:0,spacing_open:6,spacing_closed:6,togglerLength_open:50,togglerLength_closed:50,togglerAlign_open:"center",togglerAlign_closed:"center",
136
+ togglerTip_open:"Close",togglerTip_closed:"Open",resizerTip:"Resize",sliderTip:"Slide Open",sliderCursor:"pointer",slideTrigger_open:"click",slideTrigger_close:"mouseout",hideTogglerOnSlide:false,togglerContent_open:"",togglerContent_closed:"",showOverflowOnHover:false,enableCursorHotkey:true,customHotkeyModifier:"SHIFT",fxName:"slide",fxSpeed:null,fxSettings:{},initClosed:false,initHidden:false},north:{paneSelector:".ui-layout-north",size:"auto",resizerCursor:"n-resize"},south:{paneSelector:".ui-layout-south",
137
+ size:"auto",resizerCursor:"s-resize"},east:{paneSelector:".ui-layout-east",size:200,resizerCursor:"e-resize"},west:{paneSelector:".ui-layout-west",size:200,resizerCursor:"w-resize"},center:{paneSelector:".ui-layout-center"}},X={slide:{all:{duration:"fast"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},drop:{all:{duration:"slow"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},scale:{all:{duration:"fast"}}},
138
+ P={id:Math.floor(Math.random()*1E4),container:{},north:{},south:{},east:{},west:{},center:{}},wa={north:"south",south:"north",east:"west",west:"east"},qa=function(f){if(typeof f=="string")return true;else if(typeof f=="object")try{return f.constructor.toString().match(/string/i)!==null}catch(i){}return false},Y=function(f){return typeof f=="string"||qa(f)?r.trim(f):f},U=function(f,i){return Math.min(f,i)},Z=function(f,i){return Math.max(f,i)},za=function(f){var i={defaults:{fxSettings:{}},north:{fxSettings:{}},
139
+ south:{fxSettings:{}},east:{fxSettings:{}},west:{fxSettings:{}},center:{fxSettings:{}}};f=f||{};if(f.effects||f.defaults||f.north||f.south||f.west||f.east||f.center)i=r.extend(i,f);else r.each(f,function(k,n){a=k.split("__");i[a[1]?a[0]:"defaults"][a[1]?a[1]:a[0]]=n});return i},ya=function(f,i,k){function n(A){v=B[A];if(v.doCallback){cpPane=v.callback.split(",")[1];cpPane!=A&&cpPane!=i&&n(cpPane,true)}else{v.doCallback=true;v.callback=p}}var p=f+","+i+","+(k?1:0),v;r.each(B.borderPanes.split(","),
140
+ function(A,w){if(B[w].isMoving){n(w);return false}})},xa=function(f){f=B[f];B.isLayoutBusy=false;delete f.isMoving;if(f.doCallback&&f.callback){f.doCallback=false;var i=f.callback.split(","),k=i[2]>0?true:false;if(i[0]=="open")j(i[1],k);else i[0]=="close"&&g(i[1],k);if(!f.doCallback)f.callback=null}},ia=function(f,i){if(i){var k;try{if(typeof i=="function")k=i;else if(typeof i!="string")return;else if(i.indexOf(",")>0){var n=i.split(",");k=eval(n[0]);if(typeof k=="function"&&n.length>1)return k(n[1])}else k=
141
+ eval(i);if(typeof k=="function")return k(f,Q[f],r.extend({},P[f]),r.extend({},H[f]),H.name)}catch(p){}}},ea=function(f,i){var k=0,n=false,p="";if(!r.browser.msie)if(r.curCSS(f[0],"display",true)=="none"){n=true;p=r.curCSS(f[0],"visibility",true);f.css({display:"block",visibility:"hidden"})}k=parseInt(r.curCSS(f[0],i,true),10)||0;if(n){f.css({display:"none"});p&&p!="hidden"&&f.css({visibility:p})}return k},aa=function(f,i){var k;if(qa(f)){f=Y(f);k=Q[f]}else k=r(f);if(i<=0)return 0;else i>0||(i=qa(f)?
142
+ b(f):k.outerWidth());return r.boxModel?i-ea(k,"paddingLeft")-ea(k,"paddingRight")-(r.curCSS(k[0],"borderLeftStyle",true)=="none"?0:ea(k,"borderLeftWidth"))-(r.curCSS(k[0],"borderRightStyle",true)=="none"?0:ea(k,"borderRightWidth")):i},W=function(f,i){var k;if(qa(f)){f=Y(f);k=Q[f]}else k=r(f);if(i<=0)return 0;else i>0||(i=qa(f)?b(f):k.outerHeight());return r.boxModel?i-ea(k,"paddingTop")-ea(k,"paddingBottom")-(r.curCSS(k[0],"borderTopStyle",true)=="none"?0:ea(k,"borderTopWidth"))-(r.curCSS(k[0],"borderBottomStyle",
143
+ true)=="none"?0:ea(k,"borderBottomWidth")):i},ta=function(f,i){return B[f].dir=="horz"?W(f,i):aa(f,i)},b=function(f,i){var k=Q[f],n=H[f],p=P[f],v=i?n.spacing_open:0;n=i?n.spacing_closed:0;return!k||p.isHidden?0:p.isClosed||p.isSliding&&i?n:B[f].dir=="horz"?k.outerHeight()+v:k.outerWidth()+v},c=function(f){var i=R,k=B[f].dir,n=P[f],p=Q[wa[f]],v=H[f].spacing_open,A=H[wa[f]].spacing_open,w=!p?0:k=="horz"?p.outerHeight():p.outerWidth();p=n.minSize||0;k=Math.min(n.maxSize||9999,(k=="horz"?i.innerHeight:
144
+ i.innerWidth)-v-w-A);var G,E;switch(f){case "north":G=i.offsetTop+p;E=i.offsetTop+k;break;case "west":G=i.offsetLeft+p;E=i.offsetLeft+k;break;case "south":G=i.offsetTop+i.innerHeight-k;E=i.offsetTop+i.innerHeight-p;break;case "east":G=i.offsetLeft+i.innerWidth-k;E=i.offsetLeft+i.innerWidth-p;break}r.extend(n,{minSize:p,maxSize:k,minPosition:G,maxPosition:E})},e=function(){var f={top:b("north",true),bottom:b("south",true),left:b("west",true),right:b("east",true),width:0,height:0};with(f){width=R.innerWidth-
145
+ left-right;height=R.innerHeight-bottom-top;top+=R.top;bottom+=R.bottom;left+=R.left;right+=R.right}return f},h=function(f){var i={},k,n,p;r.each("Left,Right,Top,Bottom".split(","),function(){k=Y(this);n=i["border"+k]=ea(f,"border"+k+"Width");p=i["padding"+k]=ea(f,"padding"+k);i["offset"+k]=n+p;if(f==ja)i[k.toLowerCase()]=r.boxModel?p:0});i.innerWidth=i.outerWidth=f.outerWidth();i.innerHeight=i.outerHeight=f.outerHeight();if(r.boxModel){i.innerWidth-=i.offsetLeft+i.offsetRight;i.innerHeight-=i.offsetTop+
146
+ i.offsetBottom}return i},l=function(f,i,k,n){var p=window.layout=window.layout||{};p=p.timers=p.timers||{};f="layout_"+P.id+"_"+f+"_"+i;p[f]||(p[f]=setTimeout(k,n))},q=function(f,i){var k=window.layout=window.layout||{};k=k.timers=k.timers||{};f="layout_"+P.id+"_"+f+"_"+i;if(k[f]){clearTimeout(k[f]);delete k[f];return true}else return false},u=function(){try{if(ja[0].tagName=="BODY"){r("html").css({height:"100%",overflow:"hidden"});r("body").css({position:"relative",height:"100%",overflow:"hidden",
147
+ margin:0,padding:0,border:"none"})}else{var f={overflow:"hidden"},i=ja.css("position"),k=ja.css("height");if(!ja.hasClass("ui-layout-pane")){if(!i||"fixed,absolute,relative".indexOf(i)<0)f.position="relative";if(!k||k=="auto")f.height="100%"}ja.css(f)}}catch(n){}R=P.container=h(ja)},x=function(){r.each(B.borderPanes.split(","),function(f,i){f=H[i];if(f.enableCursorHotkey||f.customHotkey){r(document).keydown(s);return false}})},T=function(){L=za(L);if(L.effects){r.extend(X,L.effects);delete L.effects}r.each("name,scrollToBookmarkOnLoad".split(","),
148
+ function(k,n){if(L[n]!==undefined)H[n]=L[n];else if(L.defaults[n]!==undefined){H[n]=L.defaults[n];delete L.defaults[n]}});r.each("paneSelector,resizerCursor,customHotkey".split(","),function(k,n){delete L.defaults[n]});r.extend(H.defaults,L.defaults);B.center=r.extend(true,{},B.defaults,B.center);r.extend(H.center,L.center);var f=r.extend(true,{},H.defaults,L.defaults,H.center);r.each("paneClass,contentSelector,contentIgnoreSelector,applyDefaultStyles,showOverflowOnHover".split(","),function(k,n){H.center[n]=
149
+ f[n]});var i=H.defaults;r.each(B.borderPanes.split(","),function(k,n){B[n]=r.extend(true,{},B.defaults,B[n]);o=H[n]=r.extend(true,{},H.defaults,H[n],L.defaults,L[n]);if(!o.paneClass)o.paneClass=d.paneClass;if(!o.resizerClass)o.resizerClass=d.resizerClass;if(!o.togglerClass)o.togglerClass=d.togglerClass;r.each(["_open","_close",""],function(p,v){var A="fxName"+v;p="fxSpeed"+v;v="fxSettings"+v;o[A]=L[n][A]||L[n].fxName||L.defaults[A]||L.defaults.fxName||o[A]||o.fxName||i[A]||i.fxName||"none";var w=
150
+ o[A];if(w=="none"||!r.effects||!r.effects[w]||!X[w]&&!o[v]&&!o.fxSettings)w=o[A]="none";w=X[w]||{};A=w.all||{};w=w[n]||{};o[v]=r.extend({},A,w,i.fxSettings||{},i[v]||{},o.fxSettings,o[v],L.defaults.fxSettings,L.defaults[v]||{},L[n].fxSettings,L[n][v]||{});o[p]=L[n][p]||L[n].fxSpeed||L.defaults[p]||L.defaults.fxSpeed||o[p]||o[v].duration||o.fxSpeed||o.fxSettings.duration||i.fxSpeed||i.fxSettings.duration||w.duration||A.duration||"normal"})})},da=function(){r.each(B.allPanes.split(","),function(){var f=
151
+ Y(this),i=H[f],k=P[f],n=B[f].dir,p=i.size=="auto"||isNaN(i.size)?0:i.size,v=i.minSize||1,A=i.maxSize||9999,w=i.spacing_open||0,G=i.paneSelector,E={},C;va[f]=false;if(G.substr(0,1)==="#")C=Q[f]=ja.find(G+":first");else{C=Q[f]=ja.children(G+":first");C.length||(C=Q[f]=ja.children("form:first").children(G+":first"))}if(!C.length){Q[f]=false;return true}C.attr("pane",f).addClass(i.paneClass+" "+i.paneClass+"-"+f);if(f!="center"){k.isClosed=false;k.isSliding=false;k.isResizing=false;k.isHidden=false;k.noRoom=
152
+ false;B[f].pins=[]}E=r.extend({visibility:"visible",display:"block"},B.defaults.cssReq,B[f].cssReq);i.applyDefaultStyles&&r.extend(E,B.defaults.cssDef,B[f].cssDef);C.css(E);E={};switch(f){case "north":E.top=R.top;E.left=R.left;E.right=R.right;break;case "south":E.bottom=R.bottom;E.left=R.left;E.right=R.right;break;case "west":E.left=R.left;break;case "east":E.right=R.right;break;case "center":}if(n=="horz"){if(p===0||p=="auto"){C.css({height:"auto"});p=C.outerHeight()}p=Z(p,v);p=U(p,A);p=U(p,R.innerHeight-
153
+ w);E.height=Z(1,W(f,p));k.size=p;k.maxSize=A;k.minSize=Z(v,p-E.height+1);C.css(E)}else if(n=="vert"){if(p===0||p=="auto"){C.css({width:"auto","float":"left"});p=C.outerWidth();C.css({"float":"none"})}p=Z(p,v);p=U(p,A);p=U(p,R.innerWidth-w);E.width=Z(1,aa(f,p));k.size=p;k.maxSize=A;k.minSize=Z(v,p-E.width+1);C.css(E);J(f,null,true)}else if(f=="center"){C.css(E);J("center",null,true)}if(i.initClosed&&i.closable){C.hide().addClass("closed");k.isClosed=true}else if(i.initHidden||i.initClosed){ma(f,true);
154
+ k.isHidden=true}else C.addClass("open");i.showOverflowOnHover&&C.hover(D,F);if(i.contentSelector){k=va[f]=C.children(i.contentSelector+":first");if(!k.length){va[f]=false;return true}k.css(B.content.cssReq);i.applyDefaultStyles&&k.css(B.content.cssDef);C.css({overflow:"hidden"})}})},ba=function(){r.each(B.borderPanes.split(","),function(){var f=Y(this),i=H[f],k=P[f],n=i.resizerClass,p=i.togglerClass,v=Q[f];pa[f]=false;Aa[f]=false;if(!(!v||!i.closable&&!i.resizable)){var A=B[f].edge;v=v.is(":visible");
155
+ var w="-"+f,G=v?"-open":"-closed",E;E=pa[f]=r("<span></span>");v&&i.resizable||!v&&i.slidable&&E.attr("title",i.sliderTip).css("cursor",i.sliderCursor);E.attr("id",i.paneSelector.substr(0,1)=="#"?i.paneSelector.substr(1)+"-resizer":"").attr("resizer",f).css(B.resizers.cssReq).css(A,R[A]+b(f)).addClass(n+" "+n+w+" "+n+G+" "+n+w+G).appendTo(ja);i.applyDefaultStyles&&E.css(B.resizers.cssDef);if(i.closable){n=Aa[f]=r("<div></div>");n.attr("id",i.paneSelector.substr(0,1)=="#"?i.paneSelector.substr(1)+
156
+ "-toggler":"").css(B.togglers.cssReq).attr("title",v?i.togglerTip_open:i.togglerTip_closed).click(function(C){ra(f);C.stopPropagation()}).mouseover(function(C){C.stopPropagation()}).addClass(p+" "+p+w+" "+p+G+" "+p+w+G).appendTo(E);if(i.togglerContent_open)r("<span>"+i.togglerContent_open+"</span>").addClass("content content-open").css("display",k.isClosed?"none":"block").appendTo(n);if(i.togglerContent_closed)r("<span>"+i.togglerContent_closed+"</span>").addClass("content content-closed").css("display",
157
+ k.isClosed?"block":"none").appendTo(n);i.applyDefaultStyles&&n.css(B.togglers.cssDef);v||t(f,true)}}});oa("all",true)},la=function(){var f=typeof r.fn.draggable=="function",i;r.each(B.borderPanes.split(","),function(){var k=Y(this),n=H[k],p=P[k];if(!f||!Q[k]||!n.resizable){n.resizable=false;return true}var v=n.resizerClass,A=v+"-drag",w=v+"-"+k+"-drag",G=v+"-dragging",E=v+"-"+k+"-dragging",C=false,V=pa[k];p.isClosed||V.attr("title",n.resizerTip).css("cursor",n.resizerCursor);V.draggable({containment:ja[0],
158
+ axis:B[k].dir=="horz"?"y":"x",delay:200,distance:1,helper:"clone",opacity:n.resizerDragOpacity,zIndex:B.zIndex.resizing,start:function(){if(false===ia(k,n.onresize_start))return false;p.isResizing=true;q(k,"closeSlider");V.addClass(A+" "+w);C=false;var ca=k=="east"||k=="south"?n.spacing_open:0;c(k);p.minPosition-=ca;p.maxPosition-=ca;i=B[k].dir=="horz"?"top":"left";r(n.maskIframesOnResize===true?"iframe":n.maskIframesOnResize).each(function(){r('<div class="ui-layout-mask"/>').css({background:"#fff",
159
+ opacity:"0.001",zIndex:9,position:"absolute",width:this.offsetWidth+"px",height:this.offsetHeight+"px"}).css(r(this).offset()).appendTo(this.parentNode)})},drag:function(ca,na){if(!C){r(".ui-draggable-dragging").addClass(G+" "+E).children().css("visibility","hidden");C=true;p.isSliding&&Q[k].css("zIndex",B.zIndex.sliding)}if(na.position[i]<p.minPosition)na.position[i]=p.minPosition;else if(na.position[i]>p.maxPosition)na.position[i]=p.maxPosition},stop:function(ca,na){ca=na.position;var sa;V.removeClass(A+
160
+ " "+w);switch(k){case "north":sa=ca.top;break;case "west":sa=ca.left;break;case "south":sa=R.outerHeight-ca.top-V.outerHeight();break;case "east":sa=R.outerWidth-ca.left-V.outerWidth();break}fa(k,sa-R[B[k].edge]);r("div.ui-layout-mask").remove();p.isResizing=false}})})},ma=function(f,i){var k=H[f],n=P[f],p=Q[f],v=pa[f];if(!(!p||n.isHidden))if(false!==ia(f,k.onhide_start)){n.isSliding=false;v&&v.hide();if(i||n.isClosed){n.isClosed=true;n.isHidden=true;p.hide();J(B[f].dir=="horz"?"all":"center");ia(f,
161
+ k.onhide_end||k.onhide)}else{n.isHiding=true;g(f,false)}}},O=function(f,i){var k=H[f],n=P[f],p=pa[f];if(Q[f]&&n.isHidden)if(false!==ia(f,k.onshow_start)){n.isSliding=false;n.isShowing=true;p&&k.spacing_open>0&&p.show();i===false?g(f,true):j(f)}},ra=function(f){var i=P[f];if(i.isHidden)O(f);else i.isClosed?j(f):g(f)},g=function(f,i,k){function n(){t(f,true);na||ia(f,w.onclose_end||w.onclose);if(na)ia(f,w.onshow_end||w.onshow);if(sa)ia(f,w.onhide_end||w.onhide);xa(f)}var p=Q[f],v=pa[f],A=Aa[f],w=H[f],
162
+ G=P[f];k=!k&&!G.isClosed&&w.fxName_close!="none";var E=B[f].edge,C=w.resizerClass,V=w.togglerClass,ca="-"+f,na=G.isShowing,sa=G.isHiding;delete G.isShowing;delete G.isHiding;if(!(!p||!w.resizable&&!w.closable))if(!(!i&&G.isClosed&&!na))if(B.isLayoutBusy)ya("close",f,i);else if(!(!na&&false===ia(f,w.onclose_start))){B[f].isMoving=true;B.isLayoutBusy=true;G.isClosed=true;if(sa)G.isHidden=true;else if(na)G.isHidden=false;ua(f,false);G.isSliding||J(B[f].dir=="horz"?"all":"center");if(v){v.css(E,R[E]).removeClass(C+
163
+ "-open "+C+ca+"-open").removeClass(C+"-sliding "+C+ca+"-sliding").addClass(C+"-closed "+C+ca+"-closed");w.resizable&&v.draggable("disable").css("cursor","default").attr("title","");A&&A.removeClass(V+"-open "+V+ca+"-open").addClass(V+"-closed "+V+ca+"-closed").attr("title",w.togglerTip_closed);oa()}if(k){m(f,true);p.hide(w.fxName_close,w.fxSettings_close,w.fxSpeed_close,function(){m(f,false);G.isClosed&&n()})}else{p.hide();n()}}},j=function(f,i,k){function n(){G.isSliding||J(B[f].dir=="vert"?"center":
164
+ "all");if(v){v.css(E,R[E]+b(f)).removeClass(C+sa+" "+C+ca+sa).addClass(C+na+" "+C+ca+na).addClass(!G.isSliding?"":C+Da+" "+C+ca+Da);w.resizable?v.draggable("enable").css("cursor",w.resizerCursor).attr("title",w.resizerTip):v.css("cursor","default");A&&A.removeClass(V+sa+" "+V+ca+sa).addClass(V+na+" "+V+ca+na).attr("title",w.togglerTip_open);oa("all")}ga(f);ua(f,!G.isSliding);ia(f,w.onopen_end||w.onopen);if(Ca)ia(f,w.onshow_end||w.onshow);xa(f)}var p=Q[f],v=pa[f],A=Aa[f],w=H[f],G=P[f];k=!k&&G.isClosed&&
165
+ w.fxName_open!="none";var E=B[f].edge,C=w.resizerClass,V=w.togglerClass,ca="-"+f,na="-open",sa="-closed",Da="-sliding",Ca=G.isShowing;delete G.isShowing;if(!(!p||!w.resizable&&!w.closable))if(G.isClosed||G.isSliding)if(G.isHidden&&!Ca)O(f,true);else if(B.isLayoutBusy)ya("open",f,i);else if(false!==ia(f,w.onopen_start)){B[f].isMoving=true;B.isLayoutBusy=true;G.isSliding&&!i&&y(f,false);G.isClosed=false;if(Ca)G.isHidden=false;c(f);G.size>G.maxSize&&p.css(B[f].sizeType,Z(1,ta(f,G.maxSize)));t(f,false);
166
+ if(k){m(f,true);p.show(w.fxName_open,w.fxSettings_open,w.fxSpeed_open,function(){m(f,false);G.isClosed||n()})}else{p.show();n()}}},m=function(f,i){var k=Q[f];if(i){k.css({zIndex:B.zIndex.animation});if(f=="south")k.css({top:R.top+R.innerHeight-k.outerHeight()});else f=="east"&&k.css({left:R.left+R.innerWidth-k.outerWidth()})}else{P[f].isSliding||k.css({zIndex:B.zIndex.pane_normal});if(f=="south")k.css({top:"auto"});else f=="east"&&k.css({left:"auto"})}},t=function(f,i){var k=H[f];f=pa[f];var n=k.slideTrigger_open;
167
+ if(f&&k.slidable){if(n!="click"&&n!="dblclick"&&n!="mouseover")n="click";f[i?"bind":"unbind"](n,z).css("cursor",i?k.sliderCursor:"default").attr("title",i?k.sliderTip:"")}},y=function(f,i){function k(A){q(f,"closeSlider");A.stopPropagation()}var n=H[f].slideTrigger_close,p=Q[f],v=pa[f];P[f].isSliding=i;q(f,"closeSlider");p.css({zIndex:i?B.zIndex.sliding:B.zIndex.pane_normal});v.css({zIndex:i?B.zIndex.sliding:B.zIndex.resizer_normal});if(n!="click"&&n!="mouseout")n="mouseout";if(i){p.bind(n,K);v.bind(n,
168
+ K);if(n="mouseout"){p.bind("mouseover",k);v.bind("mouseover",k)}}else{p.unbind(n);v.unbind(n);if(n="mouseout"){p.unbind("mouseover");v.unbind("mouseover");q(f,"closeSlider")}}},z=function(){var f=r(this).attr("resizer");if(P[f].isClosed){y(f,true);j(f,true)}},K=function(){function f(){y(k,false);n.isClosed||g(k)}var i=r(this),k=i.attr("pane")||i.attr("resizer");i=H[k];var n=P[k];n.isClosed||n.isResizing||(i.slideTrigger_close=="click"?f():l(k,"closeSlider",f,300))},fa=function(f,i){var k=B[f].edge,
169
+ n=B[f].dir,p=H[f],v=P[f],A=Q[f],w=pa[f];c(f);v.minSize=Z(v.minSize,p.minSize);if(p.maxSize>0)v.maxSize=U(v.maxSize,p.maxSize);i=Z(i,v.minSize);i=U(i,v.maxSize);v.size=i;w.css(k,i+R[k]);A.css(B[f].sizeType,Z(1,ta(f,i)));v.isSliding||J(n=="horz"?"all":"center");oa();ga(f);ia(f,p.onresize_end||p.onresize)},J=function(f,i,k){if(!f||f=="all")f="east,west,center";var n=e();i&&r.extend(n,i);r.each(f.split(","),function(){if(Q[this]){var p=Y(this),v=H[p],A=P[p],w=Q[p],G=pa[p],E=true,C={};if(p=="center"){n=
170
+ e();C=r.extend({},n);C.width=Z(1,aa(p,C.width));C.height=Z(1,W(p,C.height));E=C.width>1&&C.height>1;if(r.browser.msie&&(!r.boxModel||r.browser.version<7)){Q.north&&Q.north.css({width:aa(Q.north,R.innerWidth)});Q.south&&Q.south.css({width:aa(Q.south,R.innerWidth)})}}else{C.top=n.top;C.bottom=n.bottom;C.height=Z(1,W(p,n.height));E=C.height>1}if(E){w.css(C);if(A.noRoom){A.noRoom=false;if(A.isHidden)return;else O(p,!A.isClosed)}if(!k){ga(p);ia(p,v.onresize_end||v.onresize)}}else if(!A.noRoom){A.noRoom=
171
+ true;if(!A.isHidden)if(k){w.hide();G&&G.hide()}else ma(p)}}})},ga=function(f){if(!f||f=="all")f=B.allPanes;r.each(f.split(","),function(){if(va[this]){var i=Y(this),k=H[i].contentIgnoreSelector,n=Q[i];i=va[i];var p=i[0],v=W(n);n.children().each(function(){if(this!=p){var A=r(this);if(!k||!A.is(k))v-=A.outerHeight()}});if(v>0)v=W(i,v);v<1?i.hide():i.css({height:v}).show()}})},oa=function(f,i){if(!f||f=="all")f=B.borderPanes;r.each(f.split(","),function(){var k=Y(this),n=H[k],p=P[k],v=Q[k],A=pa[k],
172
+ w=Aa[k];if(!(!v||!A||!n.resizable&&!n.closable)){var G=B[k].dir,E=p.isClosed?"_closed":"_open";k=n["spacing"+E];var C=n["togglerAlign"+E];E=n["togglerLength"+E];var V;if(k==0)A.hide();else{!p.noRoom&&!p.isHidden&&A.show();if(G=="horz"){V=v.outerWidth();A.css({width:Z(1,aa(A,V)),height:Z(1,W(A,k)),left:ea(v,"left")})}else{V=v.outerHeight();A.css({height:Z(1,W(A,V)),width:Z(1,aa(A,k)),top:R.top+b("north",true)})}if(w){if(E==0||p.isSliding&&n.hideTogglerOnSlide){w.hide();return}else w.show();if(!(E>
173
+ 0)||E=="100%"||E>V){E=V;v=0}else if(typeof C=="string")switch(C){case "top":case "left":v=0;break;case "bottom":case "right":v=V-E;break;case "middle":case "center":default:v=Math.floor((V-E)/2)}else{v=parseInt(C);v=C>=0?v:V-E+v}V=n.togglerContent_open?w.children(".content-open"):false;var ca=n.togglerContent_closed?w.children(".content-closed"):false;C=p.isClosed?ca:V;if(V)V.css("display",p.isClosed?"none":"block");if(ca)ca.css("display",p.isClosed?"block":"none");if(G=="horz"){p=aa(w,E);w.css({width:Z(0,
174
+ p),height:Z(1,W(w,k)),left:v});C&&C.css("marginLeft",Math.floor((p-C.outerWidth())/2))}else{p=W(w,E);w.css({height:Z(0,p),width:Z(1,aa(w,k)),top:v});C&&C.css("marginTop",Math.floor((p-C.outerHeight())/2))}}if(i&&n.initHidden){A.hide();w&&w.hide()}}}})},Ba=function(){var f=R.innerWidth,i=R.innerHeight;R=P.container=h(ja);var k=R.innerHeight<i,n=R.innerWidth<f,p,v;if(k||n)r.each(["south","north","east","west"],function(A,w){p=P[w];v=B[w].dir;if(!p.isClosed&&(k&&v=="horz"||n&&v=="vert")){c(w);p.size>
175
+ p.maxSize&&fa(w,p.maxSize)}});J("all");oa("all")},ja=r(this).css({overflow:"hidden"}),Q={},va={},pa={},Aa={},B={allPanes:"north,south,east,west,center",borderPanes:"north,south,east,west",zIndex:{resizer_normal:1,pane_normal:2,mask:4,sliding:100,resizing:1E4,animation:1E4},resizers:{cssReq:{position:"absolute",padding:0,margin:0,fontSize:"1px",textAlign:"left",overflow:"hidden",zIndex:1},cssDef:{background:"#DDD",border:"none"}},togglers:{cssReq:{position:"absolute",display:"block",padding:0,margin:0,
176
+ overflow:"hidden",textAlign:"center",fontSize:"1px",cursor:"pointer",zIndex:1},cssDef:{background:"#AAA"}},content:{cssReq:{overflow:"auto"},cssDef:{}},defaults:{cssReq:{position:"absolute",margin:0,zIndex:2},cssDef:{padding:"10px",background:"#FFF",border:"1px solid #BBB",overflow:"auto"}},north:{edge:"top",sizeType:"height",dir:"horz",cssReq:{top:0,bottom:"auto",left:0,right:0,width:"auto"}},south:{edge:"bottom",sizeType:"height",dir:"horz",cssReq:{top:"auto",bottom:0,left:0,right:0,width:"auto"}},
177
+ east:{edge:"right",sizeType:"width",dir:"vert",cssReq:{left:"auto",right:0,top:"auto",bottom:"auto",height:"auto"}},west:{edge:"left",sizeType:"width",dir:"vert",cssReq:{left:0,right:"auto",top:"auto",bottom:"auto",height:"auto"}},center:{dir:"center",cssReq:{left:"auto",right:"auto",top:"auto",bottom:"auto",height:"auto",width:"auto"}}},R=P.container;(function(){T();u();da();ba();la();ga("all");if(H.scrollToBookmarkOnLoad)with(self.location)hash&&replace(hash);x();r(window).resize(function(){var f=
178
+ "timerLayout_"+P.id;window[f]&&clearTimeout(window[f]);window[f]=null;window[f]=setTimeout(Ba,100)})})();return{options:H,state:P,panes:Q,toggle:ra,open:j,close:g,hide:ma,show:O,resizeContent:ga,sizePane:fa,resizeAll:Ba,addToggleBtn:I,addOpenBtn:ha,addCloseBtn:S,addPinBtn:N,allowOverflow:D,resetOverflow:F,cssWidth:aa,cssHeight:W}}})(jQuery);