(function(){
if(typeof _1!="undefined"){
var _2=_1;
}
var _1=window.jQuery=function(a,c){
if(window==this||!this.init){
return new _1(a,c);
}
return this.init(a,c);
};
if(typeof $!="undefined"){
var _$=$;
}
window.$=_1;
var _6=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/;
_1.fn=_1.prototype={init:function(a,c){
a=a||document;
if(typeof a=="string"){
var m=_6.exec(a);
if(m&&(m[1]||!c)){
if(m[1]){
a=_1.clean([m[1]],c);
}else{
var _a=document.getElementById(m[3]);
if(_a){
if(_a.id!=m[3]){
return _1().find(a);
}else{
this[0]=_a;
this.length=1;
return this;
}
}else{
a=[];
}
}
}else{
return new _1(c).find(a);
}
}else{
if(_1.isFunction(a)){
return new _1(document)[_1.fn.ready?"ready":"load"](a);
}
}
return this.setArray(a.constructor==Array&&a||(a.jquery||a.length&&a!=window&&!a.nodeType&&a[0]!=undefined&&a[0].nodeType)&&_1.makeArray(a)||[a]);
},jquery:"1.2",size:function(){
return this.length;
},length:0,get:function(_b){
return _b==undefined?_1.makeArray(this):this[_b];
},pushStack:function(a){
var _d=_1(a);
_d.prevObject=this;
return _d;
},setArray:function(a){
this.length=0;
Array.prototype.push.apply(this,a);
return this;
},each:function(fn,_10){
return _1.each(this,fn,_10);
},index:function(obj){
var pos=-1;
this.each(function(i){
if(this==obj){
pos=i;
}
});
return pos;
},attr:function(key,_15,_16){
var obj=key;
if(key.constructor==String){
if(_15==undefined){
return this.length&&_1[_16||"attr"](this[0],key)||undefined;
}else{
obj={};
obj[key]=_15;
}
}
return this.each(function(_18){
for(var _19 in obj){
_1.attr(_16?this.style:this,_19,_1.prop(this,obj[_19],_16,_18,_19));
}
});
},css:function(key,_1b){
return this.attr(key,_1b,"curCSS");
},text:function(e){
if(typeof e!="object"&&e!=null){
return this.empty().append(document.createTextNode(e));
}
var t="";
_1.each(e||this,function(){
_1.each(this.childNodes,function(){
if(this.nodeType!=8){
t+=this.nodeType!=1?this.nodeValue:_1.fn.text([this]);
}
});
});
return t;
},wrapAll:function(_1e){
if(this[0]){
_1(_1e,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){
var _1f=this;
while(_1f.firstChild){
_1f=_1f.firstChild;
}
return _1f;
}).append(this);
}
return this;
},wrapInner:function(_20){
return this.each(function(){
_1(this).contents().wrapAll(_20);
});
},wrap:function(_21){
return this.each(function(){
_1(this).wrapAll(_21);
});
},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||_1([]);
},find:function(t){
var _27=_1.map(this,function(a){
return _1.find(t,a);
});
return this.pushStack(/[^+>] [^+>]/.test(t)||t.indexOf("..")>-1?_1.unique(_27):_27);
},clone:function(_29){
var ret=this.map(function(){
return this.outerHTML?_1(this.outerHTML)[0]:this.cloneNode(true);
});
if(_29===true){
var _2b=ret.find("*").andSelf();
this.find("*").andSelf().each(function(i){
var _2d=_1.data(this,"events");
for(var _2e in _2d){
for(var _2f in _2d[_2e]){
_1.event.add(_2b[i],_2e,_2d[_2e][_2f],_2d[_2e][_2f].data);
}
}
});
}
return ret;
},filter:function(t){
return this.pushStack(_1.isFunction(t)&&_1.grep(this,function(el,_32){
return t.apply(el,[_32]);
})||_1.multiFilter(t,this));
},not:function(t){
return this.pushStack(t.constructor==String&&_1.multiFilter(t,this,true)||_1.grep(this,function(a){
return (t.constructor==Array||t.jquery)?_1.inArray(a,t)<0:a!=t;
}));
},add:function(t){
return this.pushStack(_1.merge(this.get(),t.constructor==String?_1(t).get():t.length!=undefined&&(!t.nodeName||t.nodeName=="FORM")?t:[t]));
},is:function(_36){
return _36?_1.multiFilter(_36,this).length>0:false;
},hasClass:function(_37){
return this.is("."+_37);
},val:function(val){
if(val==undefined){
if(this.length){
var _39=this[0];
if(_1.nodeName(_39,"select")){
var _3a=_39.selectedIndex,a=[],_3c=_39.options,one=_39.type=="select-one";
if(_3a<0){
return null;
}
for(var i=one?_3a:0,max=one?_3a+1:_3c.length;i<max;i++){
var _40=_3c[i];
if(_40.selected){
var val=_1.browser.msie&&!_40.attributes["value"].specified?_40.text:_40.value;
if(one){
return val;
}
a.push(val);
}
}
return a;
}else{
return this[0].value.replace(/\r/g,"");
}
}
}else{
return this.each(function(){
if(val.constructor==Array&&/radio|checkbox/.test(this.type)){
this.checked=(_1.inArray(this.value,val)>=0||_1.inArray(this.name,val)>=0);
}else{
if(_1.nodeName(this,"select")){
var tmp=val.constructor==Array?val:[val];
_1("option",this).each(function(){
this.selected=(_1.inArray(this.value,tmp)>=0||_1.inArray(this.text,tmp)>=0);
});
if(!tmp.length){
this.selectedIndex=-1;
}
}else{
this.value=val;
}
}
});
}
},html:function(val){
return val==undefined?(this.length?this[0].innerHTML:null):this.empty().append(val);
},replaceWith:function(val){
return this.after(val).remove();
},slice:function(){
return this.pushStack(Array.prototype.slice.apply(this,arguments));
},map:function(fn){
return this.pushStack(_1.map(this,function(_45,i){
return fn.call(_45,i,_45);
}));
},andSelf:function(){
return this.add(this.prevObject);
},domManip:function(_47,_48,dir,fn){
var _4b=this.length>1,a;
return this.each(function(){
if(!a){
a=_1.clean(_47,this.ownerDocument);
if(dir<0){
a.reverse();
}
}
var obj=this;
if(_48&&_1.nodeName(this,"table")&&_1.nodeName(a[0],"tr")){
obj=this.getElementsByTagName("tbody")[0]||this.appendChild(document.createElement("tbody"));
}
_1.each(a,function(){
if(_1.nodeName(this,"script")){
if(this.src){
_1.ajax({url:this.src,async:false,dataType:"script"});
}else{
_1.globalEval(this.text||this.textContent||this.innerHTML||"");
}
}else{
fn.apply(obj,[_4b?this.cloneNode(true):this]);
}
});
});
}};
_1.extend=_1.fn.extend=function(){
var _4e=arguments[0]||{},a=1,al=arguments.length,_51=false;
if(_4e.constructor==Boolean){
_51=_4e;
_4e=arguments[1]||{};
}
if(al==1){
_4e=this;
a=0;
}
var _52;
for(;a<al;a++){
if((_52=arguments[a])!=null){
for(var i in _52){
if(_4e==_52[i]){
continue;
}
if(_51&&typeof _52[i]=="object"&&_4e[i]){
_1.extend(_4e[i],_52[i]);
}else{
if(_52[i]!=undefined){
_4e[i]=_52[i];
}
}
}
}
}
return _4e;
};
var _54="jQuery"+(new Date()).getTime(),_55=0,win={};
_1.extend({noConflict:function(_57){
window.$=_$;
if(_57){
window.jQuery=_2;
}
return _1;
},isFunction:function(fn){
return !!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/function/i.test(fn+"");
},isXMLDoc:function(_59){
return _59.documentElement&&!_59.body||_59.tagName&&_59.ownerDocument&&!_59.ownerDocument.body;
},globalEval:function(_5a){
_5a=_1.trim(_5a);
if(_5a){
if(window.execScript){
window.execScript(_5a);
}else{
if(_1.browser.safari){
window.setTimeout(_5a,0);
}else{
eval.call(window,_5a);
}
}
}
},nodeName:function(_5b,_5c){
return _5b.nodeName&&_5b.nodeName.toUpperCase()==_5c.toUpperCase();
},cache:{},data:function(_5d,_5e,_5f){
_5d=_5d==window?win:_5d;
var id=_5d[_54];
if(!id){
id=_5d[_54]=++_55;
}
if(_5e&&!_1.cache[id]){
_1.cache[id]={};
}
if(_5f!=undefined){
_1.cache[id][_5e]=_5f;
}
return _5e?_1.cache[id][_5e]:id;
},removeData:function(_61,_62){
_61=_61==window?win:_61;
var id=_61[_54];
if(_62){
if(_1.cache[id]){
delete _1.cache[id][_62];
_62="";
for(_62 in _1.cache[id]){
break;
}
if(!_62){
_1.removeData(_61);
}
}
}else{
try{
delete _61[_54];
}
catch(e){
if(_61.removeAttribute){
_61.removeAttribute(_54);
}
}
delete _1.cache[id];
}
},each:function(obj,fn,_66){
if(_66){
if(obj.length==undefined){
for(var i in obj){
fn.apply(obj[i],_66);
}
}else{
for(var i=0,ol=obj.length;i<ol;i++){
if(fn.apply(obj[i],_66)===false){
break;
}
}
}
}else{
if(obj.length==undefined){
for(var i in obj){
fn.call(obj[i],i,obj[i]);
}
}else{
for(var i=0,ol=obj.length,val=obj[0];i<ol&&fn.call(val,i,val)!==false;val=obj[++i]){
}
}
}
return obj;
},prop:function(_6a,_6b,_6c,_6d,_6e){
if(_1.isFunction(_6b)){
_6b=_6b.call(_6a,[_6d]);
}
var _6f=/z-?index|font-?weight|opacity|zoom|line-?height/i;
return _6b&&_6b.constructor==Number&&_6c=="curCSS"&&!_6f.test(_6e)?_6b+"px":_6b;
},className:{add:function(_70,c){
_1.each((c||"").split(/\s+/),function(i,cur){
if(!_1.className.has(_70.className,cur)){
_70.className+=(_70.className?" ":"")+cur;
}
});
},remove:function(_74,c){
_74.className=c!=undefined?_1.grep(_74.className.split(/\s+/),function(cur){
return !_1.className.has(c,cur);
}).join(" "):"";
},has:function(t,c){
return _1.inArray(c,(t.className||t).toString().split(/\s+/))>-1;
}},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={},_80,_81,d=["Top","Bottom","Right","Left"];
_1.each(d,function(){
old["padding"+this]=0;
old["border"+this+"Width"]=0;
});
_1.swap(e,old,function(){
if(_1(e).is(":visible")){
_80=e.offsetHeight;
_81=e.offsetWidth;
}else{
e=_1(e.cloneNode(true)).find(":radio").removeAttr("checked").end().css({visibility:"hidden",position:"absolute",display:"block",right:"0",left:"0"}).appendTo(e.parentNode)[0];
var _83=_1.css(e.parentNode,"position")||"static";
if(_83=="static"){
e.parentNode.style.position="relative";
}
_80=e.clientHeight;
_81=e.clientWidth;
if(_83=="static"){
e.parentNode.style.position="static";
}
e.parentNode.removeChild(e);
}
});
return p=="height"?_80:_81;
}
return _1.curCSS(e,p);
},curCSS:function(_84,_85,_86){
var ret,_88=[],_89=[];
function color(a){
if(!_1.browser.safari){
return false;
}
var ret=document.defaultView.getComputedStyle(a,null);
return !ret||ret.getPropertyValue("color")=="";
}
if(_85=="opacity"&&_1.browser.msie){
ret=_1.attr(_84.style,"opacity");
return ret==""?"1":ret;
}
if(_85.match(/float/i)){
_85=styleFloat;
}
if(!_86&&_84.style[_85]){
ret=_84.style[_85];
}else{
if(document.defaultView&&document.defaultView.getComputedStyle){
if(_85.match(/float/i)){
_85="float";
}
_85=_85.replace(/([A-Z])/g,"-$1").toLowerCase();
var cur=document.defaultView.getComputedStyle(_84,null);
if(cur&&!color(_84)){
ret=cur.getPropertyValue(_85);
}else{
for(var a=_84;a&&color(a);a=a.parentNode){
_88.unshift(a);
}
for(a=0;a<_88.length;a++){
if(color(_88[a])){
_89[a]=_88[a].style.display;
_88[a].style.display="block";
}
}
ret=_85=="display"&&_89[_88.length-1]!=null?"none":document.defaultView.getComputedStyle(_84,null).getPropertyValue(_85)||"";
for(a=0;a<_89.length;a++){
if(_89[a]!=null){
_88[a].style.display=_89[a];
}
}
}
if(_85=="opacity"&&ret==""){
ret="1";
}
}else{
if(_84.currentStyle){
var _8e=_85.replace(/\-(\w)/g,function(m,c){
return c.toUpperCase();
});
ret=_84.currentStyle[_85]||_84.currentStyle[_8e];
if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){
var _91=_84.style.left;
var _92=_84.runtimeStyle.left;
_84.runtimeStyle.left=_84.currentStyle.left;
_84.style.left=ret||0;
ret=_84.style.pixelLeft+"px";
_84.style.left=_91;
_84.runtimeStyle.left=_92;
}
}
}
}
return ret;
},clean:function(a,doc){
var r=[];
doc=doc||document;
_1.each(a,function(i,arg){
if(!arg){
return;
}
if(arg.constructor==Number){
arg=arg.toString();
}
if(typeof arg=="string"){
arg=arg.replace(/(<(\w+)[^>]*?)\/>/g,function(m,all,tag){
return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area)$/i)?m:all+"></"+tag+">";
});
var s=_1.trim(arg).toLowerCase(),div=doc.createElement("div"),tb=[];
var _9e=!s.indexOf("<opt")&&[1,"<select>","</select>"]||!s.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||s.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!s.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!s.indexOf("<td")||!s.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!s.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||_1.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];
div.innerHTML=_9e[1]+arg+_9e[2];
while(_9e[0]--){
div=div.lastChild;
}
if(_1.browser.msie){
if(!s.indexOf("<table")&&s.indexOf("<tbody")<0){
tb=div.firstChild&&div.firstChild.childNodes;
}else{
if(_9e[1]=="<table>"&&s.indexOf("<tbody")<0){
tb=div.childNodes;
}
}
for(var n=tb.length-1;n>=0;--n){
if(_1.nodeName(tb[n],"tbody")&&!tb[n].childNodes.length){
tb[n].parentNode.removeChild(tb[n]);
}
}
if(/^\s/.test(arg)){
div.insertBefore(doc.createTextNode(arg.match(/^\s*/)[0]),div.firstChild);
}
}
arg=_1.makeArray(div.childNodes);
}
if(0===arg.length&&(!_1.nodeName(arg,"form")&&!_1.nodeName(arg,"select"))){
return;
}
if(arg[0]==undefined||_1.nodeName(arg,"form")||arg.options){
r.push(arg);
}else{
r=_1.merge(r,arg);
}
});
return r;
},attr:function(_a0,_a1,_a2){
var fix=_1.isXMLDoc(_a0)?{}:_1.props;
if(_a1=="selected"&&_1.browser.safari){
_a0.parentNode.selectedIndex;
}
if(fix[_a1]){
if(_a2!=undefined){
_a0[fix[_a1]]=_a2;
}
return _a0[fix[_a1]];
}else{
if(_1.browser.msie&&_a1=="style"){
return _1.attr(_a0.style,"cssText",_a2);
}else{
if(_a2==undefined&&_1.browser.msie&&_1.nodeName(_a0,"form")&&(_a1=="action"||_a1=="method")){
return _a0.getAttributeNode(_a1).nodeValue;
}else{
if(_a0.tagName){
if(_a2!=undefined){
if(_a1=="type"&&_1.nodeName(_a0,"input")&&_a0.parentNode){
throw "type property can't be changed";
}
_a0.setAttribute(_a1,_a2);
}
if(_1.browser.msie&&/href|src/.test(_a1)&&!_1.isXMLDoc(_a0)){
return _a0.getAttribute(_a1,2);
}
return _a0.getAttribute(_a1);
}else{
if(_a1=="opacity"&&_1.browser.msie){
if(_a2!=undefined){
_a0.zoom=1;
_a0.filter=(_a0.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(_a2).toString()=="NaN"?"":"alpha(opacity="+_a2*100+")");
}
return _a0.filter?(parseFloat(_a0.filter.match(/opacity=([^)]*)/)[1])/100).toString():"";
}
_a1=_a1.replace(/-([a-z])/ig,function(z,b){
return b.toUpperCase();
});
if(_a2!=undefined){
_a0[_a1]=_a2;
}
return _a0[_a1];
}
}
}
}
},trim:function(t){
return (t||"").replace(/^\s+|\s+$/g,"");
},makeArray:function(a){
var r=[];
if(typeof a!="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(_af,_b0){
if(_1.browser.msie){
for(var i=0;_b0[i];i++){
if(_b0[i].nodeType!=8){
_af.push(_b0[i]);
}
}
}else{
for(var i=0;_b0[i];i++){
_af.push(_b0[i]);
}
}
return _af;
},unique:function(_b2){
var r=[],_b4={};
try{
for(var i=0,fl=_b2.length;i<fl;i++){
var id=_1.data(_b2[i]);
if(!_b4[id]){
_b4[id]=true;
r.push(_b2[i]);
}
}
}
catch(e){
r=_b2;
}
return r;
},grep:function(_b8,fn,inv){
if(typeof fn=="string"){
fn=eval("false||function(a,i){return "+fn+"}");
}
var _bb=[];
for(var i=0,el=_b8.length;i<el;i++){
if(!inv&&fn(_b8[i],i)||inv&&!fn(_b8[i],i)){
_bb.push(_b8[i]);
}
}
return _bb;
},map:function(_be,fn){
if(typeof fn=="string"){
fn=eval("false||function(a){return "+fn+"}");
}
var _c0=[];
for(var i=0,el=_be.length;i<el;i++){
var val=fn(_be[i],i);
if(val!==null&&val!=undefined){
if(val.constructor!=Array){
val=[val];
}
_c0=_c0.concat(val);
}
}
return _c0;
}});
var _c4=navigator.userAgent.toLowerCase();
_1.browser={version:(_c4.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(_c4),opera:/opera/.test(_c4),msie:/msie/.test(_c4)&&!/opera/.test(_c4),mozilla:/mozilla/.test(_c4)&&!/(compatible|webkit)/.test(_c4)};
var _c5=_1.browser.msie?"styleFloat":"cssFloat";
_1.extend({boxModel:!_1.browser.msie||document.compatMode=="CSS1Compat",styleFloat:_1.browser.msie?"styleFloat":"cssFloat",props:{"for":"htmlFor","class":"className","float":_c5,cssFloat:_c5,styleFloat:_c5,innerHTML:"innerHTML",className:"className",value:"value",disabled:"disabled",checked:"checked",readonly:"readOnly",selected:"selected",maxlength:"maxLength"}});
_1.each({parent:"a.parentNode",parents:"jQuery.dir(a,'parentNode')",next:"jQuery.nth(a,2,'nextSibling')",prev:"jQuery.nth(a,2,'previousSibling')",nextAll:"jQuery.dir(a,'nextSibling')",prevAll:"jQuery.dir(a,'previousSibling')",siblings:"jQuery.sibling(a.parentNode.firstChild,a)",children:"jQuery.sibling(a.firstChild)",contents:"jQuery.nodeName(a,'iframe')?a.contentDocument||a.contentWindow.document:jQuery.makeArray(a.childNodes)"},function(i,n){
_1.fn[i]=function(a){
var ret=_1.map(this,n);
if(a&&typeof a=="string"){
ret=_1.multiFilter(a,ret);
}
return this.pushStack(_1.unique(ret));
};
});
_1.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(i,n){
_1.fn[i]=function(){
var a=arguments;
return this.each(function(){
for(var j=0,al=a.length;j<al;j++){
_1(a[j])[n](this);
}
});
};
});
_1.each({removeAttr:function(key){
_1.attr(this,key,"");
this.removeAttribute(key);
},addClass:function(c){
_1.className.add(this,c);
},removeClass:function(c){
_1.className.remove(this,c);
},toggleClass:function(c){
_1.className[_1.className.has(this,c)?"remove":"add"](this,c);
},remove:function(a){
if(!a||_1.filter(a,[this]).r.length){
_1.removeData(this);
this.parentNode.removeChild(this);
}
},empty:function(){
_1("*",this).each(function(){
_1.removeData(this);
});
while(this.firstChild){
this.removeChild(this.firstChild);
}
}},function(i,n){
_1.fn[i]=function(){
return this.each(n,arguments);
};
});
_1.each(["Height","Width"],function(i,_d7){
var n=_d7.toLowerCase();
_1.fn[n]=function(h){
return this[0]==window?_1.browser.safari&&self["inner"+_d7]||_1.boxModel&&Math.max(document.documentElement["client"+_d7],document.body["client"+_d7])||document.body["client"+_d7]:this[0]==document?Math.max(document.body["scroll"+_d7],document.body["offset"+_d7]):h==undefined?(this.length?_1.css(this[0],n):null):this.css(n,h.constructor==String?h:h+"px");
};
});
var _da=_1.browser.safari&&parseInt(_1.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uffff*_-]|\\\\.)",_db=new RegExp("^>\\s*("+_da+"+)"),_dc=new RegExp("^("+_da+"+)(#)("+_da+"+)"),_dd=new RegExp("^([#.]?)("+_da+"*)");
_1.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","first-child":"a.parentNode.getElementsByTagName('*')[0]==a","last-child":"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a","only-child":"!jQuery.nth(a.parentNode.lastChild,2,'previousSibling')",parent:"a.firstChild",empty:"!a.firstChild",contains:"(a.textContent||a.innerText||'').indexOf(m[3])>=0",visible:"\"hidden\"!=a.type&&jQuery.css(a,\"display\")!=\"none\"&&jQuery.css(a,\"visibility\")!=\"hidden\"",hidden:"\"hidden\"==a.type||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:"'text'==a.type",radio:"'radio'==a.type",checkbox:"'checkbox'==a.type",file:"'file'==a.type",password:"'password'==a.type",submit:"'submit'==a.type",image:"'image'==a.type",reset:"'reset'==a.type",button:"\"button\"==a.type||jQuery.nodeName(a,\"button\")",input:"/input|select|textarea|button/i.test(a.nodeName)",has:"jQuery.find(m[3],a).length",header:"/h\\d/i.test(a.nodeName)",animated:"jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length"}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+_da+"+)")],multiFilter:function(_de,_df,not){
var old,cur=[];
while(_de&&_de!=old){
old=_de;
var f=_1.filter(_de,_df,not);
_de=f.t.replace(/^\s*,\s*/,"");
cur=not?_df=f.r:_1.merge(cur,f.r);
}
return cur;
},find:function(t,_e5){
if(typeof t!="string"){
return [t];
}
if(_e5&&!_e5.nodeType){
_e5=null;
}
_e5=_e5||document;
var ret=[_e5],_e7=[],_e8;
while(t&&_e8!=t){
var r=[];
_e8=t;
t=_1.trim(t);
var _ea=false;
var re=_db;
var m=re.exec(t);
if(m){
var _ed=m[1].toUpperCase();
for(var i=0;ret[i];i++){
for(var c=ret[i].firstChild;c;c=c.nextSibling){
if(c.nodeType==1&&(_ed=="*"||c.nodeName.toUpperCase()==_ed.toUpperCase())){
r.push(c);
}
}
}
ret=r;
t=t.replace(re,"");
if(t.indexOf(" ")==0){
continue;
}
_ea=true;
}else{
re=/^([>+~])\s*(\w*)/i;
if((m=re.exec(t))!=null){
r=[];
var _ed=m[2],_f0={};
m=m[1];
for(var j=0,rl=ret.length;j<rl;j++){
var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;
for(;n;n=n.nextSibling){
if(n.nodeType==1){
var id=_1.data(n);
if(m=="~"&&_f0[id]){
break;
}
if(!_ed||n.nodeName.toUpperCase()==_ed.toUpperCase()){
if(m=="~"){
_f0[id]=true;
}
r.push(n);
}
if(m=="+"){
break;
}
}
}
}
ret=r;
t=_1.trim(t.replace(re,""));
_ea=true;
}
}
if(t&&!_ea){
if(!t.indexOf(",")){
if(_e5==ret[0]){
ret.shift();
}
_e7=_1.merge(_e7,ret);
r=ret=[_e5];
t=" "+t.substr(1,t.length);
}else{
var re2=_dc;
var m=re2.exec(t);
if(m){
m=[0,m[2],m[3],m[1]];
}else{
re2=_dd;
m=re2.exec(t);
}
m[2]=m[2].replace(/\\/g,"");
var _f6=ret[ret.length-1];
if(m[1]=="#"&&_f6&&_f6.getElementById&&!_1.isXMLDoc(_f6)){
var oid=_f6.getElementById(m[2]);
if((_1.browser.msie||_1.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2]){
oid=_1("[@id=\""+m[2]+"\"]",_f6)[0];
}
ret=r=oid&&(!m[3]||_1.nodeName(oid,m[3]))?[oid]:[];
}else{
for(var i=0;ret[i];i++){
var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];
if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object"){
tag="param";
}
r=_1.merge(r,ret[i].getElementsByTagName(tag));
}
if(m[1]=="."){
r=_1.classFilter(r,m[2]);
}
if(m[1]=="#"){
var tmp=[];
for(var i=0;r[i];i++){
if(r[i].getAttribute("id")==m[2]){
tmp=[r[i]];
break;
}
}
r=tmp;
}
ret=r;
}
t=t.replace(re2,"");
}
}
if(t){
var val=_1.filter(t,r);
ret=r=val.r;
t=_1.trim(val.t);
}
}
if(t){
ret=[];
}
if(ret&&_e5==ret[0]){
ret.shift();
}
_e7=_1.merge(_e7,ret);
return _e7;
},classFilter:function(r,m,not){
m=" "+m+" ";
var tmp=[];
for(var i=0;r[i];i++){
var pass=(" "+r[i].className+" ").indexOf(m)>=0;
if(!not&&pass||not&&!pass){
tmp.push(r[i]);
}
}
return tmp;
},filter:function(t,r,not){
var last;
while(t&&t!=last){
last=t;
var p=_1.parse,m;
for(var i=0;p[i];i++){
m=p[i].exec(t);
if(m){
t=t.substring(m[0].length);
m[2]=m[2].replace(/\\/g,"");
break;
}
}
if(!m){
break;
}
if(m[1]==":"&&m[2]=="not"){
r=_1.filter(m[3],r,true).r;
}else{
if(m[1]=="."){
r=_1.classFilter(r,m[2],not);
}else{
if(m[1]=="["){
var tmp=[],type=m[3];
for(var i=0,rl=r.length;i<rl;i++){
var a=r[i],z=a[_1.props[m[2]]||m[2]];
if(z==null||/href|src|selected/.test(m[2])){
z=_1.attr(a,m[2])||"";
}
if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not){
tmp.push(a);
}
}
r=tmp;
}else{
if(m[1]==":"&&m[2]=="nth-child"){
var _10d={},tmp=[],test=/(\d*)n\+?(\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"n+"+m[3]||m[3]),_10f=(test[1]||1)-0,last=test[2]-0;
for(var i=0,rl=r.length;i<rl;i++){
var node=r[i],_111=node.parentNode,id=_1.data(_111);
if(!_10d[id]){
var c=1;
for(var n=_111.firstChild;n;n=n.nextSibling){
if(n.nodeType==1){
n.nodeIndex=c++;
}
}
_10d[id]=true;
}
var add=false;
if(_10f==1){
if(last==0||node.nodeIndex==last){
add=true;
}
}else{
if((node.nodeIndex+last)%_10f==0){
add=true;
}
}
if(add^not){
tmp.push(node);
}
}
r=tmp;
}else{
var f=_1.expr[m[1]];
if(typeof f!="string"){
f=_1.expr[m[1]][m[2]];
}
f=eval("false||function(a,i){return "+f+"}");
r=_1.grep(r,f,not);
}
}
}
}
}
return {r:r,t:t};
},dir:function(elem,dir){
var _119=[];
var cur=elem[dir];
while(cur&&cur!=document){
if(cur.nodeType==1){
_119.push(cur);
}
cur=cur[dir];
}
return _119;
},nth:function(cur,_11c,dir,elem){
_11c=_11c||1;
var num=0;
for(;cur;cur=cur[dir]){
if(cur.nodeType==1&&++num==_11c){
break;
}
}
return cur;
},sibling:function(n,elem){
var r=[];
for(;n;n=n.nextSibling){
if(n.nodeType==1&&(!elem||n!=elem)){
r.push(n);
}
}
return r;
}});
_1.event={add:function(_123,type,_125,data){
if(_1.browser.msie&&_123.setInterval!=undefined){
_123=window;
}
if(!_125.guid){
_125.guid=this.guid++;
}
if(data!=undefined){
var fn=_125;
_125=function(){
return fn.apply(this,arguments);
};
_125.data=data;
_125.guid=fn.guid;
}
var _128=type.split(".");
type=_128[0];
_125.type=_128[1];
var _129=_1.data(_123,"events")||_1.data(_123,"events",{});
var _12a=_1.data(_123,"handle",function(){
var val;
if(typeof _1=="undefined"||_1.event.triggered){
return val;
}
val=_1.event.handle.apply(_123,arguments);
return val;
});
var _12c=_129[type];
if(!_12c){
_12c=_129[type]={};
if(_123.addEventListener){
_123.addEventListener(type,_12a,false);
}else{
_123.attachEvent("on"+type,_12a);
}
}
_12c[_125.guid]=_125;
this.global[type]=true;
},guid:1,global:{},remove:function(_12d,type,_12f){
var _130=_1.data(_12d,"events"),ret,_132;
if(typeof type=="string"){
var _133=type.split(".");
type=_133[0];
}
if(_130){
if(type&&type.type){
_12f=type.handler;
type=type.type;
}
if(!type){
for(type in _130){
this.remove(_12d,type);
}
}else{
if(_130[type]){
if(_12f){
delete _130[type][_12f.guid];
}else{
for(_12f in _130[type]){
if(!_133[1]||_130[type][_12f].type==_133[1]){
delete _130[type][_12f];
}
}
}
for(ret in _130[type]){
break;
}
if(!ret){
if(_12d.removeEventListener){
_12d.removeEventListener(type,_1.data(_12d,"handle"),false);
}else{
_12d.detachEvent("on"+type,_1.data(_12d,"handle"));
}
ret=null;
delete _130[type];
}
}
}
for(ret in _130){
break;
}
if(!ret){
_1.removeData(_12d,"events");
_1.removeData(_12d,"handle");
}
}
},trigger:function(type,data,_136,_137,_138){
data=_1.makeArray(data||[]);
if(!_136){
if(this.global[type]){
_1("*").add([window,document]).trigger(type,data);
}
}else{
var val,ret,fn=_1.isFunction(_136[type]||null),evt=!data[0]||!data[0].preventDefault;
if(evt){
data.unshift(this.fix({type:type,target:_136}));
}
if(_1.isFunction(_1.data(_136,"handle"))){
val=_1.data(_136,"handle").apply(_136,data);
}
if(!fn&&_136["on"+type]&&_136["on"+type].apply(_136,data)===false){
val=false;
}
if(evt){
data.shift();
}
if(_138&&_138.apply(_136,data)===false){
val=false;
}
if(fn&&_137!==false&&val!==false&&!(_1.nodeName(_136,"a")&&type=="click")){
this.triggered=true;
_136[type]();
}
this.triggered=false;
}
return val;
},handle:function(_13d){
var val;
_13d=_1.event.fix(_13d||window.event||{});
var _13f=_13d.type.split(".");
_13d.type=_13f[0];
var c=_1.data(this,"events")&&_1.data(this,"events")[_13d.type],args=Array.prototype.slice.call(arguments,1);
args.unshift(_13d);
for(var j in c){
args[0].handler=c[j];
args[0].data=c[j].data;
if(!_13f[1]||c[j].type==_13f[1]){
var tmp=c[j].apply(this,args);
if(val!==false){
val=tmp;
}
if(tmp===false){
_13d.preventDefault();
_13d.stopPropagation();
}
}
}
if(_1.browser.msie){
_13d.target=_13d.preventDefault=_13d.stopPropagation=_13d.handler=_13d.data=null;
}
return val;
},fix:function(_144){
var _145=_144;
_144=_1.extend({},_145);
_144.preventDefault=function(){
if(_145.preventDefault){
_145.preventDefault();
}
_145.returnValue=false;
};
_144.stopPropagation=function(){
if(_145.stopPropagation){
_145.stopPropagation();
}
_145.cancelBubble=true;
};
if(!_144.target&&_144.srcElement){
_144.target=_144.srcElement;
}
if(_1.browser.safari&&_144.target.nodeType==3){
_144.target=_145.target.parentNode;
}
if(!_144.relatedTarget&&_144.fromElement){
_144.relatedTarget=_144.fromElement==_144.target?_144.toElement:_144.fromElement;
}
if(_144.pageX==null&&_144.clientX!=null){
var e=document.documentElement,b=document.body;
_144.pageX=_144.clientX+(e&&e.scrollLeft||b.scrollLeft||0);
_144.pageY=_144.clientY+(e&&e.scrollTop||b.scrollTop||0);
}
if(!_144.which&&(_144.charCode||_144.keyCode)){
_144.which=_144.charCode||_144.keyCode;
}
if(!_144.metaKey&&_144.ctrlKey){
_144.metaKey=_144.ctrlKey;
}
if(!_144.which&&_144.button){
_144.which=(_144.button&1?1:(_144.button&2?3:(_144.button&4?2:0)));
}
return _144;
}};
_1.fn.extend({bind:function(type,data,fn){
return type=="unload"?this.one(type,data,fn):this.each(function(){
_1.event.add(this,type,fn||data,fn&&data);
});
},one:function(type,data,fn){
return this.each(function(){
_1.event.add(this,type,function(_14e){
_1(this).unbind(_14e);
return (fn||data).apply(this,arguments);
},fn&&data);
});
},unbind:function(type,fn){
return this.each(function(){
_1.event.remove(this,type,fn);
});
},trigger:function(type,data,fn){
return this.each(function(){
_1.event.trigger(type,data,this,true,fn);
});
},triggerHandler:function(type,data,fn){
if(this[0]){
return _1.event.trigger(type,data,this[0],false,fn);
}
},toggle:function(){
var a=arguments;
return this.click(function(e){
this.lastToggle=0==this.lastToggle?1:0;
e.preventDefault();
return a[this.lastToggle].apply(this,[e])||false;
});
},hover:function(f,g){
function handleHover(e){
var p=e.relatedTarget;
while(p&&p!=this){
try{
p=p.parentNode;
}
catch(e){
p=this;
}
}
if(p==this){
return false;
}
return (e.type=="mouseover"?f:g).apply(this,[e]);
}
return this.mouseover(handleHover).mouseout(handleHover);
},ready:function(f){
bindReady();
if(_1.isReady){
f.apply(document,[_1]);
}else{
_1.readyList.push(function(){
return f.apply(this,[_1]);
});
}
return this;
}});
_1.extend({isReady:false,readyList:[],ready:function(){
if(!_1.isReady){
_1.isReady=true;
if(_1.readyList){
_1.each(_1.readyList,function(){
this.apply(document);
});
_1.readyList=null;
}
if(_1.browser.mozilla||_1.browser.opera){
document.removeEventListener("DOMContentLoaded",_1.ready,false);
}
if(!window.frames.length){
_1(window).load(function(){
_1("#__ie_init").remove();
});
}
}
}});
_1.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(i,o){
_1.fn[o]=function(f){
return f?this.bind(o,f):this.trigger(o);
};
});
var _161=false;
function bindReady(){
if(_161){
return;
}
_161=true;
if(_1.browser.mozilla||_1.browser.opera){
document.addEventListener("DOMContentLoaded",_1.ready,false);
}else{
if(_1.browser.msie){
document.write("<scr"+"ipt id=__ie_init defer=true "+"src=//:></script>");
var _162=document.getElementById("__ie_init");
if(_162){
_162.onreadystatechange=function(){
if(this.readyState!="complete"){
return;
}
_1.ready();
};
}
_162=null;
}else{
if(_1.browser.safari){
_1.safariTimer=setInterval(function(){
if(document.readyState=="loaded"||document.readyState=="complete"){
clearInterval(_1.safariTimer);
_1.safariTimer=null;
_1.ready();
}
},10);
}
}
}
_1.event.add(window,"load",_1.ready);
}
_1.fn.extend({load:function(url,_164,_165){
if(_1.isFunction(url)){
return this.bind("load",url);
}
var off=url.indexOf(" ");
if(off>=0){
var _167=url.slice(off,url.length);
url=url.slice(0,off);
}
_165=_165||function(){
};
var type="GET";
if(_164){
if(_1.isFunction(_164)){
_165=_164;
_164=null;
}else{
_164=_1.param(_164);
type="POST";
}
}
var self=this;
_1.ajax({url:url,type:type,data:_164,complete:function(res,_16b){
if(_16b=="success"||_16b=="notmodified"){
self.html(_167?_1("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(_167):res.responseText);
}
setTimeout(function(){
self.each(_165,[res.responseText,_16b,res]);
},13);
}});
return this;
},serialize:function(){
return _1.param(this.serializeArray());
},serializeArray:function(){
return this.map(function(){
return _1.nodeName(this,"form")?_1.makeArray(this.elements):this;
}).filter(function(){
return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));
}).map(function(i,elem){
var val=_1(this).val();
return val==null?null:val.constructor==Array?_1.map(val,function(i,val){
return {name:elem.name,value:val};
}):{name:elem.name,value:val};
}).get();
}});
_1.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){
_1.fn[o]=function(f){
return this.bind(o,f);
};
});
var jsc=(new Date).getTime();
_1.extend({get:function(url,data,_177,type){
if(_1.isFunction(data)){
_177=data;
data=null;
}
return _1.ajax({type:"GET",url:url,data:data,success:_177,dataType:type});
},getScript:function(url,_17a){
return _1.get(url,null,_17a,"script");
},getJSON:function(url,data,_17d){
return _1.get(url,data,_17d,"json");
},post:function(url,data,_180,type){
if(_1.isFunction(data)){
_180=data;
data={};
}
return _1.ajax({type:"POST",url:url,data:data,success:_180,dataType:type});
},ajaxSetup:function(_182){
_1.extend(_1.ajaxSettings,_182);
},ajaxSettings:{global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null},lastModified:{},ajax:function(s){
var _184,jsre=/=(\?|%3F)/g,_186,data;
s=_1.extend(true,s,_1.extend(true,{},_1.ajaxSettings,s));
if(s.data&&s.processData&&typeof s.data!="string"){
s.data=_1.param(s.data);
}
var q=s.url.indexOf("?");
if(q>-1){
s.data=(s.data?s.data+"&":"")+s.url.slice(q+1);
s.url=s.url.slice(0,q);
}
if(s.dataType=="jsonp"){
if(!s.data||!s.data.match(jsre)){
s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";
}
s.dataType="json";
}
if(s.dataType=="json"&&s.data&&s.data.match(jsre)){
_184="jsonp"+jsc++;
s.data=s.data.replace(jsre,"="+_184);
s.dataType="script";
window[_184]=function(tmp){
data=tmp;
success();
window[_184]=undefined;
try{
delete window[_184];
}
catch(e){
}
};
}
if(s.dataType=="script"&&s.cache==null){
s.cache=false;
}
if(s.cache===false&&s.type.toLowerCase()=="get"){
s.data=(s.data?s.data+"&":"")+"_="+(new Date()).getTime();
}
if(s.data&&s.type.toLowerCase()=="get"){
s.url+="?"+s.data;
s.data=null;
}
if(s.global&&!_1.active++){
_1.event.trigger("ajaxStart");
}
if(!s.url.indexOf("http")&&s.dataType=="script"){
var head=document.getElementsByTagName("head")[0];
var _18b=document.createElement("script");
_18b.src=s.url;
if(!_184&&(s.success||s.complete)){
var done=false;
_18b.onload=_18b.onreadystatechange=function(){
if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){
done=true;
success();
complete();
head.removeChild(_18b);
}
};
}
head.appendChild(_18b);
return;
}
var _18d=false;
var xml=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();
xml.open(s.type,s.url,s.async);
if(s.data){
xml.setRequestHeader("Content-Type",s.contentType);
}
if(s.ifModified){
xml.setRequestHeader("If-Modified-Since",_1.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");
}
xml.setRequestHeader("X-Requested-With","XMLHttpRequest");
if(s.beforeSend){
s.beforeSend(xml);
}
if(s.global){
_1.event.trigger("ajaxSend",[xml,s]);
}
var _18f=function(_190){
if(!_18d&&xml&&(xml.readyState==4||_190=="timeout")){
_18d=true;
if(ival){
clearInterval(ival);
ival=null;
}
_186=_190=="timeout"&&"timeout"||!_1.httpSuccess(xml)&&"error"||s.ifModified&&_1.httpNotModified(xml,s.url)&&"notmodified"||"success";
if(_186=="success"){
try{
data=_1.httpData(xml,s.dataType);
}
catch(e){
_186="parsererror";
}
}
if(_186=="success"){
var _192;
try{
_192=xml.getResponseHeader("Last-Modified");
}
catch(e){
}
if(s.ifModified&&_192){
_1.lastModified[s.url]=_192;
}
if(!_184){
success();
}
}else{
_1.handleError(s,xml,_186);
}
complete();
if(s.async){
xml=null;
}
}
};
if(s.async){
var ival=setInterval(_18f,13);
if(s.timeout>0){
setTimeout(function(){
if(xml){
xml.abort();
if(!_18d){
_18f("timeout");
}
}
},s.timeout);
}
}
try{
xml.send(s.data);
}
catch(e){
_1.handleError(s,xml,null,e);
}
if(!s.async){
_18f();
}
return xml;
function success(){
if(s.success){
s.success(data,_186);
}
if(s.global){
_1.event.trigger("ajaxSuccess",[xml,s]);
}
}
function complete(){
if(s.complete){
s.complete(xml,_186);
}
if(s.global){
_1.event.trigger("ajaxComplete",[xml,s]);
}
if(s.global&&!--_1.active){
_1.event.trigger("ajaxStop");
}
}
},handleError:function(s,xml,_195,e){
if(s.error){
s.error(xml,_195,e);
}
if(s.global){
_1.event.trigger("ajaxError",[xml,s,e]);
}
},active:0,httpSuccess:function(r){
try{
return !r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||_1.browser.safari&&r.status==undefined;
}
catch(e){
}
return false;
},httpNotModified:function(xml,url){
try{
var _19a=xml.getResponseHeader("Last-Modified");
return xml.status==304||_19a==_1.lastModified[url]||_1.browser.safari&&xml.status==undefined;
}
catch(e){
}
return false;
},httpData:function(r,type){
var ct=r.getResponseHeader("content-type");
var xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0;
var data=xml?r.responseXML:r.responseText;
if(xml&&data.documentElement.tagName=="parsererror"){
throw "parsererror";
}
if(type=="script"){
_1.globalEval(data);
}
if(type=="json"){
data=eval("("+data+")");
}
return data;
},param:function(a){
var s=[];
if(a.constructor==Array||a.jquery){
_1.each(a,function(){
s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));
});
}else{
for(var j in a){
if(a[j]&&a[j].constructor==Array){
_1.each(a[j],function(){
s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));
});
}else{
s.push(encodeURIComponent(j)+"="+encodeURIComponent(a[j]));
}
}
}
return s.join("&").replace(/%20/g,"+");
}});
_1.fn.extend({show:function(_1a3,_1a4){
return _1a3?this.animate({height:"show",width:"show",opacity:"show"},_1a3,_1a4):this.filter(":hidden").each(function(){
this.style.display=this.oldblock?this.oldblock:"";
if(_1.css(this,"display")=="none"){
this.style.display="block";
}
}).end();
},hide:function(_1a5,_1a6){
return _1a5?this.animate({height:"hide",width:"hide",opacity:"hide"},_1a5,_1a6):this.filter(":visible").each(function(){
this.oldblock=this.oldblock||_1.css(this,"display");
if(this.oldblock=="none"){
this.oldblock="block";
}
this.style.display="none";
}).end();
},_toggle:_1.fn.toggle,toggle:function(fn,fn2){
return _1.isFunction(fn)&&_1.isFunction(fn2)?this._toggle(fn,fn2):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){
_1(this)[_1(this).is(":hidden")?"show":"hide"]();
});
},slideDown:function(_1a9,_1aa){
return this.animate({height:"show"},_1a9,_1aa);
},slideUp:function(_1ab,_1ac){
return this.animate({height:"hide"},_1ab,_1ac);
},slideToggle:function(_1ad,_1ae){
return this.animate({height:"toggle"},_1ad,_1ae);
},fadeIn:function(_1af,_1b0){
return this.animate({opacity:"show"},_1af,_1b0);
},fadeOut:function(_1b1,_1b2){
return this.animate({opacity:"hide"},_1b1,_1b2);
},fadeTo:function(_1b3,to,_1b5){
return this.animate({opacity:to},_1b3,_1b5);
},animate:function(prop,_1b7,_1b8,_1b9){
var opt=_1.speed(_1b7,_1b8,_1b9);
return this[opt.queue===false?"each":"queue"](function(){
opt=_1.extend({},opt);
var _1bb=_1(this).is(":hidden"),self=this;
for(var p in prop){
if(prop[p]=="hide"&&_1bb||prop[p]=="show"&&!_1bb){
return _1.isFunction(opt.complete)&&opt.complete.apply(this);
}
if(p=="height"||p=="width"){
opt.display=_1.css(this,"display");
opt.overflow=this.style.overflow;
}
}
if(opt.overflow!=null){
this.style.overflow="hidden";
}
opt.curAnim=_1.extend({},prop);
_1.each(prop,function(name,val){
var e=new _1.fx(self,opt,name);
if(/toggle|show|hide/.test(val)){
e[val=="toggle"?_1bb?"show":"hide":val](prop);
}else{
var _1c1=val.toString().match(/^([+-]?)([\d.]+)(.*)$/),_1c2=e.cur(true)||0;
if(_1c1){
end=parseFloat(_1c1[2]),unit=_1c1[3]||"px";
if(unit!="px"){
self.style[name]=end+unit;
_1c2=(end/e.cur(true))*_1c2;
self.style[name]=_1c2+unit;
}
if(_1c1[1]){
end=((_1c1[1]=="-"?-1:1)*end)+_1c2;
}
e.custom(_1c2,end,unit);
}else{
e.custom(_1c2,val,"");
}
}
});
return true;
});
},queue:function(type,fn){
if(!fn){
fn=type;
type="fx";
}
if(!arguments.length){
return queue(this[0],type);
}
return this.each(function(){
if(fn.constructor==Array){
_1c5(this,type,fn);
}else{
_1c5(this,type).push(fn);
if(_1c5(this,type).length==1){
fn.apply(this);
}
}
});
},stop:function(){
var _1c6=_1.timers;
return this.each(function(){
for(var i=0;i<_1c6.length;i++){
if(_1c6[i].elem==this){
_1c6.splice(i--,1);
}
}
}).dequeue();
}});
var _1c5=function(elem,type,_1ca){
if(!elem){
return;
}
var q=_1.data(elem,type+"queue");
if(!q||_1ca){
q=_1.data(elem,type+"queue",_1ca?_1.makeArray(_1ca):[]);
}
return q;
};
_1.fn.dequeue=function(type){
type=type||"fx";
return this.each(function(){
var q=_1c5(this,type);
q.shift();
if(q.length){
q[0].apply(this);
}
});
};
_1.extend({speed:function(_1ce,_1cf,fn){
var opt=_1ce&&_1ce.constructor==Object?_1ce:{complete:fn||!fn&&_1cf||_1.isFunction(_1ce)&&_1ce,duration:_1ce,easing:fn&&_1cf||_1cf&&_1cf.constructor!=Function&&_1cf};
opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:{slow:600,fast:200}[opt.duration])||400;
opt.old=opt.complete;
opt.complete=function(){
_1(this).dequeue();
if(_1.isFunction(opt.old)){
opt.old.apply(this);
}
};
return opt;
},easing:{linear:function(p,n,_1d4,diff){
return _1d4+diff*p;
},swing:function(p,n,_1d8,diff){
return ((-Math.cos(p*Math.PI)/2)+0.5)*diff+_1d8;
}},timers:[],fx:function(elem,_1db,prop){
this.options=_1db;
this.elem=elem;
this.prop=prop;
if(!_1db.orig){
_1db.orig={};
}
}});
_1.fx.prototype={update:function(){
if(this.options.step){
this.options.step.apply(this.elem,[this.now,this]);
}
(_1.fx.step[this.prop]||_1.fx.step._default)(this);
if(this.prop=="height"||this.prop=="width"){
this.elem.style.display="block";
}
},cur:function(_1dd){
if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null){
return this.elem[this.prop];
}
var r=parseFloat(_1.curCSS(this.elem,this.prop,_1dd));
return r&&r>-10000?r:parseFloat(_1.css(this.elem,this.prop))||0;
},custom:function(from,to,unit){
this.startTime=(new Date()).getTime();
this.start=from;
this.end=to;
this.unit=unit||this.unit||"px";
this.now=this.start;
this.pos=this.state=0;
this.update();
var self=this;
function t(){
return self.step();
}
t.elem=this.elem;
_1.timers.push(t);
if(_1.timers.length==1){
var _1e3=setInterval(function(){
var _1e4=_1.timers;
for(var i=0;i<_1e4.length;i++){
if(!_1e4[i]()){
_1e4.splice(i--,1);
}
}
if(!_1e4.length){
clearInterval(_1e3);
}
},13);
}
},show:function(){
this.options.orig[this.prop]=_1.attr(this.elem.style,this.prop);
this.options.show=true;
this.custom(0,this.cur());
if(this.prop=="width"||this.prop=="height"){
this.elem.style[this.prop]="1px";
}
_1(this.elem).show();
},hide:function(){
this.options.orig[this.prop]=_1.attr(this.elem.style,this.prop);
this.options.hide=true;
this.custom(this.cur(),0);
},step:function(){
var t=(new Date()).getTime();
if(t>this.options.duration+this.startTime){
this.now=this.end;
this.pos=this.state=1;
this.update();
this.options.curAnim[this.prop]=true;
var done=true;
for(var i in this.options.curAnim){
if(this.options.curAnim[i]!==true){
done=false;
}
}
if(done){
if(this.options.display!=null){
this.elem.style.overflow=this.options.overflow;
this.elem.style.display=this.options.display;
if(_1.css(this.elem,"display")=="none"){
this.elem.style.display="block";
}
}
if(this.options.hide){
this.elem.style.display="none";
}
if(this.options.hide||this.options.show){
for(var p in this.options.curAnim){
_1.attr(this.elem.style,p,this.options.orig[p]);
}
}
}
if(done&&_1.isFunction(this.options.complete)){
this.options.complete.apply(this.elem);
}
return false;
}else{
var n=t-this.startTime;
this.state=n/this.options.duration;
this.pos=_1.easing[this.options.easing||(_1.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);
this.now=this.start+((this.end-this.start)*this.pos);
this.update();
}
return true;
}};
_1.fx.step={scrollLeft:function(fx){
fx.elem.scrollLeft=fx.now;
},scrollTop:function(fx){
fx.elem.scrollTop=fx.now;
},opacity:function(fx){
_1.attr(fx.elem.style,"opacity",fx.now);
},_default:function(fx){
fx.elem.style[fx.prop]=fx.now+fx.unit;
}};
_1.fn.offset=function(){
var left=0,top=0,elem=this[0],_1f2;
if(elem){
with(_1.browser){
var _1f3=_1.css(elem,"position")=="absolute",_1f4=elem.parentNode,_1f5=elem.offsetParent,doc=elem.ownerDocument,_1f7=safari&&!_1f3&&parseInt(version)<522;
if(elem.getBoundingClientRect){
box=elem.getBoundingClientRect();
add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));
if(msie){
var _1f8=_1("html").css("borderWidth");
_1f8=(_1f8=="medium"||_1.boxModel&&parseInt(version)>=7)&&2||_1f8;
add(-_1f8,-_1f8);
}
}else{
add(elem.offsetLeft,elem.offsetTop);
while(_1f5){
add(_1f5.offsetLeft,_1f5.offsetTop);
if(mozilla&&/^t[d|h]$/i.test(_1f4.tagName)||!_1f7){
_1f8(_1f5);
}
if(_1f7&&!_1f3&&_1.css(_1f5,"position")=="absolute"){
_1f3=true;
}
_1f5=_1f5.offsetParent;
}
while(_1f4.tagName&&/^body|html$/i.test(_1f4.tagName)){
if(/^inline|table-row.*$/i.test(_1.css(_1f4,"display"))){
add(-_1f4.scrollLeft,-_1f4.scrollTop);
}
if(mozilla&&_1.css(_1f4,"overflow")!="visible"){
_1f8(_1f4);
}
_1f4=_1f4.parentNode;
}
if(safari&&_1f3){
add(-doc.body.offsetLeft,-doc.body.offsetTop);
}
}
_1f2={top:top,left:left};
}
}
return _1f2;
function _1f8(elem){
add(_1.css(elem,"borderLeftWidth"),_1.css(elem,"borderTopWidth"));
}
function add(l,t){
left+=parseInt(l)||0;
top+=parseInt(t)||0;
}
};
})();
$(document).ready(function(){
$(".big").cluetip({width:"560px",activation:"click",sticky:true,arrows:false,relatif:"topright",closePosition:"top",closeText:"Fermer <img src=\"/content/images/close.gif\" alt=\"Fermer\" />",dropShadow:false});
$("a.extlink").bind("click",function(e){
e.preventDefault();
window.open(this.href);
});
$(".more").css("display","none");
$(".more").each(function(visi){
visi++;
var _1fe="visi"+visi;
$(this).parents(".news_txt").append("<a class=\"actuplus visi"+visi+"\" href=\"#\">Afficher toute l' actualit\xe9</a>");
$(this).parents(".news_view").find(".insert-img").each(function(_1ff){
if(_1ff){
$(this).css("display","none");
}
});
var more=$(this);
$("."+_1fe).click(function(e){
e.preventDefault();
if(more.css("display")=="none"){
$(this).html("Affichage r\xe9duit");
$(this).removeClass("actuplus");
$(this).addClass("actumoins");
more.slideDown("slow");
$(this).parents(".news_view").find(".insert-img").each(function(){
if($(this).css("display")=="none"){
$(this).toggle();
}
});
}else{
more.slideUp("fast");
$(this).parents(".news_view").find(".insert-img").each(function(cnt){
if(cnt){
$(this).toggle();
}
cnt++;
});
$(this).html("Afficher toute l' actualit\xe9");
$(this).removeClass("actumoins");
$(this).addClass("actuplus");
}
});
});
});
$(window).load(function(){
});
jQuery.fn._height=jQuery.fn.height;
jQuery.fn._width=jQuery.fn.width;
jQuery.fn.height=function(){
if(this[0]==window){
return self.innerHeight||jQuery.boxModel&&document.documentElement.clientHeight||document.body.clientHeight;
}
if(this[0]==document){
return Math.max(document.body.scrollHeight,document.body.offsetHeight);
}
return this._height(arguments[0]);
};
jQuery.fn.width=function(){
if(this[0]==window){
return self.innerWidth||jQuery.boxModel&&document.documentElement.clientWidth||document.body.clientWidth;
}
if(this[0]==document){
return Math.max(document.body.scrollWidth,document.body.offsetWidth);
}
return this._width(arguments[0]);
};
jQuery.fn.innerHeight=function(){
return this[0]==window||this[0]==document?this.height():this.css("display")!="none"?this[0].offsetHeight-(parseInt(this.css("borderTopWidth"))||0)-(parseInt(this.css("borderBottomWidth"))||0):this.height()+(parseInt(this.css("paddingTop"))||0)+(parseInt(this.css("paddingBottom"))||0);
};
jQuery.fn.innerWidth=function(){
return this[0]==window||this[0]==document?this.width():this.css("display")!="none"?this[0].offsetWidth-(parseInt(this.css("borderLeftWidth"))||0)-(parseInt(this.css("borderRightWidth"))||0):this.height()+(parseInt(this.css("paddingLeft"))||0)+(parseInt(this.css("paddingRight"))||0);
};
jQuery.fn.outerHeight=function(){
return this[0]==window||this[0]==document?this.height():this.css("display")!="none"?this[0].offsetHeight:this.height()+(parseInt(this.css("borderTopWidth"))||0)+(parseInt(this.css("borderBottomWidth"))||0)+(parseInt(this.css("paddingTop"))||0)+(parseInt(this.css("paddingBottom"))||0);
};
jQuery.fn.outerWidth=function(){
return this[0]==window||this[0]==document?this.width():this.css("display")!="none"?this[0].offsetWidth:this.height()+(parseInt(this.css("borderLeftWidth"))||0)+(parseInt(this.css("borderRightWidth"))||0)+(parseInt(this.css("paddingLeft"))||0)+(parseInt(this.css("paddingRight"))||0);
};
jQuery.fn.scrollLeft=function(){
if(this[0]==window||this[0]==document){
return self.pageXOffset||jQuery.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;
}
return this[0].scrollLeft;
};
jQuery.fn.scrollTop=function(){
if(this[0]==window||this[0]==document){
return self.pageYOffset||jQuery.boxModel&&document.documentElement.scrollTop||document.body.scrollTop;
}
return this[0].scrollTop;
};
jQuery.fn.offset=function(_203,_204){
var x=0,y=0,elem=this[0],_208=this[0],_209=false,_20a=false,op,sl=0,st=0,_203=jQuery.extend({margin:true,border:true,padding:false,scroll:true},_203||{});
do{
x+=_208.offsetLeft||0;
y+=_208.offsetTop||0;
if(jQuery.browser.mozilla||jQuery.browser.msie){
var bt=parseInt(jQuery.css(_208,"borderTopWidth"))||0;
var bl=parseInt(jQuery.css(_208,"borderLeftWidth"))||0;
x+=bl;
y+=bt;
if(jQuery.browser.mozilla&&_208!=elem&&jQuery.css(_208,"overflow")!="visible"){
x+=bl;
y+=bt;
}
if(jQuery.css(_208,"position")=="absolute"){
_209=true;
}
if(jQuery.css(_208,"position")=="relative"){
_20a=true;
}
}
if(_203.scroll){
op=_208.offsetParent;
do{
sl+=_208.scrollLeft||0;
st+=_208.scrollTop||0;
_208=_208.parentNode;
if(jQuery.browser.mozilla&&_208!=elem&&_208!=op&&jQuery.css(_208,"overflow")!="visible"){
x+=parseInt(jQuery.css(_208,"borderLeftWidth"))||0;
y+=parseInt(jQuery.css(_208,"borderTopWidth"))||0;
}
}while(op&&_208!=op);
}else{
_208=_208.offsetParent;
}
if(_208&&(_208.tagName.toLowerCase()=="body"||_208.tagName.toLowerCase()=="html")){
if((jQuery.browser.safari||(jQuery.browser.msie&&jQuery.boxModel))&&jQuery.css(elem,"position")!="absolute"){
x+=parseInt(jQuery.css(_208,"marginLeft"))||0;
y+=parseInt(jQuery.css(_208,"marginTop"))||0;
}
if((jQuery.browser.mozilla&&!_209)||(jQuery.browser.msie&&jQuery.css(elem,"position")=="static"&&(!_20a||!_209))){
x+=parseInt(jQuery.css(_208,"borderLeftWidth"))||0;
y+=parseInt(jQuery.css(_208,"borderTopWidth"))||0;
}
break;
}
}while(_208);
if(!_203.margin){
x-=parseInt(jQuery.css(elem,"marginLeft"))||0;
y-=parseInt(jQuery.css(elem,"marginTop"))||0;
}
if(_203.border&&(jQuery.browser.safari||jQuery.browser.opera)){
x+=parseInt(jQuery.css(elem,"borderLeftWidth"))||0;
y+=parseInt(jQuery.css(elem,"borderTopWidth"))||0;
}else{
if(!_203.border&&!(jQuery.browser.safari||jQuery.browser.opera)){
x-=parseInt(jQuery.css(elem,"borderLeftWidth"))||0;
y-=parseInt(jQuery.css(elem,"borderTopWidth"))||0;
}
}
if(_203.padding){
x+=parseInt(jQuery.css(elem,"paddingLeft"))||0;
y+=parseInt(jQuery.css(elem,"paddingTop"))||0;
}
if(_203.scroll&&jQuery.browser.opera&&jQuery.css(elem,"display")=="inline"){
sl-=elem.scrollLeft||0;
st-=elem.scrollTop||0;
}
var _210=_203.scroll?{top:y-st,left:x-sl,scrollTop:st,scrollLeft:sl}:{top:y,left:x};
if(_204){
jQuery.extend(_204,_210);
return this;
}else{
return _210;
}
};
(function($){
$.fn.jqDrag=function(h){
return i(this,h,"d");
};
$.fn.jqResize=function(h){
return i(this,h,"r");
};
$.jqDnR={dnr:{},e:0,drag:function(v){
if(M.k=="d"){
E.css({left:M.X+v.pageX-M.pX,top:M.Y+v.pageY-M.pY});
}else{
E.css({width:Math.max(v.pageX-M.pX+M.W,0),height:Math.max(v.pageY-M.pY+M.H,0)});
}
return false;
},stop:function(){
E.css("opacity",M.o);
$().unbind("mousemove",J.drag).unbind("mouseup",J.stop);
}};
var J=$.jqDnR,M=J.dnr,E=J.e,i=function(e,h,k){
return e.each(function(){
h=(h)?$(h,e):e;
h.bind("mousedown",{e:e,k:k},function(v){
var d=v.data,p={};
E=d.e;
if(E.css("position")!="relative"){
try{
E.position(p);
}
catch(e){
}
}
M={X:p.left||f("left")||0,Y:p.top||f("top")||0,W:f("width")||E[0].scrollWidth||0,H:f("height")||E[0].scrollHeight||0,pX:v.pageX,pY:v.pageY,k:d.k,o:E.css("opacity")};
E.css({opacity:0.8});
$().mousemove($.jqDnR.drag).mouseup($.jqDnR.stop);
return false;
});
});
},f=function(k){
return parseInt(E.css(k))||false;
};
})(jQuery);
jQuery.fn.extend({nextUntil:function(expr){
var _222=[];
this.each(function(){
for(var i=this.nextSibling;i;i=i.nextSibling){
if(i.nodeType!=1){
continue;
}
if(jQuery.filter(expr,[i]).r.length){
break;
}
_222.push(i);
}
});
return this.pushStack(_222);
},SimpleAccordion:function(_224){
_224=jQuery.extend({},jQuery.SimpleAccordion.defaults,{header:jQuery(":first-child",this)[0].tagName},_224);
if(_224.navigation){
var _225=this.find("a").filter(function(){
return this.href==location.href;
});
if(_225.length){
_224.active=_225.parent().parent().prev();
_225.addClass("current");
}
}
var _226=this,_227=_224.active?jQuery(_224.active,this):_224.active===false?jQuery("<div>"):jQuery(_224.header,this).eq(0),_228=0;
var _229=_226.find(_224.header);
_229.not(_227||"").nextUntil(_224.header).hide();
_227.addClass(_224.selectedClass);
function toggle(_22a,_22b,data,_22d){
var _22e=function(_22f){
_228=_22f?0:--_228;
if(_228){
return;
}
_226.trigger("change",data);
};
_228=_22b.size()+_22a.size();
if(_224.animated){
if(!_224.alwaysOpen&&_22d){
_22a.slideToggle(_224.showSpeed);
_22e(true);
}else{
_22b.filter(":hidden").each(_22e).end().filter(":visible").slideUp(_224.hideSpeed,_22e);
_22a.slideDown(_224.showSpeed,_22e);
}
}else{
if(!_224.alwaysOpen&&_22d){
_22a.toggle();
}else{
_22b.hide();
_22a.show();
}
_22e(true);
}
}
function clickHandler(_230){
if(!_230.target&&!_224.alwaysOpen){
_227.toggleClass(_224.selectedClass);
var _231=_227.nextUntil(_224.header);
var _232=_227=jQuery([]);
toggle(_232,_231);
}
var _233=jQuery(_230.target);
if(_233.parents(_224.header).length){
while(!_233.is(_224.header)){
_233=_233.parent();
}
}
var _234=_233[0]==_227[0];
if(_228||(_224.alwaysOpen&&_234)||!_233.is(_224.header)){
return;
}
_227.toggleClass(_224.selectedClass);
if(!_234){
_233.addClass(_224.selectedClass);
}
var _232=_233.nextUntil(_224.header),_231=_227.nextUntil(_224.header),data=[_233,_227,_232,_231];
_227=_234?jQuery([]):_233;
toggle(_232,_231,data,_234);
return !_232.length;
}
function activateHandler(_236,_237){
if(_237==null){
return;
}
clickHandler({target:_237>=0?jQuery(_224.header,this)[_237]:typeof _237=="string"?jQuery(_237,this)[0]:null});
}
_226.bind("activate",activateHandler);
return _226.bind(_224.event,clickHandler);
},activate:function(_238){
return this.trigger("activate",[_238]);
}});
jQuery.SimpleAccordion={};
jQuery.extend(jQuery.SimpleAccordion,{defaults:{selectedClass:"selected",showSpeed:"fast",hideSpeed:"fast",alwaysOpen:true,animated:true,event:"click"}});
(function($){
$.blockUI=function(msg,css,opts){
$.blockUI.impl.install(window,msg,css,opts);
};
$.blockUI.version=1.32;
$.unblockUI=function(opts){
$.blockUI.impl.remove(window,opts);
};
$.fn.block=function(msg,css,opts){
return this.each(function(){
if(!this.$pos_checked){
if($.css(this,"position")=="static"){
this.style.position="relative";
}
if($.browser.msie){
this.style.zoom=1;
}
this.$pos_checked=1;
}
$.blockUI.impl.install(this,msg,css,opts);
});
};
$.fn.unblock=function(opts){
return this.each(function(){
$.blockUI.impl.remove(this,opts);
});
};
$.fn.displayBox=function(css,fn,_244){
var msg=this[0];
if(!msg){
return;
}
var $msg=$(msg);
css=css||{};
var w=$msg.width()||$msg.attr("width")||css.width||$.blockUI.defaults.displayBoxCSS.width;
var h=$msg.height()||$msg.attr("height")||css.height||$.blockUI.defaults.displayBoxCSS.height;
if(w[w.length-1]=="%"){
var ww=document.documentElement.clientWidth||document.body.clientWidth;
w=parseInt(w)||100;
w=(w*ww)/100;
}
if(h[h.length-1]=="%"){
var hh=document.documentElement.clientHeight||document.body.clientHeight;
h=parseInt(h)||100;
h=(h*hh)/100;
}
var ml="-"+parseInt(w)/2+"px";
var mt="-"+parseInt(h)/2+"px";
var ua=navigator.userAgent.toLowerCase();
var opts={displayMode:fn||1,noalpha:_244&&/mac/.test(ua)&&/firefox/.test(ua)};
$.blockUI.impl.install(window,msg,{width:w,height:h,marginTop:mt,marginLeft:ml},opts);
};
$.blockUI.defaults={pageMessage:"<h1>Please wait...</h1>",elementMessage:"",overlayCursor:"wait",overlayCSS:{backgroundColor:"#fff",opacity:"0.5"},pageMessageCSS:{width:"250px",margin:"-50px 0 0 -125px",top:"50%",left:"50%",textAlign:"center",color:"#000",backgroundColor:"#fff",border:"3px solid #aaa"},elementMessageCSS:{width:"250px",padding:"10px",textAlign:"center",backgroundColor:"#fff"},displayBoxCSS:{width:"400px",height:"400px",top:"50%",left:"50%"},ie6Stretch:1,allowTabToLeave:0,closeMessage:"Click to close",fadeOut:1,fadeTime:400};
$.blockUI.impl={box:null,boxCallback:null,pageBlock:null,pageBlockEls:[],op8:window.opera&&window.opera.version()<9,ie6:$.browser.msie&&/MSIE 6.0/.test(navigator.userAgent),install:function(el,msg,css,opts){
opts=opts||{};
this.boxCallback=typeof opts.displayMode=="function"?opts.displayMode:null;
this.box=opts.displayMode?msg:null;
var full=(el==window);
var _254=this.op8||$.browser.mozilla&&/Linux/.test(navigator.platform);
if(typeof opts.alphaOverride!="undefined"){
_254=opts.alphaOverride==0?1:0;
}
if(full&&this.pageBlock){
this.remove(window,{fadeOut:0});
}
if(msg&&typeof msg=="object"&&!msg.jquery&&!msg.nodeType){
css=msg;
msg=null;
}
msg=msg?(msg.nodeType?$(msg):msg):full?$.blockUI.defaults.pageMessage:$.blockUI.defaults.elementMessage;
if(opts.displayMode){
var _255=jQuery.extend({},$.blockUI.defaults.displayBoxCSS);
}else{
var _255=jQuery.extend({},full?$.blockUI.defaults.pageMessageCSS:$.blockUI.defaults.elementMessageCSS);
}
css=jQuery.extend(_255,css||{});
var f=($.browser.msie)?$("<iframe class=\"blockUI\" style=\"z-index:1000;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0\" src=\"javascript:false;\"></iframe>"):$("<div class=\"blockUI\" style=\"display:none\"></div>");
var w=$("<div class=\"blockUI\" style=\"z-index:1001;cursor:"+$.blockUI.defaults.overlayCursor+";border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0\"></div>");
var m=full?$("<div class=\"blockUI blockMsg\" style=\"z-index:1002;cursor:"+$.blockUI.defaults.overlayCursor+";padding:0;position:fixed\"></div>"):$("<div class=\"blockUI\" style=\"display:none;z-index:1002;cursor:"+$.blockUI.defaults.overlayCursor+";position:absolute\"></div>");
w.css("position",full?"fixed":"absolute");
if(msg){
m.css(css);
}
if(!_254){
w.css($.blockUI.defaults.overlayCSS);
}
if(this.op8){
w.css({width:""+el.clientWidth,height:""+el.clientHeight});
}
if($.browser.msie){
f.css("opacity","0.0");
}
$([f[0],w[0],m[0]]).appendTo(full?"body":el);
var expr=$.browser.msie&&(!$.boxModel||$("object,embed",full?null:el).length>0);
if(this.ie6||expr){
if(full&&$.blockUI.defaults.ie6Stretch&&$.boxModel){
$("html,body").css("height","100%");
}
if((this.ie6||!$.boxModel)&&!full){
var t=this.sz(el,"borderTopWidth"),l=this.sz(el,"borderLeftWidth");
var fixT=t?"(0 - "+t+")":0;
var fixL=l?"(0 - "+l+")":0;
}
$.each([f,w,m],function(i,o){
var s=o[0].style;
s.position="absolute";
if(i<2){
full?s.setExpression("height","document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + \"px\""):s.setExpression("height","this.parentNode.offsetHeight + \"px\"");
full?s.setExpression("width","jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + \"px\""):s.setExpression("width","this.parentNode.offsetWidth + \"px\"");
if(fixL){
s.setExpression("left",fixL);
}
if(fixT){
s.setExpression("top",fixT);
}
}else{
if(full){
s.setExpression("top","(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + \"px\"");
}
s.marginTop=0;
}
});
}
if(opts.displayMode){
w.css("cursor","default").attr("title",$.blockUI.defaults.closeMessage);
m.css("cursor","default");
$([f[0],w[0],m[0]]).removeClass("blockUI").addClass("displayBox");
$().click($.blockUI.impl.boxHandler).bind("keypress",$.blockUI.impl.boxHandler);
}else{
this.bind(1,el);
}
m.append(msg).show();
if(msg.jquery){
msg.show();
}
if(opts.displayMode){
return;
}
if(full){
this.pageBlock=m[0];
this.pageBlockEls=$(":input:enabled:visible",this.pageBlock);
setTimeout(this.focus,20);
}else{
this.center(m[0]);
}
},remove:function(el,opts){
var o=$.extend({},$.blockUI.defaults,opts);
this.bind(0,el);
var full=el==window;
var els=full?$("body").children().filter(".blockUI"):$(".blockUI",el);
if(full){
this.pageBlock=this.pageBlockEls=null;
}
if(o.fadeOut){
els.fadeOut(o.fadeTime,function(){
if(this.parentNode){
this.parentNode.removeChild(this);
}
});
}else{
els.remove();
}
},boxRemove:function(el){
$().unbind("click",$.blockUI.impl.boxHandler).unbind("keypress",$.blockUI.impl.boxHandler);
if(this.boxCallback){
this.boxCallback(this.box);
}
$("body .displayBox").hide().remove();
},handler:function(e){
if(e.keyCode&&e.keyCode==9){
if($.blockUI.impl.pageBlock&&!$.blockUI.defaults.allowTabToLeave){
var els=$.blockUI.impl.pageBlockEls;
var fwd=!e.shiftKey&&e.target==els[els.length-1];
var back=e.shiftKey&&e.target==els[0];
if(fwd||back){
setTimeout(function(){
$.blockUI.impl.focus(back);
},10);
return false;
}
}
}
if($(e.target).parents("div.blockMsg").length>0){
return true;
}
return $(e.target).parents().children().filter("div.blockUI").length==0;
},boxHandler:function(e){
if((e.keyCode&&e.keyCode==27)||(e.type=="click"&&$(e.target).parents("div.blockMsg").length==0)){
$.blockUI.impl.boxRemove();
}
return true;
},bind:function(b,el){
var full=el==window;
if(!b&&(full&&!this.pageBlock||!full&&!el.$blocked)){
return;
}
if(!full){
el.$blocked=b;
}
var $e=full?$():$(el).find("a,:input");
$.each(["mousedown","mouseup","keydown","keypress","click"],function(i,o){
$e[b?"bind":"unbind"](o,$.blockUI.impl.handler);
});
},focus:function(back){
if(!$.blockUI.impl.pageBlockEls){
return;
}
var e=$.blockUI.impl.pageBlockEls[back===true?$.blockUI.impl.pageBlockEls.length-1:0];
if(e){
e.focus();
}
},center:function(el){
var p=el.parentNode,s=el.style;
var l=((p.offsetWidth-el.offsetWidth)/2)-this.sz(p,"borderLeftWidth");
var t=((p.offsetHeight-el.offsetHeight)/2)-this.sz(p,"borderTopWidth");
s.left=l>0?(l+"px"):"0";
s.top=t>0?(t+"px"):"0";
},sz:function(el,p){
return parseInt($.css(el,p))||0;
}};
})(jQuery);
jQuery.cookie=function(name,_27c,_27d){
if(typeof _27c!="undefined"){
_27d=_27d||{};
if(_27c===null){
_27c="";
_27d.expires=-1;
}
var _27e="";
if(_27d.expires&&(typeof _27d.expires=="number"||_27d.expires.toUTCString)){
var date;
if(typeof _27d.expires=="number"){
date=new Date();
date.setTime(date.getTime()+(_27d.expires*24*60*60*1000));
}else{
date=_27d.expires;
}
_27e="; expires="+date.toUTCString();
}
var path=_27d.path?"; path="+_27d.path:"";
var _281=_27d.domain?"; domain="+_27d.domain:"";
var _282=_27d.secure?"; secure":"";
document.cookie=[name,"=",encodeURIComponent(_27c),_27e,path,_281,_282].join("");
}else{
var _283=null;
if(document.cookie&&document.cookie!=""){
var _284=document.cookie.split(";");
for(var i=0;i<_284.length;i++){
var _286=jQuery.trim(_284[i]);
if(_286.substring(0,name.length+1)==(name+"=")){
_283=decodeURIComponent(_286.substring(name.length+1));
break;
}
}
}
return _283;
}
};
(function($){
$.extend({tabs:{remoteCount:0}});
$.fn.tabs=function(_288,_289){
if(typeof _288=="object"){
_289=_288;
}
_289=$.extend({initial:(_288&&typeof _288=="number"&&_288>0)?--_288:0,disabled:null,bookmarkable:$.ajaxHistory?true:false,remote:false,spinner:"Loading&#8230;",hashPrefix:"remote-tab-",fxFade:null,fxSlide:null,fxShow:null,fxHide:null,fxSpeed:"normal",fxShowSpeed:null,fxHideSpeed:null,fxAutoHeight:false,onClick:null,onHide:null,onShow:null,navClass:"tabs-nav",selectedClass:"tabs-selected",disabledClass:"tabs-disabled",containerClass:"tabs-container",hideClass:"tabs-hide",loadingClass:"tabs-loading",tabStruct:"div"},_289||{});
$.browser.msie6=$.browser.msie&&($.browser.version&&$.browser.version<7||/MSIE 6.0/.test(navigator.userAgent));
function unFocus(){
scrollTo(0,0);
}
return this.each(function(){
var _28a=this;
var nav=$("ul."+_289.navClass,_28a);
nav=nav.size()&&nav||$(">ul:eq(0)",_28a);
var tabs=$("a",nav);
if(_289.remote){
tabs.each(function(){
var id=_289.hashPrefix+(++$.tabs.remoteCount),hash="#"+id,url=this.href;
this.href=hash;
$("<div id=\""+id+"\" class=\""+_289.containerClass+"\"></div>").appendTo(_28a);
$(this).bind("loadRemoteTab",function(e,_291){
var $$=$(this).addClass(_289.loadingClass),span=$("span",this)[0],_294=span.innerHTML;
if(_289.spinner){
span.innerHTML="<em>"+_289.spinner+"</em>";
}
setTimeout(function(){
$(hash).load(url,function(){
if(_289.spinner){
span.innerHTML=_294;
}
$$.removeClass(_289.loadingClass);
_291&&_291();
});
},0);
});
});
}
var _295=$("div."+_289.containerClass,_28a);
_295=_295.size()&&_295||$(">"+_289.tabStruct,_28a);
nav.is("."+_289.navClass)||nav.addClass(_289.navClass);
_295.each(function(){
var $$=$(this);
$$.is("."+_289.containerClass)||$$.addClass(_289.containerClass);
});
var _297=$("li",nav).index($("li."+_289.selectedClass,nav)[0]);
if(_297>=0){
_289.initial=_297;
}
if(location.hash){
tabs.each(function(i){
if(this.hash==location.hash){
_289.initial=i;
if(($.browser.msie||$.browser.opera)&&!_289.remote){
var _299=$(location.hash);
var _29a=_299.attr("id");
_299.attr("id","");
setTimeout(function(){
_299.attr("id",_29a);
},500);
}
unFocus();
return false;
}
});
}
if($.browser.msie){
unFocus();
}
_295.filter(":eq("+_289.initial+")").show().end().not(":eq("+_289.initial+")").addClass(_289.hideClass);
if(_289.initial==0){
$("li",nav).removeClass(_289.selectedClass).slice(0,1).addClass(_289.selectedClass);
}else{
$("li",nav).removeClass(_289.selectedClass).eq(_289.initial).addClass(_289.selectedClass);
}
if(_289.initial==0){
tabs.slice(0,1).trigger("loadRemoteTab").end();
}else{
tabs.eq(_289.initial).trigger("loadRemoteTab").end();
}
if(_289.fxAutoHeight){
var _29b=function(_29c){
var _29d=$.map(_295.get(),function(el){
var h,jq=$(el);
if(_29c){
if($.browser.msie6){
el.style.removeExpression("behaviour");
el.style.height="";
el.minHeight=null;
}
h=jq.css({"min-height":""}).height();
}else{
h=jq.height();
}
return h;
}).sort(function(a,b){
return b-a;
});
if($.browser.msie6){
_295.each(function(){
this.minHeight=_29d[0]+"px";
this.style.setExpression("behaviour","this.style.height = this.minHeight ? this.minHeight : \"1px\"");
});
}else{
_295.css({"min-height":_29d[0]+"px"});
}
};
_29b();
var _2a3=_28a.offsetWidth;
var _2a4=_28a.offsetHeight;
var _2a5=$("#tabs-watch-font-size").get(0)||$("<span id=\"tabs-watch-font-size\">M</span>").css({display:"block",position:"absolute",visibility:"hidden"}).appendTo(document.body).get(0);
var _2a6=_2a5.offsetHeight;
setInterval(function(){
var _2a7=_28a.offsetWidth;
var _2a8=_28a.offsetHeight;
var _2a9=_2a5.offsetHeight;
if(_2a8>_2a4||_2a7!=_2a3||_2a9!=_2a6){
_29b((_2a7>_2a3||_2a9<_2a6));
_2a3=_2a7;
_2a4=_2a8;
_2a6=_2a9;
}
},50);
}
var _2aa={},_2ab={},_2ac=_289.fxShowSpeed||_289.fxSpeed,_2ad=_289.fxHideSpeed||_289.fxSpeed;
if(_289.fxSlide||_289.fxFade){
if(_289.fxSlide){
_2aa["height"]="show";
_2ab["height"]="hide";
}
if(_289.fxFade){
_2aa["opacity"]="show";
_2ab["opacity"]="hide";
}
}else{
if(_289.fxShow){
_2aa=_289.fxShow;
}else{
_2aa["min-width"]=0;
_2ac=1;
}
if(_289.fxHide){
_2ab=_289.fxHide;
}else{
_2ab["min-width"]=0;
_2ad=1;
}
}
var _2ae=_289.onClick,_2af=_289.onHide,_2b0=_289.onShow;
tabs.bind("triggerTab",function(){
var li=$(this).parents("li:eq(0)");
if(_28a.locked||li.is("."+_289.selectedClass)||li.is("."+_289.disabledClass)){
return false;
}
var hash=this.hash;
if($.browser.msie){
$(this).trigger("click");
if(_289.bookmarkable){
$.ajaxHistory.update(hash);
location.hash=hash.replace("#","");
}
}else{
if($.browser.safari){
var _2b3=$("<form action=\""+hash+"\"><div><input type=\"submit\" value=\"h\" /></div></form>").get(0);
_2b3.submit();
$(this).trigger("click");
if(_289.bookmarkable){
$.ajaxHistory.update(hash);
}
}else{
if(_289.bookmarkable){
location.hash=hash.replace("#","");
}else{
$(this).trigger("click");
}
}
}
});
tabs.bind("disableTab",function(){
var li=$(this).parents("li:eq(0)");
if($.browser.safari){
li.animate({opacity:0},1,function(){
li.css({opacity:""});
});
}
li.addClass(_289.disabledClass);
});
if(_289.disabled&&_289.disabled.length){
for(var i=0,k=_289.disabled.length;i<k;i++){
if(_289.initial==0){
tabs.slice(0,1).trigger("disableTab").end();
}else{
tabs.eq(--_289.disabled[i]).trigger("disableTab").end();
}
}
}
tabs.bind("enableTab",function(){
var li=$(this).parents("li:eq(0)");
li.removeClass(_289.disabledClass);
if($.browser.safari){
li.animate({opacity:1},1,function(){
li.css({opacity:""});
});
}
});
tabs.bind("click",function(e){
var _2b9=e.clientX;
var _2ba=this,li=$(this).parents("li:eq(0)"),_2bc=$(this.hash),_2bd=_295.filter(":visible");
if(_28a["locked"]||li.is("."+_289.selectedClass)||li.is("."+_289.disabledClass)||typeof _2ae=="function"&&_2ae(this,_2bc[0],_2bd[0])===false){
this.blur();
return false;
}
_28a["locked"]=true;
if(_2bc.size()){
if($.browser.msie&&_289.bookmarkable){
var _2be=this.hash.replace("#","");
_2bc.attr("id","");
setTimeout(function(){
_2bc.attr("id",_2be);
},0);
}
var _2bf={display:"",overflow:"",height:""};
if(!$.browser.msie){
_2bf["opacity"]="";
}
function switchTab(){
if(_289.bookmarkable&&_2b9){
$.ajaxHistory.update(_2ba.hash);
}
_2bd.animate(_2ab,_2ad,function(){
$(_2ba).parents("li:eq(0)").addClass(_289.selectedClass).siblings().removeClass(_289.selectedClass);
_2bd.addClass(_289.hideClass).css(_2bf);
if(typeof _2af=="function"){
_2af(_2ba,_2bc[0],_2bd[0]);
}
if(!(_289.fxSlide||_289.fxFade||_289.fxShow)){
_2bc.css("display","block");
}
_2bc.animate(_2aa,_2ac,function(){
_2bc.removeClass(_289.hideClass).css(_2bf);
if($.browser.msie){
_2bd[0].style.filter="";
_2bc[0].style.filter="";
}
if(typeof _2b0=="function"){
_2b0(_2ba,_2bc[0],_2bd[0]);
}
_28a["locked"]=null;
});
});
}
if(!_289.remote){
switchTab();
}else{
$(_2ba).trigger("loadRemoteTab",[switchTab]);
}
}else{
alert("There is no such container.");
}
var _2c0=window.pageXOffset||document.documentElement&&document.documentElement.scrollLeft||document.body.scrollLeft||0;
var _2c1=window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop||0;
setTimeout(function(){
window.scrollTo(_2c0,_2c1);
},0);
this.blur();
return _289.bookmarkable&&!!_2b9;
});
if(_289.bookmarkable){
$.ajaxHistory.initialize(function(){
if(_289.initial==0){
tabs.slice(0,1).trigger("click").end();
}else{
tabs.eq(_289.initial).trigger("click").end();
}
});
}
});
};
var _2c2=["triggerTab","disableTab","enableTab"];
for(var i=0;i<_2c2.length;i++){
$.fn[_2c2[i]]=(function(_2c4){
return function(tab){
return this.each(function(){
var nav=$("ul.tabs-nav",this);
nav=nav.size()&&nav||$(">ul:eq(0)",this);
var a;
if(!tab||typeof tab=="number"){
if(tab==0||!(tab&&tab>0&&tab-1)){
a=$("li a",nav).slice(0,1);
}else{
a=$("li a",nav).eq((tab&&tab>0&&tab-1));
}
}else{
if(typeof tab=="string"){
a=$("li a[@href$=\"#"+tab+"\"]",nav);
}
}
a.trigger(_2c4);
});
};
})(_2c2[i]);
}
$.fn.activeTab=function(){
var _2c8=[];
this.each(function(){
var nav=$("ul.tabs-nav",this);
nav=nav.size()&&nav||$(">ul:eq(0)",this);
var lis=$("li",nav);
_2c8.push(lis.index(lis.filter(".tabs-selected")[0])+1);
});
return _2c8[0];
};
})(jQuery);
(function($){
$.fn.jqm=function(o){
var _o={zIndex:3000,overlay:50,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:false,target:false,modal:false,toTop:false,onShow:false,onHide:false,onLoad:false};
return this.each(function(){
if(this._jqm){
return;
}
s++;
this._jqm=s;
H[s]={c:$.extend(_o,o),a:false,w:$(this).addClass("jqmID"+s),s:s};
if(_o.trigger){
$(this).jqmAddTrigger(_o.trigger);
}
});
};
$.fn.jqmAddClose=function(e){
hs(this,e,"jqmHide");
return this;
};
$.fn.jqmAddTrigger=function(e){
hs(this,e,"jqmShow");
return this;
};
$.fn.jqmShow=function(t){
return this.each(function(){
if(!H[this._jqm].a){
$.jqm.open(this._jqm,t);
}
});
};
$.fn.jqmHide=function(t){
return this.each(function(){
if(H[this._jqm].a){
$.jqm.close(this._jqm,t);
}
});
};
$.jqm={hash:{},open:function(s,t){
var h=H[s],c=h.c,cc="."+c.closeClass,z=(/^\d+$/.test(h.w.css("z-index")))?h.w.css("z-index"):c.zIndex,o=$("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":z-1,opacity:c.overlay/100});
h.t=t;
h.a=true;
h.w.css("z-index",z);
if(c.modal){
if(!A[0]){
F("bind");
}
A.push(s);
o.css("cursor","wait");
}else{
if(c.overlay>0){
h.w.jqmAddClose(o);
}else{
o=false;
}
}
h.o=(o)?o.addClass(c.overlayClass).prependTo("body"):false;
if(ie6){
$("html,body").css({height:"100%",width:"100%"});
if(o){
o=o.css({position:"absolute"})[0];
for(var y in {Top:1,Left:1}){
o.style.setExpression(y.toLowerCase(),"(_=(document.documentElement.scroll"+y+" || document.body.scroll"+y+"))+'px'");
}
}
}
if(c.ajax){
var r=c.target||h.w,u=c.ajax,r=(typeof r=="string")?$(r,h.w):$(r),u=(u.substr(0,1)=="@")?$(t).attr(u.substring(1)):u;
r.load(u,function(){
if(c.onLoad){
c.onLoad.call(this,h);
}
if(cc){
h.w.jqmAddClose($(cc,h.w));
}
e(h);
});
}else{
if(cc){
h.w.jqmAddClose($(cc,h.w));
}
}
if(c.toTop&&h.o){
h.w.before("<span id=\"jqmP"+h.w[0]._jqm+"\"></span>").insertAfter(h.o);
}
(c.onShow)?c.onShow(h):h.w.show();
e(h);
return false;
},close:function(s){
var h=H[s];
h.a=false;
if(A[0]){
A.pop();
if(!A[0]){
F("unbind");
}
}
if(h.c.toTop&&h.o){
$("#jqmP"+h.w[0]._jqm).after(h.w).remove();
}
if(h.c.onHide){
h.c.onHide(h);
}else{
h.w.hide();
if(h.o){
h.o.remove();
}
}
return false;
}};
var s=0,H=$.jqm.hash,A=[],ie6=$.browser.msie&&($.browser.version=="6.0"),i=$("<iframe src=\"javascript:false;document.write('');\" class=\"jqm\"></iframe>").css({opacity:0}),e=function(h){
if(ie6){
if(h.o){
h.o.html("<p style=\"width:100%;height:100%\"/>").prepend(i);
}else{
if(!$("iframe.jqm",h.w)[0]){
h.w.prepend(i);
}
}
}
f(h);
},f=function(h){
try{
$(":input:visible",h.w)[0].focus();
}
catch(e){
}
},F=function(t){
$()[t]("keypress",m)[t]("keydown",m)[t]("mousedown",m);
},m=function(e){
var h=H[A[A.length-1]],r=(!$(e.target).parents(".jqmID"+h.s)[0]);
if(r){
f(h);
}
return !r;
},hs=function(w,e,y){
var s=[];
w.each(function(){
s.push(this._jqm);
});
$(e).each(function(){
if(this[y]){
$.extend(this[y],s);
}else{
this[y]=s;
$(this).click(function(){
for(var i in {jqmShow:1,jqmHide:1}){
for(var s in this[i]){
if(H[this[i][s]]){
H[this[i][s]].w[i](this);
}
}
}
return false;
});
}
});
};
})(jQuery);
(function($){
var _2f5,_2f6,_2f7,_2f8,_2f9;
var _2fa=$.browser.msie&&($.browser.version&&$.browser.version<7||(/5\.5|6.0/).test(navigator.userAgent));
$.fn.cluetip=function(_2fb){
var _2fc={width:275,local:false,hideLocal:true,attribute:"rel",titleAttribute:"title",splitTitle:"",hoverClass:"",waitImage:"wait.gif",sticky:false,activation:"hover",closePosition:"top",closeText:"Close",truncate:0,fx:{open:"fadeIn",openSpeed:"fast",close:"hide",closeSpeed:""},arrows:false,dropShadow:true,hoverIntent:true,relatif:"",onShow:function(ct,c){
},ajaxProcess:function(data){
data=$(data).not("style, meta, link, script, title");
return data;
},ajaxSettings:{dataType:"html"}};
if(_2fb&&_2fb.ajaxSettings){
$.extend(_2fc.ajaxSettings,_2fb.ajaxSettings);
delete _2fb.ajaxSettings;
}
$.extend(_2fc,_2fb);
return this.each(function(){
var _300=false;
if(!_2f5){
_2f6=$("<div id=\"cluetip-inner\"></div>");
_2f8=$("<h3 id=\"cluetip-title\"></h3>");
_2f7=$("<div id=\"cluetip-outer\"></div>").append(_2f6).prepend(_2f8);
_2f5=$("<div></div>").attr({"id":"cluetip"}).css({zIndex:1002}).append(_2f7).appendTo("body").hide();
$("<img src=\""+_2fc.waitImage+"\" />").attr({"id":"cluetip-waitimage"}).css({position:"absolute",zIndex:1001}).appendTo("body").hide();
var _301=_2f5.css("zIndex")!="auto"?parseInt(_2f5.css("zIndex"),10):1002;
_2f5.css({position:"absolute",zIndex:_301});
_2f7.css({position:"relative",zIndex:+_301+1});
}
if(!_2f9&&_2fc.dropShadow){
_2f9=$([]);
var _302=6;
for(var i=0;i<_302;i++){
_2f9=_2f9.add($("<div></div>").css({zIndex:+_301-i-1,opacity:0.1,top:1+i,left:1+i}));
}
_2f9.css({position:"absolute",backgroundColor:"#000"}).prependTo(_2f5);
}
var _304=$(this);
var _305=_304.attr(_2fc.attribute);
if(!_305&&!_2fc.splitTitle){
return true;
}
if(_2fc.local&&_2fc.hideLocal){
$(_305).hide();
}
var _306,_307;
var sTop,_309,posY;
var _30b=parseInt(_2fc.width,10);
if(isNaN(_30b)){
_30b=275;
}
var _30c=this.offsetWidth;
var _30d,posX,_30f;
var _310,_311=(_2fc.attribute!="title")?_304.attr(_2fc.titleAttribute):"";
if(_2fc.splitTitle){
_310=_311.split(_2fc.splitTitle);
_311=_310.shift();
}
var _312;
var _313=function(){
_2f7.parent()[_2fc.fx.close](_2fc.fx.closeSpeed).end().children().empty();
if(_311){
_304.attr("title",_311);
}
};
var _314=function(bpY){
if(_304.css("display")=="block"||_304[0].tagName.toLowerCase()=="area"){
_2f5.css({top:(bpY-10)+"px"});
}else{
_2f5.css({top:posY+"px"});
}
if(_2fc.truncate){
var _316=_2f6.text().slice(0,_2fc.truncate)+"...";
_2f6.html(_316);
}
_311?_2f8.show().html(_311):_2f8.hide();
if(_2fc.sticky){
var _317=$("<span id=\"cluetip-close\"><a href=\"#\">"+_2fc.closeText+"</a></span>");
(_2fc.closePosition=="bottom")?_317.css("display","block").appendTo(_2f6):_317.css("display","block").prependTo(_2f6);
_317.click(function(){
_313();
return false;
});
}
_306=_2f5.outerHeight();
if(_2fc.dropShadow){
_2f9.show().css({height:_306,width:_2fc.width});
}
if(posY+_306>sTop+_307){
if(_306>=_307){
_2f5.css({top:(sTop)+"px"});
}else{
_2f5.css({top:(sTop+_307-_306-10)+"px"});
}
}
if(_2fc.arrows){
var _318="0 0";
var bgY=(posY-parseInt(_2f5.css("top"),10));
if(_2f5.is(".clue-left")){
_318=posX>=0?"100% "+bgY+"px":"100% 0";
}else{
if(_2f5.is(".clue-right")){
_318=(posX>=0&&bgY>0)?"0 "+bgY+"px":"0 0";
}
}
_2f5.css({backgroundPosition:_318});
}
_2f5.hide()[_2fc.fx.open](_2fc.fx.openSpeed);
_2fc.onShow(_2f5,_2f6);
};
if(_2fc.activation=="click"||_2fc.activation=="toggle"){
_304.toggle(function(_31a){
_31b(_31a);
this.blur();
return false;
},function(_31c){
_31b(_31c);
this.blur();
return false;
});
}else{
_304.click(function(){
if(_305==_304.attr("href")){
return false;
}
});
_304[($.fn.hoverIntent)&&_2fc.hoverIntent?"hoverIntent":"hover"](function(_31d){
_31b(_31d);
},function(_31e){
_31f(_31e);
});
}
var _31b=function(_320){
if(_305==_304.attr("href")){
_304.css("cursor","help");
}
if(_311){
_304.removeAttr("title");
}
if(_2fc.hoverClass){
_304.addClass(_2fc.hoverClass);
}
if(_304[0].tagName.toLowerCase()!="area"){
sTop=$(document).scrollTop();
_309=_304.offset().top;
_30d=_304.offset().left;
_30f=$(window).width();
posX=(_30c>_30d&&_30d>_30b)||_30d+_30c+_30b>_30f?_30d-_30b-15:_30c+_30d+15;
if(_2fc.relatif){
posY=_304.offset().top;
+_304.height();
posX=_304.offset().left+_304.width();
}else{
posY=_309;
}
}
_2f5.css({width:_2fc.width});
if(_304.css("display")!="block"&&posX>=0&&_304[0].tagName.toLowerCase()!="area"){
_2f5.css({left:posX+"px"});
posX<_30d?_2f5.addClass("clue-left").removeClass("clue-right"):_2f5.addClass("clue-right").removeClass("clue-left");
}else{
if(_320.pageX+_30b>_30f){
if(_2fc.relatif){
_2f5.css({left:(posX-_30b)+"px"});
}else{
_2f5.css({left:(_320.pageX-_30b-30)+"px"}).addClass("clue-left").removeClass("clue-right");
}
}else{
_2f5.css({left:(_320.pageX+30)+"px"}).addClass("clue-right").removeClass("clue-left");
}
var pY=_320.pageY;
if(_2fc.relatif){
pY=posY;
}
}
_307=$(window).height();
if(_310){
for(var i=0;i<_310.length;i++){
if(i==0){
_2f6.html(_310[i]);
}else{
_2f6.append("<div class=\"split-body\">"+_310[i]+"</div>");
}
}
_314(pY);
}else{
if(!_2fc.local&&_305.indexOf("#")!=0){
if(_300){
_2f6.html(_300);
_314(pY);
}else{
var _323=_2fc.ajaxSettings;
_323.url=_305;
_323.beforeSend=function(){
$("#cluetip-waitimage").css({top:posY,left:posX+(_30b/2)}).show();
};
_323.success=function(data){
_300=_2fc.ajaxProcess(data);
_2f6.html(_300);
_314(pY);
$("#cluetip-waitimage").hide();
};
$.ajax(_323);
}
}else{
if(_2fc.local&&_305.indexOf("#")==0){
var _325=$(_305).html();
_2f6.html(_325);
_314(pY);
}
}
}
};
var _31f=function(){
if(!_2fc.sticky){
_313();
}
if(_2fc.hoverClass){
_304.removeClass(_2fc.hoverClass);
}
};
});
};
})(jQuery);
jQuery.fn.bgColor=function(test,_327){
var self=jQuery(this),_329;
if(!test||test.constructor!=Function){
test=function(e){
return false;
};
}
if(!_327||_327.constructor!=Function){
_327=function(e){
return jQuery(e).css("backgroundColor");
};
}
while(true){
_329=self.css("backgroundColor");
if(_329!=""&&_329!="transparent"){
break;
}
if(test(self[0])){
_329=_327(self[0]);
break;
}
if(self.parent()[0]==document){
break;
}else{
self=self.parent();
}
}
if(_329==""||_329=="transparent"){
_329="rgb(255,255,255)";
}
return _329;
};
jQuery.fn.highlightFade=function(_32c){
var o=(_32c&&_32c.constructor==String)?{start:_32c}:_32c||{};
var d=jQuery.highlightFade.defaults;
var i=o["interval"]||d["interval"];
var a=o["attr"]||d["attr"];
var ts={"linear":function(s,e,t,c){
return parseInt(s+(c/t)*(e-s));
},"sinusoidal":function(s,e,t,c){
return parseInt(s+Math.sin(((c/t)*90)*(Math.PI/180))*(e-s));
},"exponential":function(s,e,t,c){
return parseInt(s+(Math.pow(c/t,2))*(e-s));
}};
var t=(o["iterator"]&&o["iterator"].constructor==Function)?o["iterator"]:ts[o["iterator"]]||ts[d["iterator"]]||ts["linear"];
if(d["iterator"]&&d["iterator"].constructor==Function){
t=d["iterator"];
}
return this.each(function(){
if(!this.highlighting){
this.highlighting={};
}
var e=(this.highlighting[a])?this.highlighting[a].end:jQuery.highlightFade.getBaseValue(this,a)||[255,255,255];
var c=jQuery.highlightFade.getRGB(o["start"]||o["colour"]||o["color"]||d["start"]||[255,255,128]);
var s=jQuery.speed(o["speed"]||d["speed"]);
var r=o["final"]||(this.highlighting[a]&&this.highlighting[a].orig)?this.highlighting[a].orig:jQuery.curCSS(this,a);
if(o["end"]||d["end"]){
r=jQuery.highlightFade.asRGBString(e=jQuery.highlightFade.getRGB(o["end"]||d["end"]));
}
if(typeof o["final"]!="undefined"){
r=o["final"];
}
if(this.highlighting[a]&&this.highlighting[a].timer){
window.clearInterval(this.highlighting[a].timer);
}
this.highlighting[a]={steps:((s.duration)/i),interval:i,currentStep:0,start:c,end:e,orig:r,attr:a};
jQuery.highlightFade(this,a,o["complete"],t);
});
};
jQuery.highlightFade=function(e,a,o,t){
e.highlighting[a].timer=window.setInterval(function(){
var newR=t(e.highlighting[a].start[0],e.highlighting[a].end[0],e.highlighting[a].steps,e.highlighting[a].currentStep);
var newG=t(e.highlighting[a].start[1],e.highlighting[a].end[1],e.highlighting[a].steps,e.highlighting[a].currentStep);
var newB=t(e.highlighting[a].start[2],e.highlighting[a].end[2],e.highlighting[a].steps,e.highlighting[a].currentStep);
jQuery(e).css(a,jQuery.highlightFade.asRGBString([newR,newG,newB]));
if(e.highlighting[a].currentStep++>=e.highlighting[a].steps){
jQuery(e).css(a,e.highlighting[a].orig||"");
window.clearInterval(e.highlighting[a].timer);
e.highlighting[a]=null;
if(o&&o.constructor==Function){
o.call(e);
}
}
},e.highlighting[a].interval);
};
jQuery.highlightFade.defaults={start:[255,255,128],interval:50,speed:400,attr:"backgroundColor"};
jQuery.highlightFade.getRGB=function(c,d){
var _34c;
if(c&&c.constructor==Array&&c.length==3){
return c;
}
if(_34c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c)){
return [parseInt(_34c[1]),parseInt(_34c[2]),parseInt(_34c[3])];
}else{
if(_34c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c)){
return [parseFloat(_34c[1])*2.55,parseFloat(_34c[2])*2.55,parseFloat(_34c[3])*2.55];
}else{
if(_34c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c)){
return [parseInt("0x"+_34c[1]),parseInt("0x"+_34c[2]),parseInt("0x"+_34c[3])];
}else{
if(_34c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c)){
return [parseInt("0x"+_34c[1]+_34c[1]),parseInt("0x"+_34c[2]+_34c[2]),parseInt("0x"+_34c[3]+_34c[3])];
}else{
return jQuery.highlightFade.checkColorName(c)||d||null;
}
}
}
}
};
jQuery.highlightFade.asRGBString=function(a){
return "rgb("+a.join(",")+")";
};
jQuery.highlightFade.getBaseValue=function(e,a,b){
var s,t;
b=b||false;
t=a=a||jQuery.highlightFade.defaults["attr"];
do{
s=jQuery(e).css(t||"backgroundColor");
if((s!=""&&s!="transparent")||(e.tagName.toLowerCase()=="body")||(!b&&e.highlighting&&e.highlighting[a]&&e.highlighting[a].end)){
break;
}
t=false;
}while(e=e.parentNode);
if(!b&&e.highlighting&&e.highlighting[a]&&e.highlighting[a].end){
s=e.highlighting[a].end;
}
if(s==undefined||s==""||s=="transparent"){
s=[255,255,255];
}
return jQuery.highlightFade.getRGB(s);
};
jQuery.highlightFade.checkColorName=function(c){
if(!c){
return null;
}
switch(c.replace(/^\s*|\s*$/g,"").toLowerCase()){
case "aqua":
return [0,255,255];
case "black":
return [0,0,0];
case "blue":
return [0,0,255];
case "fuchsia":
return [255,0,255];
case "gray":
return [128,128,128];
case "green":
return [0,128,0];
case "lime":
return [0,255,0];
case "maroon":
return [128,0,0];
case "navy":
return [0,0,128];
case "olive":
return [128,128,0];
case "purple":
return [128,0,128];
case "red":
return [255,0,0];
case "silver":
return [192,192,192];
case "teal":
return [0,128,128];
case "white":
return [255,255,255];
case "yellow":
return [255,255,0];
}
};

