/*
 * jQuery 1.1 - New Wave Javascript
 *
 * Copyright (c) 2007 John Resig (jquery.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * + form.js (plugins @ jQuery.com)
 * + ajaxCallback.js (www.spip.net)
 */
/* JavaScriptCompressor 0.8 [www.devpro.it], thanks to Dean Edwards for idea [dean.edwards.name] */
if(typeof window.jQuery==
"undefined"
){
window.undefined=window.undefined;var jQuery=function(a,c){
if (window==this)
return new jQuery(a,c);
a=a||document;
if (jQuery.isFunction(a))
return new jQuery(document)[ jQuery.fn.ready?
"ready"
:
"load"
](a);
if (typeof a==
"string"
){
var m=
/^[^<]*(<(.|\s)+>)[^>]*$/.exec(a);if (m)
a=jQuery.clean([ m[1] ]);
else
return new jQuery(c).find(a);}
return this.setArray(
a.constructor==Array&&a||
(a.jquery||a.length&&a !=window&&!a.nodeType&&a[0] !=undefined&&a[0].nodeType)&&jQuery.makeArray(a)||
[ a ]);};
if (typeof $ !=
"undefined"
)
jQuery._$=$;
var $=jQuery;jQuery.fn=jQuery.prototype={jquery:
"1.1.1"
,size:function(){return this.length;},length:0,get:function(num){return num==undefined?
jQuery.makeArray(this):
this[num];},pushStack:function(a){var ret=jQuery(a);ret.prevObject=this;return ret;},setArray:function(a){this.length=0;[].push.apply(this,a);return this;},each:function(fn,args){return jQuery.each(this,fn,args);},index:function(obj){var pos=-1;this.each(function(i){if (this==obj) pos=i;});return pos;},attr:function(key,value,type){var obj=key;
if (key.constructor==String)
if (value==undefined)
return this.length&&jQuery[ type||
"attr"
](this[0],key)||undefined;else {obj={};obj[ key ]=value;}
return this.each(function(index){
for (var prop in obj)
jQuery.attr(type?this.style:this,prop,jQuery.prop(this,obj[prop],type,index,prop));});},css:function(key,value){return this.attr(key,value,
"curCSS"
);},text:function(e){if (typeof e==
"string"
)
return this.empty().append(document.createTextNode(e));var t=
""
;jQuery.each(e||this,function(){jQuery.each(this.childNodes,function(){if (this.nodeType !=8)
t+=this.nodeType !=1?this.nodeValue:jQuery.fn.text([ this ]);});});return t;},wrap:function(){
var a=jQuery.clean(arguments);
return this.each(function(){
var b=a[0].cloneNode(true);
this.parentNode.insertBefore(b,this);
while (b.firstChild)
b=b.firstChild;
b.appendChild(this);});},append:function(){return this.domManip(arguments,true,1,function(a){this.appendChild(a);});},prepend:function(){return this.domManip(arguments,true,-1,function(a){this.insertBefore(a,this.firstChild);});},before:function(){return this.domManip(arguments,false,1,function(a){this.parentNode.insertBefore(a,this);});},after:function(){return this.domManip(arguments,false,-1,function(a){this.parentNode.insertBefore(a,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(t){return this.pushStack(jQuery.map(this,function(a){return jQuery.find(t,a);}),t);},clone:function(deep){return this.pushStack(jQuery.map(this,function(a){return a.cloneNode(deep !=undefined?deep:true);}));},filter:function(t){return this.pushStack(jQuery.isFunction(t)&&jQuery.grep(this,function(el,index){return t.apply(el,[index])})||jQuery.multiFilter(t,this));},not:function(t){return this.pushStack(t.constructor==String&&jQuery.multiFilter(t,this,true)||jQuery.grep(this,function(a){return (t.constructor==Array||t.jquery)?jQuery.inArray(a,t)<0:a !=t;}));},add:function(t){return this.pushStack(jQuery.merge(this.get(),t.constructor==String?jQuery(t).get():t.length !=undefined&&(!t.nodeName||t.nodeName==
"FORM"
)?t:[t]));},is:function(expr){return expr?jQuery.filter(expr,this).r.length>0:false;},val:function(val){return val==undefined?(this.length?this[0].value:null):this.attr(
"value"
,val);},html:function(val){return val==undefined?(this.length?this[0].innerHTML:null):this.empty().append(val);},domManip:function(args,table,dir,fn){var clone=this.length>1;var a=jQuery.clean(args);if (dir<0)
a.reverse();return this.each(function(){var obj=this;if (table&&jQuery.nodeName(this,
"table"
)&&jQuery.nodeName(a[0],
"tr"
))
obj=this.getElementsByTagName(
"tbody"
)[0]||this.appendChild(document.createElement(
"tbody"
));jQuery.each(a,function(){fn.apply(obj,[ clone?this.cloneNode(true):this ]);});});}};jQuery.extend=jQuery.fn.extend=function(){
var target=arguments[0],a=1;
if (arguments.length==1){target=this;a=0;}
var prop;while (prop=arguments[a++])
for (var i in prop) target[i]=prop[i];
return target;};jQuery.extend({noConflict:function(){if (jQuery._$)
$=jQuery._$;return jQuery;},
isFunction:function(fn){return !!fn&&typeof fn !=
"string"
&&typeof fn[0]==
"undefined"
&&
/function/i.test(fn+
""
);},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();},
each:function(obj,fn,args){if (obj.length==undefined)
for (var i in obj)
fn.apply(obj[i],args||[i,obj[i]]);else
for (var i=0,ol=obj.length;i<ol;i++)
if (fn.apply(obj[i],args||[i,obj[i]])===false) break;return obj;},prop:function(elem,value,type,index,prop){
if (jQuery.isFunction(value))
return value.call(elem,[index]);
var exclude=
/z-?index|font-?weight|opacity|zoom|line-?height/i;
return value&&value.constructor==Number&&type==
"curCSS"
&&!exclude.test(prop)?value+
"px"
:value;},className:{
add:function(elem,c){jQuery.each(c.split(
/\s+/),function(i,cur){if (!jQuery.className.has(elem.className,cur))
elem.className+=(elem.className?
" "
:
""
)+cur;});},
remove:function(elem,c){elem.className=c?jQuery.grep(elem.className.split(
/\s+/),function(cur){return !jQuery.className.has(c,cur);}).join(
" "
):
""
;},
has:function(t,c){t=t.className||t;return t&&new RegExp(
"(^|\\s)"
+c+
"(\\s|$)"
).test(t);}},swap:function(e,o,f){for (var i in o){e.style[
"old"
+i]=e.style[i];e.style[i]=o[i];}
f.apply(e,[]);for (var i in o)
e.style[i]=e.style[
"old"
+i];},css:function(e,p){if (p==
"height"
||p==
"width"
){var old={},oHeight,oWidth,d=[
"Top"
,
"Bottom"
,
"Right"
,
"Left"
];jQuery.each(d,function(){old[
"padding"
+this]=0;old[
"border"
+this+
"Width"
]=0;});jQuery.swap(e,old,function(){if (jQuery.css(e,
"display"
) !=
"none"
){oHeight=e.offsetHeight;oWidth=e.offsetWidth;} else {e=jQuery(e.cloneNode(true))
.find(
":radio"
).removeAttr(
"checked"
).end()
.css({visibility:
"hidden"
,position:
"absolute"
,display:
"block"
,right:
"0"
,left:
"0"
}).appendTo(e.parentNode)[0];var parPos=jQuery.css(e.parentNode,
"position"
);if (parPos==
""
||parPos==
"static"
)
e.parentNode.style.position=
"relative"
;oHeight=e.clientHeight;oWidth=e.clientWidth;if (parPos==
""
||parPos==
"static"
)
e.parentNode.style.position=
"static"
;e.parentNode.removeChild(e);}});return p==
"height"
?oHeight:oWidth;}
return jQuery.curCSS(e,p);},curCSS:function(elem,prop,force){var ret;if (prop==
"opacity"
&&jQuery.browser.msie)
return jQuery.attr(elem.style,
"opacity"
);if (prop==
"float"
||prop==
"cssFloat"
)
prop=jQuery.browser.msie?
"styleFloat"
:
"cssFloat"
;if (!force&&elem.style[prop])
ret=elem.style[prop];else if (document.defaultView&&document.defaultView.getComputedStyle){if (prop==
"cssFloat"
||prop==
"styleFloat"
)
prop=
"float"
;prop=prop.replace(
/([A-Z])/g,
"-$1"
).toLowerCase();var cur=document.defaultView.getComputedStyle(elem,null);if (cur)
ret=cur.getPropertyValue(prop);else if (prop==
"display"
)
ret=
"none"
;else
jQuery.swap(elem,{display:
"block"
},function(){var c=document.defaultView.getComputedStyle(this,
""
);ret=c&&c.getPropertyValue(prop)||
""
;});} else if (elem.currentStyle){var newProp=prop.replace(
/\-(\w)/g,function(m,c){return c.toUpperCase();});ret=elem.currentStyle[prop]||elem.currentStyle[newProp];}
return ret;},clean:function(a){var r=[];jQuery.each(a,function(i,arg){if (!arg) return;if (arg.constructor==Number)
arg=arg.toString();
if (typeof arg==
"string"
){
var s=jQuery.trim(arg),div=document.createElement(
"div"
),tb=[];var wrap=
!s.indexOf(
"<opt"
)&&[1,
"<select>"
,
"</select>"
]||(!s.indexOf(
"<thead"
)||!s.indexOf(
"<tbody"
)||!s.indexOf(
"<tfoot"
))&&[1,
"<table>"
,
"</table>"
]||!s.indexOf(
"<tr"
)&&[2,
"<table><tbody>"
,
"</tbody></table>"
]||
(!s.indexOf(
"<td"
)||!s.indexOf(
"<th"
))&&[3,
"<table><tbody><tr>"
,
"</tr></tbody></table>"
]||[0,
""
,
""
];
div.innerHTML=wrap[1]+s+wrap[2];
while (wrap[0]--)
div=div.firstChild;
if (jQuery.browser.msie){
if (!s.indexOf(
"<table"
)&&s.indexOf(
"<tbody"
)<0)
 tb=div.firstChild&&div.firstChild.childNodes;
else if (wrap[1]==
"<table>"
&&s.indexOf(
"<tbody"
)<0)
tb=div.childNodes;for (var n=tb.length-1;n>=0;--n)
if (jQuery.nodeName(tb[n],
"tbody"
)&&!tb[n].childNodes.length)
tb[n].parentNode.removeChild(tb[n]);}
arg=div.childNodes;}
if (arg.length===0)
return;if (arg[0]==undefined)
r.push(arg);else
r=jQuery.merge(r,arg);});return r;},attr:function(elem,name,value){var fix={
"for"
:
"htmlFor"
,
"class"
:
"className"
,
"float"
:jQuery.browser.msie?
"styleFloat"
:
"cssFloat"
,cssFloat:jQuery.browser.msie?
"styleFloat"
:
"cssFloat"
,innerHTML:
"innerHTML"
,className:
"className"
,value:
"value"
,disabled:
"disabled"
,checked:
"checked"
,readonly:
"readOnly"
,selected:
"selected"
};
if (name==
"opacity"
&&jQuery.browser.msie&&value !=undefined){
elem.zoom=1;
return elem.filter=elem.filter.replace(
/alpha\([^\)]*\)/gi,
""
)+(value==1?
""
:
"alpha(opacity="
+value * 100+
")"
);} else if (name==
"opacity"
&&jQuery.browser.msie)
return elem.filter?parseFloat(elem.filter.match(
/alpha\(opacity=(.*)\)/)[1]) / 100:1;
if (name==
"opacity"
&&jQuery.browser.mozilla&&value==1)
value=0.9999;
if (fix[name]){if (value !=undefined) elem[fix[name]]=value;return elem[fix[name]];} else if (value==undefined&&jQuery.browser.msie&&jQuery.nodeName(elem,
"form"
)&&(name==
"action"
||name==
"method"
))
return elem.getAttributeNode(name).nodeValue;
else if (elem.tagName){if (value !=undefined) elem.setAttribute(name,value);return elem.getAttribute(name);} else {name=name.replace(
/-([a-z])/ig,function(z,b){return b.toUpperCase();});if (value !=undefined) elem[name]=value;return elem[name];}},trim:function(t){return t.replace(
/^\s+|\s+$/g,
""
);},makeArray:function(a){var r=[];if (a.constructor !=Array)
for (var i=0,al=a.length;i<al;i++)
r.push(a[i]);else
r=a.slice(0);return r;},inArray:function(b,a){for (var i=0,al=a.length;i<al;i++)
if (a[i]==b)
return i;return-1;},merge:function(first,second){var r=[].slice.call(first,0);
for (var i=0,sl=second.length;i<sl;i++)
if (jQuery.inArray(second[i],r)==-1)
first.push(second[i]);return first;},grep:function(elems,fn,inv){
if (typeof fn==
"string"
)
fn=new Function(
"a"
,
"i"
,
"return "
+fn);var result=[];
for (var i=0,el=elems.length;i<el;i++)
if (!inv&&fn(elems[i],i)||inv&&!fn(elems[i],i))
result.push(elems[i]);return result;},map:function(elems,fn){
if (typeof fn==
"string"
)
fn=new Function(
"a"
,
"return "
+fn);var result=[],r=[];
for (var i=0,el=elems.length;i<el;i++){var val=fn(elems[i],i);if (val !==null&&val !=undefined){if (val.constructor !=Array) val=[val];result=result.concat(val);}}
var r=result.length?[ result[0] ]:[];check:for (var i=1,rl=result.length;i<rl;i++){for (var j=0;j<i;j++)
if (result[i]==r[j])
continue check;r.push(result[i]);}
return r;}});
new function(){var b=navigator.userAgent.toLowerCase();
jQuery.browser={safari:
/webkit/.test(b),opera:
/opera/.test(b),msie:
/msie/.test(b)&&!
/opera/.test(b),mozilla:
/mozilla/.test(b)&&!
/(compatible|webkit)/.test(b)};
jQuery.boxModel=!jQuery.browser.msie||document.compatMode==
"CSS1Compat"
;};jQuery.each({parent:
"a.parentNode"
,parents:
"jQuery.parents(a)"
,next:
"jQuery.nth(a,2,'nextSibling')"
,prev:
"jQuery.nth(a,2,'previousSibling')"
,siblings:
"jQuery.sibling(a.parentNode.firstChild,a)"
,children:
"jQuery.sibling(a.firstChild)"
},function(i,n){jQuery.fn[ i ]=function(a){var ret=jQuery.map(this,n);if (a&&typeof a==
"string"
)
ret=jQuery.multiFilter(a,ret);return this.pushStack(ret);};});jQuery.each({appendTo:
"append"
,prependTo:
"prepend"
,insertBefore:
"before"
,insertAfter:
"after"
},function(i,n){jQuery.fn[ i ]=function(){var a=arguments;return this.each(function(){for (var j=0,al=a.length;j<al;j++)
jQuery(a[j])[n](this);});};});jQuery.each({removeAttr:function(key){jQuery.attr(this,key,
""
);this.removeAttribute(key);},addClass:function(c){jQuery.className.add(this,c);},removeClass:function(c){jQuery.className.remove(this,c);},toggleClass:function(c){jQuery.className[ jQuery.className.has(this,c)?
"remove"
:
"add"
](this,c);},remove:function(a){if (!a||jQuery.filter(a,[this]).r.length)
this.parentNode.removeChild(this);},empty:function(){while (this.firstChild)
this.removeChild(this.firstChild);}},function(i,n){jQuery.fn[ i ]=function(){return this.each(n,arguments);};});jQuery.each([
"eq"
,
"lt"
,
"gt"
,
"contains"
],function(i,n){jQuery.fn[ n ]=function(num,fn){return this.filter(
":"
+n+
"("
+num+
")"
,fn);};});jQuery.each([
"height"
,
"width"
],function(i,n){jQuery.fn[ n ]=function(h){return h==undefined?(this.length?jQuery.css(this[0],n):null):this.css(n,h.constructor==String?h:h+
"px"
);};});jQuery.extend({expr:{
""
:
"m[2]=='*'||jQuery.nodeName(a,m[2])"
,
"#"
:
"a.getAttribute('id')==m[2]"
,
":"
:{
lt:
"i<m[3]-0"
,gt:
"i>m[3]-0"
,nth:
"m[3]-0==i"
,eq:
"m[3]-0==i"
,first:
"i==0"
,last:
"i==r.length-1"
,even:
"i%2==0"
,odd:
"i%2"
,
"nth-child"
:
"jQuery.nth(a.parentNode.firstChild,m[3],'nextSibling',a)==a"
,
"first-child"
:
"jQuery.nth(a.parentNode.firstChild,1,'nextSibling')==a"
,
"last-child"
:
"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a"
,
"only-child"
:
"jQuery.sibling(a.parentNode.firstChild).length==1"
,
parent:
"a.firstChild"
,empty:
"!a.firstChild"
,
contains:
"jQuery.fn.text.apply([a]).indexOf(m[3])>=0"
,
visible:
'a.type!="hidden"&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden"'
,hidden:
'a.type=="hidden"||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden"'
,
enabled:
"!a.disabled"
,disabled:
"a.disabled"
,checked:
"a.checked"
,selected:
"a.selected||jQuery.attr(a,'selected')"
,
text:
"a.type=='text'"
,radio:
"a.type=='radio'"
,checkbox:
"a.type=='checkbox'"
,file:
"a.type=='file'"
,password:
"a.type=='password'"
,submit:
"a.type=='submit'"
,image:
"a.type=='image'"
,reset:
"a.type=='reset'"
,button:
'a.type=="button"||jQuery.nodeName(a,"button")'
,input:
"/input|select|textarea|button/i.test(a.nodeName)"
},
"."
:
"jQuery.className.has(a,m[2])"
,
"@"
:{
"="
:
"z==m[4]"
,
"!="
:
"z!=m[4]"
,
"^="
:
"z&&!z.indexOf(m[4])"
,
"$="
:
"z&&z.substr(z.length - m[4].length,m[4].length)==m[4]"
,
"*="
:
"z&&z.indexOf(m[4])>=0"
,
""
:
"z"
,_resort:function(m){return [
""
,m[1],m[3],m[2],m[5]];},_prefix:
"z=a[m[3]]||jQuery.attr(a,m[3]);"
},
"["
:
"jQuery.find(m[2],a).length"
},
parse:[
/^\[ *(@)([a-z0-9_-]*) *([!*$^=]*) *('?"?)(.*?)\4 *\]/i,
/^(\[)\s*(.*?(\[.*?\])?[^[]*?)\s*\]/,
/^(:)([a-z0-9_-]*)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/i,
/^([:.#]*)([a-z0-9_*-]*)/i
],token:[
/^(\/?\.\.)/,
"a.parentNode"
,
/^(>|\/)/,
"jQuery.sibling(a.firstChild)"
,
/^(\+)/,
"jQuery.nth(a,2,'nextSibling')"
,
/^(~)/,function(a){var s=jQuery.sibling(a.parentNode.firstChild);return s.slice(0,jQuery.inArray(a,s));}
],multiFilter:function(expr,elems,not){var old,cur=[];while (expr&&expr !=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(
/^\s*,\s*/,
""
);cur=not?elems=f.r:jQuery.merge(cur,f.r);}
return cur;},find:function(t,context){
if (typeof t !=
"string"
)
return [ t ];
if (context&&!context.nodeType)
/* JavaScriptCompressor 0.8 [www.devpro.it], thanks to Dean Edwards for idea [dean.edwards.name] */
jQuery.fn.ajaxSubmit=function(options){if (typeof options==
'function'
)
options={success:options};options=jQuery.extend({url:this.attr(
'action'
)||
''
,method:this.attr(
'method'
)||
'GET'
},options||{});
options.success=options.success||options.after;options.beforeSubmit=options.beforeSubmit||options.before;options.type=options.type||options.method;var a=this.formToArray(options.semantic);
if (options.beforeSubmit&&options.beforeSubmit(a,this,options)===false) return;var q=jQuery.param(a);if (options.type.toUpperCase()==
'GET'
){
options.url+=(options.url.indexOf(
'?'
)>=0?
'&'
:
'?'
)+q;options.data=null;
}
else
options.data=q;
var $form=this,callbacks=[];if (options.resetForm) callbacks.push(function(){$form.resetForm();});if (options.clearForm) callbacks.push(function(){$form.clearForm();});
if (!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data,status){jQuery(options.target).html(data).evalScripts().each(oldSuccess,[data,status]);});}
else if (options.success)
 callbacks.push(options.success);options.success=function(data,status){for (var i=0,max=callbacks.length;i<max;i++)
callbacks[i](data,status);};jQuery.ajax(options);return this;};
jQuery.fn.ajaxForm=function(options){return this.each(function(){jQuery(
"input:submit,input:image,button:submit"
,this).click(function(ev){var $form=this.form;$form.clk=this;if (this.type==
'image'
){if (ev.offsetX !=undefined){$form.clk_x=ev.offsetX;$form.clk_y=ev.offsetY;} else if (typeof jQuery.fn.offset==
'function'
){
var offset=$(this).offset();$form.clk_x=ev.pageX-offset.left;$form.clk_y=ev.pageY-offset.top;} else {$form.clk_x=ev.pageX-this.offsetLeft;$form.clk_y=ev.pageY-this.offsetTop;}}
setTimeout(function(){$form.clk=$form.clk_x=$form.clk_y=null;},10);})}).submit(function(e){jQuery(this).ajaxSubmit(options);return false;});};
jQuery.fn.formToArray=function(semantic){var a=[];if (this.length==0) return a;var form=this[0];var els=semantic?form.getElementsByTagName(
'*'
):form.elements;if (!els) return a;for(var i=0,max=els.length;i<max;i++){var el=els[i];var n=el.name;if (!n) continue;if (semantic&&form.clk&&el.type==
"image"
){
if(!el.disabled&&form.clk==el)
a.push({name:n+
'.x'
,value:form.clk_x},{name:n+
'.y'
,value:form.clk_y});continue;}
var v=jQuery.fieldValue(el,true);if (v===null) continue;if (v.constructor==Array){for(var j=0,jmax=v.length;j<jmax;j++)
a.push({name:n,value:v[j]});}
else
 a.push({name:n,value:v});}
if (!semantic&&form.clk){
var inputs=form.getElementsByTagName(
"input"
);for(var i=0,max=inputs.length;i<max;i++){var input=inputs[i];var n=input.name;if(n&&!input.disabled&&input.type==
"image"
&&form.clk==input)
a.push({name:n+
'.x'
,value:form.clk_x},{name:n+
'.y'
,value:form.clk_y});}}
return a;};
jQuery.fn.formSerialize=function(semantic){
return jQuery.param(this.formToArray(semantic));};
jQuery.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if (!n) return;var v=jQuery.fieldValue(this,successful);if (v&&v.constructor==Array){for (var i=0,max=v.length;i<max;i++)
a.push({name:n,value:v[i]});}
else if (v !==null&&typeof v !=
'undefined'
)
a.push({name:this.name,value:v});});
return jQuery.param(a);};
jQuery.fn.fieldValue=function(successful){var cbVal,cbName;
for (var i=0,max=this.length;i<max;i++){var el=this[i];var v=jQuery.fieldValue(el,successful);if (v===null||typeof v==
'undefined'
||(v.constructor==Array&&!v.length))
continue;
if (el.type !=
'checkbox'
) return v;cbName=cbName||el.name;if (cbName !=el.name)
return cbVal;cbVal=cbVal||[];cbVal.push(v);}
return cbVal;};
jQuery.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if (typeof successful==
'undefined'
) successful=true;if (successful&&(!n||el.disabled||t==
'reset'
||(t==
'checkbox'
||t==
'radio'
)&&!el.checked||(t==
'submit'
||t==
'image'
)&&el.form&&el.form.clk !=el||tag==
'select'
&&el.selectedIndex==-1))
return null;if (tag==
'select'
){var index=el.selectedIndex;if (index<0) return null;var a=[],ops=el.options;var one=(t==
'select-one'
);var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if (op.selected){
var v=jQuery.browser.msie&&!(op.attributes[
'value'
].specified)?op.text:op.value;if (one) return v;a.push(v);}}
return a;}
return el.value;};
jQuery.fn.clearForm=function(){return this.each(function(){jQuery(
'input,select,textarea'
,this).clearInputs();});}
jQuery.fn.clearInputs=function(){return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if (t==
'text'
||t==
'password'
||tag==
'textarea'
)
this.value=
''
;else if (t==
'checkbox'
||t==
'radio'
)
this.checked=false;else if (tag==
'select'
)
this.selectedIndex=-1;});}
jQuery.fn.resetForm=function(){return this.each(function(){
if (typeof this.reset==
'function'
||(typeof this.reset==
'object'
&&!this.reset.nodeType))
 this.reset();});}
/* JavaScriptCompressor 0.8 [www.devpro.it], thanks to Dean Edwards for idea [dean.edwards.name] */
if(!jQuery.load_handlers){jQuery.load_handlers=new Array();
function onAjaxLoad(f){jQuery.load_handlers.push(f);};
function triggerAjaxLoad(root){for (var i=0;i<jQuery.load_handlers.length;i++)
jQuery.load_handlers[i].apply(root);};jQuery.fn._load=jQuery.fn.load;jQuery.fn.load=function(url,params,callback,ifModified){callback=callback||function(){};
if (params){
if (params.constructor==Function){
callback=params;params=null;}}
var callback2=function(res,status){triggerAjaxLoad(this);callback(res,status);};return this._load(url,params,callback2,ifModified);};jQuery._ajax=jQuery.ajax;jQuery.ajax=function(type,url,data,ret,ifModified){
if (jQuery.ajax.caller==jQuery.fn._load) return jQuery._ajax(type,url,data,ret,ifModified);
if (!url){var orig_complete=type.complete||function(){};type.complete=function(res,status){triggerAjaxLoad(document);orig_complete(res,status);};} else {var orig_ret=ret||function(){};ret=function(res,status){triggerAjaxLoad(document);orig_ret(res,status);};}
return jQuery._ajax(type,url,data,ret,ifModified);};}
