$.extend($.expr[":"],{containsNC:function(a,c,b){return(a.textContent||a.innerText||"").toLowerCase().indexOf((b[3]||"").toLowerCase())>=0}});
/*!
 * jQuery blockUI plugin
 * Version 2.31 (06-JAN-2010)
 * @requires jQuery v1.2.3 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2008 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
(function(b){function r(c,a){var e=c==window,d=a&&a.message!==undefined?a.message:undefined;a=b.extend({},b.blockUI.defaults,a||{});a.overlayCSS=b.extend({},b.blockUI.defaults.overlayCSS,a.overlayCSS||{});var g=b.extend({},b.blockUI.defaults.css,a.css||{});d=d===undefined?a.message:d;e&&j&&n(window,{fadeOut:0});if(d&&typeof d!="string"&&(d.parentNode||d.jquery)){var h=d.jquery?d[0]:d,f={};b(c).data("blockUI.history",f);f.el=h;f.parent=h.parentNode;f.display=h.style.display;f.position=h.style.position;
f.parent&&f.parent.removeChild(h)}f=a.baseZ;var k=b.browser.msie||a.forceIframe?b('<iframe class="blockUI" style="z-index:'+f++ +';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+a.iframeSrc+'"></iframe>'):b('<div class="blockUI" style="display:none"></div>');h=b('<div class="blockUI blockOverlay" style="z-index:'+f++ +';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');f=a.theme&&e?b('<div class="blockUI blockMsg blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+
f+';display:none;position:fixed"><div class="ui-widget-header ui-dialog-titlebar blockTitle">'+(a.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>'):e?b('<div class="blockUI blockMsg blockPage" style="z-index:'+f+';display:none;position:fixed"></div>'):b('<div class="blockUI blockMsg blockElement" style="z-index:'+f+';display:none;position:absolute"></div>');d&&f.css(g);if(!a.applyPlatformOpacityRules||!(b.browser.mozilla&&/Linux/.test(navigator.platform)))h.css(a.overlayCSS);
h.css("position",e?"fixed":"absolute");if(b.browser.msie||a.forceIframe)k.css("opacity",0);g=[k,h,f];var A=e?b("body"):b(c);b.each(g,function(){this.appendTo(A)});a.theme&&a.draggable&&b.fn.draggable&&f.draggable({handle:".ui-dialog-titlebar",cancel:"li"});g=B&&(!b.boxModel||b("object,embed",e?null:c).length>0);if(s||g){e&&a.allowBodyStretch&&b.boxModel&&b("html,body").css("height","100%");if((s||!b.boxModel)&&!e){g=m(c,"borderTopWidth");var t=m(c,"borderLeftWidth"),u=g?"(0 - "+g+")":0,v=t?"(0 - "+
t+")":0}b.each([k,h,f],function(o,i){i=i[0].style;i.position="absolute";if(o<2){e?i.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+a.quirksmodeOffsetHack+') + "px"'):i.setExpression("height",'this.parentNode.offsetHeight + "px"');e?i.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):i.setExpression("width",'this.parentNode.offsetWidth + "px"');v&&i.setExpression("left",
v);u&&i.setExpression("top",u)}else if(a.centerY){e&&i.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"');i.marginTop=0}else if(!a.centerY&&e){o="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(a.css&&a.css.top?parseInt(a.css.top):0)+') + "px"';i.setExpression("top",
o)}})}if(d){a.theme?f.find(".ui-widget-content").append(d):f.append(d);if(d.jquery||d.nodeType)b(d).show()}if((b.browser.msie||a.forceIframe)&&a.showOverlay)k.show();if(a.fadeIn){g=a.onBlock?a.onBlock:p;k=a.showOverlay&&!d?g:p;g=d?g:p;a.showOverlay&&h._fadeIn(a.fadeIn,k);d&&f._fadeIn(a.fadeIn,g)}else{a.showOverlay&&h.show();d&&f.show();a.onBlock&&a.onBlock()}w(1,c,a);if(e){j=f[0];l=b(":input:enabled:visible",j);a.focusInput&&setTimeout(x,20)}else C(f[0],a.centerX,a.centerY);if(a.timeout){d=setTimeout(function(){e?
b.unblockUI(a):b(c).unblock(a)},a.timeout);b(c).data("blockUI.timeout",d)}}function n(c,a){var e=c==window,d=b(c),g=d.data("blockUI.history"),h=d.data("blockUI.timeout");if(h){clearTimeout(h);d.removeData("blockUI.timeout")}a=b.extend({},b.blockUI.defaults,a||{});w(0,c,a);var f;f=e?b("body").children().filter(".blockUI").add("body > .blockUI"):b(".blockUI",c);if(e)j=l=null;if(a.fadeOut){f.fadeOut(a.fadeOut);setTimeout(function(){y(f,g,a,c)},a.fadeOut)}else y(f,g,a,c)}function y(c,a,e,d){c.each(function(){this.parentNode&&
this.parentNode.removeChild(this)});if(a&&a.el){a.el.style.display=a.display;a.el.style.position=a.position;a.parent&&a.parent.appendChild(a.el);b(d).removeData("blockUI.history")}typeof e.onUnblock=="function"&&e.onUnblock(d,e)}function w(c,a,e){var d=a==window;a=b(a);if(!(!c&&(d&&!j||!d&&!a.data("blockUI.isBlocked")))){d||a.data("blockUI.isBlocked",c);!e.bindEvents||c&&!e.showOverlay||(c?b(document).bind("mousedown mouseup keydown keypress",e,z):b(document).unbind("mousedown mouseup keydown keypress",
z))}}function z(c){if(c.keyCode&&c.keyCode==9)if(j&&c.data.constrainTabKey){var a=l,e=c.shiftKey&&c.target==a[0];if(!c.shiftKey&&c.target==a[a.length-1]||e){setTimeout(function(){x(e)},10);return false}}if(b(c.target).parents("div.blockMsg").length>0)return true;return b(c.target).parents().children().filter("div.blockUI").length==0}function x(c){if(l)(c=l[c===true?l.length-1:0])&&c.focus()}function C(c,a,e){var d=c.parentNode,g=c.style,h=(d.offsetWidth-c.offsetWidth)/2-m(d,"borderLeftWidth");c=(d.offsetHeight-
c.offsetHeight)/2-m(d,"borderTopWidth");if(a)g.left=h>0?h+"px":"0";if(e)g.top=c>0?c+"px":"0"}function m(c,a){return parseInt(b.css(c,a))||0}if(/1\.(0|1|2)\.(0|1|2)/.test(b.fn.jquery)||/^1.1/.test(b.fn.jquery))alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+b.fn.jquery);else{b.fn._fadeIn=b.fn.fadeIn;var p=function(){},q=document.documentMode||0,B=b.browser.msie&&(b.browser.version<8&&!q||q<8),s=b.browser.msie&&/MSIE 6.0/.test(navigator.userAgent)&&!q;b.blockUI=function(c){r(window,
c)};b.unblockUI=function(c){n(window,c)};b.fn.block=function(c){return this.unblock({fadeOut:0}).each(function(){if(b.css(this,"position")=="static")this.style.position="relative";if(b.browser.msie)this.style.zoom=1;r(this,c)})};b.fn.unblock=function(c){return this.each(function(){n(this,c)})};b.blockUI.version=2.31;b.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:true,theme:false,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",
backgroundColor:"#fff",cursor:"wait"},overlayCSS:{backgroundColor:"#000",opacity:0.6,cursor:"wait"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:false,baseZ:1E3,centerX:true,centerY:true,allowBodyStretch:true,bindEvents:true,constrainTabKey:true,fadeIn:200,fadeOut:400,timeout:0,showOverlay:true,focusInput:true,applyPlatformOpacityRules:true,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4};var j=null,l=[]}})(jQuery);
/*! Copyright (c) 2008 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 */
(function(a){var c=0;a.getScrollbarWidth=function(){if(!c)if(a.browser.msie){var b=a('<textarea cols="10" rows="2"></textarea>').css({position:"absolute",top:-1000,left:-1000}).appendTo("body"),d=a('<textarea cols="10" rows="2" style="overflow: hidden;"></textarea>').css({position:"absolute",top:-1000,left:-1000}).appendTo("body");c=b.width()-d.width();b.add(d).remove()}else{b=a("<div />").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1000,left:-1000}).prependTo("body").append("<div />").find("div").css({width:"100%",
height:200});c=100-b.width();b.parent().remove()}return c}})(jQuery);
/*
 * jQuery.splitter.js - two-pane splitter window plugin
 *
 * version 1.51 (2009/01/09) 
 * 
 * Dual licensed under the MIT and GPL licenses: 
 *   http://www.opensource.org/licenses/mit-license.php 
 *   http://www.gnu.org/licenses/gpl.html 
 */
(function(d){d.fn.splitter=function(j){j=j||{};return this.each(function(){function s(c){if(a.outline)m=m||e.clone(false).insertAfter(f);k.css("-webkit-user-select","none");e.addClass(a.activeClass);f._posSplit=f[0][a.pxSplit]-c[a.eventPos];d(document).bind("mousemove",p).bind("mouseup",q)}function p(c){c=f._posSplit+c[a.eventPos];if(a.outline){c=Math.max(0,Math.min(c,b._DA-e._DA));e.css(a.origin,c)}else n(c)}function q(c){e.removeClass(a.activeClass);c=f._posSplit+c[a.eventPos];if(a.outline){m.remove();
m=null;n(c)}k.css("-webkit-user-select","text");d(document).unbind("mousemove",p).unbind("mouseup",q)}function n(c){c=Math.max(f._min,b._DA-g._max,Math.min(c,f._max,b._DA-e._DA-g._min));e._DA=e[0][a.pxSplit];e.css(a.origin,c).css(a.fixed,b._DF);f.css(a.origin,0).css(a.split,c).css(a.fixed,b._DF);g.css(a.origin,c+e._DA).css(a.split,b._DA-e._DA-c).css(a.fixed,b._DF);d.browser.msie||k.trigger("resize")}function l(c){for(var h=0,o=1;o<arguments.length;o++)h+=Math.max(parseInt(c.css(arguments[o]))||0,
0);return h}var m,a=d.extend({activeClass:"active",pxPerKey:8,tabIndex:0,accessKey:""},{v:{keyLeft:39,keyRight:37,cursor:"e-resize",splitbarClass:"vsplitbar",outlineClass:"voutline",type:"v",eventPos:"pageX",origin:"left",split:"width",pxSplit:"offsetWidth",side1:"Left",side2:"Right",fixed:"height",pxFixed:"offsetHeight",side3:"Top",side4:"Bottom"},h:{keyTop:40,keyBottom:38,cursor:"n-resize",splitbarClass:"hsplitbar",outlineClass:"houtline",type:"h",eventPos:"pageY",origin:"top",split:"height",pxSplit:"offsetHeight",
side1:"Top",side2:"Bottom",fixed:"width",pxFixed:"offsetWidth",side3:"Left",side4:"Right"}}[(j.splitHorizontal?"h":j.splitVertical?"v":j.type)||"v"],j),b=d(this).css({position:"relative"}),k=d(">*",b[0]).css({position:"absolute","z-index":"1","-moz-outline-style":"none"}),f=d(k[0]),g=d(k[1]),i=d('<a href="javascript:void(0)"></a>').attr({accessKey:a.accessKey,tabIndex:a.tabIndex,title:a.splitbarClass}).bind(d.browser.opera?"click":"focus",function(){this.focus();e.addClass(a.activeClass)}).bind("keydown",
function(c){c=c.which||c.keyCode;(c=c==a["key"+a.side1]?1:c==a["key"+a.side2]?-1:0)&&n(f[0][a.pxSplit]+c*a.pxPerKey,false)}).bind("blur",function(){e.removeClass(a.activeClass)}),e=d(k[2]||"<div></div>").insertAfter(f).css("z-index","100").append(i).attr({"class":a.splitbarClass,unselectable:"on"}).css({position:"absolute","user-select":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none"}).bind("mousedown",s);/^(auto|default|)$/.test(e.css("cursor"))&&e.css("cursor",
a.cursor);e._DA=e[0][a.pxSplit];b._PBF=d.boxModel?l(b,"border"+a.side3+"Width","border"+a.side4+"Width"):0;b._PBA=d.boxModel?l(b,"border"+a.side1+"Width","border"+a.side2+"Width"):0;f._pane=a.side1;g._pane=a.side2;d.each([f,g],function(){this._min=a["min"+this._pane]||l(this,"min-"+a.split);this._max=a["max"+this._pane]||l(this,"max-"+a.split)||9999;this._init=a["size"+this._pane]===true?parseInt(d.curCSS(this[0],a.split)):a["size"+this._pane]});i=f._init;isNaN(g._init)||(i=b[0][a.pxSplit]-b._PBA-
g._init-e._DA);if(a.cookie){d.cookie||alert("jQuery.splitter(): jQuery cookie plugin required");var r=parseInt(d.cookie(a.cookie));isNaN(r)||(i=r);d(window).bind("unload",function(){var c=String(e.css(a.origin));d.cookie(a.cookie,c,{expires:a.cookieExpires||365,path:a.cookiePath||document.location.pathname})})}if(isNaN(i))i=Math.round((b[0][a.pxSplit]-b._PBA-e._DA)/2);if(a.anchorToWindow){b._hadjust=l(b,"borderTopWidth","borderBottomWidth","marginBottom");b._hmin=Math.max(l(b,"minHeight"),20);d(window).bind("resize",
function(){var c=b.offset().top,h=d(window).height();b.css("height",Math.max(h-c-b._hadjust,b._hmin)+"px");d.browser.msie||b.trigger("resize")}).trigger("resize")}else a.resizeToWidth&&!d.browser.msie&&d(window).bind("resize",function(){b.trigger("resize")});b.bind("resize",function(c,h){if(c.target==this){b._DF=b[0][a.pxFixed]-b._PBF;b._DA=b[0][a.pxSplit]-b._PBA;b._DF<=0||b._DA<=0||n(!isNaN(h)?h:!(a.sizeRight||a.sizeBottom)?f[0][a.pxSplit]:b._DA-g[0][a.pxSplit]-e._DA)}}).trigger("resize",[i])})}})(jQuery);
/**
 * Cookie plugin
 *
 * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */
jQuery.cookie=function(d,c,a){if(typeof c!="undefined"){a=a||{};if(c===null){c="";a.expires=-1}var b="";if(a.expires&&(typeof a.expires=="number"||a.expires.toUTCString)){if(typeof a.expires=="number"){b=new Date;b.setTime(b.getTime()+a.expires*24*60*60*1E3)}else b=a.expires;b="; expires="+b.toUTCString()}var e=a.path?"; path="+a.path:"",f=a.domain?"; domain="+a.domain:"";a=a.secure?"; secure":"";document.cookie=[d,"=",encodeURIComponent(c),b,e,f,a].join("")}else{c=null;if(document.cookie&&document.cookie!=
""){a=document.cookie.split(";");for(b=0;b<a.length;b++){e=jQuery.trim(a[b]);if(e.substring(0,d.length+1)==d+"="){c=decodeURIComponent(e.substring(d.length+1));break}}}return c}};
/* Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 *
 * Version: 3.0.2
 * 
 * Requires: 1.2.2+
 */
(function(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventListener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.removeEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,false)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});function b(f){var d=[].slice.call(arguments,1),g=0,e=true;f=c.event.fix(f||window.event);f.type="mousewheel";if(f.wheelDelta){g=f.wheelDelta/120}if(f.detail){g=-f.detail/3}d.unshift(f,g);return c.event.handle.apply(this,d)}})(jQuery);/*
* jQuery TinySort 1.0.2
* Copyright (c) 2008 Ron Valstar
* Dual licensed under the MIT and GPL licenses:
*   http://www.opensource.org/licenses/mit-license.php
*   http://www.gnu.org/licenses/gpl.html
*/
(function(B){B.tinysort={id:"TinySort",version:"1.0.2",defaults:{order:"asc",attr:"",place:"start",returns:false}};B.fn.extend({tinysort:function(H,I){if(H&&typeof (H)!="string"){I=H;H=null}var E=B.extend({},B.tinysort.defaults,I);var O={};this.each(function(S){var U=(!H||H=="")?B(this):B(this).find(H);var T=E.order=="rand"?""+Math.random():(E.attr==""?U.text():U.attr(E.attr));var R=B(this).parent();if(!O[R]){O[R]={s:[],n:[]}}if(U.length>0){O[R].s.push({s:T,e:B(this),n:S})}else{O[R].n.push({e:B(this),n:S})}});for(var G in O){var D=O[G];D.s.sort(function J(T,S){var R=T.s.toLowerCase?T.s.toLowerCase():T.s;var U=S.s.toLowerCase?S.s.toLowerCase():S.s;if(C(T.s)&&C(S.s)){R=parseFloat(T.s);U=parseFloat(S.s)}return(E.order=="asc"?1:-1)*(R<U?-1:(R>U?1:0))})}var L=[];for(var G in O){var D=O[G];var M=[];var F=B(this).length;switch(E.place){case"first":B.each(D.s,function(R,S){F=Math.min(F,S.n)});break;case"org":B.each(D.s,function(R,S){M.push(S.n)});break;case"end":F=D.n.length;break;default:F=0}var P=[0,0];for(var K=0;K<B(this).length;K++){var N=K>=F&&K<F+D.s.length;if(A(M,K)){N=true}var Q=(N?D.s:D.n)[P[N?0:1]].e;Q.parent().append(Q);if(N||!E.returns){L.push(Q.get(0))}P[N?0:1]++}}return this.setArray(L)}});function C(D){return/^[\+-]?\d*\.?\d*$/.exec(D)}function A(E,F){var D=false;B.each(E,function(H,G){if(!D){D=G==F}});return D}B.fn.TinySort=B.fn.Tinysort=B.fn.tsort=B.fn.tinysort})(jQuery);/*

highlight v3

Highlights arbitrary terms.

<http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html>

MIT license.

Johann Burkard
<http://johannburkard.de>
<mailto:jb@eaio.com>

*/jQuery.fn.highlight=function(f){function e(a,d){var c=0;if(a.nodeType==3){var b=a.data.toUpperCase().indexOf(d);if(b>=0){c=document.createElement("span");c.className="highlight";a=a.splitText(b);a.splitText(d.length);d=a.cloneNode(true);c.appendChild(d);a.parentNode.replaceChild(c,a);c=1}}else if(a.nodeType==1&&a.childNodes&&!/(script|style)/i.test(a.tagName))for(b=0;b<a.childNodes.length;++b)b+=e(a.childNodes[b],d);return c}return this.each(function(){e(this,f.toUpperCase())})};/*
 * jQuery Form Plugin
 * version: 2.36 (07-NOV-2009)
 * @requires jQuery v1.2.6 or later
 *
 * Examples and documentation at: http://malsup.com/jquery/form/
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function(b){function s(){b.fn.ajaxSubmit.debug&&window.console&&window.console.log&&window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}b.fn.ajaxSubmit=function(a){function e(){function o(){if(!z++){p.detachEvent?p.detachEvent("onload",o):p.removeEventListener("load",o,false);var q=true;try{if(A)throw"timeout";var n,m;m=p.contentWindow?p.contentWindow.document:p.contentDocument?p.contentDocument:p.document;var t=h.dataType=="xml"||m.XMLDocument||b.isXMLDoc(m);s("isXml="+
t);if(!t&&(m.body==null||m.body.innerHTML=="")){if(--E){z=0;setTimeout(o,100);return}s("Could not access iframe DOM after 50 tries.");return}i.responseText=m.body?m.body.innerHTML:null;i.responseXML=m.XMLDocument?m.XMLDocument:m;i.getResponseHeader=function(F){return{"content-type":h.dataType}[F]};if(h.dataType=="json"||h.dataType=="script"){var B=m.getElementsByTagName("textarea")[0];if(B)i.responseText=B.value;else{var C=m.getElementsByTagName("pre")[0];if(C)i.responseText=C.innerHTML}}else if(h.dataType==
"xml"&&!i.responseXML&&i.responseText!=null)i.responseXML=x(i.responseText);n=b.httpData(i,h.dataType)}catch(G){q=false;b.handleError(h,i,"error",G)}if(q){h.success(n,"success");u&&b.event.trigger("ajaxSuccess",[i,h])}u&&b.event.trigger("ajaxComplete",[i,h]);u&&!--b.active&&b.event.trigger("ajaxStop");if(h.complete)h.complete(i,q?"success":"error");setTimeout(function(){v.remove();i.responseXML=null},100)}}function x(q,n){if(window.ActiveXObject){n=new ActiveXObject("Microsoft.XMLDOM");n.async="false";
n.loadXML(q)}else n=(new DOMParser).parseFromString(q,"text/xml");return n&&n.documentElement&&n.documentElement.tagName!="parsererror"?n:null}var j=g[0];if(b(":input[name=submit]",j).length)alert('Error: Form elements must not be named "submit".');else{var h=b.extend({},b.ajaxSettings,a),r=b.extend(true,{},b.extend(true,{},b.ajaxSettings),h),y="jqFormIO"+(new Date).getTime(),v=b('<iframe id="'+y+'" name="'+y+'" src="'+h.iframeSrc+'" />'),p=v[0];v.css({position:"absolute",top:"-1000px",left:"-1000px"});
var i={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;v.attr("src",h.iframeSrc)}},u=h.global;u&&!b.active++&&b.event.trigger("ajaxStart");u&&b.event.trigger("ajaxSend",[i,h]);if(r.beforeSend&&r.beforeSend(i,r)===false)r.global&&b.active--;else if(!i.aborted){var z=0,A=0;if(r=j.clk){var D=r.name;if(D&&!r.disabled){a.extraData=a.extraData||{};a.extraData[D]=
r.value;if(r.type=="image"){a.extraData[name+".x"]=j.clk_x;a.extraData[name+".y"]=j.clk_y}}}setTimeout(function(){var q=g.attr("target"),n=g.attr("action");j.setAttribute("target",y);j.getAttribute("method")!="POST"&&j.setAttribute("method","POST");j.getAttribute("action")!=h.url&&j.setAttribute("action",h.url);a.skipEncodingOverride||g.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});h.timeout&&setTimeout(function(){A=true;o()},h.timeout);var m=[];try{if(a.extraData)for(var t in a.extraData)m.push(b('<input type="hidden" name="'+
t+'" value="'+a.extraData[t]+'" />').appendTo(j)[0]);v.appendTo("body");p.attachEvent?p.attachEvent("onload",o):p.addEventListener("load",o,false);j.submit()}finally{j.setAttribute("action",n);q?j.setAttribute("target",q):g.removeAttr("target");b(m).remove()}},10);var E=50}}}if(!this.length){s("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof a=="function")a={success:a};var d=b.trim(this.attr("action"));if(d)d=(d.match(/^([^#]+)/)||[])[1];d=d||window.location.href||
"";a=b.extend({url:d,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},a||{});d={};this.trigger("form-pre-serialize",[this,a,d]);if(d.veto){s("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(a.beforeSerialize&&a.beforeSerialize(this,a)===false){s("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var f=this.formToArray(a.semantic);if(a.data){a.extraData=a.data;for(var c in a.data)if(a.data[c]instanceof
Array)for(var l in a.data[c])f.push({name:c,value:a.data[c][l]});else f.push({name:c,value:a.data[c]})}if(a.beforeSubmit&&a.beforeSubmit(f,this,a)===false){s("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[f,this,a,d]);if(d.veto){s("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}c=b.param(f);if(a.type.toUpperCase()=="GET"){a.url+=(a.url.indexOf("?")>=0?"&":"?")+c;a.data=null}else a.data=c;var g=this,k=[];a.resetForm&&
k.push(function(){g.resetForm()});a.clearForm&&k.push(function(){g.clearForm()});if(!a.dataType&&a.target){var w=a.success||function(){};k.push(function(o){b(a.target).html(o).each(w,arguments)})}else a.success&&k.push(a.success);a.success=function(o,x){for(var j=0,h=k.length;j<h;j++)k[j].apply(a,[o,x,g])};c=b("input:file",this).fieldValue();l=false;for(d=0;d<c.length;d++)if(c[d])l=true;if(c.length&&a.iframe!==false||a.iframe||l||0)a.closeKeepAlive?b.get(a.closeKeepAlive,e):e();else b.ajax(a);this.trigger("form-submit-notify",
[this,a]);return this};b.fn.ajaxForm=function(a){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){b(this).ajaxSubmit(a);return false}).bind("click.form-plugin",function(e){var d=e.target,f=b(d);if(!f.is(":submit,input:image")){d=f.closest(":submit");if(d.length==0)return;d=d[0]}var c=this;c.clk=d;if(d.type=="image")if(e.offsetX!=undefined){c.clk_x=e.offsetX;c.clk_y=e.offsetY}else if(typeof b.fn.offset=="function"){f=f.offset();c.clk_x=e.pageX-f.left;c.clk_y=e.pageY-f.top}else{c.clk_x=
e.pageX-d.offsetLeft;c.clk_y=e.pageY-d.offsetTop}setTimeout(function(){c.clk=c.clk_x=c.clk_y=null},100)})};b.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};b.fn.formToArray=function(a){var e=[];if(this.length==0)return e;var d=this[0],f=a?d.getElementsByTagName("*"):d.elements;if(!f)return e;for(var c=0,l=f.length;c<l;c++){var g=f[c],k=g.name;if(k)if(a&&d.clk&&g.type=="image"){if(!g.disabled&&d.clk==g){e.push({name:k,value:b(g).val()});e.push({name:k+".x",
value:d.clk_x},{name:k+".y",value:d.clk_y})}}else if((g=b.fieldValue(g,true))&&g.constructor==Array)for(var w=0,o=g.length;w<o;w++)e.push({name:k,value:g[w]});else g!==null&&typeof g!="undefined"&&e.push({name:k,value:g})}if(!a&&d.clk){a=b(d.clk);f=a[0];if((k=f.name)&&!f.disabled&&f.type=="image"){e.push({name:k,value:a.val()});e.push({name:k+".x",value:d.clk_x},{name:k+".y",value:d.clk_y})}}return e};b.fn.formSerialize=function(a){return b.param(this.formToArray(a))};b.fn.fieldSerialize=function(a){var e=
[];this.each(function(){var d=this.name;if(d){var f=b.fieldValue(this,a);if(f&&f.constructor==Array)for(var c=0,l=f.length;c<l;c++)e.push({name:d,value:f[c]});else f!==null&&typeof f!="undefined"&&e.push({name:this.name,value:f})}});return b.param(e)};b.fn.fieldValue=function(a){for(var e=[],d=0,f=this.length;d<f;d++){var c=b.fieldValue(this[d],a);c===null||typeof c=="undefined"||c.constructor==Array&&!c.length||(c.constructor==Array?b.merge(e,c):e.push(c))}return e};b.fieldValue=function(a,e){var d=
a.name,f=a.type,c=a.tagName.toLowerCase();if(typeof e=="undefined")e=true;if(e&&(!d||a.disabled||f=="reset"||f=="button"||(f=="checkbox"||f=="radio")&&!a.checked||(f=="submit"||f=="image")&&a.form&&a.form.clk!=a||c=="select"&&a.selectedIndex==-1))return null;if(c=="select"){c=a.selectedIndex;if(c<0)return null;e=[];a=a.options;d=(f=f=="select-one")?c+1:a.length;for(c=f?c:0;c<d;c++){var l=a[c];if(l.selected){var g=l.value;g||(g=l.attributes&&l.attributes.value&&!l.attributes.value.specified?l.text:
l.value);if(f)return g;e.push(g)}}return e}return a.value};b.fn.clearForm=function(){return this.each(function(){b("input,select,textarea",this).clearFields()})};b.fn.clearFields=b.fn.clearInputs=function(){return this.each(function(){var a=this.type,e=this.tagName.toLowerCase();if(a=="text"||a=="password"||e=="textarea")this.value="";else if(a=="checkbox"||a=="radio")this.checked=false;else if(e=="select")this.selectedIndex=-1})};b.fn.resetForm=function(){return this.each(function(){if(typeof this.reset==
"function"||typeof this.reset=="object"&&!this.reset.nodeType)this.reset()})};b.fn.enable=function(a){if(a==undefined)a=true;return this.each(function(){this.disabled=!a})};b.fn.selected=function(a){if(a==undefined)a=true;return this.each(function(){var e=this.type;if(e=="checkbox"||e=="radio")this.checked=a;else if(this.tagName.toLowerCase()=="option"){e=b(this).parent("select");a&&e[0]&&e[0].type=="select-one"&&e.find("option").selected(false);this.selected=a}})}})(jQuery);
