(function(){var L=this,G,Y=L.jQuery,P=L.$,O=L.jQuery=L.$=function(g,h){return new O.fn.init(g,h);},f=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,F=/^.[^:#\[\.,]*$/;O.fn=O.prototype={init:function(g,k){g=g||document;if(g.nodeType){this[0]=g;this.length=1;this.context=g;return this;}if(typeof g==="string"){var j=f.exec(g);if(j&&(j[1]||!k)){if(j[1]){g=O.clean([j[1]],k);}else{var l=document.getElementById(j[3]);if(l&&l.id!=j[3]){return O().find(g);}var h=O(l||[]);h.context=document;h.selector=g;return h;}}else{return O(k).find(g);}}else{if(O.isFunction(g)){return O(document).ready(g);}}if(g.selector&&g.context){this.selector=g.selector;this.context=g.context;}return this.setArray(O.isArray(g)?g:O.makeArray(g));},selector:"",jquery:"1.3.2",size:function(){return this.length;},get:function(g){return g===G?Array.prototype.slice.call(this):this[g];},pushStack:function(h,k,g){var j=O(h);j.prevObject=this;j.context=this.context;if(k==="find"){j.selector=this.selector+(this.selector?" ":"")+g;}else{if(k){j.selector=this.selector+"."+k+"("+g+")";
}}return j;},setArray:function(g){this.length=0;Array.prototype.push.apply(this,g);return this;},each:function(h,g){return O.each(this,h,g);},index:function(g){return O.inArray(g&&g.jquery?g[0]:g,this);},attr:function(h,k,j){var g=h;if(typeof h==="string"){if(k===G){return this[0]&&O[j||"attr"](this[0],h);}else{g={};g[h]=k;}}return this.each(function(l){for(h in g){O.attr(j?this.style:this,h,O.prop(this,g[h],j,l,h));}});},css:function(g,h){if((g=="width"||g=="height")&&parseFloat(h)<0){h=G;}return this.attr(g,h,"curCSS");},text:function(h){if(typeof h!=="object"&&h!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(h));}var g="";O.each(h||this,function(){O.each(this.childNodes,function(){if(this.nodeType!=8){g+=this.nodeType!=1?this.nodeValue:O.fn.text([this]);}});});return g;},wrapAll:function(g){if(this[0]){var h=O(g,this[0].ownerDocument).clone();if(this[0].parentNode){h.insertBefore(this[0]);}h.map(function(){var j=this;while(j.firstChild){j=j.firstChild;
}return j;}).append(this);}return this;},wrapInner:function(g){return this.each(function(){O(this).contents().wrapAll(g);});},wrap:function(g){return this.each(function(){O(this).wrapAll(g);});},append:function(){return this.domManip(arguments,true,function(g){if(this.nodeType==1){this.appendChild(g);}});},prepend:function(){return this.domManip(arguments,true,function(g){if(this.nodeType==1){this.insertBefore(g,this.firstChild);}});},before:function(){return this.domManip(arguments,false,function(g){this.parentNode.insertBefore(g,this);});},after:function(){return this.domManip(arguments,false,function(g){this.parentNode.insertBefore(g,this.nextSibling);});},end:function(){return this.prevObject||O([]);},push:[].push,sort:[].sort,splice:[].splice,find:function(g){if(this.length===1){var h=this.pushStack([],"find",g);h.length=0;O.find(g,this[0],h);return h;}else{return this.pushStack(O.unique(O.map(this,function(j){return O.find(g,j);})),"find",g);}},clone:function(j){var g=this.map(function(){if(!O.support.noCloneEvent&&!O.isXMLDoc(this)){var l=this.outerHTML;
if(!l){var m=this.ownerDocument.createElement("div");m.appendChild(this.cloneNode(true));l=m.innerHTML;}return O.clean([l.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0];}else{return this.cloneNode(true);}});if(j===true){var k=this.find("*").andSelf(),h=0;g.find("*").andSelf().each(function(){if(this.nodeName!==k[h].nodeName){return ;}var l=O.data(k[h],"events");for(var n in l){for(var m in l[n]){O.event.add(this,n,l[n][m],l[n][m].data);}}h++;});}return g;},filter:function(g){return this.pushStack(O.isFunction(g)&&O.grep(this,function(j,h){return g.call(j,h);})||O.multiFilter(g,O.grep(this,function(h){return h.nodeType===1;})),"filter",g);},closest:function(g){var j=O.expr.match.POS.test(g)?O(g):null,h=0;return this.map(function(){var k=this;while(k&&k.ownerDocument){if(j?j.index(k)>-1:O(k).is(g)){O.data(k,"closest",h);return k;}k=k.parentNode;h++;}});},not:function(g){if(typeof g==="string"){if(F.test(g)){return this.pushStack(O.multiFilter(g,this,true),"not",g);}else{g=O.multiFilter(g,this);
}}var h=g.length&&g[g.length-1]!==G&&!g.nodeType;return this.filter(function(){return h?O.inArray(this,g)<0:this!=g;});},add:function(g){return this.pushStack(O.unique(O.merge(this.get(),typeof g==="string"?O(g):O.makeArray(g))));},is:function(g){return !!g&&O.multiFilter(g,this).length>0;},hasClass:function(g){return !!g&&this.is("."+g);},val:function(n){if(n===G){var g=this[0];if(g){if(O.nodeName(g,"option")){return(g.attributes.value||{}).specified?g.value:g.text;}if(O.nodeName(g,"select")){var l=g.selectedIndex,o=[],p=g.options,k=g.type=="select-one";if(l<0){return null;}for(var h=k?l:0,m=k?l+1:p.length;h<m;h++){var j=p[h];if(j.selected){n=O(j).val();if(k){return n;}o.push(n);}}return o;}return(g.value||"").replace(/\r/g,"");}return G;}if(typeof n==="number"){n+="";}return this.each(function(){if(this.nodeType!=1){return ;}if(O.isArray(n)&&/radio|checkbox/.test(this.type)){this.checked=(O.inArray(this.value,n)>=0||O.inArray(this.name,n)>=0);}else{if(O.nodeName(this,"select")){var q=O.makeArray(n);
O("option",this).each(function(){this.selected=(O.inArray(this.value,q)>=0||O.inArray(this.text,q)>=0);});if(!q.length){this.selectedIndex=-1;}}else{this.value=n;}}});},html:function(g){return g===G?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(g);},replaceWith:function(g){return this.after(g).remove();},eq:function(g){return this.slice(g,+g+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","));},map:function(g){return this.pushStack(O.map(this,function(j,h){return g.call(j,h,j);}));},andSelf:function(){return this.add(this.prevObject);},domManip:function(n,q,p){if(this[0]){var m=(this[0].ownerDocument||this[0]).createDocumentFragment(),h=O.clean(n,(this[0].ownerDocument||this[0]),m),k=m.firstChild;if(k){for(var j=0,g=this.length;j<g;j++){p.call(o(this[j],k),this.length>1||j>0?m.cloneNode(true):m);}}if(h){O.each(h,Z);}}return this;function o(l,r){return q&&O.nodeName(l,"table")&&O.nodeName(r,"tr")?(l.getElementsByTagName("tbody")[0]||l.appendChild(l.ownerDocument.createElement("tbody"))):l;
}}};O.fn.init.prototype=O.fn;function Z(g,h){if(h.src){O.ajax({url:h.src,async:false,dataType:"script"});}else{O.globalEval(h.text||h.textContent||h.innerHTML||"");}if(h.parentNode){h.parentNode.removeChild(h);}}function E(){return +new Date;}O.extend=O.fn.extend=function(){var m=arguments[0]||{},k=1,l=arguments.length,g=false,j;if(typeof m==="boolean"){g=m;m=arguments[1]||{};k=2;}if(typeof m!=="object"&&!O.isFunction(m)){m={};}if(l==k){m=this;--k;}for(;k<l;k++){if((j=arguments[k])!=null){for(var h in j){var n=m[h],o=j[h];if(m===o){continue;}if(g&&o&&typeof o==="object"&&!o.nodeType){m[h]=O.extend(g,n||(o.length!=null?[]:{}),o);}else{if(o!==G){m[h]=o;}}}}}return m;};var B=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},S=Object.prototype.toString;O.extend({noConflict:function(g){L.$=P;if(g){L.jQuery=Y;}return O;},isFunction:function(g){return S.call(g)==="[object Function]";},isArray:function(g){return S.call(g)==="[object Array]";},isXMLDoc:function(g){return g.nodeType===9&&g.documentElement.nodeName!=="HTML"||!!g.ownerDocument&&O.isXMLDoc(g.ownerDocument);
},globalEval:function(j){if(j&&/\S/.test(j)){var h=document.getElementsByTagName("head")[0]||document.documentElement,g=document.createElement("script");g.type="text/javascript";if(O.support.scriptEval){g.appendChild(document.createTextNode(j));}else{g.text=j;}h.insertBefore(g,h.firstChild);h.removeChild(g);}},nodeName:function(h,g){return h.nodeName&&h.nodeName.toUpperCase()==g.toUpperCase();},each:function(j,n,h){var g,k=0,l=j.length;if(h){if(l===G){for(g in j){if(n.apply(j[g],h)===false){break;}}}else{for(;k<l;){if(n.apply(j[k++],h)===false){break;}}}}else{if(l===G){for(g in j){if(n.call(j[g],g,j[g])===false){break;}}}else{for(var m=j[0];k<l&&n.call(m,k,m)!==false;m=j[++k]){}}}return j;},prop:function(k,l,j,h,g){if(O.isFunction(l)){l=l.call(k,h);}return typeof l==="number"&&j=="curCSS"&&!B.test(g)?l+"px":l;},className:{add:function(g,h){O.each((h||"").split(/\s+/),function(j,k){if(g.nodeType==1&&!O.className.has(g.className,k)){g.className+=(g.className?" ":"")+k;}});},remove:function(g,h){if(g.nodeType==1){g.className=h!==G?O.grep(g.className.split(/\s+/),function(j){return !O.className.has(h,j);
}).join(" "):"";}},has:function(h,g){return h&&O.inArray(g,(h.className||h).toString().split(/\s+/))>-1;}},swap:function(k,j,l){var g={};for(var h in j){g[h]=k.style[h];k.style[h]=j[h];}l.call(k);for(var h in j){k.style[h]=g[h];}},css:function(k,h,m,g){if(h=="width"||h=="height"){var o,j={position:"absolute",visibility:"hidden",display:"block"},n=h=="width"?["Left","Right"]:["Top","Bottom"];function l(){o=h=="width"?k.offsetWidth:k.offsetHeight;if(g==="border"){return ;}O.each(n,function(){if(!g){o-=parseFloat(O.curCSS(k,"padding"+this,true))||0;}if(g==="margin"){o+=parseFloat(O.curCSS(k,"margin"+this,true))||0;}else{o-=parseFloat(O.curCSS(k,"border"+this+"Width",true))||0;}});}if(k.offsetWidth!==0){l();}else{O.swap(k,j,l);}return Math.max(0,Math.round(o));}return O.curCSS(k,h,m);},curCSS:function(l,h,j){var o,g=l.style;if(h=="opacity"&&!O.support.opacity){o=O.attr(g,"opacity");return o==""?"1":o;}if(h.match(/float/i)){h=W;}if(!j&&g&&g[h]){o=g[h];}else{if(Q.getComputedStyle){if(h.match(/float/i)){h="float";
}h=h.replace(/([A-Z])/g,"-$1").toLowerCase();var p=Q.getComputedStyle(l,null);if(p){o=p.getPropertyValue(h);}if(h=="opacity"&&o==""){o="1";}}else{if(l.currentStyle){var m=h.replace(/\-(\w)/g,function(q,r){return r.toUpperCase();});o=l.currentStyle[h]||l.currentStyle[m];if(!/^\d+(px)?$/i.test(o)&&/^\d/.test(o)){var k=g.left,n=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;g.left=o||0;o=g.pixelLeft+"px";g.left=k;l.runtimeStyle.left=n;}}}}return o;},clean:function(h,n,l){n=n||document;if(typeof n.createElement==="undefined"){n=n.ownerDocument||n[0]&&n[0].ownerDocument||document;}if(!l&&h.length===1&&typeof h[0]==="string"){var k=/^<(\w+)\s*\/?>$/.exec(h[0]);if(k){return[n.createElement(k[1])];}}var j=[],g=[],o=n.createElement("div");O.each(h,function(s,v){if(typeof v==="number"){v+="";}if(!v){return ;}if(typeof v==="string"){v=v.replace(/(<(\w+)[^>]*?)\/>/g,function(AA,AB,w){return w.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?AA:AB+"></"+w+">";});var r=v.replace(/^\s+/,"").substring(0,10).toLowerCase();
var t=!r.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!r.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||r.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!r.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!r.indexOf("<td")||!r.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!r.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!O.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];o.innerHTML=t[1]+v+t[2];while(t[0]--){o=o.lastChild;}if(!O.support.tbody){var u=/<tbody/i.test(v),q=!r.indexOf("<table")&&!u?o.firstChild&&o.firstChild.childNodes:t[1]=="<table>"&&!u?o.childNodes:[];for(var p=q.length-1;p>=0;--p){if(O.nodeName(q[p],"tbody")&&!q[p].childNodes.length){q[p].parentNode.removeChild(q[p]);}}}if(!O.support.leadingWhitespace&&/^\s/.test(v)){o.insertBefore(n.createTextNode(v.match(/^\s*/)[0]),o.firstChild);}v=O.makeArray(o.childNodes);}if(v.nodeType){j.push(v);}else{j=O.merge(j,v);}});
if(l){for(var m=0;j[m];m++){if(O.nodeName(j[m],"script")&&(!j[m].type||j[m].type.toLowerCase()==="text/javascript")){g.push(j[m].parentNode?j[m].parentNode.removeChild(j[m]):j[m]);}else{if(j[m].nodeType===1){j.splice.apply(j,[m+1,0].concat(O.makeArray(j[m].getElementsByTagName("script"))));}l.appendChild(j[m]);}}return g;}return j;},attr:function(m,j,n){if(!m||m.nodeType==3||m.nodeType==8){return G;}var k=!O.isXMLDoc(m),o=n!==G;j=k&&O.props[j]||j;if(m.tagName){var h=/href|src|style/.test(j);if(j=="selected"&&m.parentNode){m.parentNode.selectedIndex;}if(j in m&&k&&!h){if(o){if(j=="type"&&O.nodeName(m,"input")&&m.parentNode){throw"type property can't be changed";}m[j]=n;}if(O.nodeName(m,"form")&&m.getAttributeNode(j)){return m.getAttributeNode(j).nodeValue;}if(j=="tabIndex"){var l=m.getAttributeNode("tabIndex");return l&&l.specified?l.value:m.nodeName.match(/(button|input|object|select|textarea)/i)?0:m.nodeName.match(/^(a|area)$/i)&&m.href?0:G;}return m[j];}if(!O.support.style&&k&&j=="style"){return O.attr(m.style,"cssText",n);
}if(o){m.setAttribute(j,""+n);}var g=!O.support.hrefNormalized&&k&&h?m.getAttribute(j,2):m.getAttribute(j);return g===null?G:g;}if(!O.support.opacity&&j=="opacity"){if(o){m.zoom=1;m.filter=(m.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(n)+""=="NaN"?"":"alpha(opacity="+n*100+")");}return m.filter&&m.filter.indexOf("opacity=")>=0?(parseFloat(m.filter.match(/opacity=([^)]*)/)[1])/100)+"":"";}j=j.replace(/-([a-z])/ig,function(p,q){return q.toUpperCase();});if(o){m[j]=n;}return m[j];},trim:function(g){return(g||"").replace(/^\s+|\s+$/g,"");},makeArray:function(j){var g=[];if(j!=null){var h=j.length;if(h==null||typeof j==="string"||O.isFunction(j)||j.setInterval){g[0]=j;}else{while(h){g[--h]=j[h];}}}return g;},inArray:function(j,k){for(var g=0,h=k.length;g<h;g++){if(k[g]===j){return g;}}return -1;},merge:function(k,g){var h=0,j,l=k.length;if(!O.support.getAll){while((j=g[h++])!=null){if(j.nodeType!=8){k[l++]=j;}}}else{while((j=g[h++])!=null){k[l++]=j;}}return k;},unique:function(n){var h=[],g={};
try{for(var j=0,k=n.length;j<k;j++){var m=O.data(n[j]);if(!g[m]){g[m]=true;h.push(n[j]);}}}catch(l){h=n;}return h;},grep:function(h,m,g){var j=[];for(var k=0,l=h.length;k<l;k++){if(!g!=!m(h[k],k)){j.push(h[k]);}}return j;},map:function(g,m){var h=[];for(var j=0,k=g.length;j<k;j++){var l=m(g[j],j);if(l!=null){h[h.length]=l;}}return h.concat.apply([],h);}});var c=navigator.userAgent.toLowerCase();O.browser={version:(c.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(c),opera:/opera/.test(c),msie:/msie/.test(c)&&!/opera/.test(c),mozilla:/mozilla/.test(c)&&!/(compatible|webkit)/.test(c)};O.each({parent:function(g){return g.parentNode;},parents:function(g){return O.dir(g,"parentNode");},next:function(g){return O.nth(g,2,"nextSibling");},prev:function(g){return O.nth(g,2,"previousSibling");},nextAll:function(g){return O.dir(g,"nextSibling");},prevAll:function(g){return O.dir(g,"previousSibling");},siblings:function(g){return O.sibling(g.parentNode.firstChild,g);},children:function(g){return O.sibling(g.firstChild);
},contents:function(g){return O.nodeName(g,"iframe")?g.contentDocument||g.contentWindow.document:O.makeArray(g.childNodes);}},function(g,h){O.fn[g]=function(j){var k=O.map(this,h);if(j&&typeof j=="string"){k=O.multiFilter(j,k);}return this.pushStack(O.unique(k),g,j);};});O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(g,h){O.fn[g]=function(j){var n=[],p=O(j);for(var o=0,k=p.length;o<k;o++){var m=(o>0?this.clone(true):this).get();O.fn[h].apply(O(p[o]),m);n=n.concat(m);}return this.pushStack(n,g,j);};});O.each({removeAttr:function(g){O.attr(this,g,"");if(this.nodeType==1){this.removeAttribute(g);}},addClass:function(g){O.className.add(this,g);},removeClass:function(g){O.className.remove(this,g);},toggleClass:function(h,g){if(typeof g!=="boolean"){g=!O.className.has(this,h);}O.className[g?"add":"remove"](this,h);},remove:function(g){if(!g||O.filter(g,[this]).length){O("*",this).add([this]).each(function(){O.event.remove(this);
O.removeData(this);});if(this.parentNode){this.parentNode.removeChild(this);}}},empty:function(){O(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild);}}},function(g,h){O.fn[g]=function(){return this.each(h,arguments);};});function J(g,h){return g[0]&&parseInt(O.curCSS(g[0],h,true),10)||0;}var H="jQuery"+E(),V=0,a={};O.extend({cache:{},data:function(h,g,j){h=h==L?a:h;var k=h[H];if(!k){k=h[H]=++V;}if(g&&!O.cache[k]){O.cache[k]={};}if(j!==G){O.cache[k][g]=j;}return g?O.cache[k][g]:k;},removeData:function(h,g){h=h==L?a:h;var k=h[H];if(g){if(O.cache[k]){delete O.cache[k][g];g="";for(g in O.cache[k]){break;}if(!g){O.removeData(h);}}}else{try{delete h[H];}catch(j){if(h.removeAttribute){h.removeAttribute(H);}}delete O.cache[k];}},queue:function(h,g,k){if(h){g=(g||"fx")+"queue";var j=O.data(h,g);if(!j||O.isArray(k)){j=O.data(h,g,O.makeArray(k));}else{if(k){j.push(k);}}}return j;},dequeue:function(k,j){var g=O.queue(k,j),h=g.shift();if(!j||j==="fx"){h=g[0];}if(h!==G){h.call(k);
}}});O.fn.extend({data:function(g,j){var k=g.split(".");k[1]=k[1]?"."+k[1]:"";if(j===G){var h=this.triggerHandler("getData"+k[1]+"!",[k[0]]);if(h===G&&this.length){h=O.data(this[0],g);}return h===G&&k[1]?this.data(k[0]):h;}else{return this.trigger("setData"+k[1]+"!",[k[0],j]).each(function(){O.data(this,g,j);});}},removeData:function(g){return this.each(function(){O.removeData(this,g);});},queue:function(g,h){if(typeof g!=="string"){h=g;g="fx";}if(h===G){return O.queue(this[0],g);}return this.each(function(){var j=O.queue(this,g,h);if(g=="fx"&&j.length==1){j[0].call(this);}});},dequeue:function(g){return this.each(function(){O.dequeue(this,g);});}});(function(){var u=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,o=0,k=Object.prototype.toString;var h=function(AE,AA,AH,AI){AH=AH||[];AA=AA||document;if(AA.nodeType!==1&&AA.nodeType!==9){return[];}if(!AE||typeof AE!=="string"){return AH;}var AF=[],AC,AL,AO,w,AJ,AB,AD=true;
u.lastIndex=0;while((AC=u.exec(AE))!==null){AF.push(AC[1]);if(AC[2]){AB=RegExp.rightContext;break;}}if(AF.length>1&&p.exec(AE)){if(AF.length===2&&l.relative[AF[0]]){AL=m(AF[0]+AF[1],AA);}else{AL=l.relative[AF[0]]?[AA]:h(AF.shift(),AA);while(AF.length){AE=AF.shift();if(l.relative[AE]){AE+=AF.shift();}AL=m(AE,AL);}}}else{var AK=AI?{expr:AF.pop(),set:g(AI)}:h.find(AF.pop(),AF.length===1&&AA.parentNode?AA.parentNode:AA,t(AA));AL=h.filter(AK.expr,AK.set);if(AF.length>0){AO=g(AL);}else{AD=false;}while(AF.length){var AN=AF.pop(),AM=AN;if(!l.relative[AN]){AN="";}else{AM=AF.pop();}if(AM==null){AM=AA;}l.relative[AN](AO,AM,t(AA));}}if(!AO){AO=AL;}if(!AO){throw"Syntax error, unrecognized expression: "+(AN||AE);}if(k.call(AO)==="[object Array]"){if(!AD){AH.push.apply(AH,AO);}else{if(AA.nodeType===1){for(var AG=0;AO[AG]!=null;AG++){if(AO[AG]&&(AO[AG]===true||AO[AG].nodeType===1&&n(AA,AO[AG]))){AH.push(AL[AG]);}}}else{for(var AG=0;AO[AG]!=null;AG++){if(AO[AG]&&AO[AG].nodeType===1){AH.push(AL[AG]);}}}}}else{g(AO,AH);
}if(AB){h(AB,AA,AH,AI);if(j){hasDuplicate=false;AH.sort(j);if(hasDuplicate){for(var AG=1;AG<AH.length;AG++){if(AH[AG]===AH[AG-1]){AH.splice(AG--,1);}}}}}return AH;};h.matches=function(w,AA){return h(w,null,null,AA);};h.find=function(AG,w,AH){var AF,AD;if(!AG){return[];}for(var AC=0,AB=l.order.length;AC<AB;AC++){var AE=l.order[AC],AD;if((AD=l.match[AE].exec(AG))){var AA=RegExp.leftContext;if(AA.substr(AA.length-1)!=="\\"){AD[1]=(AD[1]||"").replace(/\\/g,"");AF=l.find[AE](AD,w,AH);if(AF!=null){AG=AG.replace(l.match[AE],"");break;}}}}if(!AF){AF=w.getElementsByTagName("*");}return{set:AF,expr:AG};};h.filter=function(AJ,AI,AM,AC){var AB=AJ,AO=[],AG=AI,AE,w,AF=AI&&AI[0]&&t(AI[0]);while(AJ&&AI.length){for(var AH in l.filter){if((AE=l.match[AH].exec(AJ))!=null){var AA=l.filter[AH],AN,AL;w=false;if(AG==AO){AO=[];}if(l.preFilter[AH]){AE=l.preFilter[AH](AE,AG,AM,AO,AC,AF);if(!AE){w=AN=true;}else{if(AE===true){continue;}}}if(AE){for(var AD=0;(AL=AG[AD])!=null;AD++){if(AL){AN=AA(AL,AE,AD,AG);var AK=AC^!!AN;
if(AM&&AN!=null){if(AK){w=true;}else{AG[AD]=false;}}else{if(AK){AO.push(AL);w=true;}}}}}if(AN!==G){if(!AM){AG=AO;}AJ=AJ.replace(l.match[AH],"");if(!w){return[];}break;}}}if(AJ==AB){if(w==null){throw"Syntax error, unrecognized expression: "+AJ;}else{break;}}AB=AJ;}return AG;};var l=h.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(w){return w.getAttribute("href");}},relative:{"+":function(AG,w,AF){var AD=typeof w==="string",AH=AD&&!/\W/.test(w),AE=AD&&!AH;if(AH&&!AF){w=w.toUpperCase();
}for(var AC=0,AB=AG.length,AA;AC<AB;AC++){if((AA=AG[AC])){while((AA=AA.previousSibling)&&AA.nodeType!==1){}AG[AC]=AE||AA&&AA.nodeName===w?AA||false:AA===w;}}if(AE){h.filter(w,AG,true);}},">":function(AF,AA,AG){var AD=typeof AA==="string";if(AD&&!/\W/.test(AA)){AA=AG?AA:AA.toUpperCase();for(var AB=0,w=AF.length;AB<w;AB++){var AE=AF[AB];if(AE){var AC=AE.parentNode;AF[AB]=AC.nodeName===AA?AC:false;}}}else{for(var AB=0,w=AF.length;AB<w;AB++){var AE=AF[AB];if(AE){AF[AB]=AD?AE.parentNode:AE.parentNode===AA;}}if(AD){h.filter(AA,AF,true);}}},"":function(AC,AA,AE){var AB=o++,w=v;if(!AA.match(/\W/)){var AD=AA=AE?AA:AA.toUpperCase();w=s;}w("parentNode",AA,AB,AC,AD,AE);},"~":function(AC,AA,AE){var AB=o++,w=v;if(typeof AA==="string"&&!AA.match(/\W/)){var AD=AA=AE?AA:AA.toUpperCase();w=s;}w("previousSibling",AA,AB,AC,AD,AE);}},find:{ID:function(AA,AB,AC){if(typeof AB.getElementById!=="undefined"&&!AC){var w=AB.getElementById(AA[1]);return w?[w]:[];}},NAME:function(AB,AE,AF){if(typeof AE.getElementsByName!=="undefined"){var AA=[],AD=AE.getElementsByName(AB[1]);
for(var AC=0,w=AD.length;AC<w;AC++){if(AD[AC].getAttribute("name")===AB[1]){AA.push(AD[AC]);}}return AA.length===0?null:AA;}},TAG:function(w,AA){return AA.getElementsByTagName(w[1]);}},preFilter:{CLASS:function(AC,AA,AB,w,AF,AG){AC=" "+AC[1].replace(/\\/g,"")+" ";if(AG){return AC;}for(var AD=0,AE;(AE=AA[AD])!=null;AD++){if(AE){if(AF^(AE.className&&(" "+AE.className+" ").indexOf(AC)>=0)){if(!AB){w.push(AE);}}else{if(AB){AA[AD]=false;}}}}return false;},ID:function(w){return w[1].replace(/\\/g,"");},TAG:function(AA,w){for(var AB=0;w[AB]===false;AB++){}return w[AB]&&t(w[AB])?AA[1]:AA[1].toUpperCase();},CHILD:function(w){if(w[1]=="nth"){var AA=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(w[2]=="even"&&"2n"||w[2]=="odd"&&"2n+1"||!/\D/.test(w[2])&&"0n+"+w[2]||w[2]);w[2]=(AA[1]+(AA[2]||1))-0;w[3]=AA[3]-0;}w[0]=o++;return w;},ATTR:function(AD,AA,AB,w,AE,AF){var AC=AD[1].replace(/\\/g,"");if(!AF&&l.attrMap[AC]){AD[1]=l.attrMap[AC];}if(AD[2]==="~="){AD[4]=" "+AD[4]+" ";}return AD;},PSEUDO:function(AD,AA,AB,w,AE){if(AD[1]==="not"){if(AD[3].match(u).length>1||/^\w/.test(AD[3])){AD[3]=h(AD[3],null,null,AA);
}else{var AC=h.filter(AD[3],AA,AB,true^AE);if(!AB){w.push.apply(w,AC);}return false;}}else{if(l.match.POS.test(AD[0])||l.match.CHILD.test(AD[0])){return true;}}return AD;},POS:function(w){w.unshift(true);return w;}},filters:{enabled:function(w){return w.disabled===false&&w.type!=="hidden";},disabled:function(w){return w.disabled===true;},checked:function(w){return w.checked===true;},selected:function(w){w.parentNode.selectedIndex;return w.selected===true;},parent:function(w){return !!w.firstChild;},empty:function(w){return !w.firstChild;},has:function(AB,AA,w){return !!h(w[3],AB).length;},header:function(w){return/h\d/i.test(w.nodeName);},text:function(w){return"text"===w.type;},radio:function(w){return"radio"===w.type;},checkbox:function(w){return"checkbox"===w.type;},file:function(w){return"file"===w.type;},password:function(w){return"password"===w.type;},submit:function(w){return"submit"===w.type;},image:function(w){return"image"===w.type;},reset:function(w){return"reset"===w.type;},button:function(w){return"button"===w.type||w.nodeName.toUpperCase()==="BUTTON";
},input:function(w){return/input|select|textarea|button/i.test(w.nodeName);}},setFilters:{first:function(AA,w){return w===0;},last:function(AB,AA,w,AC){return AA===AC.length-1;},even:function(AA,w){return w%2===0;},odd:function(AA,w){return w%2===1;},lt:function(AB,AA,w){return AA<w[3]-0;},gt:function(AB,AA,w){return AA>w[3]-0;},nth:function(AB,AA,w){return w[3]-0==AA;},eq:function(AB,AA,w){return w[3]-0==AA;}},filter:{PSEUDO:function(AF,AB,AC,AG){var AA=AB[1],AD=l.filters[AA];if(AD){return AD(AF,AC,AB,AG);}else{if(AA==="contains"){return(AF.textContent||AF.innerText||"").indexOf(AB[3])>=0;}else{if(AA==="not"){var AE=AB[3];for(var AC=0,w=AE.length;AC<w;AC++){if(AE[AC]===AF){return false;}}return true;}}}},CHILD:function(w,AC){var AF=AC[1],AA=w;switch(AF){case"only":case"first":while(AA=AA.previousSibling){if(AA.nodeType===1){return false;}}if(AF=="first"){return true;}AA=w;case"last":while(AA=AA.nextSibling){if(AA.nodeType===1){return false;}}return true;case"nth":var AB=AC[2],AI=AC[3];
if(AB==1&&AI==0){return true;}var AE=AC[0],AH=w.parentNode;if(AH&&(AH.sizcache!==AE||!w.nodeIndex)){var AD=0;for(AA=AH.firstChild;AA;AA=AA.nextSibling){if(AA.nodeType===1){AA.nodeIndex=++AD;}}AH.sizcache=AE;}var AG=w.nodeIndex-AI;if(AB==0){return AG==0;}else{return(AG%AB==0&&AG/AB>=0);}}},ID:function(AA,w){return AA.nodeType===1&&AA.getAttribute("id")===w;},TAG:function(AA,w){return(w==="*"&&AA.nodeType===1)||AA.nodeName===w;},CLASS:function(AA,w){return(" "+(AA.className||AA.getAttribute("class"))+" ").indexOf(w)>-1;},ATTR:function(AE,AC){var AB=AC[1],w=l.attrHandle[AB]?l.attrHandle[AB](AE):AE[AB]!=null?AE[AB]:AE.getAttribute(AB),AF=w+"",AD=AC[2],AA=AC[4];return w==null?AD==="!=":AD==="="?AF===AA:AD==="*="?AF.indexOf(AA)>=0:AD==="~="?(" "+AF+" ").indexOf(AA)>=0:!AA?AF&&w!==false:AD==="!="?AF!=AA:AD==="^="?AF.indexOf(AA)===0:AD==="$="?AF.substr(AF.length-AA.length)===AA:AD==="|="?AF===AA||AF.substr(0,AA.length+1)===AA+"-":false;},POS:function(AD,AA,AB,AE){var w=AA[2],AC=l.setFilters[w];
if(AC){return AC(AD,AB,AA,AE);}}}};var p=l.match.POS;for(var r in l.match){l.match[r]=RegExp(l.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source);}var g=function(AA,w){AA=Array.prototype.slice.call(AA);if(w){w.push.apply(w,AA);return w;}return AA;};try{Array.prototype.slice.call(document.documentElement.childNodes);}catch(q){g=function(AD,AC){var AA=AC||[];if(k.call(AD)==="[object Array]"){Array.prototype.push.apply(AA,AD);}else{if(typeof AD.length==="number"){for(var AB=0,w=AD.length;AB<w;AB++){AA.push(AD[AB]);}}else{for(var AB=0;AD[AB];AB++){AA.push(AD[AB]);}}}return AA;};}var j;if(document.documentElement.compareDocumentPosition){j=function(AA,w){var AB=AA.compareDocumentPosition(w)&4?-1:AA===w?0:1;if(AB===0){hasDuplicate=true;}return AB;};}else{if("sourceIndex" in document.documentElement){j=function(AA,w){var AB=AA.sourceIndex-w.sourceIndex;if(AB===0){hasDuplicate=true;}return AB;};}else{if(document.createRange){j=function(AC,AA){var AB=AC.ownerDocument.createRange(),w=AA.ownerDocument.createRange();
AB.selectNode(AC);AB.collapse(true);w.selectNode(AA);w.collapse(true);var AD=AB.compareBoundaryPoints(Range.START_TO_END,w);if(AD===0){hasDuplicate=true;}return AD;};}}}(function(){var AA=document.createElement("form"),AB="script"+(new Date).getTime();AA.innerHTML="<input name='"+AB+"'/>";var w=document.documentElement;w.insertBefore(AA,w.firstChild);if(!!document.getElementById(AB)){l.find.ID=function(AD,AE,AF){if(typeof AE.getElementById!=="undefined"&&!AF){var AC=AE.getElementById(AD[1]);return AC?AC.id===AD[1]||typeof AC.getAttributeNode!=="undefined"&&AC.getAttributeNode("id").nodeValue===AD[1]?[AC]:G:[];}};l.filter.ID=function(AE,AC){var AD=typeof AE.getAttributeNode!=="undefined"&&AE.getAttributeNode("id");return AE.nodeType===1&&AD&&AD.nodeValue===AC;};}w.removeChild(AA);})();(function(){var w=document.createElement("div");w.appendChild(document.createComment(""));if(w.getElementsByTagName("*").length>0){l.find.TAG=function(AA,AE){var AD=AE.getElementsByTagName(AA[1]);if(AA[1]==="*"){var AC=[];
for(var AB=0;AD[AB];AB++){if(AD[AB].nodeType===1){AC.push(AD[AB]);}}AD=AC;}return AD;};}w.innerHTML="<a href='#'></a>";if(w.firstChild&&typeof w.firstChild.getAttribute!=="undefined"&&w.firstChild.getAttribute("href")!=="#"){l.attrHandle.href=function(AA){return AA.getAttribute("href",2);};}})();if(document.querySelectorAll){(function(){var w=h,AA=document.createElement("div");AA.innerHTML="<p class='TEST'></p>";if(AA.querySelectorAll&&AA.querySelectorAll(".TEST").length===0){return ;}h=function(AE,AD,AB,AC){AD=AD||document;if(!AC&&AD.nodeType===9&&!t(AD)){try{return g(AD.querySelectorAll(AE),AB);}catch(AF){}}return w(AE,AD,AB,AC);};h.find=w.find;h.filter=w.filter;h.selectors=w.selectors;h.matches=w.matches;})();}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var w=document.createElement("div");w.innerHTML="<div class='test e'></div><div class='test'></div>";if(w.getElementsByClassName("e").length===0){return ;}w.lastChild.className="e";
if(w.getElementsByClassName("e").length===1){return ;}l.order.splice(1,0,"CLASS");l.find.CLASS=function(AA,AB,AC){if(typeof AB.getElementsByClassName!=="undefined"&&!AC){return AB.getElementsByClassName(AA[1]);}};})();}function s(AA,AF,AE,AJ,AG,AI){var AH=AA=="previousSibling"&&!AI;for(var AC=0,AB=AJ.length;AC<AB;AC++){var w=AJ[AC];if(w){if(AH&&w.nodeType===1){w.sizcache=AE;w.sizset=AC;}w=w[AA];var AD=false;while(w){if(w.sizcache===AE){AD=AJ[w.sizset];break;}if(w.nodeType===1&&!AI){w.sizcache=AE;w.sizset=AC;}if(w.nodeName===AF){AD=w;break;}w=w[AA];}AJ[AC]=AD;}}}function v(AA,AF,AE,AJ,AG,AI){var AH=AA=="previousSibling"&&!AI;for(var AC=0,AB=AJ.length;AC<AB;AC++){var w=AJ[AC];if(w){if(AH&&w.nodeType===1){w.sizcache=AE;w.sizset=AC;}w=w[AA];var AD=false;while(w){if(w.sizcache===AE){AD=AJ[w.sizset];break;}if(w.nodeType===1){if(!AI){w.sizcache=AE;w.sizset=AC;}if(typeof AF!=="string"){if(w===AF){AD=true;break;}}else{if(h.filter(AF,[w]).length>0){AD=w;break;}}}w=w[AA];}AJ[AC]=AD;}}}var n=document.compareDocumentPosition?function(AA,w){return AA.compareDocumentPosition(w)&16;
}:function(AA,w){return AA!==w&&(AA.contains?AA.contains(w):true);};var t=function(w){return w.nodeType===9&&w.documentElement.nodeName!=="HTML"||!!w.ownerDocument&&t(w.ownerDocument);};var m=function(w,AG){var AC=[],AD="",AE,AB=AG.nodeType?[AG]:AG;while((AE=l.match.PSEUDO.exec(w))){AD+=AE[0];w=w.replace(l.match.PSEUDO,"");}w=l.relative[w]?w+"*":w;for(var AF=0,AA=AB.length;AF<AA;AF++){h(w,AB[AF],AC);}return h.filter(AD,AC);};O.find=h;O.filter=h.filter;O.expr=h.selectors;O.expr[":"]=O.expr.filters;h.selectors.filters.hidden=function(w){return w.offsetWidth===0||w.offsetHeight===0;};h.selectors.filters.visible=function(w){return w.offsetWidth>0||w.offsetHeight>0;};h.selectors.filters.animated=function(w){return O.grep(O.timers,function(AA){return w===AA.elem;}).length;};O.multiFilter=function(AB,w,AA){if(AA){AB=":not("+AB+")";}return h.matches(AB,w);};O.dir=function(AB,AA){var w=[],AC=AB[AA];while(AC&&AC!=document){if(AC.nodeType==1){w.push(AC);}AC=AC[AA];}return w;};O.nth=function(AD,w,AB,AC){w=w||1;
var AA=0;for(;AD;AD=AD[AB]){if(AD.nodeType==1&&++AA==w){break;}}return AD;};O.sibling=function(AB,AA){var w=[];for(;AB;AB=AB.nextSibling){if(AB.nodeType==1&&AB!=AA){w.push(AB);}}return w;};return ;L.Sizzle=h;})();O.event={add:function(l,h,k,n){if(l.nodeType==3||l.nodeType==8){return ;}if(l.setInterval&&l!=L){l=L;}if(!k.guid){k.guid=this.guid++;}if(n!==G){var j=k;k=this.proxy(j);k.data=n;}var g=O.data(l,"events")||O.data(l,"events",{}),m=O.data(l,"handle")||O.data(l,"handle",function(){return typeof O!=="undefined"&&!O.event.triggered?O.event.handle.apply(arguments.callee.elem,arguments):G;});m.elem=l;O.each(h.split(/\s+/),function(p,q){var r=q.split(".");q=r.shift();k.type=r.slice().sort().join(".");var o=g[q];if(O.event.specialAll[q]){O.event.specialAll[q].setup.call(l,n,r);}if(!o){o=g[q]={};if(!O.event.special[q]||O.event.special[q].setup.call(l,n,r)===false){if(l.addEventListener){l.addEventListener(q,m,false);}else{if(l.attachEvent){l.attachEvent("on"+q,m);}}}}o[k.guid]=k;O.event.global[q]=true;
});l=null;},guid:1,global:{},remove:function(n,k,m){if(n.nodeType==3||n.nodeType==8){return ;}var j=O.data(n,"events"),h,g;if(j){if(k===G||(typeof k==="string"&&k.charAt(0)==".")){for(var l in j){this.remove(n,l+(k||""));}}else{if(k.type){m=k.handler;k=k.type;}O.each(k.split(/\s+/),function(p,r){var t=r.split(".");r=t.shift();var q=RegExp("(^|\\.)"+t.slice().sort().join(".*\\.")+"(\\.|$)");if(j[r]){if(m){delete j[r][m.guid];}else{for(var s in j[r]){if(q.test(j[r][s].type)){delete j[r][s];}}}if(O.event.specialAll[r]){O.event.specialAll[r].teardown.call(n,t);}for(h in j[r]){break;}if(!h){if(!O.event.special[r]||O.event.special[r].teardown.call(n,t)===false){if(n.removeEventListener){n.removeEventListener(r,O.data(n,"handle"),false);}else{if(n.detachEvent){n.detachEvent("on"+r,O.data(n,"handle"));}}}h=null;delete j[r];}}});}for(h in j){break;}if(!h){var o=O.data(n,"handle");if(o){o.elem=null;}O.removeData(n,"events");O.removeData(n,"handle");}}},trigger:function(l,n,k,g){var j=l.type||l;if(!g){l=typeof l==="object"?l[H]?l:O.extend(O.Event(j),l):O.Event(j);
if(j.indexOf("!")>=0){l.type=j=j.slice(0,-1);l.exclusive=true;}if(!k){l.stopPropagation();if(this.global[j]){O.each(O.cache,function(){if(this.events&&this.events[j]){O.event.trigger(l,n,this.handle.elem);}});}}if(!k||k.nodeType==3||k.nodeType==8){return G;}l.result=G;l.target=k;n=O.makeArray(n);n.unshift(l);}l.currentTarget=k;var m=O.data(k,"handle");if(m){m.apply(k,n);}if((!k[j]||(O.nodeName(k,"a")&&j=="click"))&&k["on"+j]&&k["on"+j].apply(k,n)===false){l.result=false;}if(!g&&k[j]&&!l.isDefaultPrevented()&&!(O.nodeName(k,"a")&&j=="click")){this.triggered=true;try{k[j]();}catch(o){}}this.triggered=false;if(!l.isPropagationStopped()){var h=k.parentNode||k.ownerDocument;if(h){O.event.trigger(l,n,h,true);}}},handle:function(o){var n,g;o=arguments[0]=O.event.fix(o||L.event);o.currentTarget=this;var p=o.type.split(".");o.type=p.shift();n=!p.length&&!o.exclusive;var m=RegExp("(^|\\.)"+p.slice().sort().join(".*\\.")+"(\\.|$)");g=(O.data(this,"events")||{})[o.type];for(var k in g){var l=g[k];if(n||m.test(l.type)){o.handler=l;
o.data=l.data;var h=l.apply(this,arguments);if(h!==G){o.result=h;if(h===false){o.preventDefault();o.stopPropagation();}}if(o.isImmediatePropagationStopped()){break;}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(k){if(k[H]){return k;}var h=k;k=O.Event(h);for(var j=this.props.length,m;j;){m=this.props[--j];k[m]=h[m];}if(!k.target){k.target=k.srcElement||document;}if(k.target.nodeType==3){k.target=k.target.parentNode;}if(!k.relatedTarget&&k.fromElement){k.relatedTarget=k.fromElement==k.target?k.toElement:k.fromElement;}if(k.pageX==null&&k.clientX!=null){var l=document.documentElement,g=document.body;k.pageX=k.clientX+(l&&l.scrollLeft||g&&g.scrollLeft||0)-(l.clientLeft||0);k.pageY=k.clientY+(l&&l.scrollTop||g&&g.scrollTop||0)-(l.clientTop||0);
}if(!k.which&&((k.charCode||k.charCode===0)?k.charCode:k.keyCode)){k.which=k.charCode||k.keyCode;}if(!k.metaKey&&k.ctrlKey){k.metaKey=k.ctrlKey;}if(!k.which&&k.button){k.which=(k.button&1?1:(k.button&2?3:(k.button&4?2:0)));}return k;},proxy:function(h,g){g=g||function(){return h.apply(this,arguments);};g.guid=h.guid=h.guid||g.guid||this.guid++;return g;},special:{ready:{setup:b,teardown:function(){}}},specialAll:{live:{setup:function(g,h){O.event.add(this,h[0],C);},teardown:function(j){if(j.length){var g=0,h=RegExp("(^|\\.)"+j[0]+"(\\.|$)");O.each((O.data(this,"events").live||{}),function(){if(h.test(this.type)){g++;}});if(g<1){O.event.remove(this,j[0],C);}}}}}};O.Event=function(g){if(!this.preventDefault){return new O.Event(g);}if(g&&g.type){this.originalEvent=g;this.type=g.type;}else{this.type=g;}this.timeStamp=E();this[H]=true;};function K(){return false;}function U(){return true;}O.Event.prototype={preventDefault:function(){this.isDefaultPrevented=U;var g=this.originalEvent;if(!g){return ;
}if(g.preventDefault){g.preventDefault();}g.returnValue=false;},stopPropagation:function(){this.isPropagationStopped=U;var g=this.originalEvent;if(!g){return ;}if(g.stopPropagation){g.stopPropagation();}g.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U;this.stopPropagation();},isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K};var A=function(h){var g=h.relatedTarget;while(g&&g!=this){try{g=g.parentNode;}catch(j){g=this;}}if(g!=this){h.type=h.data;O.event.handle.apply(this,arguments);}};O.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(h,g){O.event.special[g]={setup:function(){O.event.add(this,h,A,g);},teardown:function(){O.event.remove(this,h,A);}};});O.fn.extend({bind:function(h,j,g){return h=="unload"?this.one(h,j,g):this.each(function(){O.event.add(this,h,g||j,g&&j);});},one:function(j,k,h){var g=O.event.proxy(h||k,function(l){O(this).unbind(l,g);return(h||k).apply(this,arguments);});return this.each(function(){O.event.add(this,j,g,h&&k);
});},unbind:function(h,g){return this.each(function(){O.event.remove(this,h,g);});},trigger:function(g,h){return this.each(function(){O.event.trigger(g,h,this);});},triggerHandler:function(g,j){if(this[0]){var h=O.Event(g);h.preventDefault();h.stopPropagation();O.event.trigger(h,j,this[0]);return h.result;}},toggle:function(j){var g=arguments,h=1;while(h<g.length){O.event.proxy(j,g[h++]);}return this.click(O.event.proxy(j,function(k){this.lastToggle=(this.lastToggle||0)%h;k.preventDefault();return g[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(g,h){return this.mouseenter(g).mouseleave(h);},ready:function(g){b();if(O.isReady){g.call(document,O);}else{O.readyList.push(g);}return this;},live:function(j,h){var g=O.event.proxy(h);g.guid+=this.selector+j;O(document).bind(I(j,this.selector),this.selector,g);return this;},die:function(h,g){O(document).unbind(I(h,this.selector),g?{guid:g.guid+this.selector+h}:null);return this;}});function C(k){var g=RegExp("(^|\\.)"+k.type+"(\\.|$)"),j=true,h=[];
O.each(O.data(this,"events").live||[],function(l,m){if(g.test(m.type)){var n=O(k.target).closest(m.data)[0];if(n){h.push({elem:n,fn:m});}}});h.sort(function(m,l){return O.data(m.elem,"closest")-O.data(l.elem,"closest");});O.each(h,function(){if(this.fn.call(this.elem,k,this.fn.data)===false){return(j=false);}});return j;}function I(h,g){return["live",h,g.replace(/\./g,"`").replace(/ /g,"|")].join(".");}O.extend({isReady:false,readyList:[],ready:function(){if(!O.isReady){O.isReady=true;if(O.readyList){O.each(O.readyList,function(){this.call(document,O);});O.readyList=null;}O(document).triggerHandler("ready");}}});var X=false;function b(){if(X){return ;}X=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);O.ready();},false);}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
O.ready();}});if(document.documentElement.doScroll&&L==L.top){(function(){if(O.isReady){return ;}try{document.documentElement.doScroll("left");}catch(g){setTimeout(arguments.callee,0);return ;}O.ready();})();}}}O.event.add(L,"load",O.ready);}O.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(h,g){O.fn[g]=function(j){return j?this.bind(g,j):this.trigger(g);};});O(L).bind("unload",function(){for(var g in O.cache){if(g!=1&&O.cache[g].handle){O.event.remove(O.cache[g].handle.elem);}}});(function(){O.support={};var h=document.documentElement,j=document.createElement("script"),n=document.createElement("div"),m="script"+(new Date).getTime();n.style.display="none";n.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var k=n.getElementsByTagName("*"),g=n.getElementsByTagName("a")[0];
if(!k||!k.length||!g){return ;}O.support={leadingWhitespace:n.firstChild.nodeType==3,tbody:!n.getElementsByTagName("tbody").length,objectAll:!!n.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:g.style.opacity==="0.5",cssFloat:!!g.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};j.type="text/javascript";try{j.appendChild(document.createTextNode("window."+m+"=1;"));}catch(l){}h.insertBefore(j,h.firstChild);if(L[m]){O.support.scriptEval=true;delete L[m];}h.removeChild(j);if(n.attachEvent&&n.fireEvent){n.attachEvent("onclick",function(){O.support.noCloneEvent=false;n.detachEvent("onclick",arguments.callee);});n.cloneNode(true).fireEvent("onclick");}O(function(){var o=document.createElement("div");o.style.width=o.style.paddingLeft="1px";document.body.appendChild(o);O.boxModel=O.support.boxModel=o.offsetWidth===2;
document.body.removeChild(o).style.display="none";});})();var W=O.support.cssFloat?"cssFloat":"styleFloat";O.props={"for":"htmlFor","class":"className","float":W,cssFloat:W,styleFloat:W,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};O.fn.extend({_load:O.fn.load,load:function(j,m,n){if(typeof j!=="string"){return this._load(j);}var l=j.indexOf(" ");if(l>=0){var g=j.slice(l,j.length);j=j.slice(0,l);}var k="GET";if(m){if(O.isFunction(m)){n=m;m=null;}else{if(typeof m==="object"){m=O.param(m);k="POST";}}}var h=this;O.ajax({url:j,type:k,dataType:"html",data:m,complete:function(p,o){if(o=="success"||o=="notmodified"){h.html(g?O("<div/>").append(p.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):p.responseText);}if(n){h.each(n,[p.responseText,o,p]);}}});return this;},serialize:function(){return O.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?O.makeArray(this.elements):this;
}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type));}).map(function(g,h){var j=O(this).val();return j==null?null:O.isArray(j)?O.map(j,function(l,k){return{name:h.name,value:l};}):{name:h.name,value:j};}).get();}});O.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(g,h){O.fn[h]=function(j){return this.bind(h,j);};});var R=E();O.extend({get:function(g,j,k,h){if(O.isFunction(j)){k=j;j=null;}return O.ajax({type:"GET",url:g,data:j,success:k,dataType:h});},getScript:function(g,h){return O.get(g,null,h,"script");},getJSON:function(g,h,j){return O.get(g,h,j,"json");},post:function(g,j,k,h){if(O.isFunction(j)){k=j;j={};}return O.ajax({type:"POST",url:g,data:j,success:k,dataType:h});},ajaxSetup:function(g){O.extend(O.ajaxSettings,g);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return L.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();
},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(p){p=O.extend(true,p,O.extend(true,{},O.ajaxSettings,p));var AD,h=/=\?(&|$)/g,v,AC,j=p.type.toUpperCase();if(p.data&&p.processData&&typeof p.data!=="string"){p.data=O.param(p.data);}if(p.dataType=="jsonp"){if(j=="GET"){if(!p.url.match(h)){p.url+=(p.url.match(/\?/)?"&":"?")+(p.jsonp||"callback")+"=?";}}else{if(!p.data||!p.data.match(h)){p.data=(p.data?p.data+"&":"")+(p.jsonp||"callback")+"=?";}}p.dataType="json";}if(p.dataType=="json"&&(p.data&&p.data.match(h)||p.url.match(h))){AD="jsonp"+R++;if(p.data){p.data=(p.data+"").replace(h,"="+AD+"$1");}p.url=p.url.replace(h,"="+AD+"$1");p.dataType="script";L[AD]=function(s){AC=s;l();o();L[AD]=G;try{delete L[AD];}catch(AE){}if(k){k.removeChild(AA);}};}if(p.dataType=="script"&&p.cache==null){p.cache=false;}if(p.cache===false&&j=="GET"){var g=E();
var AB=p.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+g+"$2");p.url=AB+((AB==p.url)?(p.url.match(/\?/)?"&":"?")+"_="+g:"");}if(p.data&&j=="GET"){p.url+=(p.url.match(/\?/)?"&":"?")+p.data;p.data=null;}if(p.global&&!O.active++){O.event.trigger("ajaxStart");}var u=/^(\w+:)?\/\/([^\/?#]+)/.exec(p.url);if(p.dataType=="script"&&j=="GET"&&u&&(u[1]&&u[1]!=location.protocol||u[2]!=location.host)){var k=document.getElementsByTagName("head")[0];var AA=document.createElement("script");AA.src=p.url;if(p.scriptCharset){AA.charset=p.scriptCharset;}if(!AD){var r=false;AA.onload=AA.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){r=true;l();o();AA.onload=AA.onreadystatechange=null;k.removeChild(AA);}};}k.appendChild(AA);return G;}var n=false;var m=p.xhr();if(p.username){m.open(j,p.url,p.async,p.username,p.password);}else{m.open(j,p.url,p.async);}try{if(p.data){m.setRequestHeader("Content-Type",p.contentType);}if(p.ifModified){m.setRequestHeader("If-Modified-Since",O.lastModified[p.url]||"Thu, 01 Jan 1970 00:00:00 GMT");
}m.setRequestHeader("X-Requested-With","XMLHttpRequest");m.setRequestHeader("Accept",p.dataType&&p.accepts[p.dataType]?p.accepts[p.dataType]+", */*":p.accepts._default);}catch(w){}if(p.beforeSend&&p.beforeSend(m,p)===false){if(p.global&&!--O.active){O.event.trigger("ajaxStop");}m.abort();return false;}if(p.global){O.event.trigger("ajaxSend",[m,p]);}var q=function(s){if(m.readyState==0){if(t){clearInterval(t);t=null;if(p.global&&!--O.active){O.event.trigger("ajaxStop");}}}else{if(!n&&m&&(m.readyState==4||s=="timeout")){n=true;if(t){clearInterval(t);t=null;}v=s=="timeout"?"timeout":!O.httpSuccess(m)?"error":p.ifModified&&O.httpNotModified(m,p.url)?"notmodified":"success";if(v=="success"){try{AC=O.httpData(m,p.dataType,p);}catch(AF){v="parsererror";}}if(v=="success"){var AE;try{AE=m.getResponseHeader("Last-Modified");}catch(AF){}if(p.ifModified&&AE){O.lastModified[p.url]=AE;}if(!AD){l();}}else{O.handleError(p,m,v);}o();if(s){m.abort();}if(p.async){m=null;}}}};if(p.async){var t=setInterval(q,13);
if(p.timeout>0){setTimeout(function(){if(m&&!n){q("timeout");}},p.timeout);}}try{m.send(p.data);}catch(w){O.handleError(p,m,null,w);}if(!p.async){q();}function l(){if(p.success){p.success(AC,v);}if(p.global){O.event.trigger("ajaxSuccess",[m,p]);}}function o(){if(p.complete){p.complete(m,v);}if(p.global){O.event.trigger("ajaxComplete",[m,p]);}if(p.global&&!--O.active){O.event.trigger("ajaxStop");}}return m;},handleError:function(h,k,g,j){if(h.error){h.error(k,g,j);}if(h.global){O.event.trigger("ajaxError",[k,h,j]);}},active:0,httpSuccess:function(h){try{return !h.status&&location.protocol=="file:"||(h.status>=200&&h.status<300)||h.status==304||h.status==1223;}catch(g){}return false;},httpNotModified:function(j,g){try{var k=j.getResponseHeader("Last-Modified");return j.status==304||k==O.lastModified[g];}catch(h){}return false;},httpData:function(m,k,j){var h=m.getResponseHeader("content-type"),g=k=="xml"||!k&&h&&h.indexOf("xml")>=0,l=g?m.responseXML:m.responseText;if(g&&l.documentElement.tagName=="parsererror"){throw"parsererror";
}if(j&&j.dataFilter){l=j.dataFilter(l,k);}if(typeof l==="string"){if(k=="script"){O.globalEval(l);}if(k=="json"){l=L["eval"]("("+l+")");}}return l;},param:function(g){var k=[];function l(j,m){k[k.length]=encodeURIComponent(j)+"="+encodeURIComponent(m);}if(O.isArray(g)||g.jquery){O.each(g,function(){l(this.name,this.value);});}else{for(var h in g){if(O.isArray(g[h])){O.each(g[h],function(){l(h,this);});}else{l(h,O.isFunction(g[h])?g[h]():g[h]);}}}return k.join("&").replace(/%20/g,"+");}});var M={},N,D=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function T(h,g){var j={};O.each(D.concat.apply([],D.slice(0,g)),function(){j[this]=h;});return j;}O.fn.extend({show:function(n,p){if(n){return this.animate(T("show",3),n,p);}else{for(var k=0,h=this.length;k<h;k++){var g=O.data(this[k],"olddisplay");this[k].style.display=g||"";if(O.css(this[k],"display")==="none"){var j=this[k].tagName,o;if(M[j]){o=M[j];
}else{var m=O("<"+j+" />").appendTo("body");o=m.css("display");if(o==="none"){o="block";}m.remove();M[j]=o;}O.data(this[k],"olddisplay",o);}}for(var k=0,h=this.length;k<h;k++){this[k].style.display=O.data(this[k],"olddisplay")||"";}return this;}},hide:function(k,m){if(k){return this.animate(T("hide",3),k,m);}else{for(var j=0,h=this.length;j<h;j++){var g=O.data(this[j],"olddisplay");if(!g&&g!=="none"){O.data(this[j],"olddisplay",O.css(this[j],"display"));}}for(var j=0,h=this.length;j<h;j++){this[j].style.display="none";}return this;}},_toggle:O.fn.toggle,toggle:function(j,h){var g=typeof j==="boolean";return O.isFunction(j)&&O.isFunction(h)?this._toggle.apply(this,arguments):j==null||g?this.each(function(){var k=g?j:O(this).is(":hidden");O(this)[k?"show":"hide"]();}):this.animate(T("toggle",3),j,h);},fadeTo:function(g,j,h){return this.animate({opacity:j},g,h);},animate:function(l,h,k,j){var g=O.speed(h,k,j);return this[g.queue===false?"each":"queue"](function(){var n=O.extend({},g),q,o=this.nodeType==1&&O(this).is(":hidden"),m=this;
for(q in l){if(l[q]=="hide"&&o||l[q]=="show"&&!o){return n.complete.call(this);}if((q=="height"||q=="width")&&this.style){n.display=O.css(this,"display");n.overflow=this.style.overflow;}}if(n.overflow!=null){this.style.overflow="hidden";}n.curAnim=O.extend({},l);O.each(l,function(r,v){var u=new O.fx(m,n,r);if(/toggle|show|hide/.test(v)){u[v=="toggle"?o?"show":"hide":v](l);}else{var t=v.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),w=u.cur(true)||0;if(t){var p=parseFloat(t[2]),s=t[3]||"px";if(s!="px"){m.style[r]=(p||1)+s;w=((p||1)/u.cur(true))*w;m.style[r]=w+s;}if(t[1]){p=((t[1]=="-="?-1:1)*p)+w;}u.custom(w,p,s);}else{u.custom(w,v,"");}}});return true;});},stop:function(h,g){var j=O.timers;if(h){this.queue([]);}this.each(function(){for(var k=j.length-1;k>=0;k--){if(j[k].elem==this){if(g){j[k](true);}j.splice(k,1);}}});if(!g){this.dequeue();}return this;}});O.each({slideDown:T("show",1),slideUp:T("hide",1),slideToggle:T("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(g,h){O.fn[g]=function(j,k){return this.animate(h,j,k);
};});O.extend({speed:function(j,k,h){var g=typeof j==="object"?j:{complete:h||!h&&k||O.isFunction(j)&&j,duration:j,easing:h&&k||k&&!O.isFunction(k)&&k};g.duration=O.fx.off?0:typeof g.duration==="number"?g.duration:O.fx.speeds[g.duration]||O.fx.speeds._default;g.old=g.complete;g.complete=function(){if(g.queue!==false){O(this).dequeue();}if(O.isFunction(g.old)){g.old.call(this);}};return g;},easing:{linear:function(j,k,g,h){return g+h*j;},swing:function(j,k,g,h){return((-Math.cos(j*Math.PI)/2)+0.5)*h+g;}},timers:[],fx:function(h,g,j){this.options=g;this.elem=h;this.prop=j;if(!g.orig){g.orig={};}}});O.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);}(O.fx.step[this.prop]||O.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block";}},cur:function(h){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}var g=parseFloat(O.css(this.elem,this.prop,h));
return g&&g>-10000?g:parseFloat(O.curCSS(this.elem,this.prop))||0;},custom:function(l,k,j){this.startTime=E();this.start=l;this.end=k;this.unit=j||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;function h(m){return g.step(m);}h.elem=this.elem;if(h()&&O.timers.push(h)&&!N){N=setInterval(function(){var n=O.timers;for(var m=0;m<n.length;m++){if(!n[m]()){n.splice(m--,1);}}if(!n.length){clearInterval(N);N=G;}},13);}},show:function(){this.options.orig[this.prop]=O.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());O(this.elem).show();},hide:function(){this.options.orig[this.prop]=O.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(k){var j=E();if(k||j>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var g=true;for(var h in this.options.curAnim){if(this.options.curAnim[h]!==true){g=false;
}}if(g){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(O.css(this.elem,"display")=="none"){this.elem.style.display="block";}}if(this.options.hide){O(this.elem).hide();}if(this.options.hide||this.options.show){for(var l in this.options.curAnim){O.attr(this.elem.style,l,this.options.orig[l]);}}this.options.complete.call(this.elem);}return false;}else{var m=j-this.startTime;this.state=m/this.options.duration;this.pos=O.easing[this.options.easing||(O.easing.swing?"swing":"linear")](this.state,m,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};O.extend(O.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(g){O.attr(g.elem.style,"opacity",g.now);},_default:function(g){if(g.elem.style&&g.elem.style[g.prop]!=null){g.elem.style[g.prop]=g.now+g.unit;}else{g.elem[g.prop]=g.now;}}}});if(document.documentElement.getBoundingClientRect){O.fn.offset=function(){if(!this[0]){return{top:0,left:0};
}if(this[0]===this[0].ownerDocument.body){return O.offset.bodyOffset(this[0]);}var j=this[0].getBoundingClientRect(),m=this[0].ownerDocument,h=m.body,g=m.documentElement,o=g.clientTop||h.clientTop||0,n=g.clientLeft||h.clientLeft||0,l=j.top+(self.pageYOffset||O.boxModel&&g.scrollTop||h.scrollTop)-o,k=j.left+(self.pageXOffset||O.boxModel&&g.scrollLeft||h.scrollLeft)-n;return{top:l,left:k};};}else{O.fn.offset=function(){if(!this[0]){return{top:0,left:0};}if(this[0]===this[0].ownerDocument.body){return O.offset.bodyOffset(this[0]);}O.offset.initialized||O.offset.initialize();var m=this[0],j=m.offsetParent,h=m,r=m.ownerDocument,p,k=r.documentElement,n=r.body,o=r.defaultView,g=o.getComputedStyle(m,null),q=m.offsetTop,l=m.offsetLeft;while((m=m.parentNode)&&m!==n&&m!==k){p=o.getComputedStyle(m,null);q-=m.scrollTop,l-=m.scrollLeft;if(m===j){q+=m.offsetTop,l+=m.offsetLeft;if(O.offset.doesNotAddBorder&&!(O.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(m.tagName))){q+=parseInt(p.borderTopWidth,10)||0,l+=parseInt(p.borderLeftWidth,10)||0;
}h=j,j=m.offsetParent;}if(O.offset.subtractsBorderForOverflowNotVisible&&p.overflow!=="visible"){q+=parseInt(p.borderTopWidth,10)||0,l+=parseInt(p.borderLeftWidth,10)||0;}g=p;}if(g.position==="relative"||g.position==="static"){q+=n.offsetTop,l+=n.offsetLeft;}if(g.position==="fixed"){q+=Math.max(k.scrollTop,n.scrollTop),l+=Math.max(k.scrollLeft,n.scrollLeft);}return{top:q,left:l};};}O.offset={initialize:function(){if(this.initialized){return ;}var o=document.body,h=document.createElement("div"),k,j,q,l,p,g,m=o.style.marginTop,n='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';p={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(g in p){h.style[g]=p[g];}h.innerHTML=n;o.insertBefore(h,o.firstChild);
k=h.firstChild,j=k.firstChild,l=k.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(j.offsetTop!==5);this.doesAddBorderForTableAndCells=(l.offsetTop===5);k.style.overflow="hidden",k.style.position="relative";this.subtractsBorderForOverflowNotVisible=(j.offsetTop===-5);o.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(o.offsetTop===0);o.style.marginTop=m;o.removeChild(h);this.initialized=true;},bodyOffset:function(g){O.offset.initialized||O.offset.initialize();var j=g.offsetTop,h=g.offsetLeft;if(O.offset.doesNotIncludeMarginInBodyOffset){j+=parseInt(O.curCSS(g,"marginTop",true),10)||0,h+=parseInt(O.curCSS(g,"marginLeft",true),10)||0;}return{top:j,left:h};}};O.fn.extend({position:function(){var l=0,k=0,h;if(this[0]){var j=this.offsetParent(),m=this.offset(),g=/^body|html$/i.test(j[0].tagName)?{top:0,left:0}:j.offset();m.top-=J(this,"marginTop");m.left-=J(this,"marginLeft");g.top+=J(j,"borderTopWidth");g.left+=J(j,"borderLeftWidth");h={top:m.top-g.top,left:m.left-g.left};
}return h;},offsetParent:function(){var g=this[0].offsetParent||document.body;while(g&&(!/^body|html$/i.test(g.tagName)&&O.css(g,"position")=="static")){g=g.offsetParent;}return O(g);}});O.each(["Left","Top"],function(h,g){var j="scroll"+g;O.fn[j]=function(k){if(!this[0]){return null;}return k!==G?this.each(function(){this==L||this==document?L.scrollTo(!h?k:O(L).scrollLeft(),h?k:O(L).scrollTop()):this[j]=k;}):this[0]==L||this[0]==document?self[h?"pageYOffset":"pageXOffset"]||O.boxModel&&document.documentElement[j]||document.body[j]:this[0][j];};});O.each(["Height","Width"],function(l,j){var g=l?"Left":"Top",k=l?"Right":"Bottom",h=j.toLowerCase();O.fn["inner"+j]=function(){return this[0]?O.css(this[0],h,false,"padding"):null;};O.fn["outer"+j]=function(n){return this[0]?O.css(this[0],h,false,n?"margin":"border"):null;};var m=j.toLowerCase();O.fn[m]=function(n){return this[0]==L?document.compatMode=="CSS1Compat"&&document.documentElement["client"+j]||document.body["client"+j]:this[0]==document?Math.max(document.documentElement["client"+j],document.body["scroll"+j],document.documentElement["scroll"+j],document.body["offset"+j],document.documentElement["offset"+j]):n===G?(this.length?O.css(this[0],m):null):this.css(m,typeof n==="string"?n:n+"px");
};});})();(function(A){A.fn.extend({autocomplete:function(B,C){var D=typeof B=="string";C=A.extend({},A.Autocompleter.defaults,{url:D?B:null,data:D?null:B,delay:D?A.Autocompleter.defaults.delay:10,max:C&&!C.scroll?10:150},C);C.highlight=C.highlight||function(E){return E;};C.formatMatch=C.formatMatch||C.formatItem;return this.each(function(){new A.Autocompleter(this,C);});},result:function(B){return this.bind("result",B);},search:function(B){return this.trigger("search",[B]);},flushCache:function(){return this.trigger("flushCache");},setOptions:function(B){return this.trigger("setOptions",[B]);},unautocomplete:function(){return this.trigger("unautocomplete");}});A.Autocompleter=function(L,G){var C={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8,ALT:18};var B=A(L).attr("autocomplete","off").addClass(G.inputClass);var J;var P="";var M=A.Autocompleter.Cache(G);var E=0;var U;var X={mouseDownOnSelect:false};var R=A.Autocompleter.Select(G,L,D,X);var W;A.browser.opera&&A(L.form).bind("submit.autocomplete",function(){if(W){W=false;
return false;}});B.bind((A.browser.opera?"keypress":"keydown")+".autocomplete",function(Y){U=Y.keyCode;switch(Y.keyCode){case C.UP:Y.preventDefault();if(R.visible()){R.prev();}else{T(0,true);}break;case C.DOWN:Y.preventDefault();if(R.visible()){R.next();}else{T(0,true);}break;case C.PAGEUP:Y.preventDefault();if(R.visible()){R.pageUp();}else{T(0,true);}break;case C.PAGEDOWN:Y.preventDefault();if(R.visible()){R.pageDown();}else{T(0,true);}break;case G.multiple&&A.trim(G.multipleSeparator)==","&&C.COMMA:case C.TAB:case C.RETURN:if(D()){Y.preventDefault();W=true;return false;}break;case C.ESC:R.hide();break;case C.ALT:clearTimeout(J);break;default:clearTimeout(J);J=setTimeout(T,G.delay);break;}}).focus(function(){E++;}).blur(function(){E=0;if(!X.mouseDownOnSelect){S();}}).click(function(){if(E++>1&&!R.visible()){T(0,true);}}).bind("search",function(){var Y=(arguments.length>1)?arguments[1]:null;function Z(f,c){var a;if(c&&c.length){for(var b=0;b<c.length;b++){if(c[b].result.toLowerCase()==f.toLowerCase()){a=c[b];
break;}}}if(typeof Y=="function"){Y(a);}else{B.trigger("result",a&&[a.data,a.value]);}}A.each(H(B.val()),function(a,b){F(b,Z,Z);});}).bind("flushCache",function(){M.flush();}).bind("setOptions",function(){A.extend(G,arguments[1]);if("data" in arguments[1]){M.populate();}}).bind("unautocomplete",function(){R.unbind();B.unbind();A(L.form).unbind(".autocomplete");});function D(){var Z=R.selected();if(!Z){return false;}var Y=Z.result;P=Y;if(G.multiple){var a=H(B.val());if(a.length>1){Y=a.slice(0,a.length-1).join(G.multipleSeparator)+G.multipleSeparator+Y;}Y+=G.multipleSeparator;}B.val(Y);V();B.trigger("result",[Z.data,Z.value]);return true;}function T(a,Z){if(U==C.DEL){R.hide();return ;}var Y=B.val();if(!Z&&Y==P){return ;}P=Y;Y=I(Y);if(Y.length>=G.minChars){B.addClass(G.loadingClass);if(!G.matchCase){Y=Y.toLowerCase();}F(Y,K,V);}else{N();R.hide();}}function H(Z){if(!Z){return[""];}var a=Z.split(G.multipleSeparator);var Y=[];A.each(a,function(b,c){if(A.trim(c)){Y[b]=A.trim(c);}});return Y;}function I(Y){if(!G.multiple){return Y;
}var Z=H(Y);return Z[Z.length-1];}function Q(Y,Z){if(G.autoFill&&(I(B.val()).toLowerCase()==Y.toLowerCase())&&U!=C.BACKSPACE){B.val(B.val()+Z.substring(I(P).length));A.Autocompleter.Selection(L,P.length,P.length+Z.length);}}function S(){clearTimeout(J);J=setTimeout(V,200);}function V(){var Y=R.visible();R.hide();clearTimeout(J);N();if(G.mustMatch){B.search(function(Z){if(!Z){if(G.multiple){var a=H(B.val()).slice(0,-1);B.val(a.join(G.multipleSeparator)+(a.length?G.multipleSeparator:""));}else{B.val("");}}});}if(Y){A.Autocompleter.Selection(L,L.value.length,L.value.length);}}function K(Z,Y){if(Y&&Y.length&&E){N();R.display(Y,Z);Q(Z,Y[0].value);R.show();}else{V();}}function F(Z,b,Y){if(!G.matchCase){Z=Z.toLowerCase();}var a=M.load(Z);if(a&&a.length){b(Z,a);}else{if((typeof G.url=="string")&&(G.url.length>0)){var c={timestamp:+new Date()};A.each(G.extraParams,function(f,g){c[f]=typeof g=="function"?g():g;});if(G.queryArgument){c[G.queryArgument]=I(Z);}else{c.q=I(Z);}A.ajax({mode:"abort",port:"autocomplete"+L.name,dataType:G.dataType,url:G.url,data:A.extend({limit:G.max},c),success:function(g){var f=G.parse&&G.parse(g)||O(g);
M.add(Z,f);b(Z,f);}});}else{R.emptyList();Y(Z);}}}function O(b){var Y=[];var a=b.split("\n");for(var Z=0;Z<a.length;Z++){var c=A.trim(a[Z]);if(c){c=c.split("|");Y[Y.length]={data:c,value:c[0],result:G.formatResult&&G.formatResult(c,c[0])||c[0]};}}return Y;}function N(){B.removeClass(G.loadingClass);}};A.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(B){return B[0];},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(C,B){return C.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+B.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>");},scroll:true,scrollHeight:180};A.Autocompleter.Cache=function(C){var F={};var D=0;function H(K,J){if(!C.matchCase){K=K.toLowerCase();}var I=K.indexOf(J);
if(C.matchContains=="word"){I=K.toLowerCase().search("\\b"+J.toLowerCase());}if(I==-1){return false;}return I==0||C.matchContains;}function G(J,I){if(D>C.cacheLength){B();}if(!F[J]){D++;}F[J]=I;}function E(){if(!C.data){return false;}var J={},I=0;if(!C.url){C.cacheLength=1;}J[""]=[];for(var L=0,K=C.data.length;L<K;L++){var O=C.data[L];O=(typeof O=="string")?[O]:O;var N=C.formatMatch(O,L+1,C.data.length);if(N===false){continue;}var M=N.charAt(0).toLowerCase();if(!J[M]){J[M]=[];}var P={value:N,data:O,result:C.formatResult&&C.formatResult(O)||N};J[M].push(P);if(I++<C.max){J[""].push(P);}}A.each(J,function(Q,R){C.cacheLength++;G(Q,R);});}setTimeout(E,25);function B(){F={};D=0;}return{flush:B,add:G,populate:E,load:function(L){if(!C.cacheLength||!D){return null;}if(!C.url&&C.matchContains){var K=[];for(var I in F){if(I.length>0){var M=F[I];A.each(M,function(O,N){if(H(N.value,L)){K.push(N);}});}}return K;}else{if(F[L]){return F[L];}else{if(C.matchSubset){for(var J=L.length-1;J>=C.minChars;J--){var M=F[L.substr(0,J)];
if(M){var K=[];A.each(M,function(O,N){if(H(N.value,L)){K[K.length]=N;}});return K;}}}}}return null;}};};A.Autocompleter.Select=function(E,J,L,P){var I={ACTIVE:"ac_over"};var K,F=-1,R,M="",S=true,C,O;function N(){if(!S){return ;}C=A("<div/>").hide().addClass(E.resultsClass).css("position","absolute").appendTo(document.body);O=A("<ul/>").appendTo(C).mouseover(function(T){if(Q(T).nodeName&&Q(T).nodeName.toUpperCase()=="LI"){F=A("li",O).removeClass(I.ACTIVE).index(Q(T));A(Q(T)).addClass(I.ACTIVE);}}).click(function(T){A(Q(T)).addClass(I.ACTIVE);L();J.focus();return false;}).mousedown(function(){P.mouseDownOnSelect=true;}).mouseup(function(){P.mouseDownOnSelect=false;});if(E.width>0){C.css("width",E.width);}S=false;}function Q(U){var T=U.target;while(T&&T.tagName!="LI"){T=T.parentNode;}if(!T){return[];}return T;}function H(T){K.slice(F,F+1).removeClass(I.ACTIVE);G(T);var V=K.slice(F,F+1).addClass(I.ACTIVE);if(E.scroll){var U=0;K.slice(0,F).each(function(){U+=this.offsetHeight;});if((U+V[0].offsetHeight-O.scrollTop())>O[0].clientHeight){O.scrollTop(U+V[0].offsetHeight-O.innerHeight());
}else{if(U<O.scrollTop()){O.scrollTop(U);}}}}function G(T){F+=T;if(F<0){F=K.size()-1;}else{if(F>=K.size()){F=0;}}}function B(T){return E.max&&E.max<T?E.max:T;}function D(){O.empty();var U=B(R.length);for(var V=0;V<U;V++){if(!R[V]){continue;}var W=E.formatItem(R[V].data,V+1,U,R[V].value,M);if(W===false){continue;}var T=A("<li/>").html(E.highlight(W,M)).addClass(V%2==0?"ac_even":"ac_odd").appendTo(O)[0];A.data(T,"ac_data",R[V]);}K=O.find("li");if(E.selectFirst){K.slice(0,1).addClass(I.ACTIVE);F=0;}if(A.fn.bgiframe){O.bgiframe();}}return{display:function(U,T){N();R=U;M=T;D();},next:function(){H(1);},prev:function(){H(-1);},pageUp:function(){if(F!=0&&F-8<0){H(-F);}else{H(-8);}},pageDown:function(){if(F!=K.size()-1&&F+8>K.size()){H(K.size()-1-F);}else{H(8);}},hide:function(){C&&C.hide();K&&K.removeClass(I.ACTIVE);F=-1;},visible:function(){return C&&C.is(":visible");},current:function(){return this.visible()&&(K.filter("."+I.ACTIVE)[0]||E.selectFirst&&K[0]);},show:function(){var V=A(J).offset();
C.css({width:typeof E.width=="string"||E.width>0?E.width:A(J).width(),top:V.top+J.offsetHeight,left:V.left}).show();if(E.scroll){O.scrollTop(0);O.css({maxHeight:E.scrollHeight,overflow:"auto"});if(A.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var T=0;K.each(function(){T+=this.offsetHeight;});var U=T>E.scrollHeight;O.css("height",U?E.scrollHeight:T);if(!U){K.width(O.width()-parseInt(K.css("padding-left"))-parseInt(K.css("padding-right")));}}}},selected:function(){var T=K&&K.filter("."+I.ACTIVE).removeClass(I.ACTIVE);return T&&T.length&&A.data(T[0],"ac_data");},emptyList:function(){O&&O.empty();},unbind:function(){C&&C.remove();}};};A.Autocompleter.Selection=function(D,E,C){if(D.createTextRange){var B=D.createTextRange();B.collapse(true);B.moveStart("character",E);B.moveEnd("character",C);B.select();}else{if(D.setSelectionRange){D.setSelectionRange(E,C);}else{if(D.selectionStart){D.selectionStart=E;D.selectionEnd=C;}}}D.focus();};})(jQuery);(function(A){A(document).ready(function(){A("input[name='queryText']").autocomplete("/portal/search/Autocomplete.action",{extraParams:{community:COMMUNITY_ID}});
});})(jQuery);window.eipf=window.eipf||{};eipf.AjaxPaginationImpl=function(){this.initialize();};$.extend(eipf.AjaxPaginationImpl.prototype,{variables:{ajaxPagination:$(".ajax-pagination")},initialize:function(){this.variables.ajaxPagination=$(".ajax-pagination");$(".listmode-nav a,.detailmode-nav li:not('.back') a",this.variables.ajaxPagination).each(function(){$(this).click(function(){var B=$(this).parents(".synergy-gear");eipf.ajaxPagination.loading(B,true);var A="/portal/serveContent"+$(this).attr("href")+" .ajax-pagination";A=A.substring(A.indexOf("?"),A.length);B.load(A,function(){eipf.ajaxPagination.loading(B);eipf.ajaxPagination.initialize();});return false;});});},loading:function(E,D){var C=E.outerHeight();var B=E.outerWidth();var A=$('<div class="synergy-gear-loader"></div>').prependTo(".ajax-pagination").height(C).width(B).css("opacity",0.9);if(typeof D!="undefined"){A.fadeIn();}else{A.fadeOut();}}});$(document).bind("ready.eipf.ajaxPagination",function(){eipf.ajaxPagination=new eipf.AjaxPaginationImpl();
});function MM_swapImgRestore(){var C,A,B=document.MM_sr;for(C=0;B&&C<B.length&&(A=B[C])&&A.oSrc;C++){A.src=A.oSrc;}}function MM_preloadImages(){var D=document;if(D.images){if(!D.MM_p){D.MM_p=new Array();}var C,B=D.MM_p.length,A=MM_preloadImages.arguments;for(C=0;C<A.length;C++){if(A[C].indexOf("#")!=0){D.MM_p[B]=new Image;D.MM_p[B++].src=A[C];}}}}function MM_findObj(E,D){var C,B,A;if(!D){D=document;}if((C=E.indexOf("?"))>0&&parent.frames.length){D=parent.frames[E.substring(C+1)].document;E=E.substring(0,C);}if(!(A=D[E])&&D.all){A=D.all[E];}for(B=0;!A&&B<D.forms.length;B++){A=D.forms[B][E];}for(B=0;!A&&D.layers&&B<D.layers.length;B++){A=MM_findObj(E,D.layers[B].document);}if(!A&&D.getElementById){A=D.getElementById(E);}return A;}function MM_swapImage(){var D,C=0,A,B=MM_swapImage.arguments;document.MM_sr=new Array;for(D=0;D<(B.length-2);D+=3){if((A=MM_findObj(B[D]))!=null){document.MM_sr[C++]=A;if(!A.oSrc){A.oSrc=A.src;}A.src=B[D+2];}}}function MM_openBrWindow(C,A,B){window.open(C,A,B);}function websiteSelected(A){window.location.replace(A.value);
}function changeImage(A,B){if(document.getElementById(A)!=null){document.getElementById(A).src=B;}}function changeImage2(A,C,B){if(B=="over"){document.getElementById(A).src=C+"menus.gif";}else{if(B=="out"){document.getElementById(A).src=C+"menu.gif";}}}function flashfr(){var F=6;var D=(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"])?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0;if(D){var E=navigator.plugins["Shockwave Flash"].description.split(" ");for(var C=0;C<E.length;++C){if(isNaN(parseInt(E[C]))){continue;}var B=E[C];}var A=B>=F;}else{if(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")>=0&&(navigator.appVersion.indexOf("Win")!=-1)){document.write("<SCRIPT LANGUAGE=VBScript> \n");document.write("on error resume next \n");document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');document.write("</SCRIPT> \n");}}if(A){document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');document.write(' ID="intro_f" WIDTH="500" HEIGHT="200" ALIGN="">');document.write(' <PARAM NAME=movie VALUE="/rocheflash/intro_f.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#336699>  ');document.write(' <EMBED src="/rocheflash/intro_f.swf" quality=high bgcolor=#336699  ');document.write(' swLiveConnect=FALSE WIDTH="500" HEIGHT="200" NAME="intro_f" ALIGN=""');document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');document.write(" </EMBED>");document.write(" </OBJECT>");}else{document.write('<IMG SRC="/rocheflash/intro_f.jpg" WIDTH="500" HEIGHT="200" usemap="#intro_f" BORDER=0>');}}function flashde(){var F=6;var D=(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"])?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0;if(D){var E=navigator.plugins["Shockwave Flash"].description.split(" ");
for(var C=0;C<E.length;++C){if(isNaN(parseInt(E[C]))){continue;}var B=E[C];}var A=B>=F;}else{if(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")>=0&&(navigator.appVersion.indexOf("Win")!=-1)){document.write("<SCRIPT LANGUAGE=VBScript> \n");document.write("on error resume next \n");document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');document.write("</SCRIPT> \n");}}if(A){document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');document.write(' ID="intro_d" WIDTH="500" HEIGHT="200" ALIGN="">');document.write(' <PARAM NAME=movie VALUE="/rocheflash/intro_d.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#336699>  ');document.write(' <EMBED src="/rocheflash/intro_d.swf" quality=high bgcolor=#336699  ');document.write(' swLiveConnect=FALSE WIDTH="500" HEIGHT="200" NAME="intro_d" ALIGN=""');
document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');document.write(" </EMBED>");document.write(" </OBJECT>");}else{document.write('<IMG SRC="/rocheflash/intro_d.jpg" WIDTH="500" HEIGHT="200" usemap="#intro_d" BORDER=0>');}}function changeText(divName,Text){eval('document.getElementById("'+divName+'").childNodes[0].childNodes[0].nodeValue = Text');}function showMenu(A){document.getElementById(A).style.visibility="visible";}function hideMenu(A){document.getElementById(A).style.visibility="hidden";}function searchForm(){document.getElementById("searchTmplForm").submit();}function showMenuFondationRoche(A){hideMenus();if(document.getElementById(A)!=null){document.getElementById(A).style.visibility="visible";setTimeout('hideMenu("'+A+'")',3000);}}function hideMenuFondationRoche(A){if(document.getElementById(A)!=null){document.getElementById(A).style.visibility="hidden";}}function hideMenus(){line=0;order=0;while(document.getElementById("line"+ ++line+"_order"+ ++order)){document.getElementById("line"+line+"_order"+order).style.visibility="hidden";
}}function masque(){document.getElementById("banniere").style.visibility="hidden";}function redirect(A){document.location.href=A;return true;}function newImage(A){if(document.images){rslt=new Image();rslt.src=A;return rslt;}}function changeImages(A,B){if(document.images&&(preloadFlag==true)){document.getElementById(A).src=B;}}var preloadFlag=true;function preloadImages(){if(document.images){LINKS_over=newImage("images/toolbox/LINKS-over.gif");SITEMAP_over=newImage("images/toolbox/SITEMAP-over.gif");CONTACT_over=newImage("images/toolbox/CONTACT-over.gif");DIS_over=newImage("images/toolbox/legal-over.gif");preloadFlag=true;}}function changeImage3(A,B){if(document.getElementById(A)!=null){document.all[A].src=B;}}function loadComment(A){if(A=="true"){document.materialForm.materialComment.value=document.materialForm.comment.value;}}function goToProfile(B,A){opener.location.reload();B.form.suxxessURL.value=A;}function initialize(){document.materialForm.comment.value=document.materialForm.materialComment.value;
}function checkLength(B,C,A){if(A=="true"){if(B.value.length>C){B.value=B.value.substr(0,C);return false;}}}function timingex(B,C,A){if(C!=null&&window.opener.location.href!=""&&window.opener.location.href!="blank"){setOpenerName();document.links[0].target=window.opener.name;}setTimeout("clickLink(document.links[0],'"+A+"');window.close();",B*1000);}function setOpenerName(){if(window.opener.name.length==0){window.opener.name=(new Date()).getTime();}}function clickLink(B,A){if(B.click){B.click();}else{if(document.links[0].target==window.opener.name){window.opener.location.href=A;}else{newWindow=window.open(A,"target","scrollbars=yes,resizable=yes,menubar=yes,status=yes,toolbar=yes,location=yes");if(newWindow){newWindow.focus();}}}}function openPopUp(){window.open("about:blank","target");}function closeAndRefresh(){opener.location.reload();window.close();}function closeme(A){opener.location.reload();A.form.suxxessURL.value="closeme.jsp";}function popitup(B,A,C){newwindow=window.open(B,A,C);
if(window.focus){if(newwindow){newwindow.focus();}}return false;}function getLink(id){if(document.getElementById("link"+id).onclick!=null){eval(document.getElementById("link"+id).onclick);}else{window.location.href=document.getElementById("link"+id).href;}}function getFlashMovieObject(A){if(window.document[A]){return window.document[A];}if(navigator.appName.indexOf("Microsoft Internet")==-1){if(document.embeds&&document.embeds[A]){return document.embeds[A];}}else{return document.getElementById(A);}}function StopFlashMovie(B){var A=getFlashMovieObject(B);if(A){A.StopPlay();}}function PlayFlashMovie(B){var A=getFlashMovieObject(B);if(A){A.Play();}}function RewindFlashMovie(B){var A=getFlashMovieObject(B);if(A){A.Rewind();}}function openLayer(E){flot=document.getElementById(E);if(flot){if(flot.style.display=="none"){flot.style.display="block";var F=screen.height;var A=screen.width;var B=flot.offsetHeight;var D=flot.offsetWidth;y=parseInt(B/2);x=parseInt(D/2);flot.style.marginLeft="-"+x+"px";
flot.style.marginTop="-"+y+"px";if(E.length>3&&(navigator.appName.indexOf("Netscape")==-1)){var C=E.substring(E.length-3,E.length);if(C=="swf"){PlayFlashMovie(E);}}}else{flot.style.display="none";}}else{alert("not found");}}function closeLayer(B){flot=document.getElementById(B);if(flot){if(flot.style.display!="none"){if(B.length>3){var A=B.substring(B.length-3,B.length);if(A=="swf"){StopFlashMovie(B);RewindFlashMovie(B);}}flot.style.display="none";}}else{alert("not found");}}var d=document;var Util={Browser:{explorer:
/*@cc_on!@*/
false,opera:window.opera?true:false,webkit:/Apple|KDE/i.test(navigator.vendor)},Debug:{log:function(B,A){if(window.console){console[B](A);}else{alert(B+": "+A);}},dir:function(A){if(window.console){console.dir(A);}else{}},xml:function(A){if(window.console){console.dirxml(A);}else{alert(A.outerHTML);}}},Event:{common:function(A){if(window.event&&!window.opera){A=window.event;A.target=A.srcElement;}return A;},addHandler:function(C,B,A){if(C==document&&B=="ready"){var E=A;
if(Util.Event._readyCallbacks.length===0){var D=Util.Event._readyCall;if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);}if(Util.Browser.explorer){document.write("<script id=__ie_onload defer src=//:><\/script>");document.getElementById("__ie_onload").onreadystatechange=function(){if(this.readyState=="complete"){D();}};}else{if(Util.Browser.webkit){this._timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){D();}},10);}}C=window;B="load";A=D;}Util.Event._readyCallbacks.push(E);}else{if(C.attachEvent){C["e"+B+A]=A;C[B+A]=function(){C["e"+B+A](window.event);};C.attachEvent("on"+B,C[B+A]);}else{C.addEventListener(B,A,false);}}},findElement:function(D,B,C){var A=Util.Event.common(D).target;while(((A.tagName.toLowerCase()!=B)||(A.tagName.toLowerCase()==B&&(C&&!Util.DOM.hasClass(A,C))))&&A.parentNode){A=A.parentNode;}return A;},_readyCallbacks:[],_readyCall:function(){if(arguments.callee.done){return ;}arguments.callee.done=true;if(Util.Event._timer){clearInterval(Util.Event._timer);
}for(var A=0;A<Util.Event._readyCallbacks.length;A++){Util.Event._readyCallbacks[A]();}Util.Event._readyCallbacks=[];}},DOM:{getElementsByClassName:function(G,F,E){E=E||"*";var B=G.getElementsByTagName(E);var D=[];var A=B.length;for(var C=0;C<A;C++){if(this.hasClass(B[C],F)){D.push(B[C]);}}return D;},getFirstElementByClassName:function(F,E,D){D=D||"*";var B=F.getElementsByTagName(D);var A=B.length;for(var C=0;C<A;C++){if(this.hasClass(B[C],E)){return B[C];}}return false;},hasClass:function(B,A){var C=" "+B.className+" ";if(C.indexOf(" "+A+" ")!=-1){return true;}return false;},addClass:function(B,A){if(this.hasClass(B,A)){return ;}if(B.className==""){B.className=A;}else{B.className=B.className+" "+A;}},removeClass:function(B,A){B.className=B.className.replace(new RegExp("(^|s)?"+A+"(s|$)?"),"$1$2").replace(/\s{2,}/," ");},replaceClass:function(B,A,C){removeClass(B,A);addClass(B,C);},getStyle:function(el,property){if(el&&el.currentStyle){var matches=property.match(/\-[a-z]/g);if(matches){for(var i=0;
i<matches.length;i++){property=property.replace(new RegExp(matches[i]),matches[i].substr(1,1).toUpperCase());}}return eval("el.currentStyle."+property);}else{if(el){return document.defaultView.getComputedStyle(el,"").getPropertyValue(property);}}},prev:function(A){var B=A.previousSibling;while(B&&B.nodeType!=1){B=B.previousSibling;}return B;},next:function(B){var A=B.nextSibling;while(A&&A.nodeType!=1){A=A.nextSibling;}return A;},before:function(A,B){B.parentNode.insertBefore(A,B);},prepend:function(A,B){B.insertBefore(A,B.firstChild);}},Ajax:{get:function(A,C){var B=new this._getRequest();B.onreadystatechange=function(){if(Util.Ajax._isReady(B)){C(B);}};B.open("GET",A,true);B.send(null);},post:function(A,C,D){var B=new this._getRequest();B.onreadystatechange=function(){if(Util.Ajax._isReady(B)){D(B);}};B.open("POST",A,true);B.send(C);},_getRequest:function(){var A;if(window.XMLHttpRequest){A=new XMLHttpRequest();}else{try{A=new ActiveXObject("Msxml2.XMLHTTP");}catch(B){try{A=new ActiveXObject("Microsoft.XMLHTTP");
}catch(B){A=false;}}}return A;},_isReady:function(A){if(A.readyState==4&&A.status==200){return true;}return false;}},Cookie:{set:function(C,D,E){var A="";if(E){var B=new Date();B.setTime(B.getTime()+E*24*60*60*1000);A="expires="+B.toGMTString()+"; ";}document.cookie=C+"="+escape(D)+"; "+A+"path=/";},get:function(A){var C=document.cookie.split(";");for(var B=0;B<C.length;B++){var E=C[B].replace(/^\s*(.*)\s*$/,"$1");var D=E.split("=");if(D[0]==A){return unescape(D[1]==undefined?"":D[1]);}}return"";}}};try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}function rndnm(B){var A=Math.floor(Math.random()*B);return A;}function sitemap(){var C=document.getElementById("sitemap");if(C){if(Util.DOM.hasClass("body","expanded")){return ;}var B=document.getElementsByTagName("body")[0];var F=document.getElementById("sitemap").getElementsByTagName("ul");for(i=0;i<F.length;i++){if(/sitemap/i.test(F[i].className)){F[i].style.display="none";}var D=F[i].getElementsByTagName("a");for(z=0;
z<D.length;z++){if(Util.DOM.hasClass(D[z],"parent")){var A=D[z].parentNode;var G=A.getElementsByTagName("img");if(G.length==0){var E=document.createElement("img");E.className="icon";E.src=globalImagesPath+"sitemapn_plus.gif";E.style.verticalAlign="middle";A.insertBefore(E,D[z]);}A.className="parent";ul=D[z].nextSibling;while(ul.nodeType!=1){ul=ul.nextSibling;}ul.style.display="none";E.onclick=function(){A=this.parentNode;ul=A.getElementsByTagName("ul")[0];var H=(ul.style.display=="none")?"block":"none";ul.style.display=H;imgStatus=(H=="block")?"_minus":"_plus";this.src=globalImagesPath+"sitemapn"+imgStatus+".gif";};}}}}}function show_print_version(){if(document.getElementById("contenttoolbox")){document.getElementById("contenttoolbox").style.display="block";}}function corpToolboxPrintpage(){if(document.getElementById("corp-toolbox-printpage")){var B=document.getElementById("corp-toolbox-printpage");if(B){B.style.display="inline";var A=B.getElementsByTagName("a")[0];A.removeAttribute("href");
B.onclick=function(){window.print();};}}}function corpToolboxChangetextsize(){if(eipf&&eipf.changeTextSize){return ;}var F=document.getElementById("corp-toolbox-changetextsize");var C=document.getElementById("wrapie");var A=Util.Cookie.get("increase");if(F){F.style.display="inline";var B=document.createElement("img");F.appendChild(B);var E=F.getElementsByTagName("a")[0];E.removeAttribute("href");var D="Increase text size";var G="Decrease text size";if(A=="true"){Util.DOM.addClass(C,"increase");B.src=globalImagesPath+"decrease.png";B.title=B.alt=G;}else{B.src=globalImagesPath+"increase.png";B.title=B.alt=D;}B.onclick=function(){if(A=="true"){Util.Cookie.set("increase","false",356);Util.DOM.removeClass(C,"increase");B.src=globalImagesPath+"increase.png";B.title=B.alt=D;A=Util.Cookie.get("increase");}else{Util.DOM.addClass(C,"increase");Util.Cookie.set("increase","true",356);B.src=globalImagesPath+"decrease.png";B.title=B.alt=G;A=Util.Cookie.get("increase");}};}}function searchFocus(){var B=document.getElementById("search-input");
if(B){var A=B.value;B.onfocus=function(){if(this.value!=""){this.value="";}};B.onblur=function(){if(this.value==""){this.value=A;}};}}function banner(){}function initJS(){sitemap();show_print_version();searchFocus();corpToolboxPrintpage();banner();corpToolboxChangetextsize();}window.onload=initJS;function things(){$(".things .maincontent .articleabstract").each(function(B){var B=B+1;$(this).prepend("<span>"+B+"</span>");});var A=$('<ul><li id="prev" class="disable">previous</li><li id="next">next</li>');$(".things").append(A);$(".things li").click(function(){var B=$(".things .maincontent:visible");if(!($(this).hasClass("disable"))){B.hide();if($(this).attr("id")=="next"){B.next().fadeIn();}else{B.prev().fadeIn();}}$(".things li").removeClass("disable");if(B.nextAll("div").eq(1).length==0){$("#next").addClass("disable");}if(B.prevAll("div").eq(1).length==0){$("#prev").addClass("disable");}$(".things ul").hide().show();});}function welcome(){$(".welcome h3.articletitle").eq(0).addClass("activeTab");
$(".welcome h3.articletitle").each(function(){$(this).click(function(){$(".welcome .maincontent .articleabstract").hide();$(".welcome h3.articletitle").removeClass("activeTab");$(this).next().fadeIn();$(this).addClass("activeTab");});});}function roundedBox(A){$(A).addClass("rounded");$(A).append('<div class="lt"></div><div class="rt"></div><div class="lb"></div><div class="rb"></div>');}function glossary(){$("#glossary > dl > dt").not("dt.empty").each(function(){$(this).click(function(){$("#glossary > dl > dd > dl > dd").removeClass("show");$("#glossary > dl > dd > dl > dt").removeClass("mark").removeClass("prev").removeClass("next").hide();$("#glossary > dl > dd").removeClass("show");$("#glossary > dl > dt").removeClass("mark");$(this).addClass("mark");$(this).next("dd").addClass("show");$("#glossary > dl > dd > dl > dt").show();var A=$(this).next("dd.").height()+50;$("#glossary>dl").css("height",A);});});$("#glossary dd:first").addClass("show");$("#glossary dt:first").not("dt.empty").addClass("mark").trigger("click");
$("#glossary > dl > dd > dl > dt").each(function(){$(this).click(function(){$("#glossary > dl > dd > dl > dd").removeClass("show");$("#glossary > dl > dd > dl > dt").removeClass("mark").removeClass("prev").removeClass("next").hide();$(this).addClass("mark").show();$(this).next("dd").addClass("show");var A=$(this).next("dd").height();$(this).parent().css("height",A);$("#glossary>dl").css("height",A+150);$(this).nextAll("dt").eq(0).addClass("next").css("top",A+60);$(this).prevAll("dt").eq(0).addClass("prev").css("top",A+60);});});}function isValidEmail(A){if($(A).length==0){return false;}if($(A).val().length==0){return false;}return($(A).val().length>5&&$(A).val().indexOf("@")>-1&&$(A).val().indexOf(".")>-1)?true:false;}function showError(C){var A=$(C).parent().find("input");var B=A[A.length-1].value;$(C).parent().removeClass("error");var D=document.createElement("li");$(D).addClass("error_message").append(B);$(C).parent().addClass("error");$(C).parents("div.form").prevAll(".errors_message").find("ul").append(D);
$(D).parents(".errors_message").slideDown();}function showErrorMessage(A,B){$(A).submit(function(){try{if($(this).find("div.form").prevAll(".errors_message").length==0){var G=document.createElement("DIV");$(G).addClass("errors_message");$(this).find("div.form").before(G);var C=document.createElement("ul");$(G).append(C);$("#error_message_1").show().insertBefore(C);$("#error_message_2").show().insertAfter(C);}$(this).find(".errors_message").hide();$(this).find(".errors_message ul").html("");$(A+" .mandatory").removeClass("error");var F=$(this).find(".mandatory :text, .mandatory :checkbox, .mandatory textarea, .mandatory select, .mandatory :radio").filter(function(){return !($(this).css("display")=="none");});F.each(function(){if($(this).is(":text, textarea")&&$(this).val().length==0){showError(this);}else{if($(this).is(":checkbox")&&!$(this).is(":checked")){showError(this);}else{if($(this).is(":radio")&&$(this).parent().parent().find(":checked").length==0){showError(this);}else{if($(this).is("select")&&$(this).get(0).options.selectedIndex==0){showError(this);
}}}}});if(($(B).val().length!=0)&&!isValidEmail(B)){showError($(B));}for(var D=0;D<F.length;D++){if((F.eq(D).is(":text, textarea")&&F.eq(D).val().length==0)){return false;}else{if(F.eq(D).is(":checkbox")&&!(F.eq(D).is(":checked"))){return false;}else{if(F.eq(D).is(":radio")&&F.eq(D).parent().parent().find(":checked").length==0){return false;}else{if(F.eq(D).is("select")&&F.eq(D).get(0).options.selectedIndex==0){return false;}}}}}if(!isValidEmail(B)){return false;}return true;}catch(E){return true;}});}function HK_date(){var B=new Date();var A=(B.getMonth()+1)+"/"+B.getDate()+"/"+B.getFullYear();$("#footer-current-date").append(A);}$(document).ready(function(){things();welcome();glossary();roundedBox(".secondary .maincontent,.bottomBox .maincontent");showErrorMessage("#contactForm","#contact_email");showErrorMessage("#storyForm","#story_email");HK_date();eipf.changeTextSize&&eipf.changeTextSize.corpToolboxChangetextsize(3);});