(function(){var L=this,G,Y=L.jQuery,P=L.$,O=L.jQuery=L.$=function(f,g){return new O.fn.init(f,g);},e=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,F=/^.[^:#\[\.,]*$/;O.fn=O.prototype={init:function(f,i){f=f||document;if(f.nodeType){this[0]=f;this.length=1;this.context=f;return this;}if(typeof f==="string"){var h=e.exec(f);if(h&&(h[1]||!i)){if(h[1]){f=O.clean([h[1]],i);}else{var j=document.getElementById(h[3]);if(j&&j.id!=h[3]){return O().find(f);}var g=O(j||[]);g.context=document;g.selector=f;return g;}}else{return O(i).find(f);}}else{if(O.isFunction(f)){return O(document).ready(f);}}if(f.selector&&f.context){this.selector=f.selector;this.context=f.context;}return this.setArray(O.isArray(f)?f:O.makeArray(f));},selector:"",jquery:"1.3.2",size:function(){return this.length;},get:function(f){return f===G?Array.prototype.slice.call(this):this[f];},pushStack:function(g,i,f){var h=O(g);h.prevObject=this;h.context=this.context;if(i==="find"){h.selector=this.selector+(this.selector?" ":"")+f;}else{if(i){h.selector=this.selector+"."+i+"("+f+")";
}}return h;},setArray:function(f){this.length=0;Array.prototype.push.apply(this,f);return this;},each:function(g,f){return O.each(this,g,f);},index:function(f){return O.inArray(f&&f.jquery?f[0]:f,this);},attr:function(g,i,h){var f=g;if(typeof g==="string"){if(i===G){return this[0]&&O[h||"attr"](this[0],g);}else{f={};f[g]=i;}}return this.each(function(j){for(g in f){O.attr(h?this.style:this,g,O.prop(this,f[g],h,j,g));}});},css:function(f,g){if((f=="width"||f=="height")&&parseFloat(g)<0){g=G;}return this.attr(f,g,"curCSS");},text:function(g){if(typeof g!=="object"&&g!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(g));}var f="";O.each(g||this,function(){O.each(this.childNodes,function(){if(this.nodeType!=8){f+=this.nodeType!=1?this.nodeValue:O.fn.text([this]);}});});return f;},wrapAll:function(f){if(this[0]){var g=O(f,this[0].ownerDocument).clone();if(this[0].parentNode){g.insertBefore(this[0]);}g.map(function(){var h=this;while(h.firstChild){h=h.firstChild;
}return h;}).append(this);}return this;},wrapInner:function(f){return this.each(function(){O(this).contents().wrapAll(f);});},wrap:function(f){return this.each(function(){O(this).wrapAll(f);});},append:function(){return this.domManip(arguments,true,function(f){if(this.nodeType==1){this.appendChild(f);}});},prepend:function(){return this.domManip(arguments,true,function(f){if(this.nodeType==1){this.insertBefore(f,this.firstChild);}});},before:function(){return this.domManip(arguments,false,function(f){this.parentNode.insertBefore(f,this);});},after:function(){return this.domManip(arguments,false,function(f){this.parentNode.insertBefore(f,this.nextSibling);});},end:function(){return this.prevObject||O([]);},push:[].push,sort:[].sort,splice:[].splice,find:function(f){if(this.length===1){var g=this.pushStack([],"find",f);g.length=0;O.find(f,this[0],g);return g;}else{return this.pushStack(O.unique(O.map(this,function(h){return O.find(f,h);})),"find",f);}},clone:function(h){var f=this.map(function(){if(!O.support.noCloneEvent&&!O.isXMLDoc(this)){var i=this.outerHTML;
if(!i){var k=this.ownerDocument.createElement("div");k.appendChild(this.cloneNode(true));i=k.innerHTML;}return O.clean([i.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0];}else{return this.cloneNode(true);}});if(h===true){var j=this.find("*").andSelf(),g=0;f.find("*").andSelf().each(function(){if(this.nodeName!==j[g].nodeName){return ;}var i=O.data(j[g],"events");for(var l in i){for(var k in i[l]){O.event.add(this,l,i[l][k],i[l][k].data);}}g++;});}return f;},filter:function(f){return this.pushStack(O.isFunction(f)&&O.grep(this,function(h,g){return f.call(h,g);})||O.multiFilter(f,O.grep(this,function(g){return g.nodeType===1;})),"filter",f);},closest:function(f){var h=O.expr.match.POS.test(f)?O(f):null,g=0;return this.map(function(){var i=this;while(i&&i.ownerDocument){if(h?h.index(i)>-1:O(i).is(f)){O.data(i,"closest",g);return i;}i=i.parentNode;g++;}});},not:function(f){if(typeof f==="string"){if(F.test(f)){return this.pushStack(O.multiFilter(f,this,true),"not",f);}else{f=O.multiFilter(f,this);
}}var g=f.length&&f[f.length-1]!==G&&!f.nodeType;return this.filter(function(){return g?O.inArray(this,f)<0:this!=f;});},add:function(f){return this.pushStack(O.unique(O.merge(this.get(),typeof f==="string"?O(f):O.makeArray(f))));},is:function(f){return !!f&&O.multiFilter(f,this).length>0;},hasClass:function(f){return !!f&&this.is("."+f);},val:function(m){if(m===G){var f=this[0];if(f){if(O.nodeName(f,"option")){return(f.attributes.value||{}).specified?f.value:f.text;}if(O.nodeName(f,"select")){var k=f.selectedIndex,n=[],o=f.options,j=f.type=="select-one";if(k<0){return null;}for(var g=j?k:0,l=j?k+1:o.length;g<l;g++){var h=o[g];if(h.selected){m=O(h).val();if(j){return m;}n.push(m);}}return n;}return(f.value||"").replace(/\r/g,"");}return G;}if(typeof m==="number"){m+="";}return this.each(function(){if(this.nodeType!=1){return ;}if(O.isArray(m)&&/radio|checkbox/.test(this.type)){this.checked=(O.inArray(this.value,m)>=0||O.inArray(this.name,m)>=0);}else{if(O.nodeName(this,"select")){var i=O.makeArray(m);
O("option",this).each(function(){this.selected=(O.inArray(this.value,i)>=0||O.inArray(this.text,i)>=0);});if(!i.length){this.selectedIndex=-1;}}else{this.value=m;}}});},html:function(f){return f===G?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(f);},replaceWith:function(f){return this.after(f).remove();},eq:function(f){return this.slice(f,+f+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","));},map:function(f){return this.pushStack(O.map(this,function(h,g){return f.call(h,g,h);}));},andSelf:function(){return this.add(this.prevObject);},domManip:function(m,p,o){if(this[0]){var k=(this[0].ownerDocument||this[0]).createDocumentFragment(),g=O.clean(m,(this[0].ownerDocument||this[0]),k),j=k.firstChild;if(j){for(var h=0,f=this.length;h<f;h++){o.call(n(this[h],j),this.length>1||h>0?k.cloneNode(true):k);}}if(g){O.each(g,Z);}}return this;function n(i,l){return p&&O.nodeName(i,"table")&&O.nodeName(l,"tr")?(i.getElementsByTagName("tbody")[0]||i.appendChild(i.ownerDocument.createElement("tbody"))):i;
}}};O.fn.init.prototype=O.fn;function Z(f,g){if(g.src){O.ajax({url:g.src,async:false,dataType:"script"});}else{O.globalEval(g.text||g.textContent||g.innerHTML||"");}if(g.parentNode){g.parentNode.removeChild(g);}}function E(){return +new Date;}O.extend=O.fn.extend=function(){var l=arguments[0]||{},j=1,k=arguments.length,f=false,h;if(typeof l==="boolean"){f=l;l=arguments[1]||{};j=2;}if(typeof l!=="object"&&!O.isFunction(l)){l={};}if(k==j){l=this;--j;}for(;j<k;j++){if((h=arguments[j])!=null){for(var g in h){var m=l[g],n=h[g];if(l===n){continue;}if(f&&n&&typeof n==="object"&&!n.nodeType){l[g]=O.extend(f,m||(n.length!=null?[]:{}),n);}else{if(n!==G){l[g]=n;}}}}}return l;};var B=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},S=Object.prototype.toString;O.extend({noConflict:function(f){L.$=P;if(f){L.jQuery=Y;}return O;},isFunction:function(f){return S.call(f)==="[object Function]";},isArray:function(f){return S.call(f)==="[object Array]";},isXMLDoc:function(f){return f.nodeType===9&&f.documentElement.nodeName!=="HTML"||!!f.ownerDocument&&O.isXMLDoc(f.ownerDocument);
},globalEval:function(h){if(h&&/\S/.test(h)){var g=document.getElementsByTagName("head")[0]||document.documentElement,f=document.createElement("script");f.type="text/javascript";if(O.support.scriptEval){f.appendChild(document.createTextNode(h));}else{f.text=h;}g.insertBefore(f,g.firstChild);g.removeChild(f);}},nodeName:function(g,f){return g.nodeName&&g.nodeName.toUpperCase()==f.toUpperCase();},each:function(h,m,g){var f,j=0,k=h.length;if(g){if(k===G){for(f in h){if(m.apply(h[f],g)===false){break;}}}else{for(;j<k;){if(m.apply(h[j++],g)===false){break;}}}}else{if(k===G){for(f in h){if(m.call(h[f],f,h[f])===false){break;}}}else{for(var l=h[0];j<k&&m.call(l,j,l)!==false;l=h[++j]){}}}return h;},prop:function(j,k,h,g,f){if(O.isFunction(k)){k=k.call(j,g);}return typeof k==="number"&&h=="curCSS"&&!B.test(f)?k+"px":k;},className:{add:function(f,g){O.each((g||"").split(/\s+/),function(h,j){if(f.nodeType==1&&!O.className.has(f.className,j)){f.className+=(f.className?" ":"")+j;}});},remove:function(f,g){if(f.nodeType==1){f.className=g!==G?O.grep(f.className.split(/\s+/),function(h){return !O.className.has(g,h);
}).join(" "):"";}},has:function(g,f){return g&&O.inArray(f,(g.className||g).toString().split(/\s+/))>-1;}},swap:function(i,h,j){var f={};for(var g in h){f[g]=i.style[g];i.style[g]=h[g];}j.call(i);for(var g in h){i.style[g]=f[g];}},css:function(i,g,k,f){if(g=="width"||g=="height"){var m,h={position:"absolute",visibility:"hidden",display:"block"},l=g=="width"?["Left","Right"]:["Top","Bottom"];function j(){m=g=="width"?i.offsetWidth:i.offsetHeight;if(f==="border"){return ;}O.each(l,function(){if(!f){m-=parseFloat(O.curCSS(i,"padding"+this,true))||0;}if(f==="margin"){m+=parseFloat(O.curCSS(i,"margin"+this,true))||0;}else{m-=parseFloat(O.curCSS(i,"border"+this+"Width",true))||0;}});}if(i.offsetWidth!==0){j();}else{O.swap(i,h,j);}return Math.max(0,Math.round(m));}return O.curCSS(i,g,k);},curCSS:function(j,g,h){var m,f=j.style;if(g=="opacity"&&!O.support.opacity){m=O.attr(f,"opacity");return m==""?"1":m;}if(g.match(/float/i)){g=W;}if(!h&&f&&f[g]){m=f[g];}else{if(Q.getComputedStyle){if(g.match(/float/i)){g="float";
}g=g.replace(/([A-Z])/g,"-$1").toLowerCase();var n=Q.getComputedStyle(j,null);if(n){m=n.getPropertyValue(g);}if(g=="opacity"&&m==""){m="1";}}else{if(j.currentStyle){var k=g.replace(/\-(\w)/g,function(o,p){return p.toUpperCase();});m=j.currentStyle[g]||j.currentStyle[k];if(!/^\d+(px)?$/i.test(m)&&/^\d/.test(m)){var i=f.left,l=j.runtimeStyle.left;j.runtimeStyle.left=j.currentStyle.left;f.left=m||0;m=f.pixelLeft+"px";f.left=i;j.runtimeStyle.left=l;}}}}return m;},clean:function(g,m,k){m=m||document;if(typeof m.createElement==="undefined"){m=m.ownerDocument||m[0]&&m[0].ownerDocument||document;}if(!k&&g.length===1&&typeof g[0]==="string"){var j=/^<(\w+)\s*\/?>$/.exec(g[0]);if(j){return[m.createElement(j[1])];}}var h=[],f=[],n=m.createElement("div");O.each(g,function(r,u){if(typeof u==="number"){u+="";}if(!u){return ;}if(typeof u==="string"){u=u.replace(/(<(\w+)[^>]*?)\/>/g,function(v,w,i){return i.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?v:w+"></"+i+">";});var q=u.replace(/^\s+/,"").substring(0,10).toLowerCase();
var s=!q.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!q.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||q.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!q.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!q.indexOf("<td")||!q.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!q.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!O.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];n.innerHTML=s[1]+u+s[2];while(s[0]--){n=n.lastChild;}if(!O.support.tbody){var t=/<tbody/i.test(u),p=!q.indexOf("<table")&&!t?n.firstChild&&n.firstChild.childNodes:s[1]=="<table>"&&!t?n.childNodes:[];for(var o=p.length-1;o>=0;--o){if(O.nodeName(p[o],"tbody")&&!p[o].childNodes.length){p[o].parentNode.removeChild(p[o]);}}}if(!O.support.leadingWhitespace&&/^\s/.test(u)){n.insertBefore(m.createTextNode(u.match(/^\s*/)[0]),n.firstChild);}u=O.makeArray(n.childNodes);}if(u.nodeType){h.push(u);}else{h=O.merge(h,u);}});
if(k){for(var l=0;h[l];l++){if(O.nodeName(h[l],"script")&&(!h[l].type||h[l].type.toLowerCase()==="text/javascript")){f.push(h[l].parentNode?h[l].parentNode.removeChild(h[l]):h[l]);}else{if(h[l].nodeType===1){h.splice.apply(h,[l+1,0].concat(O.makeArray(h[l].getElementsByTagName("script"))));}k.appendChild(h[l]);}}return f;}return h;},attr:function(k,h,l){if(!k||k.nodeType==3||k.nodeType==8){return G;}var i=!O.isXMLDoc(k),m=l!==G;h=i&&O.props[h]||h;if(k.tagName){var g=/href|src|style/.test(h);if(h=="selected"&&k.parentNode){k.parentNode.selectedIndex;}if(h in k&&i&&!g){if(m){if(h=="type"&&O.nodeName(k,"input")&&k.parentNode){throw"type property can't be changed";}k[h]=l;}if(O.nodeName(k,"form")&&k.getAttributeNode(h)){return k.getAttributeNode(h).nodeValue;}if(h=="tabIndex"){var j=k.getAttributeNode("tabIndex");return j&&j.specified?j.value:k.nodeName.match(/(button|input|object|select|textarea)/i)?0:k.nodeName.match(/^(a|area)$/i)&&k.href?0:G;}return k[h];}if(!O.support.style&&i&&h=="style"){return O.attr(k.style,"cssText",l);
}if(m){k.setAttribute(h,""+l);}var f=!O.support.hrefNormalized&&i&&g?k.getAttribute(h,2):k.getAttribute(h);return f===null?G:f;}if(!O.support.opacity&&h=="opacity"){if(m){k.zoom=1;k.filter=(k.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(l)+""=="NaN"?"":"alpha(opacity="+l*100+")");}return k.filter&&k.filter.indexOf("opacity=")>=0?(parseFloat(k.filter.match(/opacity=([^)]*)/)[1])/100)+"":"";}h=h.replace(/-([a-z])/ig,function(n,o){return o.toUpperCase();});if(m){k[h]=l;}return k[h];},trim:function(f){return(f||"").replace(/^\s+|\s+$/g,"");},makeArray:function(h){var f=[];if(h!=null){var g=h.length;if(g==null||typeof h==="string"||O.isFunction(h)||h.setInterval){f[0]=h;}else{while(g){f[--g]=h[g];}}}return f;},inArray:function(h,j){for(var f=0,g=j.length;f<g;f++){if(j[f]===h){return f;}}return -1;},merge:function(j,f){var g=0,h,k=j.length;if(!O.support.getAll){while((h=f[g++])!=null){if(h.nodeType!=8){j[k++]=h;}}}else{while((h=f[g++])!=null){j[k++]=h;}}return j;},unique:function(m){var g=[],f={};
try{for(var h=0,j=m.length;h<j;h++){var l=O.data(m[h]);if(!f[l]){f[l]=true;g.push(m[h]);}}}catch(k){g=m;}return g;},grep:function(g,l,f){var h=[];for(var j=0,k=g.length;j<k;j++){if(!f!=!l(g[j],j)){h.push(g[j]);}}return h;},map:function(f,l){var g=[];for(var h=0,j=f.length;h<j;h++){var k=l(f[h],h);if(k!=null){g[g.length]=k;}}return g.concat.apply([],g);}});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(f){return f.parentNode;},parents:function(f){return O.dir(f,"parentNode");},next:function(f){return O.nth(f,2,"nextSibling");},prev:function(f){return O.nth(f,2,"previousSibling");},nextAll:function(f){return O.dir(f,"nextSibling");},prevAll:function(f){return O.dir(f,"previousSibling");},siblings:function(f){return O.sibling(f.parentNode.firstChild,f);},children:function(f){return O.sibling(f.firstChild);
},contents:function(f){return O.nodeName(f,"iframe")?f.contentDocument||f.contentWindow.document:O.makeArray(f.childNodes);}},function(f,g){O.fn[f]=function(h){var i=O.map(this,g);if(h&&typeof h=="string"){i=O.multiFilter(h,i);}return this.pushStack(O.unique(i),f,h);};});O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(f,g){O.fn[f]=function(h){var m=[],o=O(h);for(var n=0,j=o.length;n<j;n++){var k=(n>0?this.clone(true):this).get();O.fn[g].apply(O(o[n]),k);m=m.concat(k);}return this.pushStack(m,f,h);};});O.each({removeAttr:function(f){O.attr(this,f,"");if(this.nodeType==1){this.removeAttribute(f);}},addClass:function(f){O.className.add(this,f);},removeClass:function(f){O.className.remove(this,f);},toggleClass:function(g,f){if(typeof f!=="boolean"){f=!O.className.has(this,g);}O.className[f?"add":"remove"](this,g);},remove:function(f){if(!f||O.filter(f,[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(f,g){O.fn[f]=function(){return this.each(g,arguments);};});function J(f,g){return f[0]&&parseInt(O.curCSS(f[0],g,true),10)||0;}var H="jQuery"+E(),V=0,a={};O.extend({cache:{},data:function(g,f,h){g=g==L?a:g;var i=g[H];if(!i){i=g[H]=++V;}if(f&&!O.cache[i]){O.cache[i]={};}if(h!==G){O.cache[i][f]=h;}return f?O.cache[i][f]:i;},removeData:function(g,f){g=g==L?a:g;var i=g[H];if(f){if(O.cache[i]){delete O.cache[i][f];f="";for(f in O.cache[i]){break;}if(!f){O.removeData(g);}}}else{try{delete g[H];}catch(h){if(g.removeAttribute){g.removeAttribute(H);}}delete O.cache[i];}},queue:function(g,f,i){if(g){f=(f||"fx")+"queue";var h=O.data(g,f);if(!h||O.isArray(i)){h=O.data(g,f,O.makeArray(i));}else{if(i){h.push(i);}}}return h;},dequeue:function(i,h){var f=O.queue(i,h),g=f.shift();if(!h||h==="fx"){g=f[0];}if(g!==G){g.call(i);
}}});O.fn.extend({data:function(f,h){var i=f.split(".");i[1]=i[1]?"."+i[1]:"";if(h===G){var g=this.triggerHandler("getData"+i[1]+"!",[i[0]]);if(g===G&&this.length){g=O.data(this[0],f);}return g===G&&i[1]?this.data(i[0]):g;}else{return this.trigger("setData"+i[1]+"!",[i[0],h]).each(function(){O.data(this,f,h);});}},removeData:function(f){return this.each(function(){O.removeData(this,f);});},queue:function(f,g){if(typeof f!=="string"){g=f;f="fx";}if(g===G){return O.queue(this[0],f);}return this.each(function(){var h=O.queue(this,f,g);if(f=="fx"&&h.length==1){h[0].call(this);}});},dequeue:function(f){return this.each(function(){O.dequeue(this,f);});}});(function(){var s=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,m=0,i=Object.prototype.toString;var g=function(AB,v,AE,AF){AE=AE||[];v=v||document;if(v.nodeType!==1&&v.nodeType!==9){return[];}if(!AB||typeof AB!=="string"){return AE;}var AC=[],z,AI,AL,u,AG,w,AA=true;s.lastIndex=0;
while((z=s.exec(AB))!==null){AC.push(z[1]);if(z[2]){w=RegExp.rightContext;break;}}if(AC.length>1&&n.exec(AB)){if(AC.length===2&&j.relative[AC[0]]){AI=k(AC[0]+AC[1],v);}else{AI=j.relative[AC[0]]?[v]:g(AC.shift(),v);while(AC.length){AB=AC.shift();if(j.relative[AB]){AB+=AC.shift();}AI=k(AB,AI);}}}else{var AH=AF?{expr:AC.pop(),set:f(AF)}:g.find(AC.pop(),AC.length===1&&v.parentNode?v.parentNode:v,r(v));AI=g.filter(AH.expr,AH.set);if(AC.length>0){AL=f(AI);}else{AA=false;}while(AC.length){var AK=AC.pop(),AJ=AK;if(!j.relative[AK]){AK="";}else{AJ=AC.pop();}if(AJ==null){AJ=v;}j.relative[AK](AL,AJ,r(v));}}if(!AL){AL=AI;}if(!AL){throw"Syntax error, unrecognized expression: "+(AK||AB);}if(i.call(AL)==="[object Array]"){if(!AA){AE.push.apply(AE,AL);}else{if(v.nodeType===1){for(var AD=0;AL[AD]!=null;AD++){if(AL[AD]&&(AL[AD]===true||AL[AD].nodeType===1&&l(v,AL[AD]))){AE.push(AI[AD]);}}}else{for(var AD=0;AL[AD]!=null;AD++){if(AL[AD]&&AL[AD].nodeType===1){AE.push(AI[AD]);}}}}}else{f(AL,AE);}if(w){g(w,v,AE,AF);
if(h){hasDuplicate=false;AE.sort(h);if(hasDuplicate){for(var AD=1;AD<AE.length;AD++){if(AE[AD]===AE[AD-1]){AE.splice(AD--,1);}}}}}return AE;};g.matches=function(u,v){return g(u,null,null,v);};g.find=function(AD,u,AE){var AC,AA;if(!AD){return[];}for(var z=0,w=j.order.length;z<w;z++){var AB=j.order[z],AA;if((AA=j.match[AB].exec(AD))){var v=RegExp.leftContext;if(v.substr(v.length-1)!=="\\"){AA[1]=(AA[1]||"").replace(/\\/g,"");AC=j.find[AB](AA,u,AE);if(AC!=null){AD=AD.replace(j.match[AB],"");break;}}}}if(!AC){AC=u.getElementsByTagName("*");}return{set:AC,expr:AD};};g.filter=function(AG,AF,AJ,z){var w=AG,AL=[],AD=AF,AB,u,AC=AF&&AF[0]&&r(AF[0]);while(AG&&AF.length){for(var AE in j.filter){if((AB=j.match[AE].exec(AG))!=null){var v=j.filter[AE],AK,AI;u=false;if(AD==AL){AL=[];}if(j.preFilter[AE]){AB=j.preFilter[AE](AB,AD,AJ,AL,z,AC);if(!AB){u=AK=true;}else{if(AB===true){continue;}}}if(AB){for(var AA=0;(AI=AD[AA])!=null;AA++){if(AI){AK=v(AI,AB,AA,AD);var AH=z^!!AK;if(AJ&&AK!=null){if(AH){u=true;}else{AD[AA]=false;
}}else{if(AH){AL.push(AI);u=true;}}}}}if(AK!==G){if(!AJ){AD=AL;}AG=AG.replace(j.match[AE],"");if(!u){return[];}break;}}}if(AG==w){if(u==null){throw"Syntax error, unrecognized expression: "+AG;}else{break;}}w=AG;}return AD;};var j=g.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(u){return u.getAttribute("href");}},relative:{"+":function(AD,u,AC){var AA=typeof u==="string",AE=AA&&!/\W/.test(u),AB=AA&&!AE;if(AE&&!AC){u=u.toUpperCase();}for(var z=0,w=AD.length,v;
z<w;z++){if((v=AD[z])){while((v=v.previousSibling)&&v.nodeType!==1){}AD[z]=AB||v&&v.nodeName===u?v||false:v===u;}}if(AB){g.filter(u,AD,true);}},">":function(AC,v,AD){var AA=typeof v==="string";if(AA&&!/\W/.test(v)){v=AD?v:v.toUpperCase();for(var w=0,u=AC.length;w<u;w++){var AB=AC[w];if(AB){var z=AB.parentNode;AC[w]=z.nodeName===v?z:false;}}}else{for(var w=0,u=AC.length;w<u;w++){var AB=AC[w];if(AB){AC[w]=AA?AB.parentNode:AB.parentNode===v;}}if(AA){g.filter(v,AC,true);}}},"":function(z,v,AB){var w=m++,u=t;if(!v.match(/\W/)){var AA=v=AB?v:v.toUpperCase();u=q;}u("parentNode",v,w,z,AA,AB);},"~":function(z,v,AB){var w=m++,u=t;if(typeof v==="string"&&!v.match(/\W/)){var AA=v=AB?v:v.toUpperCase();u=q;}u("previousSibling",v,w,z,AA,AB);}},find:{ID:function(v,w,z){if(typeof w.getElementById!=="undefined"&&!z){var u=w.getElementById(v[1]);return u?[u]:[];}},NAME:function(w,AB,AC){if(typeof AB.getElementsByName!=="undefined"){var v=[],AA=AB.getElementsByName(w[1]);for(var z=0,u=AA.length;z<u;z++){if(AA[z].getAttribute("name")===w[1]){v.push(AA[z]);
}}return v.length===0?null:v;}},TAG:function(u,v){return v.getElementsByTagName(u[1]);}},preFilter:{CLASS:function(z,v,w,u,AC,AD){z=" "+z[1].replace(/\\/g,"")+" ";if(AD){return z;}for(var AA=0,AB;(AB=v[AA])!=null;AA++){if(AB){if(AC^(AB.className&&(" "+AB.className+" ").indexOf(z)>=0)){if(!w){u.push(AB);}}else{if(w){v[AA]=false;}}}}return false;},ID:function(u){return u[1].replace(/\\/g,"");},TAG:function(v,u){for(var w=0;u[w]===false;w++){}return u[w]&&r(u[w])?v[1]:v[1].toUpperCase();},CHILD:function(u){if(u[1]=="nth"){var v=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(u[2]=="even"&&"2n"||u[2]=="odd"&&"2n+1"||!/\D/.test(u[2])&&"0n+"+u[2]||u[2]);u[2]=(v[1]+(v[2]||1))-0;u[3]=v[3]-0;}u[0]=m++;return u;},ATTR:function(AA,v,w,u,AB,AC){var z=AA[1].replace(/\\/g,"");if(!AC&&j.attrMap[z]){AA[1]=j.attrMap[z];}if(AA[2]==="~="){AA[4]=" "+AA[4]+" ";}return AA;},PSEUDO:function(AA,v,w,u,AB){if(AA[1]==="not"){if(AA[3].match(s).length>1||/^\w/.test(AA[3])){AA[3]=g(AA[3],null,null,v);}else{var z=g.filter(AA[3],v,w,true^AB);
if(!w){u.push.apply(u,z);}return false;}}else{if(j.match.POS.test(AA[0])||j.match.CHILD.test(AA[0])){return true;}}return AA;},POS:function(u){u.unshift(true);return u;}},filters:{enabled:function(u){return u.disabled===false&&u.type!=="hidden";},disabled:function(u){return u.disabled===true;},checked:function(u){return u.checked===true;},selected:function(u){u.parentNode.selectedIndex;return u.selected===true;},parent:function(u){return !!u.firstChild;},empty:function(u){return !u.firstChild;},has:function(w,v,u){return !!g(u[3],w).length;},header:function(u){return/h\d/i.test(u.nodeName);},text:function(u){return"text"===u.type;},radio:function(u){return"radio"===u.type;},checkbox:function(u){return"checkbox"===u.type;},file:function(u){return"file"===u.type;},password:function(u){return"password"===u.type;},submit:function(u){return"submit"===u.type;},image:function(u){return"image"===u.type;},reset:function(u){return"reset"===u.type;},button:function(u){return"button"===u.type||u.nodeName.toUpperCase()==="BUTTON";
},input:function(u){return/input|select|textarea|button/i.test(u.nodeName);}},setFilters:{first:function(v,u){return u===0;},last:function(w,v,u,z){return v===z.length-1;},even:function(v,u){return u%2===0;},odd:function(v,u){return u%2===1;},lt:function(w,v,u){return v<u[3]-0;},gt:function(w,v,u){return v>u[3]-0;},nth:function(w,v,u){return u[3]-0==v;},eq:function(w,v,u){return u[3]-0==v;}},filter:{PSEUDO:function(AC,w,z,AD){var v=w[1],AA=j.filters[v];if(AA){return AA(AC,z,w,AD);}else{if(v==="contains"){return(AC.textContent||AC.innerText||"").indexOf(w[3])>=0;}else{if(v==="not"){var AB=w[3];for(var z=0,u=AB.length;z<u;z++){if(AB[z]===AC){return false;}}return true;}}}},CHILD:function(u,z){var AC=z[1],v=u;switch(AC){case"only":case"first":while(v=v.previousSibling){if(v.nodeType===1){return false;}}if(AC=="first"){return true;}v=u;case"last":while(v=v.nextSibling){if(v.nodeType===1){return false;}}return true;case"nth":var w=z[2],AF=z[3];if(w==1&&AF==0){return true;}var AB=z[0],AE=u.parentNode;
if(AE&&(AE.sizcache!==AB||!u.nodeIndex)){var AA=0;for(v=AE.firstChild;v;v=v.nextSibling){if(v.nodeType===1){v.nodeIndex=++AA;}}AE.sizcache=AB;}var AD=u.nodeIndex-AF;if(w==0){return AD==0;}else{return(AD%w==0&&AD/w>=0);}}},ID:function(v,u){return v.nodeType===1&&v.getAttribute("id")===u;},TAG:function(v,u){return(u==="*"&&v.nodeType===1)||v.nodeName===u;},CLASS:function(v,u){return(" "+(v.className||v.getAttribute("class"))+" ").indexOf(u)>-1;},ATTR:function(AB,z){var w=z[1],u=j.attrHandle[w]?j.attrHandle[w](AB):AB[w]!=null?AB[w]:AB.getAttribute(w),AC=u+"",AA=z[2],v=z[4];return u==null?AA==="!=":AA==="="?AC===v:AA==="*="?AC.indexOf(v)>=0:AA==="~="?(" "+AC+" ").indexOf(v)>=0:!v?AC&&u!==false:AA==="!="?AC!=v:AA==="^="?AC.indexOf(v)===0:AA==="$="?AC.substr(AC.length-v.length)===v:AA==="|="?AC===v||AC.substr(0,v.length+1)===v+"-":false;},POS:function(AA,v,w,AB){var u=v[2],z=j.setFilters[u];if(z){return z(AA,w,v,AB);}}}};var n=j.match.POS;for(var p in j.match){j.match[p]=RegExp(j.match[p].source+/(?![^\[]*\])(?![^\(]*\))/.source);
}var f=function(v,u){v=Array.prototype.slice.call(v);if(u){u.push.apply(u,v);return u;}return v;};try{Array.prototype.slice.call(document.documentElement.childNodes);}catch(o){f=function(AA,z){var v=z||[];if(i.call(AA)==="[object Array]"){Array.prototype.push.apply(v,AA);}else{if(typeof AA.length==="number"){for(var w=0,u=AA.length;w<u;w++){v.push(AA[w]);}}else{for(var w=0;AA[w];w++){v.push(AA[w]);}}}return v;};}var h;if(document.documentElement.compareDocumentPosition){h=function(v,u){var w=v.compareDocumentPosition(u)&4?-1:v===u?0:1;if(w===0){hasDuplicate=true;}return w;};}else{if("sourceIndex" in document.documentElement){h=function(v,u){var w=v.sourceIndex-u.sourceIndex;if(w===0){hasDuplicate=true;}return w;};}else{if(document.createRange){h=function(z,v){var w=z.ownerDocument.createRange(),u=v.ownerDocument.createRange();w.selectNode(z);w.collapse(true);u.selectNode(v);u.collapse(true);var AA=w.compareBoundaryPoints(Range.START_TO_END,u);if(AA===0){hasDuplicate=true;}return AA;};}}}(function(){var v=document.createElement("form"),w="script"+(new Date).getTime();
v.innerHTML="<input name='"+w+"'/>";var u=document.documentElement;u.insertBefore(v,u.firstChild);if(!!document.getElementById(w)){j.find.ID=function(AA,AB,AC){if(typeof AB.getElementById!=="undefined"&&!AC){var z=AB.getElementById(AA[1]);return z?z.id===AA[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===AA[1]?[z]:G:[];}};j.filter.ID=function(AB,z){var AA=typeof AB.getAttributeNode!=="undefined"&&AB.getAttributeNode("id");return AB.nodeType===1&&AA&&AA.nodeValue===z;};}u.removeChild(v);})();(function(){var u=document.createElement("div");u.appendChild(document.createComment(""));if(u.getElementsByTagName("*").length>0){j.find.TAG=function(v,AB){var AA=AB.getElementsByTagName(v[1]);if(v[1]==="*"){var z=[];for(var w=0;AA[w];w++){if(AA[w].nodeType===1){z.push(AA[w]);}}AA=z;}return AA;};}u.innerHTML="<a href='#'></a>";if(u.firstChild&&typeof u.firstChild.getAttribute!=="undefined"&&u.firstChild.getAttribute("href")!=="#"){j.attrHandle.href=function(v){return v.getAttribute("href",2);
};}})();if(document.querySelectorAll){(function(){var u=g,v=document.createElement("div");v.innerHTML="<p class='TEST'></p>";if(v.querySelectorAll&&v.querySelectorAll(".TEST").length===0){return ;}g=function(AB,AA,w,z){AA=AA||document;if(!z&&AA.nodeType===9&&!r(AA)){try{return f(AA.querySelectorAll(AB),w);}catch(AC){}}return u(AB,AA,w,z);};g.find=u.find;g.filter=u.filter;g.selectors=u.selectors;g.matches=u.matches;})();}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var u=document.createElement("div");u.innerHTML="<div class='test e'></div><div class='test'></div>";if(u.getElementsByClassName("e").length===0){return ;}u.lastChild.className="e";if(u.getElementsByClassName("e").length===1){return ;}j.order.splice(1,0,"CLASS");j.find.CLASS=function(v,w,z){if(typeof w.getElementsByClassName!=="undefined"&&!z){return w.getElementsByClassName(v[1]);}};})();}function q(v,AC,AB,AG,AD,AF){var AE=v=="previousSibling"&&!AF;for(var z=0,w=AG.length;z<w;
z++){var u=AG[z];if(u){if(AE&&u.nodeType===1){u.sizcache=AB;u.sizset=z;}u=u[v];var AA=false;while(u){if(u.sizcache===AB){AA=AG[u.sizset];break;}if(u.nodeType===1&&!AF){u.sizcache=AB;u.sizset=z;}if(u.nodeName===AC){AA=u;break;}u=u[v];}AG[z]=AA;}}}function t(v,AC,AB,AG,AD,AF){var AE=v=="previousSibling"&&!AF;for(var z=0,w=AG.length;z<w;z++){var u=AG[z];if(u){if(AE&&u.nodeType===1){u.sizcache=AB;u.sizset=z;}u=u[v];var AA=false;while(u){if(u.sizcache===AB){AA=AG[u.sizset];break;}if(u.nodeType===1){if(!AF){u.sizcache=AB;u.sizset=z;}if(typeof AC!=="string"){if(u===AC){AA=true;break;}}else{if(g.filter(AC,[u]).length>0){AA=u;break;}}}u=u[v];}AG[z]=AA;}}}var l=document.compareDocumentPosition?function(v,u){return v.compareDocumentPosition(u)&16;}:function(v,u){return v!==u&&(v.contains?v.contains(u):true);};var r=function(u){return u.nodeType===9&&u.documentElement.nodeName!=="HTML"||!!u.ownerDocument&&r(u.ownerDocument);};var k=function(u,AD){var z=[],AA="",AB,w=AD.nodeType?[AD]:AD;while((AB=j.match.PSEUDO.exec(u))){AA+=AB[0];
u=u.replace(j.match.PSEUDO,"");}u=j.relative[u]?u+"*":u;for(var AC=0,v=w.length;AC<v;AC++){g(u,w[AC],z);}return g.filter(AA,z);};O.find=g;O.filter=g.filter;O.expr=g.selectors;O.expr[":"]=O.expr.filters;g.selectors.filters.hidden=function(u){return u.offsetWidth===0||u.offsetHeight===0;};g.selectors.filters.visible=function(u){return u.offsetWidth>0||u.offsetHeight>0;};g.selectors.filters.animated=function(u){return O.grep(O.timers,function(v){return u===v.elem;}).length;};O.multiFilter=function(w,u,v){if(v){w=":not("+w+")";}return g.matches(w,u);};O.dir=function(w,v){var u=[],z=w[v];while(z&&z!=document){if(z.nodeType==1){u.push(z);}z=z[v];}return u;};O.nth=function(AA,u,w,z){u=u||1;var v=0;for(;AA;AA=AA[w]){if(AA.nodeType==1&&++v==u){break;}}return AA;};O.sibling=function(w,v){var u=[];for(;w;w=w.nextSibling){if(w.nodeType==1&&w!=v){u.push(w);}}return u;};return ;L.Sizzle=g;})();O.event={add:function(j,g,i,l){if(j.nodeType==3||j.nodeType==8){return ;}if(j.setInterval&&j!=L){j=L;}if(!i.guid){i.guid=this.guid++;
}if(l!==G){var h=i;i=this.proxy(h);i.data=l;}var f=O.data(j,"events")||O.data(j,"events",{}),k=O.data(j,"handle")||O.data(j,"handle",function(){return typeof O!=="undefined"&&!O.event.triggered?O.event.handle.apply(arguments.callee.elem,arguments):G;});k.elem=j;O.each(g.split(/\s+/),function(n,o){var p=o.split(".");o=p.shift();i.type=p.slice().sort().join(".");var m=f[o];if(O.event.specialAll[o]){O.event.specialAll[o].setup.call(j,l,p);}if(!m){m=f[o]={};if(!O.event.special[o]||O.event.special[o].setup.call(j,l,p)===false){if(j.addEventListener){j.addEventListener(o,k,false);}else{if(j.attachEvent){j.attachEvent("on"+o,k);}}}}m[i.guid]=i;O.event.global[o]=true;});j=null;},guid:1,global:{},remove:function(l,i,k){if(l.nodeType==3||l.nodeType==8){return ;}var h=O.data(l,"events"),g,f;if(h){if(i===G||(typeof i==="string"&&i.charAt(0)==".")){for(var j in h){this.remove(l,j+(i||""));}}else{if(i.type){k=i.handler;i=i.type;}O.each(i.split(/\s+/),function(n,p){var r=p.split(".");p=r.shift();var o=RegExp("(^|\\.)"+r.slice().sort().join(".*\\.")+"(\\.|$)");
if(h[p]){if(k){delete h[p][k.guid];}else{for(var q in h[p]){if(o.test(h[p][q].type)){delete h[p][q];}}}if(O.event.specialAll[p]){O.event.specialAll[p].teardown.call(l,r);}for(g in h[p]){break;}if(!g){if(!O.event.special[p]||O.event.special[p].teardown.call(l,r)===false){if(l.removeEventListener){l.removeEventListener(p,O.data(l,"handle"),false);}else{if(l.detachEvent){l.detachEvent("on"+p,O.data(l,"handle"));}}}g=null;delete h[p];}}});}for(g in h){break;}if(!g){var m=O.data(l,"handle");if(m){m.elem=null;}O.removeData(l,"events");O.removeData(l,"handle");}}},trigger:function(j,l,i,f){var h=j.type||j;if(!f){j=typeof j==="object"?j[H]?j:O.extend(O.Event(h),j):O.Event(h);if(h.indexOf("!")>=0){j.type=h=h.slice(0,-1);j.exclusive=true;}if(!i){j.stopPropagation();if(this.global[h]){O.each(O.cache,function(){if(this.events&&this.events[h]){O.event.trigger(j,l,this.handle.elem);}});}}if(!i||i.nodeType==3||i.nodeType==8){return G;}j.result=G;j.target=i;l=O.makeArray(l);l.unshift(j);}j.currentTarget=i;
var k=O.data(i,"handle");if(k){k.apply(i,l);}if((!i[h]||(O.nodeName(i,"a")&&h=="click"))&&i["on"+h]&&i["on"+h].apply(i,l)===false){j.result=false;}if(!f&&i[h]&&!j.isDefaultPrevented()&&!(O.nodeName(i,"a")&&h=="click")){this.triggered=true;try{i[h]();}catch(m){}}this.triggered=false;if(!j.isPropagationStopped()){var g=i.parentNode||i.ownerDocument;if(g){O.event.trigger(j,l,g,true);}}},handle:function(m){var l,f;m=arguments[0]=O.event.fix(m||L.event);m.currentTarget=this;var n=m.type.split(".");m.type=n.shift();l=!n.length&&!m.exclusive;var k=RegExp("(^|\\.)"+n.slice().sort().join(".*\\.")+"(\\.|$)");f=(O.data(this,"events")||{})[m.type];for(var h in f){var i=f[h];if(l||k.test(i.type)){m.handler=i;m.data=i.data;var g=i.apply(this,arguments);if(g!==G){m.result=g;if(g===false){m.preventDefault();m.stopPropagation();}}if(m.isImmediatePropagationStopped()){break;}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(j){if(j[H]){return j;
}var g=j;j=O.Event(g);for(var h=this.props.length,l;h;){l=this.props[--h];j[l]=g[l];}if(!j.target){j.target=j.srcElement||document;}if(j.target.nodeType==3){j.target=j.target.parentNode;}if(!j.relatedTarget&&j.fromElement){j.relatedTarget=j.fromElement==j.target?j.toElement:j.fromElement;}if(j.pageX==null&&j.clientX!=null){var k=document.documentElement,f=document.body;j.pageX=j.clientX+(k&&k.scrollLeft||f&&f.scrollLeft||0)-(k.clientLeft||0);j.pageY=j.clientY+(k&&k.scrollTop||f&&f.scrollTop||0)-(k.clientTop||0);}if(!j.which&&((j.charCode||j.charCode===0)?j.charCode:j.keyCode)){j.which=j.charCode||j.keyCode;}if(!j.metaKey&&j.ctrlKey){j.metaKey=j.ctrlKey;}if(!j.which&&j.button){j.which=(j.button&1?1:(j.button&2?3:(j.button&4?2:0)));}return j;},proxy:function(g,f){f=f||function(){return g.apply(this,arguments);};f.guid=g.guid=g.guid||f.guid||this.guid++;return f;},special:{ready:{setup:b,teardown:function(){}}},specialAll:{live:{setup:function(f,g){O.event.add(this,g[0],C);},teardown:function(h){if(h.length){var f=0,g=RegExp("(^|\\.)"+h[0]+"(\\.|$)");
O.each((O.data(this,"events").live||{}),function(){if(g.test(this.type)){f++;}});if(f<1){O.event.remove(this,h[0],C);}}}}}};O.Event=function(f){if(!this.preventDefault){return new O.Event(f);}if(f&&f.type){this.originalEvent=f;this.type=f.type;}else{this.type=f;}this.timeStamp=E();this[H]=true;};function K(){return false;}function U(){return true;}O.Event.prototype={preventDefault:function(){this.isDefaultPrevented=U;var f=this.originalEvent;if(!f){return ;}if(f.preventDefault){f.preventDefault();}f.returnValue=false;},stopPropagation:function(){this.isPropagationStopped=U;var f=this.originalEvent;if(!f){return ;}if(f.stopPropagation){f.stopPropagation();}f.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U;this.stopPropagation();},isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K};var A=function(g){var f=g.relatedTarget;while(f&&f!=this){try{f=f.parentNode;}catch(h){f=this;}}if(f!=this){g.type=g.data;O.event.handle.apply(this,arguments);
}};O.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(g,f){O.event.special[f]={setup:function(){O.event.add(this,g,A,f);},teardown:function(){O.event.remove(this,g,A);}};});O.fn.extend({bind:function(g,h,f){return g=="unload"?this.one(g,h,f):this.each(function(){O.event.add(this,g,f||h,f&&h);});},one:function(h,i,g){var f=O.event.proxy(g||i,function(j){O(this).unbind(j,f);return(g||i).apply(this,arguments);});return this.each(function(){O.event.add(this,h,f,g&&i);});},unbind:function(g,f){return this.each(function(){O.event.remove(this,g,f);});},trigger:function(f,g){return this.each(function(){O.event.trigger(f,g,this);});},triggerHandler:function(f,h){if(this[0]){var g=O.Event(f);g.preventDefault();g.stopPropagation();O.event.trigger(g,h,this[0]);return g.result;}},toggle:function(h){var f=arguments,g=1;while(g<f.length){O.event.proxy(h,f[g++]);}return this.click(O.event.proxy(h,function(i){this.lastToggle=(this.lastToggle||0)%g;i.preventDefault();return f[this.lastToggle++].apply(this,arguments)||false;
}));},hover:function(f,g){return this.mouseenter(f).mouseleave(g);},ready:function(f){b();if(O.isReady){f.call(document,O);}else{O.readyList.push(f);}return this;},live:function(h,g){var f=O.event.proxy(g);f.guid+=this.selector+h;O(document).bind(I(h,this.selector),this.selector,f);return this;},die:function(g,f){O(document).unbind(I(g,this.selector),f?{guid:f.guid+this.selector+g}:null);return this;}});function C(i){var f=RegExp("(^|\\.)"+i.type+"(\\.|$)"),h=true,g=[];O.each(O.data(this,"events").live||[],function(j,k){if(f.test(k.type)){var l=O(i.target).closest(k.data)[0];if(l){g.push({elem:l,fn:k});}}});g.sort(function(k,j){return O.data(k.elem,"closest")-O.data(j.elem,"closest");});O.each(g,function(){if(this.fn.call(this.elem,i,this.fn.data)===false){return(h=false);}});return h;}function I(g,f){return["live",g,f.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(f){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(g,f){O.fn[f]=function(h){return h?this.bind(f,h):this.trigger(f);};});O(L).bind("unload",function(){for(var f in O.cache){if(f!=1&&O.cache[f].handle){O.event.remove(O.cache[f].handle.elem);
}}});(function(){O.support={};var g=document.documentElement,h=document.createElement("script"),l=document.createElement("div"),k="script"+(new Date).getTime();l.style.display="none";l.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 i=l.getElementsByTagName("*"),f=l.getElementsByTagName("a")[0];if(!i||!i.length||!f){return ;}O.support={leadingWhitespace:l.firstChild.nodeType==3,tbody:!l.getElementsByTagName("tbody").length,objectAll:!!l.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!l.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:f.style.opacity==="0.5",cssFloat:!!f.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};h.type="text/javascript";try{h.appendChild(document.createTextNode("window."+k+"=1;"));}catch(j){}g.insertBefore(h,g.firstChild);
if(L[k]){O.support.scriptEval=true;delete L[k];}g.removeChild(h);if(l.attachEvent&&l.fireEvent){l.attachEvent("onclick",function(){O.support.noCloneEvent=false;l.detachEvent("onclick",arguments.callee);});l.cloneNode(true).fireEvent("onclick");}O(function(){var m=document.createElement("div");m.style.width=m.style.paddingLeft="1px";document.body.appendChild(m);O.boxModel=O.support.boxModel=m.offsetWidth===2;document.body.removeChild(m).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(h,k,l){if(typeof h!=="string"){return this._load(h);}var j=h.indexOf(" ");if(j>=0){var f=h.slice(j,h.length);h=h.slice(0,j);}var i="GET";if(k){if(O.isFunction(k)){l=k;k=null;}else{if(typeof k==="object"){k=O.param(k);i="POST";}}}var g=this;O.ajax({url:h,type:i,dataType:"html",data:k,complete:function(n,m){if(m=="success"||m=="notmodified"){g.html(f?O("<div/>").append(n.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(f):n.responseText);
}if(l){g.each(l,[n.responseText,m,n]);}}});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(f,g){var h=O(this).val();return h==null?null:O.isArray(h)?O.map(h,function(k,j){return{name:g.name,value:k};}):{name:g.name,value:h};}).get();}});O.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(f,g){O.fn[g]=function(h){return this.bind(g,h);};});var R=E();O.extend({get:function(f,h,i,g){if(O.isFunction(h)){i=h;h=null;}return O.ajax({type:"GET",url:f,data:h,success:i,dataType:g});},getScript:function(f,g){return O.get(f,null,g,"script");},getJSON:function(f,g,h){return O.get(f,g,h,"json");},post:function(f,h,i,g){if(O.isFunction(h)){i=h;h={};}return O.ajax({type:"POST",url:f,data:h,success:i,dataType:g});
},ajaxSetup:function(f){O.extend(O.ajaxSettings,f);},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(n){n=O.extend(true,n,O.extend(true,{},O.ajaxSettings,n));var AA,g=/=\?(&|$)/g,t,z,h=n.type.toUpperCase();if(n.data&&n.processData&&typeof n.data!=="string"){n.data=O.param(n.data);}if(n.dataType=="jsonp"){if(h=="GET"){if(!n.url.match(g)){n.url+=(n.url.match(/\?/)?"&":"?")+(n.jsonp||"callback")+"=?";}}else{if(!n.data||!n.data.match(g)){n.data=(n.data?n.data+"&":"")+(n.jsonp||"callback")+"=?";}}n.dataType="json";}if(n.dataType=="json"&&(n.data&&n.data.match(g)||n.url.match(g))){AA="jsonp"+R++;if(n.data){n.data=(n.data+"").replace(g,"="+AA+"$1");
}n.url=n.url.replace(g,"="+AA+"$1");n.dataType="script";L[AA]=function(s){z=s;j();m();L[AA]=G;try{delete L[AA];}catch(AB){}if(i){i.removeChild(v);}};}if(n.dataType=="script"&&n.cache==null){n.cache=false;}if(n.cache===false&&h=="GET"){var f=E();var w=n.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+f+"$2");n.url=w+((w==n.url)?(n.url.match(/\?/)?"&":"?")+"_="+f:"");}if(n.data&&h=="GET"){n.url+=(n.url.match(/\?/)?"&":"?")+n.data;n.data=null;}if(n.global&&!O.active++){O.event.trigger("ajaxStart");}var r=/^(\w+:)?\/\/([^\/?#]+)/.exec(n.url);if(n.dataType=="script"&&h=="GET"&&r&&(r[1]&&r[1]!=location.protocol||r[2]!=location.host)){var i=document.getElementsByTagName("head")[0];var v=document.createElement("script");v.src=n.url;if(n.scriptCharset){v.charset=n.scriptCharset;}if(!AA){var p=false;v.onload=v.onreadystatechange=function(){if(!p&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){p=true;j();m();v.onload=v.onreadystatechange=null;i.removeChild(v);}};}i.appendChild(v);
return G;}var l=false;var k=n.xhr();if(n.username){k.open(h,n.url,n.async,n.username,n.password);}else{k.open(h,n.url,n.async);}try{if(n.data){k.setRequestHeader("Content-Type",n.contentType);}if(n.ifModified){k.setRequestHeader("If-Modified-Since",O.lastModified[n.url]||"Thu, 01 Jan 1970 00:00:00 GMT");}k.setRequestHeader("X-Requested-With","XMLHttpRequest");k.setRequestHeader("Accept",n.dataType&&n.accepts[n.dataType]?n.accepts[n.dataType]+", */*":n.accepts._default);}catch(u){}if(n.beforeSend&&n.beforeSend(k,n)===false){if(n.global&&!--O.active){O.event.trigger("ajaxStop");}k.abort();return false;}if(n.global){O.event.trigger("ajaxSend",[k,n]);}var o=function(s){if(k.readyState==0){if(q){clearInterval(q);q=null;if(n.global&&!--O.active){O.event.trigger("ajaxStop");}}}else{if(!l&&k&&(k.readyState==4||s=="timeout")){l=true;if(q){clearInterval(q);q=null;}t=s=="timeout"?"timeout":!O.httpSuccess(k)?"error":n.ifModified&&O.httpNotModified(k,n.url)?"notmodified":"success";if(t=="success"){try{z=O.httpData(k,n.dataType,n);
}catch(AC){t="parsererror";}}if(t=="success"){var AB;try{AB=k.getResponseHeader("Last-Modified");}catch(AC){}if(n.ifModified&&AB){O.lastModified[n.url]=AB;}if(!AA){j();}}else{O.handleError(n,k,t);}m();if(s){k.abort();}if(n.async){k=null;}}}};if(n.async){var q=setInterval(o,13);if(n.timeout>0){setTimeout(function(){if(k&&!l){o("timeout");}},n.timeout);}}try{k.send(n.data);}catch(u){O.handleError(n,k,null,u);}if(!n.async){o();}function j(){if(n.success){n.success(z,t);}if(n.global){O.event.trigger("ajaxSuccess",[k,n]);}}function m(){if(n.complete){n.complete(k,t);}if(n.global){O.event.trigger("ajaxComplete",[k,n]);}if(n.global&&!--O.active){O.event.trigger("ajaxStop");}}return k;},handleError:function(g,i,f,h){if(g.error){g.error(i,f,h);}if(g.global){O.event.trigger("ajaxError",[i,g,h]);}},active:0,httpSuccess:function(g){try{return !g.status&&location.protocol=="file:"||(g.status>=200&&g.status<300)||g.status==304||g.status==1223;}catch(f){}return false;},httpNotModified:function(h,f){try{var i=h.getResponseHeader("Last-Modified");
return h.status==304||i==O.lastModified[f];}catch(g){}return false;},httpData:function(k,i,h){var g=k.getResponseHeader("content-type"),f=i=="xml"||!i&&g&&g.indexOf("xml")>=0,j=f?k.responseXML:k.responseText;if(f&&j.documentElement.tagName=="parsererror"){throw"parsererror";}if(h&&h.dataFilter){j=h.dataFilter(j,i);}if(typeof j==="string"){if(i=="script"){O.globalEval(j);}if(i=="json"){j=L["eval"]("("+j+")");}}return j;},param:function(f){var h=[];function i(j,k){h[h.length]=encodeURIComponent(j)+"="+encodeURIComponent(k);}if(O.isArray(f)||f.jquery){O.each(f,function(){i(this.name,this.value);});}else{for(var g in f){if(O.isArray(f[g])){O.each(f[g],function(){i(g,this);});}else{i(g,O.isFunction(f[g])?f[g]():f[g]);}}}return h.join("&").replace(/%20/g,"+");}});var M={},N,D=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function T(g,f){var h={};O.each(D.concat.apply([],D.slice(0,f)),function(){h[this]=g;
});return h;}O.fn.extend({show:function(m,o){if(m){return this.animate(T("show",3),m,o);}else{for(var j=0,g=this.length;j<g;j++){var f=O.data(this[j],"olddisplay");this[j].style.display=f||"";if(O.css(this[j],"display")==="none"){var h=this[j].tagName,n;if(M[h]){n=M[h];}else{var k=O("<"+h+" />").appendTo("body");n=k.css("display");if(n==="none"){n="block";}k.remove();M[h]=n;}O.data(this[j],"olddisplay",n);}}for(var j=0,g=this.length;j<g;j++){this[j].style.display=O.data(this[j],"olddisplay")||"";}return this;}},hide:function(j,k){if(j){return this.animate(T("hide",3),j,k);}else{for(var h=0,g=this.length;h<g;h++){var f=O.data(this[h],"olddisplay");if(!f&&f!=="none"){O.data(this[h],"olddisplay",O.css(this[h],"display"));}}for(var h=0,g=this.length;h<g;h++){this[h].style.display="none";}return this;}},_toggle:O.fn.toggle,toggle:function(h,g){var f=typeof h==="boolean";return O.isFunction(h)&&O.isFunction(g)?this._toggle.apply(this,arguments):h==null||f?this.each(function(){var i=f?h:O(this).is(":hidden");
O(this)[i?"show":"hide"]();}):this.animate(T("toggle",3),h,g);},fadeTo:function(f,h,g){return this.animate({opacity:h},f,g);},animate:function(j,g,i,h){var f=O.speed(g,i,h);return this[f.queue===false?"each":"queue"](function(){var l=O.extend({},f),n,m=this.nodeType==1&&O(this).is(":hidden"),k=this;for(n in j){if(j[n]=="hide"&&m||j[n]=="show"&&!m){return l.complete.call(this);}if((n=="height"||n=="width")&&this.style){l.display=O.css(this,"display");l.overflow=this.style.overflow;}}if(l.overflow!=null){this.style.overflow="hidden";}l.curAnim=O.extend({},j);O.each(j,function(p,t){var s=new O.fx(k,l,p);if(/toggle|show|hide/.test(t)){s[t=="toggle"?m?"show":"hide":t](j);}else{var r=t.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),u=s.cur(true)||0;if(r){var o=parseFloat(r[2]),q=r[3]||"px";if(q!="px"){k.style[p]=(o||1)+q;u=((o||1)/s.cur(true))*u;k.style[p]=u+q;}if(r[1]){o=((r[1]=="-="?-1:1)*o)+u;}s.custom(u,o,q);}else{s.custom(u,t,"");}}});return true;});},stop:function(g,f){var h=O.timers;if(g){this.queue([]);
}this.each(function(){for(var j=h.length-1;j>=0;j--){if(h[j].elem==this){if(f){h[j](true);}h.splice(j,1);}}});if(!f){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(f,g){O.fn[f]=function(h,i){return this.animate(g,h,i);};});O.extend({speed:function(h,i,g){var f=typeof h==="object"?h:{complete:g||!g&&i||O.isFunction(h)&&h,duration:h,easing:g&&i||i&&!O.isFunction(i)&&i};f.duration=O.fx.off?0:typeof f.duration==="number"?f.duration:O.fx.speeds[f.duration]||O.fx.speeds._default;f.old=f.complete;f.complete=function(){if(f.queue!==false){O(this).dequeue();}if(O.isFunction(f.old)){f.old.call(this);}};return f;},easing:{linear:function(h,i,f,g){return f+g*h;},swing:function(h,i,f,g){return((-Math.cos(h*Math.PI)/2)+0.5)*g+f;}},timers:[],fx:function(g,f,h){this.options=f;this.elem=g;this.prop=h;if(!f.orig){f.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(g){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}var f=parseFloat(O.css(this.elem,this.prop,g));return f&&f>-10000?f:parseFloat(O.curCSS(this.elem,this.prop))||0;},custom:function(j,i,h){this.startTime=E();this.start=j;this.end=i;this.unit=h||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;function g(k){return f.step(k);}g.elem=this.elem;if(g()&&O.timers.push(g)&&!N){N=setInterval(function(){var l=O.timers;for(var k=0;k<l.length;k++){if(!l[k]()){l.splice(k--,1);}}if(!l.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(j){var h=E();if(j||h>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var g in this.options.curAnim){if(this.options.curAnim[g]!==true){f=false;}}if(f){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 k in this.options.curAnim){O.attr(this.elem.style,k,this.options.orig[k]);}}this.options.complete.call(this.elem);}return false;}else{var l=h-this.startTime;this.state=l/this.options.duration;this.pos=O.easing[this.options.easing||(O.easing.swing?"swing":"linear")](this.state,l,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};O.extend(O.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(f){O.attr(f.elem.style,"opacity",f.now);
},_default:function(f){if(f.elem.style&&f.elem.style[f.prop]!=null){f.elem.style[f.prop]=f.now+f.unit;}else{f.elem[f.prop]=f.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 h=this[0].getBoundingClientRect(),k=this[0].ownerDocument,g=k.body,f=k.documentElement,m=f.clientTop||g.clientTop||0,l=f.clientLeft||g.clientLeft||0,j=h.top+(self.pageYOffset||O.boxModel&&f.scrollTop||g.scrollTop)-m,i=h.left+(self.pageXOffset||O.boxModel&&f.scrollLeft||g.scrollLeft)-l;return{top:j,left:i};};}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 k=this[0],h=k.offsetParent,g=k,p=k.ownerDocument,n,i=p.documentElement,l=p.body,m=p.defaultView,f=m.getComputedStyle(k,null),o=k.offsetTop,j=k.offsetLeft;while((k=k.parentNode)&&k!==l&&k!==i){n=m.getComputedStyle(k,null);
o-=k.scrollTop,j-=k.scrollLeft;if(k===h){o+=k.offsetTop,j+=k.offsetLeft;if(O.offset.doesNotAddBorder&&!(O.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(k.tagName))){o+=parseInt(n.borderTopWidth,10)||0,j+=parseInt(n.borderLeftWidth,10)||0;}g=h,h=k.offsetParent;}if(O.offset.subtractsBorderForOverflowNotVisible&&n.overflow!=="visible"){o+=parseInt(n.borderTopWidth,10)||0,j+=parseInt(n.borderLeftWidth,10)||0;}f=n;}if(f.position==="relative"||f.position==="static"){o+=l.offsetTop,j+=l.offsetLeft;}if(f.position==="fixed"){o+=Math.max(i.scrollTop,l.scrollTop),j+=Math.max(i.scrollLeft,l.scrollLeft);}return{top:o,left:j};};}O.offset={initialize:function(){if(this.initialized){return ;}var m=document.body,g=document.createElement("div"),i,h,o,j,n,f,k=m.style.marginTop,l='<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>';
n={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(f in n){g.style[f]=n[f];}g.innerHTML=l;m.insertBefore(g,m.firstChild);i=g.firstChild,h=i.firstChild,j=i.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(h.offsetTop!==5);this.doesAddBorderForTableAndCells=(j.offsetTop===5);i.style.overflow="hidden",i.style.position="relative";this.subtractsBorderForOverflowNotVisible=(h.offsetTop===-5);m.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(m.offsetTop===0);m.style.marginTop=k;m.removeChild(g);this.initialized=true;},bodyOffset:function(f){O.offset.initialized||O.offset.initialize();var h=f.offsetTop,g=f.offsetLeft;if(O.offset.doesNotIncludeMarginInBodyOffset){h+=parseInt(O.curCSS(f,"marginTop",true),10)||0,g+=parseInt(O.curCSS(f,"marginLeft",true),10)||0;}return{top:h,left:g};}};O.fn.extend({position:function(){var j=0,i=0,g;if(this[0]){var h=this.offsetParent(),k=this.offset(),f=/^body|html$/i.test(h[0].tagName)?{top:0,left:0}:h.offset();
k.top-=J(this,"marginTop");k.left-=J(this,"marginLeft");f.top+=J(h,"borderTopWidth");f.left+=J(h,"borderLeftWidth");g={top:k.top-f.top,left:k.left-f.left};}return g;},offsetParent:function(){var f=this[0].offsetParent||document.body;while(f&&(!/^body|html$/i.test(f.tagName)&&O.css(f,"position")=="static")){f=f.offsetParent;}return O(f);}});O.each(["Left","Top"],function(g,f){var h="scroll"+f;O.fn[h]=function(i){if(!this[0]){return null;}return i!==G?this.each(function(){this==L||this==document?L.scrollTo(!g?i:O(L).scrollLeft(),g?i:O(L).scrollTop()):this[h]=i;}):this[0]==L||this[0]==document?self[g?"pageYOffset":"pageXOffset"]||O.boxModel&&document.documentElement[h]||document.body[h]:this[0][h];};});O.each(["Height","Width"],function(k,h){var f=k?"Left":"Top",j=k?"Right":"Bottom",g=h.toLowerCase();O.fn["inner"+h]=function(){return this[0]?O.css(this[0],g,false,"padding"):null;};O.fn["outer"+h]=function(i){return this[0]?O.css(this[0],g,false,i?"margin":"border"):null;};var l=h.toLowerCase();
O.fn[l]=function(i){return this[0]==L?document.compatMode=="CSS1Compat"&&document.documentElement["client"+h]||document.body["client"+h]:this[0]==document?Math.max(document.documentElement["client"+h],document.body["scroll"+h],document.documentElement["scroll"+h],document.body["offset"+h],document.documentElement["offset"+h]):i===G?(this.length?O.css(this[0],l):null):this.css(l,typeof i==="string"?i:i+"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(e,c){var a;if(c&&c.length){for(var b=0;b<c.length;b++){if(c[b].result.toLowerCase()==e.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(e,f){c[e]=typeof f=="function"?f():f;});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(f){var e=G.parse&&G.parse(f)||O(f);M.add(Z,e);b(Z,e);}});}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);function extendOption(A,B){}function eventSubmit(){}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();});window.eipf=window.eipf||{};eipf.PollImpl=function(){this.initialize();};$.extend(eipf.PollImpl.prototype,{variables:{poll:$("#poll-module")},initialize:function(){this.variables.poll=$("#poll-module");this.variables.poll.find("div.poll-bar-result").each(function(){var A=parseInt($(this).parent().find(".poll-bar-percentage").text());if(A==0){$(this).parent().find(".poll-bar-percentage").css("margin-left","-55px");
}$(this).css({width:"0%"}).animate({width:A+"%"},"slow");});}});$(document).bind("ready.eipf.poll",function(){eipf.poll=new eipf.PollImpl();});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"";}}};var sIFR=new function(){var self=this;var ClassNames={ACTIVE:"sIFR-hasFlash",REPLACED:"sIFR-replaced",IGNORE:"sIFR-ignore",ALTERNATE:"sIFR-alternate",CLASS:"sIFR-class",LAYOUT:"sIFR-layout",FLASH:"sIFR-flash",FIX_FOCUS:"sIFR-fixfocus",DUMMY:"sIFR-dummy"};ClassNames.IGNORE_CLASSES=[ClassNames.REPLACED,ClassNames.IGNORE,ClassNames.ALTERNATE];this.MIN_FONT_SIZE=6;this.MAX_FONT_SIZE=126;this.FLASH_PADDING_BOTTOM=5;this.VERSION="436";this.isActive=false;this.isEnabled=true;this.fixHover=true;this.autoInitialize=true;
this.setPrefetchCookie=true;this.cookiePath="/";this.domains=[];this.forceWidth=true;this.fitExactly=false;this.forceTextTransform=true;this.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.replacements=[];var elementCount=0;var isInitialized=false;function Errors(){this.fire=function(id){if(this[id+"Alert"]){alert(this[id+"Alert"]);}throw new Error(this[id]);};this.isFile="sIFR: Did not activate because the page is being loaded from the filesystem.";this.isFileAlert="Hi!\n\nThanks for using sIFR on your page. Unfortunately sIFR couldn't activate, because it was loaded directly from your computer.\nDue to Flash security restrictions, you need to load sIFR through a web server.\n\nWe apologize for the inconvenience.";}function Util(sIFR){function capitalize($){return $.toLocaleUpperCase();}this.normalize=function(str){return str.replace(/\n|\r|\xA0/g,Util.SINGLE_WHITESPACE).replace(/\s+/g,Util.SINGLE_WHITESPACE);};this.textTransform=function(type,str){switch(type){case"uppercase":return str.toLocaleUpperCase();
case"lowercase":return str.toLocaleLowerCase();case"capitalize":return str.replace(/^\w|\s\w/g,capitalize);}return str;};this.toHexString=function(str){if(str.charAt(0)!="#"||str.length!=4&&str.length!=7){return str;}str=str.substring(1);return"0x"+(str.length==3?str.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):str);};this.toJson=function(obj,strFunc){var json="";switch(typeof (obj)){case"string":json='"'+strFunc(obj)+'"';break;case"number":case"boolean":json=obj.toString();break;case"object":json=[];for(var prop in obj){if(obj[prop]==Object.prototype[prop]){continue;}json.push('"'+prop+'":'+this.toJson(obj[prop]));}json="{"+json.join(",")+"}";break;}return json;};this.convertCssArg=function(arg){if(!arg){return{};}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("");}else{return arg;}}var obj={};var rules=arg.split("}");for(var i=0;i<rules.length;i++){var $=rules[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue;}if(!obj[$[1]]){obj[$[1]]={};}var properties=$[2].split(";");
for(var j=0;j<properties.length;j++){var $2=properties[j].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!$2||$2.length!=3){continue;}obj[$[1]][$2[1]]=$2[2].replace(/\s+$/,"");}}return obj;};this.extractFromCss=function(css,selector,property,remove){var value=null;if(css&&css[selector]&&css[selector][property]){value=css[selector][property];if(remove){delete css[selector][property];}}return value;};this.cssToString=function(arg){var css=[];for(var selector in arg){var rule=arg[selector];if(rule==Object.prototype[selector]){continue;}css.push(selector,"{");for(var property in rule){if(rule[property]==Object.prototype[property]){continue;}var value=rule[property];if(Util.UNIT_REMOVAL_PROPERTIES[property]){value=parseInt(value,10);}css.push(property,":",value,";");}css.push("}");}return css.join("");};this.escape=function(str){return escape(str).replace(/\+/g,"%2B");};this.encodeVars=function(vars){return vars.join("&").replace(/%/g,"%25");};this.copyProperties=function(from,to){for(var property in from){if(to[property]===undefined){to[property]=from[property];
}}return to;};this.domain=function(){var domain="";try{domain=document.domain;}catch(e){}return domain;};this.domainMatches=function(domain,match){if(match=="*"||match==domain){return true;}var wildcard=match.lastIndexOf("*");if(wildcard>-1){match=match.substr(wildcard+1);var matchPosition=domain.lastIndexOf(match);if(matchPosition>-1&&(matchPosition+match.length)==domain.length){return true;}}return false;};this.uriEncode=function(s){return encodeURI(decodeURIComponent(s));};this.delay=function(ms,func,scope){var args=Array.prototype.slice.call(arguments,3);setTimeout(function(){func.apply(scope,args);},ms);};}Util.UNIT_REMOVAL_PROPERTIES={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};Util.SINGLE_WHITESPACE=" ";function DomUtil(sIFR){var self=this;function getDimensionFromStyle(node,property,offsetProperty){var dimension=self.getStyleAsInt(node,property,sIFR.ua.ie);if(dimension==0){dimension=node[offsetProperty];for(var i=3;i<arguments.length;i++){dimension-=self.getStyleAsInt(node,arguments[i],true);
}}return dimension;}this.getBody=function(){return document.getElementsByTagName("body")[0]||null;};this.querySelectorAll=function(selector){return window.parseSelector(selector);};this.addClass=function(name,node){if(node){node.className=((node.className||"")==""?"":node.className+" ")+name;}};this.removeClass=function(name,node){if(node){node.className=node.className.replace(new RegExp("(^|\\s)"+name+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1");}};this.hasClass=function(name,node){return new RegExp("(^|\\s)"+name+"(\\s|$)").test(node.className);};this.hasOneOfClassses=function(names,node){for(var i=0;i<names.length;i++){if(this.hasClass(names[i],node)){return true;}}return false;};this.ancestorHasClass=function(node,name){node=node.parentNode;while(node&&node.nodeType==1){if(this.hasClass(name,node)){return true;}node=node.parentNode;}return false;};this.create=function(name,className){var node=document.createElementNS?document.createElementNS(DomUtil.XHTML_NS,name):document.createElement(name);
if(className){node.className=className;}return node;};this.getComputedStyle=function(node,property){var result;if(document.defaultView&&document.defaultView.getComputedStyle){var style=document.defaultView.getComputedStyle(node,null);result=style?style[property]:null;}else{if(node.currentStyle){result=node.currentStyle[property];}}return result||"";};this.getStyleAsInt=function(node,property,requirePx){var value=this.getComputedStyle(node,property);if(requirePx&&!/px$/.test(value)){return 0;}return parseInt(value)||0;};this.getWidthFromStyle=function(node){return getDimensionFromStyle(node,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth");};this.getHeightFromStyle=function(node){return getDimensionFromStyle(node,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth");};this.getDimensions=function(node){var width=node.offsetWidth;var height=node.offsetHeight;if(width==0||height==0){for(var i=0;i<node.childNodes.length;
i++){var child=node.childNodes[i];if(child.nodeType!=1){continue;}width=Math.max(width,child.offsetWidth);height=Math.max(height,child.offsetHeight);}}return{width:width,height:height};};this.getViewport=function(){return{width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight};};this.blurElement=function(element){try{element.blur();return ;}catch(e){}var input=this.create("input");input.style.width="0px";input.style.height="0px";element.parentNode.appendChild(input);input.focus();input.blur();input.parentNode.removeChild(input);};}DomUtil.XHTML_NS="http://www.w3.org/1999/xhtml";function UserAgentDetection(sIFR){var ua=navigator.userAgent.toLowerCase();var product=(navigator.product||"").toLowerCase();var platform=navigator.platform.toLowerCase();this.parseVersion=UserAgentDetection.parseVersion;this.macintosh=/^mac/.test(platform);this.windows=/^win/.test(platform);
this.linux=/^linux/.test(platform);this.quicktime=false;this.opera=/opera/.test(ua);this.konqueror=/konqueror/.test(ua);this.ie=false
/*@cc_on || true @*/
;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(ua)
/*@cc_on && @_jscript_version >= 5.5 @*/
;this.ieWin=this.windows&&this.ie
/*@cc_on && @_jscript_version >= 5.1 @*/
;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.macintosh&&this.ie
/*@cc_on && @_jscript_version < 5.1 @*/
;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=/safari/.test(ua);this.webkit=!this.konqueror&&/applewebkit/.test(ua);this.khtml=this.webkit||this.konqueror;this.gecko=!this.khtml&&product=="gecko";this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(ua)?this.parseVersion(RegExp.$1):"0";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(ua)?this.parseVersion(RegExp.$2):"0";this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(ua)?this.parseVersion(RegExp.$1):"0";this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(ua)?this.parseVersion(RegExp.$1):"0";
this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(ua)?this.parseVersion(RegExp.$1):"0";this.flashVersion=0;if(this.ieWin){var axo;var stop=false;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=this.parseVersion("6");axo.AllowScriptAccess="always";}catch(e){stop=this.flashVersion==this.parseVersion("6");}if(!stop){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}}if(!stop&&axo){this.flashVersion=this.parseVersion((axo.GetVariable("$version")||"").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,"$1.$2.$3"));}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var d=navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var v=d.replace(/^\D*(\d+\.\d+).*$/,"$1");if(/r/.test(d)){v+=d.replace(/^.*r(\d*).*$/,".$1");}else{if(/d/.test(d)){v+=".0";}}this.flashVersion=this.parseVersion(v);var foundEnabled=false;for(var i=0,valid=this.flashVersion>=UserAgentDetection.MIN_FLASH_VERSION;
valid&&i<navigator.mimeTypes.length;i++){var mime=navigator.mimeTypes[i];if(mime.type!="application/x-shockwave-flash"){continue;}if(mime.enabledPlugin){foundEnabled=true;if(mime.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){valid=false;this.quicktime=true;}}}if(this.quicktime||!foundEnabled){this.flashVersion=this.parseVersion("0");}}}this.flash=this.flashVersion>=UserAgentDetection.MIN_FLASH_VERSION;this.transparencySupport=this.macintosh||this.windows||this.linux&&(this.flashVersion>=this.parseVersion("10")&&(this.gecko&&this.geckoVersion>=this.parseVersion("1.9")||this.opera));this.computedStyleSupport=this.ie||!!document.defaultView.getComputedStyle;this.fixFocus=this.gecko&&this.windows;this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=this.parseVersion("525")||this.konqueror&&this.konquerorMajor>this.parseVersion("03")||this.opera;this.mustCheckStyle=this.khtml||this.opera;this.forcePageLoad=this.webkit&&this.webkitVersion<this.parseVersion("523");
this.properDocument=typeof (document.location)=="object";this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&this.computedStyleSupport&&(!this.opera||this.operaVersion>=this.parseVersion("9.61"))&&(!this.webkit||this.webkitVersion>=this.parseVersion("412"))&&(!this.gecko||this.geckoVersion>=this.parseVersion("1.8.0.12"))&&(!this.konqueror);}UserAgentDetection.parseVersion=function(s){return s.replace(/(^|\D)(\d+)(?=\D|$)/g,function(s,nonDigit,digits){s=nonDigit;for(var i=4-digits.length;i>=0;i--){s+="0";}return s+digits;});};UserAgentDetection.MIN_FLASH_VERSION=UserAgentDetection.parseVersion("8");function FragmentIdentifier(sIFR){this.fix=sIFR.ua.ieWin&&window.location.hash!="";var cachedTitle;this.cache=function(){cachedTitle=document.title;};function doFix(){document.title=cachedTitle;}this.restore=function(){if(this.fix){setTimeout(doFix,0);}};}function PageLoad(sIFR){var dummy=null;function pollLoad(){try{if(sIFR.ua.ie||document.readyState!="loaded"&&document.readyState!="complete"){document.documentElement.doScroll("left");
}}catch(e){return setTimeout(pollLoad,10);}afterDomLoad();}function afterDomLoad(){if(sIFR.useStyleCheck){checkStyle();}else{if(!sIFR.ua.mustCheckStyle){fire(null,true);}}}function checkStyle(){dummy=sIFR.dom.create("div",ClassNames.DUMMY);sIFR.dom.getBody().appendChild(dummy);pollStyle();}function pollStyle(){if(sIFR.dom.getComputedStyle(dummy,"marginLeft")=="42px"){afterStyle();}else{setTimeout(pollStyle,10);}}function afterStyle(){if(dummy&&dummy.parentNode){dummy.parentNode.removeChild(dummy);}dummy=null;fire(null,true);}function fire(evt,preserveReplacements){sIFR.initialize(preserveReplacements);if(evt&&evt.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",fire,false);}if(window.removeEventListener){window.removeEventListener("load",fire,false);}}}function verifyUnload(){sIFR.prepareClearReferences();if(document.readyState=="interactive"){document.attachEvent("onstop",unloadByStop);setTimeout(function(){document.detachEvent("onstop",unloadByStop);
},0);}}function unloadByStop(){document.detachEvent("onstop",unloadByStop);fireUnload();}function fireUnload(){sIFR.clearReferences();}this.attach=function(){if(window.addEventListener){window.addEventListener("load",fire,false);}else{window.attachEvent("onload",fire);}if(!sIFR.useDomLoaded||sIFR.ua.forcePageLoad||sIFR.ua.ie&&window.top!=window){return ;}if(sIFR.ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",afterDomLoad,false);}else{if(sIFR.ua.ie||sIFR.ua.khtml){pollLoad();}}};this.attachUnload=function(){if(!sIFR.ua.ie){return ;}window.attachEvent("onbeforeunload",verifyUnload);window.attachEvent("onunload",fireUnload);};}var PREFETCH_COOKIE="sifrFetch";function Prefetch(sIFR){var hasPrefetched=false;this.fetchMovies=function(movies){if(sIFR.setPrefetchCookie&&new RegExp(";?"+PREFETCH_COOKIE+"=true;?").test(document.cookie)){return ;}try{hasPrefetched=true;prefetch(movies);}catch(e){}if(sIFR.setPrefetchCookie){document.cookie=PREFETCH_COOKIE+"=true;path="+sIFR.cookiePath;
}};this.clear=function(){if(!hasPrefetched){return ;}try{var nodes=document.getElementsByTagName("script");for(var i=nodes.length-1;i>=0;i--){var node=nodes[i];if(node.type=="sifr/prefetch"){node.parentNode.removeChild(node);}}}catch(e){}};function prefetch(args){for(var i=0;i<args.length;i++){document.write('<script defer type="sifr/prefetch" src="'+args[i].src+'"><\/script>');}}}function BrokenFlashIE(sIFR){var active=sIFR.ua.ie;var fixFlash=active&&sIFR.ua.flashVersion<sIFR.ua.parseVersion("9.0.115");var resetMovies={};var registry={};this.fixFlash=fixFlash;this.register=function(flashNode){if(!active){return ;}var id=flashNode.getAttribute("id");this.cleanup(id,false);registry[id]=flashNode;delete resetMovies[id];if(fixFlash){window[id]=flashNode;}};this.reset=function(){if(!active){return false;}for(var i=0;i<sIFR.replacements.length;i++){var flash=sIFR.replacements[i];var flashNode=registry[flash.id];if(!resetMovies[flash.id]&&(!flashNode.parentNode||flashNode.parentNode.nodeType==11)){flash.resetMovie();
resetMovies[flash.id]=true;}}return true;};this.cleanup=function(id,usePlaceholder){var node=registry[id];if(!node){return ;}for(var expando in node){if(typeof (node[expando])=="function"){node[expando]=null;}}registry[id]=null;if(fixFlash){window[id]=null;}if(node.parentNode){if(usePlaceholder&&node.parentNode.nodeType==1){var placeholder=document.createElement("div");placeholder.style.width=node.offsetWidth+"px";placeholder.style.height=node.offsetHeight+"px";node.parentNode.replaceChild(placeholder,node);}else{node.parentNode.removeChild(node);}}};this.prepareClearReferences=function(){if(!fixFlash){return ;}__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};};this.clearReferences=function(){if(fixFlash){var objects=document.getElementsByTagName("object");for(var i=objects.length-1;i>=0;i--){registry[objects[i].getAttribute("id")]=objects[i];}}for(var id in registry){if(Object.prototype[id]!=registry[id]){this.cleanup(id,true);}}};}function FlashInteractor(sIFR,id,vars,forceWidth,events){this.sIFR=sIFR;
this.id=id;this.vars=vars;this.movie=null;this.__forceWidth=forceWidth;this.__events=events;this.__resizing=0;}FlashInteractor.prototype={getFlashElement:function(){return document.getElementById(this.id);},getAlternate:function(){return document.getElementById(this.id+"_alternate");},getAncestor:function(){var ancestor=this.getFlashElement().parentNode;return !this.sIFR.dom.hasClass(ClassNames.FIX_FOCUS,ancestor)?ancestor:ancestor.parentNode;},available:function(){var flashNode=this.getFlashElement();return flashNode&&flashNode.parentNode;},call:function(type){var flashNode=this.getFlashElement();if(!flashNode[type]){return false;}return Function.prototype.apply.call(flashNode[type],flashNode,Array.prototype.slice.call(arguments,1));},attempt:function(){if(!this.available()){return false;}try{this.call.apply(this,arguments);}catch(e){if(this.sIFR.debug){throw e;}return false;}return true;},updateVars:function(name,value){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+value;
break;}}var vars=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),vars);this.movie.injectVars(this.movie.html,vars);},storeSize:function(type,value){this.movie.setSize(type,value);this.updateVars(type,value);},fireEvent:function(name){if(this.available()&&this.__events[name]){this.sIFR.util.delay(0,this.__events[name],this,this);}},resizeFlashElement:function(height,width,firstResize){if(!this.available()){return ;}this.__resizing++;var flashNode=this.getFlashElement();flashNode.setAttribute("height",height);this.getAncestor().style.minHeight="";this.updateVars("renderheight",height);this.storeSize("height",height);if(width!==null){flashNode.setAttribute("width",width);this.movie.setSize("width",width);}if(this.__events.onReplacement){this.sIFR.util.delay(0,this.__events.onReplacement,this,this);delete this.__events.onReplacement;}if(firstResize){this.sIFR.util.delay(0,function(){this.attempt("scaleMovie");this.__resizing--;},this);}else{this.__resizing--;
}},blurFlashElement:function(){if(this.available()){this.sIFR.dom.blurElement(this.getFlashElement());}},resetMovie:function(){this.sIFR.util.delay(0,this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate());},resizeAfterScale:function(){if(this.available()&&this.__resizing==0){this.sIFR.util.delay(0,this.resize,this);}},resize:function(){if(!this.available()){return ;}this.__resizing++;var flashNode=this.getFlashElement();var currentWidth=flashNode.offsetWidth;if(currentWidth==0){return ;}var originalWidth=flashNode.getAttribute("width");var originalHeight=flashNode.getAttribute("height");var ancestor=this.getAncestor();var minHeight=this.sIFR.dom.getHeightFromStyle(ancestor);flashNode.style.width="1px";flashNode.style.height="1px";ancestor.style.minHeight=minHeight+"px";var nodes=this.getAlternate().childNodes;var clones=[];for(var i=0;i<nodes.length;i++){var node=nodes[i].cloneNode(true);clones.push(node);ancestor.appendChild(node);}var width=this.sIFR.dom.getWidthFromStyle(ancestor);
for(var i=0;i<clones.length;i++){ancestor.removeChild(clones[i]);}flashNode.style.width=flashNode.style.height=ancestor.style.minHeight="";flashNode.setAttribute("width",this.__forceWidth?width:originalWidth);flashNode.setAttribute("height",originalHeight);if(sIFR.ua.ie){flashNode.style.display="none";var repaint=flashNode.offsetHeight;flashNode.style.display="";}if(width!=currentWidth){if(this.__forceWidth){this.storeSize("width",width);}this.attempt("resize",width);}this.__resizing--;},replaceText:function(content,alternate){var escapedContent=this.sIFR.util.escape(content);if(!this.attempt("replaceText",escapedContent)){return false;}this.updateVars("content",escapedContent);var node=this.getAlternate();if(alternate){while(node.firstChild){node.removeChild(node.firstChild);}for(var i=0;i<alternate.length;i++){node.appendChild(alternate[i]);}}else{try{node.innerHTML=content;}catch(e){}}return true;},changeCSS:function(css){css=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(css)));
this.updateVars("css",css);return this.attempt("changeCSS",css);},remove:function(){if(this.movie&&this.available()){this.movie.remove(this.getFlashElement(),this.id);}}};var MovieCreator=new function(){this.create=function(sIFR,brokenFlash,node,fixFocus,id,src,width,height,vars,wmode,backgroundColor){var klass=sIFR.ua.ie?IEFlashMovie:FlashMovie;return new klass(sIFR,brokenFlash,node,fixFocus,id,src,width,height,["flashvars",vars,"wmode",wmode,"bgcolor",backgroundColor,"allowScriptAccess","always","quality","best"]);};function FlashMovie(sIFR,brokenFlash,node,fixFocus,id,src,width,height,params){var object=sIFR.dom.create("object",ClassNames.FLASH);var attrs=["type","application/x-shockwave-flash","id",id,"name",id,"data",src,"width",width,"height",height];for(var i=0;i<attrs.length;i+=2){object.setAttribute(attrs[i],attrs[i+1]);}var insertion=object;if(fixFocus){insertion=dom.create("div",ClassNames.FIX_FOCUS);insertion.appendChild(object);}for(var i=0;i<params.length;i+=2){if(params[i]=="name"){continue;
}var param=dom.create("param");param.setAttribute("name",params[i]);param.setAttribute("value",params[i+1]);object.appendChild(param);}node.style.minHeight=height+"px";while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(insertion);this.html=insertion.cloneNode(true);}FlashMovie.prototype={reset:function(flashNode,alternate){flashNode.parentNode.replaceChild(this.html.cloneNode(true),flashNode);},remove:function(flashNode,id){flashNode.parentNode.removeChild(flashNode);},setSize:function(type,value){this.html.setAttribute(type,value);},injectVars:function(flash,encodedVars){var params=flash.getElementsByTagName("param");for(var i=0;i<params.length;i++){if(params[i].getAttribute("name")=="flashvars"){params[i].setAttribute("value",encodedVars);break;}}}};function IEFlashMovie(sIFR,brokenFlash,node,fixFocus,id,src,width,height,params){this.dom=sIFR.dom;this.broken=brokenFlash;this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+id+'" width="'+width+'" height="'+height+'" class="'+ClassNames.FLASH+'"><param name="movie" value="'+src+'"></param></object>';
var paramsHtml="";for(var i=0;i<params.length;i+=2){paramsHtml+='<param name="'+params[i]+'" value="'+params[i+1]+'"></param>';}this.html=this.html.replace(/(<\/object>)/,paramsHtml+"$1");node.style.minHeight=height+"px";node.innerHTML=this.html;this.broken.register(node.firstChild);}IEFlashMovie.prototype={reset:function(flashNode,alternate){alternate=alternate.cloneNode(true);var parent=flashNode.parentNode;parent.innerHTML=this.html;this.broken.register(parent.firstChild);parent.appendChild(alternate);},remove:function(flashNode,id){this.broken.cleanup(id);},setSize:function(type,value){this.html=this.html.replace(type=="height"?/(height)="\d+"/:/(width)="\d+"/,'$1="'+value+'"');},injectVars:function(flash,encodedVars){if(flash!=this.html){return ;}this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+encodedVars);}};};this.errors=new Errors(self);var util=this.util=new Util(self);var dom=this.dom=new DomUtil(self);var ua=this.ua=new UserAgentDetection(self);var hacks={fragmentIdentifier:new FragmentIdentifier(self),pageLoad:new PageLoad(self),prefetch:new Prefetch(self),brokenFlashIE:new BrokenFlashIE(self)};
this.__resetBrokenMovies=hacks.brokenFlashIE.reset;var replaceKwargsStore={kwargs:[],replaceAll:function(preserve){for(var i=0;i<this.kwargs.length;i++){self.replace(this.kwargs[i]);}if(!preserve){this.kwargs=[];}}};this.activate=function(){if(!ua.supported||!this.isEnabled||this.isActive||!isValidDomain()||isFile()){return ;}hacks.prefetch.fetchMovies(arguments);this.isActive=true;this.setFlashClass();hacks.fragmentIdentifier.cache();hacks.pageLoad.attachUnload();if(!this.autoInitialize){return ;}hacks.pageLoad.attach();};this.setFlashClass=function(){if(this.hasFlashClassSet){return ;}dom.addClass(ClassNames.ACTIVE,document.documentElement);this.hasFlashClassSet=true;};this.removeFlashClass=function(){if(!this.hasFlashClassSet){return ;}dom.removeClass(ClassNames.ACTIVE,document.documentElement);this.hasFlashClassSet=false;};this.initialize=function(preserveReplacements){if(!this.isActive||!this.isEnabled){return ;}if(isInitialized){if(!preserveReplacements){replaceKwargsStore.replaceAll(false);
}return ;}isInitialized=true;replaceKwargsStore.replaceAll(preserveReplacements);if(self.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",resize,false);}else{window.attachEvent("onresize",resize);}}hacks.prefetch.clear();};this.replace=function(kwargs,mergeKwargs){if(!ua.supported){return ;}if(mergeKwargs){kwargs=util.copyProperties(kwargs,mergeKwargs);}if(!isInitialized){return replaceKwargsStore.kwargs.push(kwargs);}if(this.onReplacementStart){this.onReplacementStart(kwargs);}var nodes=kwargs.elements||dom.querySelectorAll(kwargs.selector);if(nodes.length==0){return ;}var src=getSource(kwargs.src);var css=util.convertCssArg(kwargs.css);var filters=getFilters(kwargs.filters);var forceSingleLine=kwargs.forceSingleLine===true;var preventWrap=kwargs.preventWrap===true&&!forceSingleLine;var fitExactly=forceSingleLine||(kwargs.fitExactly==null?this.fitExactly:kwargs.fitExactly)===true;var forceWidth=fitExactly||(kwargs.forceWidth==null?this.forceWidth:kwargs.forceWidth)===true;
var ratios=kwargs.ratios||[];var pixelFont=kwargs.pixelFont===true;var tuneHeight=parseInt(kwargs.tuneHeight)||0;var events=!!kwargs.onRelease||!!kwargs.onRollOver||!!kwargs.onRollOut;if(fitExactly){util.extractFromCss(css,".sIFR-root","text-align",true);}var fontSize=util.extractFromCss(css,".sIFR-root","font-size",true)||"0";var backgroundColor=util.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var kerning=util.extractFromCss(css,".sIFR-root","kerning",true)||"";var opacity=util.extractFromCss(css,".sIFR-root","opacity",true)||"100";var cursor=util.extractFromCss(css,".sIFR-root","cursor",true)||"default";var leading=parseInt(util.extractFromCss(css,".sIFR-root","leading"))||0;var gridFitType=kwargs.gridFitType||(util.extractFromCss(css,".sIFR-root","text-align")=="right")?"subpixel":"pixel";var textTransform=this.forceTextTransform===false?"none":util.extractFromCss(css,".sIFR-root","text-transform",true)||"none";fontSize=/^\d+(px)?$/.test(fontSize)?parseInt(fontSize):0;
opacity=parseFloat(opacity)<1?100*parseFloat(opacity):opacity;var cssText=kwargs.modifyCss?"":util.cssToString(css);var wmode=kwargs.wmode||"";if(!wmode){if(kwargs.transparent){wmode="transparent";}else{if(kwargs.opaque){wmode="opaque";}}}if(wmode=="transparent"){if(!ua.transparencySupport){wmode="opaque";}else{backgroundColor="transparent";}}else{if(backgroundColor=="transparent"){backgroundColor="#FFFFFF";}}for(var i=0;i<nodes.length;i++){var node=nodes[i];if(dom.hasOneOfClassses(ClassNames.IGNORE_CLASSES,node)||dom.ancestorHasClass(node,ClassNames.ALTERNATE)){continue;}var dimensions=dom.getDimensions(node);var height=dimensions.height;var width=dimensions.width;var display=dom.getComputedStyle(node,"display");if(!height||!width||!display||display=="none"){continue;}width=dom.getWidthFromStyle(node);var size,lines;if(!fontSize){var calculation=calculate(node);size=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,calculation.fontSize));if(pixelFont){size=Math.max(8,8*Math.round(size/8));
}lines=calculation.lines;}else{size=fontSize;lines=1;}var alternate=dom.create("span",ClassNames.ALTERNATE);var contentNode=node.cloneNode(true);node.parentNode.appendChild(contentNode);for(var j=0,l=contentNode.childNodes.length;j<l;j++){var child=contentNode.childNodes[j];if(!/^(style|script)$/i.test(child.nodeName)){alternate.appendChild(child.cloneNode(true));}}if(kwargs.modifyContent){kwargs.modifyContent(contentNode,kwargs.selector);}if(kwargs.modifyCss){cssText=kwargs.modifyCss(css,contentNode,kwargs.selector);}var content=parseContent(contentNode,textTransform,kwargs.uriEncode);contentNode.parentNode.removeChild(contentNode);if(kwargs.modifyContentString){content.text=kwargs.modifyContentString(content.text,kwargs.selector);}if(content.text==""){continue;}var renderHeight=Math.round(lines*getRatio(size,ratios)*size)+this.FLASH_PADDING_BOTTOM+tuneHeight;if(lines>1&&leading){renderHeight+=Math.round((lines-1)*leading);}var forcedWidth=forceWidth?width:"100%";var id="sIFR_replacement_"+elementCount++;
var vars=["id="+id,"content="+util.escape(content.text),"width="+width,"renderheight="+renderHeight,"link="+util.escape(content.primaryLink.href||""),"target="+util.escape(content.primaryLink.target||""),"size="+size,"css="+util.escape(cssText),"cursor="+cursor,"tunewidth="+(kwargs.tuneWidth||0),"tuneheight="+tuneHeight,"offsetleft="+(kwargs.offsetLeft||""),"offsettop="+(kwargs.offsetTop||""),"fitexactly="+fitExactly,"preventwrap="+preventWrap,"forcesingleline="+forceSingleLine,"antialiastype="+(kwargs.antiAliasType||""),"thickness="+(kwargs.thickness||""),"sharpness="+(kwargs.sharpness||""),"kerning="+kerning,"gridfittype="+gridFitType,"flashfilters="+filters,"opacity="+opacity,"blendmode="+(kwargs.blendMode||""),"selectable="+(kwargs.selectable==null||wmode!=""&&!sIFR.ua.macintosh&&sIFR.ua.gecko&&sIFR.ua.geckoVersion>=sIFR.ua.parseVersion("1.9")?"true":kwargs.selectable===true),"fixhover="+(this.fixHover===true),"events="+events,"delayrun="+hacks.brokenFlashIE.fixFlash,"version="+this.VERSION];
var encodedVars=util.encodeVars(vars);var interactor=new FlashInteractor(self,id,vars,forceWidth,{onReplacement:kwargs.onReplacement,onRollOver:kwargs.onRollOver,onRollOut:kwargs.onRollOut,onRelease:kwargs.onRelease});interactor.movie=MovieCreator.create(sIFR,hacks.brokenFlashIE,node,ua.fixFocus&&kwargs.fixFocus,id,src,forcedWidth,renderHeight,encodedVars,wmode,backgroundColor);this.replacements.push(interactor);this.replacements[id]=interactor;if(kwargs.selector){if(!this.replacements[kwargs.selector]){this.replacements[kwargs.selector]=[interactor];}else{this.replacements[kwargs.selector].push(interactor);}}alternate.setAttribute("id",id+"_alternate");node.appendChild(alternate);dom.addClass(ClassNames.REPLACED,node);}hacks.fragmentIdentifier.restore();};this.getReplacementByFlashElement=function(node){for(var i=0;i<self.replacements.length;i++){if(self.replacements[i].id==node.getAttribute("id")){return self.replacements[i];}}};this.redraw=function(){for(var i=0;i<self.replacements.length;
i++){self.replacements[i].resetMovie();}};this.prepareClearReferences=function(){hacks.brokenFlashIE.prepareClearReferences();};this.clearReferences=function(){hacks.brokenFlashIE.clearReferences();hacks=null;replaceKwargsStore=null;delete self.replacements;};function isValidDomain(){if(self.domains.length==0){return true;}var domain=util.domain();for(var i=0;i<self.domains.length;i++){if(util.domainMatches(domain,self.domains[i])){return true;}}return false;}function isFile(){if(document.location.protocol=="file:"){if(self.debug){self.errors.fire("isFile");}return true;}return false;}function getSource(src){if(ua.ie&&src.charAt(0)=="/"){src=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+src;}return src;}function getRatio(size,ratios){for(var i=0;i<ratios.length;i+=2){if(size<=ratios[i]){return ratios[i+1];}}return ratios[ratios.length-1]||1;}function getFilters(obj){var filters=[];for(var filter in obj){if(obj[filter]==Object.prototype[filter]){continue;}var properties=obj[filter];
filter=[filter.replace(/filter/i,"")+"Filter"];for(var property in properties){if(properties[property]==Object.prototype[property]){continue;}filter.push(property+":"+util.escape(util.toJson(properties[property],util.toHexString)));}filters.push(filter.join(","));}return util.escape(filters.join(";"));}function resize(evt){var current=resize.viewport;var viewport=dom.getViewport();if(current&&viewport.width==current.width&&viewport.height==current.height){return ;}resize.viewport=viewport;if(self.replacements.length==0){return ;}if(resize.timer){clearTimeout(resize.timer);}resize.timer=setTimeout(function(){delete resize.timer;for(var i=0;i<self.replacements.length;i++){self.replacements[i].resize();}},200);}function calculate(node){var fontSize=dom.getComputedStyle(node,"fontSize");var deduce=fontSize.indexOf("px")==-1;var html=node.innerHTML;if(deduce){node.innerHTML="X";}node.style.paddingTop=node.style.paddingBottom=node.style.borderTopWidth=node.style.borderBottomWidth="0px";node.style.lineHeight="2em";
node.style.display="block";fontSize=deduce?node.offsetHeight/2:parseInt(fontSize,10);if(deduce){node.innerHTML=html;}var lines=Math.round(node.offsetHeight/(2*fontSize));node.style.paddingTop=node.style.paddingBottom=node.style.borderTopWidth=node.style.borderBottomWidth=node.style.lineHeight=node.style.display="";if(isNaN(lines)||!isFinite(lines)||lines==0){lines=1;}return{fontSize:fontSize,lines:lines};}function parseContent(source,textTransform,uriEncode){uriEncode=uriEncode||util.uriEncode;var stack=[],content=[];var primaryLink=null;var nodes=source.childNodes;var whiteSpaceEnd=false,firstText=false;var i=0;while(i<nodes.length){var node=nodes[i];if(node.nodeType==3){var text=util.textTransform(textTransform,util.normalize(node.nodeValue)).replace(/</g,"&lt;");if(whiteSpaceEnd&&firstText){text=text.replace(/^\s+/,"");}content.push(text);whiteSpaceEnd=/\s$/.test(text);firstText=false;}if(node.nodeType==1&&!/^(style|script)$/i.test(node.nodeName)){var attributes=[];var nodeName=node.nodeName.toLowerCase();
var className=node.className||"";if(/\s+/.test(className)){if(className.indexOf(ClassNames.CLASS)>-1){className=className.match("(\\s|^)"+ClassNames.CLASS+"-([^\\s$]*)(\\s|$)")[2];}else{className=className.match(/^([^\s]+)/)[1];}}if(className!=""){attributes.push('class="'+className+'"');}if(nodeName=="a"){var href=uriEncode(node.getAttribute("href")||"");var target=node.getAttribute("target")||"";attributes.push('href="'+href+'"','target="'+target+'"');if(!primaryLink){primaryLink={href:href,target:target};}}content.push("<"+nodeName+(attributes.length>0?" ":"")+attributes.join(" ")+">");firstText=true;if(node.hasChildNodes()){stack.push(i);i=0;nodes=node.childNodes;continue;}else{if(!/^(br|img)$/i.test(node.nodeName)){content.push("</",node.nodeName.toLowerCase(),">");}}}if(stack.length>0&&!node.nextSibling){do{i=stack.pop();nodes=node.parentNode.parentNode.childNodes;node=nodes[i];if(node){content.push("</",node.nodeName.toLowerCase(),">");}}while(i==nodes.length-1&&stack.length>0);}i++;
}return{text:content.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1"),primaryLink:primaryLink||{}};}};var parseSelector=(function(){var B=/\s*,\s*/;var A=/\s*([\s>+~(),]|^|$)\s*/g;var L=/([\s>+~,]|[^(]\+|^)([#.:@])/g;var F=/(^|\))[^\s>+~]/g;var M=/(\)|^)/;var K=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g;function H(R,P){P=P||document.documentElement;var S=R.split(B),X=[];for(var U=0;U<S.length;U++){var N=[P],W=G(S[U]);for(var T=0;T<W.length;){var Q=W[T++],O=W[T++],V="";if(W[T]=="("){while(W[T++]!=")"&&T<W.length){V+=W[T];}V=V.slice(0,-1);}N=I(N,Q,O,V);}X=X.concat(N);}return X;}function G(N){var O=N.replace(A,"$1").replace(L,"$1*$2").replace(F,D);return O.match(K)||[];}function D(N){return N.replace(M,"$1 ");}function I(N,P,Q,O){return(H.selectors[P])?H.selectors[P](N,Q,O):[];}var E={toArray:function(O){var N=[];for(var P=0;P<O.length;P++){N.push(O[P]);}return N;}};var C={isTag:function(O,N){return(N=="*")||(N.toLowerCase()==O.nodeName.toLowerCase());},previousSiblingElement:function(N){do{N=N.previousSibling;
}while(N&&N.nodeType!=1);return N;},nextSiblingElement:function(N){do{N=N.nextSibling;}while(N&&N.nodeType!=1);return N;},hasClass:function(N,O){return(O.className||"").match("(^|\\s)"+N+"(\\s|$)");},getByTag:function(N,O){return O.getElementsByTagName(N);}};var J={"#":function(N,P){for(var O=0;O<N.length;O++){if(N[O].getAttribute("id")==P){return[N[O]];}}return[];}," ":function(O,Q){var N=[];for(var P=0;P<O.length;P++){N=N.concat(E.toArray(C.getByTag(Q,O[P])));}return N;},">":function(O,R){var N=[];for(var Q=0,S;Q<O.length;Q++){S=O[Q];for(var P=0,T;P<S.childNodes.length;P++){T=S.childNodes[P];if(T.nodeType==1&&C.isTag(T,R)){N.push(T);}}}return N;},".":function(O,Q){var N=[];for(var P=0,R;P<O.length;P++){R=O[P];if(C.hasClass([Q],R)){N.push(R);}}return N;},":":function(N,P,O){return(H.pseudoClasses[P])?H.pseudoClasses[P](N,O):[];}};H.selectors=J;H.pseudoClasses={};H.util=E;H.dom=C;return H;})();var swfobject=function(){var AQ="undefined",Ac="object",AB="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",Ad="application/x-shockwave-flash",AC="SWFObjectExprInst",AW="onreadystatechange",AF=window,Ak=document,Aa=navigator,AA=false,Z=[Am],Af=[],AG=[],AL=[],Ai,AD,AP,AS,AK=false,At=false,Ag,AN,Ah=true,AH=function(){var A=typeof Ak.getElementById!=AQ&&typeof Ak.getElementsByTagName!=AQ&&typeof Ak.createElement!=AQ,E=Aa.userAgent.toLowerCase(),C=Aa.platform.toLowerCase(),H=C?/win/.test(C):/win/.test(E),J=C?/mac/.test(C):/mac/.test(E),G=/webkit/.test(E)?parseFloat(E.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,D=!+"\v1",F=[0,0,0],K=null;
if(typeof Aa.plugins!=AQ&&typeof Aa.plugins[AB]==Ac){K=Aa.plugins[AB].description;if(K&&!(typeof Aa.mimeTypes!=AQ&&Aa.mimeTypes[Ad]&&!Aa.mimeTypes[Ad].enabledPlugin)){AA=true;D=false;K=K.replace(/^.*\s+(\S+\s+\S+$)/,"$1");F[0]=parseInt(K.replace(/^(.*)\..*$/,"$1"),10);F[1]=parseInt(K.replace(/^.*\.(.*)\s.*$/,"$1"),10);F[2]=/[a-zA-Z]/.test(K)?parseInt(K.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0;}}else{if(typeof AF.ActiveXObject!=AQ){try{var I=new ActiveXObject(X);if(I){K=I.GetVariable("$version");if(K){D=true;K=K.split(" ")[1].split(",");F=[parseInt(K[0],10),parseInt(K[1],10),parseInt(K[2],10)];}}}catch(B){}}}return{w3:A,pv:F,wk:G,ie:D,win:H,mac:J};}(),Aj=function(){if(!AH.w3){return ;}if((typeof Ak.readyState!=AQ&&Ak.readyState=="complete")||(typeof Ak.readyState==AQ&&(Ak.getElementsByTagName("body")[0]||Ak.body))){Ao();}if(!AK){if(typeof Ak.addEventListener!=AQ){Ak.addEventListener("DOMContentLoaded",Ao,false);}if(AH.ie&&AH.win){Ak.attachEvent(AW,function(){if(Ak.readyState=="complete"){Ak.detachEvent(AW,arguments.callee);
Ao();}});if(AF==top){(function(){if(AK){return ;}try{Ak.documentElement.doScroll("left");}catch(A){setTimeout(arguments.callee,0);return ;}Ao();})();}}if(AH.wk){(function(){if(AK){return ;}if(!/loaded|complete/.test(Ak.readyState)){setTimeout(arguments.callee,0);return ;}Ao();})();}Ab(Ao);}}();function Ao(){if(AK){return ;}try{var B=Ak.getElementsByTagName("body")[0].appendChild(AR("span"));B.parentNode.removeChild(B);}catch(A){return ;}AK=true;var D=Z.length;for(var C=0;C<D;C++){Z[C]();}}function AJ(A){if(AK){A();}else{Z[Z.length]=A;}}function Ab(A){if(typeof AF.addEventListener!=AQ){AF.addEventListener("load",A,false);}else{if(typeof Ak.addEventListener!=AQ){Ak.addEventListener("load",A,false);}else{if(typeof AF.attachEvent!=AQ){Al(AF,"onload",A);}else{if(typeof AF.onload=="function"){var B=AF.onload;AF.onload=function(){B();A();};}else{AF.onload=A;}}}}}function Am(){if(AA){Y();}else{AM();}}function Y(){var D=Ak.getElementsByTagName("body")[0];var B=AR(Ac);B.setAttribute("type",Ad);var A=D.appendChild(B);
if(A){var C=0;(function(){if(typeof A.GetVariable!=AQ){var E=A.GetVariable("$version");if(E){E=E.split(" ")[1].split(",");AH.pv=[parseInt(E[0],10),parseInt(E[1],10),parseInt(E[2],10)];}}else{if(C<10){C++;setTimeout(arguments.callee,10);return ;}}D.removeChild(B);A=null;AM();})();}else{AM();}}function AM(){var G=Af.length;if(G>0){for(var H=0;H<G;H++){var C=Af[H].id;var L=Af[H].callbackFn;var A={success:false,id:C};if(AH.pv[0]>0){var I=Ar(C);if(I){if(AO(Af[H].swfVersion)&&!(AH.wk&&AH.wk<312)){AX(C,true);if(L){A.success=true;A.ref=AU(C);L(A);}}else{if(Af[H].expressInstall&&AT()){var E={};E.data=Af[H].expressInstall;E.width=I.getAttribute("width")||"0";E.height=I.getAttribute("height")||"0";if(I.getAttribute("class")){E.styleclass=I.getAttribute("class");}if(I.getAttribute("align")){E.align=I.getAttribute("align");}var F={};var D=I.getElementsByTagName("param");var K=D.length;for(var J=0;J<K;J++){if(D[J].getAttribute("name").toLowerCase()!="movie"){F[D[J].getAttribute("name")]=D[J].getAttribute("value");
}}AE(E,F,C,L);}else{Ae(I);if(L){L(A);}}}}}else{AX(C,true);if(L){var B=AU(C);if(B&&typeof B.SetVariable!=AQ){A.success=true;A.ref=B;}L(A);}}}}}function AU(B){var D=null;var C=Ar(B);if(C&&C.nodeName=="OBJECT"){if(typeof C.SetVariable!=AQ){D=C;}else{var A=C.getElementsByTagName(Ac)[0];if(A){D=A;}}}return D;}function AT(){return !At&&AO("6.0.65")&&(AH.win||AH.mac)&&!(AH.wk&&AH.wk<312);}function AE(F,D,H,E){At=true;AP=E||null;AS={success:false,id:H};var A=Ar(H);if(A){if(A.nodeName=="OBJECT"){Ai=An(A);AD=null;}else{Ai=A;AD=H;}F.id=AC;if(typeof F.width==AQ||(!/%$/.test(F.width)&&parseInt(F.width,10)<310)){F.width="310";}if(typeof F.height==AQ||(!/%$/.test(F.height)&&parseInt(F.height,10)<137)){F.height="137";}Ak.title=Ak.title.slice(0,47)+" - Flash Player Installation";var B=AH.ie&&AH.win?"ActiveX":"PlugIn",C="MMredirectURL="+AF.location.toString().replace(/&/g,"%26")+"&MMplayerType="+B+"&MMdoctitle="+Ak.title;if(typeof D.flashvars!=AQ){D.flashvars+="&"+C;}else{D.flashvars=C;}if(AH.ie&&AH.win&&A.readyState!=4){var G=AR("div");
H+="SWFObjectNew";G.setAttribute("id",H);A.parentNode.insertBefore(G,A);A.style.display="none";(function(){if(A.readyState==4){A.parentNode.removeChild(A);}else{setTimeout(arguments.callee,10);}})();}AZ(F,D,H);}}function Ae(A){if(AH.ie&&AH.win&&A.readyState!=4){var B=AR("div");A.parentNode.insertBefore(B,A);B.parentNode.replaceChild(An(A),B);A.style.display="none";(function(){if(A.readyState==4){A.parentNode.removeChild(A);}else{setTimeout(arguments.callee,10);}})();}else{A.parentNode.replaceChild(An(A),A);}}function An(B){var D=AR("div");if(AH.win&&AH.ie){D.innerHTML=B.innerHTML;}else{var E=B.getElementsByTagName(Ac)[0];if(E){var A=E.childNodes;if(A){var F=A.length;for(var C=0;C<F;C++){if(!(A[C].nodeType==1&&A[C].nodeName=="PARAM")&&!(A[C].nodeType==8)){D.appendChild(A[C].cloneNode(true));}}}}}return D;}function AZ(E,G,C){var D,A=Ar(C);if(AH.wk&&AH.wk<312){return D;}if(A){if(typeof E.id==AQ){E.id=C;}if(AH.ie&&AH.win){var F="";for(var I in E){if(E[I]!=Object.prototype[I]){if(I.toLowerCase()=="data"){G.movie=E[I];
}else{if(I.toLowerCase()=="styleclass"){F+=' class="'+E[I]+'"';}else{if(I.toLowerCase()!="classid"){F+=" "+I+'="'+E[I]+'"';}}}}}var H="";for(var J in G){if(G[J]!=Object.prototype[J]){H+='<param name="'+J+'" value="'+G[J]+'" />';}}A.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+F+">"+H+"</object>";AG[AG.length]=E.id;D=Ar(E.id);}else{var B=AR(Ac);B.setAttribute("type",Ad);for(var K in E){if(E[K]!=Object.prototype[K]){if(K.toLowerCase()=="styleclass"){B.setAttribute("class",E[K]);}else{if(K.toLowerCase()!="classid"){B.setAttribute(K,E[K]);}}}}for(var L in G){if(G[L]!=Object.prototype[L]&&L.toLowerCase()!="movie"){Ap(B,L,G[L]);}}A.parentNode.replaceChild(B,A);D=B;}}return D;}function Ap(B,D,C){var A=AR("param");A.setAttribute("name",D);A.setAttribute("value",C);B.appendChild(A);}function AV(A){var B=Ar(A);if(B&&B.nodeName=="OBJECT"){if(AH.ie&&AH.win){B.style.display="none";(function(){if(B.readyState==4){As(A);}else{setTimeout(arguments.callee,10);}})();}else{B.parentNode.removeChild(B);
}}}function As(A){var B=Ar(A);if(B){for(var C in B){if(typeof B[C]=="function"){B[C]=null;}}B.parentNode.removeChild(B);}}function Ar(A){var C=null;try{C=Ak.getElementById(A);}catch(B){}return C;}function AR(A){return Ak.createElement(A);}function Al(A,C,B){A.attachEvent(C,B);AL[AL.length]=[A,C,B];}function AO(A){var B=AH.pv,C=A.split(".");C[0]=parseInt(C[0],10);C[1]=parseInt(C[1],10)||0;C[2]=parseInt(C[2],10)||0;return(B[0]>C[0]||(B[0]==C[0]&&B[1]>C[1])||(B[0]==C[0]&&B[1]==C[1]&&B[2]>=C[2]))?true:false;}function AY(B,F,A,C){if(AH.ie&&AH.mac){return ;}var E=Ak.getElementsByTagName("head")[0];if(!E){return ;}var G=(A&&typeof A=="string")?A:"screen";if(C){Ag=null;AN=null;}if(!Ag||AN!=G){var D=AR("style");D.setAttribute("type","text/css");D.setAttribute("media",G);Ag=E.appendChild(D);if(AH.ie&&AH.win&&typeof Ak.styleSheets!=AQ&&Ak.styleSheets.length>0){Ag=Ak.styleSheets[Ak.styleSheets.length-1];}AN=G;}if(AH.ie&&AH.win){if(Ag&&typeof Ag.addRule==Ac){Ag.addRule(B,F);}}else{if(Ag&&typeof Ak.createTextNode!=AQ){Ag.appendChild(Ak.createTextNode(B+" {"+F+"}"));
}}}function AX(A,C){if(!Ah){return ;}var B=C?"visible":"hidden";if(AK&&Ar(A)){Ar(A).style.visibility=B;}else{AY("#"+A,"visibility:"+B);}}function AI(B){var A=/[\\\"<>\.;]/;var C=A.exec(B)!=null;return C&&typeof encodeURIComponent!=AQ?encodeURIComponent(B):B;}var Aq=function(){if(AH.ie&&AH.win){window.attachEvent("onunload",function(){var A=AL.length;for(var B=0;B<A;B++){AL[B][0].detachEvent(AL[B][1],AL[B][2]);}var D=AG.length;for(var C=0;C<D;C++){AV(AG[C]);}for(var E in AH){AH[E]=null;}AH=null;for(var F in swfobject){swfobject[F]=null;}swfobject=null;});}}();return{registerObject:function(A,E,C,B){if(AH.w3&&A&&E){var D={};D.id=A;D.swfVersion=E;D.expressInstall=C;D.callbackFn=B;Af[Af.length]=D;AX(A,false);}else{if(B){B({success:false,id:A});}}},getObjectById:function(A){if(AH.w3){return AU(A);}},embedSWF:function(K,E,H,F,C,A,B,I,G,J){var D={success:false,id:E};if(AH.w3&&!(AH.wk&&AH.wk<312)&&K&&E&&H&&F&&C){AX(E,false);AJ(function(){H+="";F+="";var Q={};if(G&&typeof G===Ac){for(var O in G){Q[O]=G[O];
}}Q.data=K;Q.width=H;Q.height=F;var N={};if(I&&typeof I===Ac){for(var P in I){N[P]=I[P];}}if(B&&typeof B===Ac){for(var L in B){if(typeof N.flashvars!=AQ){N.flashvars+="&"+L+"="+B[L];}else{N.flashvars=L+"="+B[L];}}}if(AO(C)){var M=AZ(Q,N,E);if(Q.id==E){AX(E,true);}D.success=true;D.ref=M;}else{if(A&&AT()){Q.data=A;AE(Q,N,E,J);return ;}else{AX(E,true);}}if(J){J(D);}});}else{if(J){J(D);}}},switchOffAutoHideShow:function(){Ah=false;},ua:AH,getFlashPlayerVersion:function(){return{major:AH.pv[0],minor:AH.pv[1],release:AH.pv[2]};},hasFlashPlayerVersion:AO,createSWF:function(A,B,C){if(AH.w3){return AZ(A,B,C);}else{return undefined;}},showExpressInstall:function(B,A,D,C){if(AH.w3&&AT()){AE(B,A,D,C);}},removeSWF:function(A){if(AH.w3){AV(A);}},createCSS:function(B,A,C,D){if(AH.w3){AY(B,A,C,D);}},addDomLoadEvent:AJ,addLoadEvent:Ab,getQueryParamValue:function(B){var A=Ak.location.search||Ak.location.hash;if(A){if(/\?/.test(A)){A=A.split("?")[1];}if(B==null){return AI(A);}var C=A.split("&");for(var D=0;
D<C.length;D++){if(C[D].substring(0,C[D].indexOf("="))==B){return AI(C[D].substring((C[D].indexOf("=")+1)));}}}return"";},expressInstallCallback:function(){if(At){var A=Ar(AC);if(A&&Ai){A.parentNode.replaceChild(Ai,A);if(AD){AX(AD,true);if(AH.ie&&AH.win){Ai.style.display="block";}}if(AP){AP(AS);}}At=false;}}};}();$(function(){$("#corp-toolbox-logout > a").click(function(){var A=$("#corp-toolbox-logout > a").attr("href");$("#corp-toolbox-logout").append('<div id="logout-flyout" style="display:none"></div>');$("#corp-toolbox-logout div#logout-flyout").load(A+" #userregistration form",function(){$("#corp-toolbox-logout form").submit();});return false;});});(function($){$.fn.ajaxSubmit=function(options){if(typeof options=="function"){options={success:options};}options=$.extend({url:this.attr("action")||window.location.toString(),type:this.attr("method")||"GET"},options||{});var veto={};$.event.trigger("form.pre.serialize",[this,options,veto]);if(veto.veto){return this;}var a=this.formToArray(options.semantic);
if(options.data){for(var n in options.data){a.push({name:n,value:options.data[n]});}}if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){return this;}$.event.trigger("form.submit.validate",[a,this,options,veto]);if(veto.veto){return this;}var q=$.param(a);if(options.type.toUpperCase()=="GET"){options.url+=(options.url.indexOf("?")>=0?"&":"?")+q;options.data=null;}else{options.data=q;}var $form=this,callbacks=[];if(options.resetForm){callbacks.push(function(){$form.resetForm();});}if(options.clearForm){callbacks.push(function(){$form.clearForm();});}if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data){if(this.evalScripts){$(options.target).attr("innerHTML",data).evalScripts().each(oldSuccess,arguments);}else{$(options.target).html(data).each(oldSuccess,arguments);}});}else{if(options.success){callbacks.push(options.success);}}options.success=function(data,status){for(var i=0,max=callbacks.length;i<max;i++){callbacks[i](data,status,$form);
}};var files=$("input:file",this).fieldValue();var found=false;for(var j=0;j<files.length;j++){if(files[j]){found=true;}}if(options.iframe||found){if($.browser.safari&&options.closeKeepAlive){$.get(options.closeKeepAlive,fileUpload);}else{fileUpload();}}else{$.ajax(options);}$.event.trigger("form.submit.notify",[this,options]);return this;function fileUpload(){var form=$form[0];var opts=$.extend({},$.ajaxSettings,options);var id="jqFormIO"+$.fn.ajaxSubmit.counter++;var $io=$('<iframe id="'+id+'" name="'+id+'" />');var io=$io[0];var op8=$.browser.opera&&window.opera.version()<9;if($.browser.msie||op8){io.src='javascript:false;document.write("");';}$io.css({position:"absolute",top:"-1000px",left:"-1000px"});var xhr={responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){}};var g=opts.global;if(g&&!$.active++){$.event.trigger("ajaxStart");}if(g){$.event.trigger("ajaxSend",[xhr,opts]);}var cbInvoked=0;
var timedOut=0;setTimeout(function(){var encAttr=form.encoding?"encoding":"enctype";var t=$form.attr("target"),a=$form.attr("action");$form.attr({target:id,method:"POST",action:opts.url});form[encAttr]="multipart/form-data";if(opts.timeout){setTimeout(function(){timedOut=true;cb();},opts.timeout);}$io.appendTo("body");io.attachEvent?io.attachEvent("onload",cb):io.addEventListener("load",cb,false);form.submit();$form.attr({action:a,target:t});},10);function cb(){if(cbInvoked++){return ;}io.detachEvent?io.detachEvent("onload",cb):io.removeEventListener("load",cb,false);var ok=true;try{if(timedOut){throw"timeout";}var data,doc;doc=io.contentWindow?io.contentWindow.document:io.contentDocument?io.contentDocument:io.document;xhr.responseText=doc.body?doc.body.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;if(opts.dataType=="json"||opts.dataType=="script"){var ta=doc.getElementsByTagName("textarea")[0];data=ta?ta.value:xhr.responseText;if(opts.dataType=="json"){eval("data = "+data);
}else{$.globalEval(data);}}else{if(opts.dataType=="xml"){data=xhr.responseXML;if(!data&&xhr.responseText!=null){data=toXml(xhr.responseText);}}else{data=xhr.responseText;}}}catch(e){ok=false;$.handleError(opts,xhr,"error",e);}if(ok){opts.success(data,"success");if(g){$.event.trigger("ajaxSuccess",[xhr,opts]);}}if(g){$.event.trigger("ajaxComplete",[xhr,opts]);}if(g&&!--$.active){$.event.trigger("ajaxStop");}if(opts.complete){opts.complete(xhr,ok?"success":"error");}setTimeout(function(){$io.remove();xhr.responseXML=null;},100);}function toXml(s,doc){if(window.ActiveXObject){doc=new ActiveXObject("Microsoft.XMLDOM");doc.async="false";doc.loadXML(s);}else{doc=(new DOMParser()).parseFromString(s,"text/xml");}return(doc&&doc.documentElement&&doc.documentElement.tagName!="parsererror")?doc:null;}}};$.fn.ajaxSubmit.counter=0;$.fn.ajaxForm=function(options){return this.ajaxFormUnbind().submit(submitHandler).each(function(){this.formPluginId=$.fn.ajaxForm.counter++;$.fn.ajaxForm.optionHash[this.formPluginId]=options;
$(":submit,input:image",this).click(clickHandler);});};$.fn.ajaxForm.counter=1;$.fn.ajaxForm.optionHash={};function clickHandler(e){var $form=this.form;$form.clk=this;if(this.type=="image"){if(e.offsetX!=undefined){$form.clk_x=e.offsetX;$form.clk_y=e.offsetY;}else{if(typeof $.fn.offset=="function"){var offset=$(this).offset();$form.clk_x=e.pageX-offset.left;$form.clk_y=e.pageY-offset.top;}else{$form.clk_x=e.pageX-this.offsetLeft;$form.clk_y=e.pageY-this.offsetTop;}}}setTimeout(function(){$form.clk=$form.clk_x=$form.clk_y=null;},10);}function submitHandler(){var id=this.formPluginId;var options=$.fn.ajaxForm.optionHash[id];$(this).ajaxSubmit(options);return false;}$.fn.ajaxFormUnbind=function(){this.unbind("submit",submitHandler);return this.each(function(){$(":submit,input:image",this).unbind("click",clickHandler);});};$.fn.formToArray=function(semantic){var a=[];if(this.length==0){return a;}var form=this[0];var els=semantic?form.getElementsByTagName("*"):form.elements;if(!els){return a;
}for(var i=0,max=els.length;i<max;i++){var el=els[i];var n=el.name;if(!n){continue;}if(semantic&&form.clk&&el.type=="image"){if(!el.disabled&&form.clk==el){a.push({name:n+".x",value:form.clk_x},{name:n+".y",value:form.clk_y});}continue;}var v=$.fieldValue(el,true);if(v&&v.constructor==Array){for(var j=0,jmax=v.length;j<jmax;j++){a.push({name:n,value:v[j]});}}else{if(v!==null&&typeof v!="undefined"){a.push({name:n,value:v});}}}if(!semantic&&form.clk){var inputs=form.getElementsByTagName("input");for(var i=0,max=inputs.length;i<max;i++){var input=inputs[i];var n=input.name;if(n&&!input.disabled&&input.type=="image"&&form.clk==input){a.push({name:n+".x",value:form.clk_x},{name:n+".y",value:form.clk_y});}}}return a;};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic));};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n){return ;}var v=$.fieldValue(this,successful);if(v&&v.constructor==Array){for(var i=0,max=v.length;i<max;
i++){a.push({name:n,value:v[i]});}}else{if(v!==null&&typeof v!="undefined"){a.push({name:this.name,value:v});}}});return $.param(a);};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v=="undefined"||(v.constructor==Array&&!v.length)){continue;}v.constructor==Array?$.merge(val,v):val.push(v);}return val;};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(typeof successful=="undefined"){successful=true;}if(successful&&(!n||el.disabled||t=="reset"||t=="button"||(t=="checkbox"||t=="radio")&&!el.checked||(t=="submit"||t=="image")&&el.form&&el.form.clk!=el||tag=="select"&&el.selectedIndex==-1)){return null;}if(tag=="select"){var index=el.selectedIndex;if(index<0){return null;}var a=[],ops=el.options;var one=(t=="select-one");var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected){var v=$.browser.msie&&!(op.attributes.value.specified)?op.text:op.value;
if(one){return v;}a.push(v);}}return a;}return el.value;};$.fn.clearForm=function(){return this.each(function(){$("input,select,textarea",this).clearFields();});};$.fn.clearFields=$.fn.clearInputs=function(){return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(t=="text"||t=="password"||tag=="textarea"){this.value="";}else{if(t=="checkbox"||t=="radio"){this.checked=false;}else{if(tag=="select"){this.selectedIndex=-1;}}}});};$.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset();}});};$.fn.enable=function(b){if(b==undefined){b=true;}return this.each(function(){this.disabled=!b;});};$.fn.select=function(select){if(select==undefined){select=true;}return this.each(function(){var t=this.type;if(t=="checkbox"||t=="radio"){this.checked=select;}else{if(this.tagName.toLowerCase()=="option"){var $sel=$(this).parent("select");if(select&&$sel[0]&&$sel[0].type=="select-one"){$sel.find("option").select(false);
}this.selected=select;}}});};})(jQuery);(function(C){var A=(C.browser.msie?"paste":"input")+".mask";var B=(window.orientation!=undefined);C.mask={definitions:{"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"}};C.fn.extend({caret:function(F,D){if(this.length==0){return ;}if(typeof F=="number"){D=(typeof D=="number")?D:F;return this.each(function(){if(this.setSelectionRange){this.focus();this.setSelectionRange(F,D);}else{if(this.createTextRange){var G=this.createTextRange();G.collapse(true);G.moveEnd("character",D);G.moveStart("character",F);G.select();}}});}else{if(this[0].setSelectionRange){F=this[0].selectionStart;D=this[0].selectionEnd;}else{if(document.selection&&document.selection.createRange){var E=document.selection.createRange();F=0-E.duplicate().moveStart("character",-100000);D=F+E.text.length;}}return{begin:F,end:D};}},unmask:function(){return this.trigger("unmask");},mask:function(F,J){if(!F&&this.length>0){var G=C(this[0]);var I=G.data("tests");return C.map(G.data("buffer"),function(M,L){return I[L]?M:null;
}).join("");}J=C.extend({placeholder:"_",completed:null},J);var E=C.mask.definitions;var I=[];var K=F.length;var H=null;var D=F.length;C.each(F.split(""),function(L,M){if(M=="?"){D--;K=L;}else{if(E[M]){I.push(new RegExp(E[M]));if(H==null){H=I.length-1;}}else{I.push(null);}}});return this.each(function(){var U=C(this);var P=C.map(F.split(""),function(Y,X){if(Y!="?"){return E[Y]?J.placeholder:Y;}});var S=false;var W=U.val();U.data("buffer",P).data("tests",I);function T(X){while(++X<=D&&!I[X]){}return X;}function O(Z){while(!I[Z]&&--Z>=0){}for(var Y=Z;Y<D;Y++){if(I[Y]){P[Y]=J.placeholder;var X=T(Y);if(X<D&&I[Y].test(P[X])){P[Y]=P[X];}else{break;}}}R();U.caret(Math.max(H,Z));}function L(b){for(var Z=b,a=J.placeholder;Z<D;Z++){if(I[Z]){var X=T(Z);var Y=P[Z];P[Z]=a;if(X<D&&I[X].test(Y)){a=Y;}else{break;}}}}function Q(Y){var Z=C(this).caret();var X=Y.keyCode;S=(X<16||(X>16&&X<32)||(X>32&&X<41));if((Z.begin-Z.end)!=0&&(!S||X==8||X==46)){M(Z.begin,Z.end);}if(X==8||X==46||(B&&X==127)){O(Z.begin+(X==46?0:-1));
return false;}else{if(X==27){U.val(W);U.caret(0,N());return false;}}}function V(a){if(S){S=false;return(a.keyCode==8)?false:null;}a=a||window.event;var X=a.charCode||a.keyCode||a.which;var f=C(this).caret();if(a.ctrlKey||a.altKey||a.metaKey){return true;}else{if((X>=32&&X<=125)||X>186){var Z=T(f.begin-1);if(Z<D){var b=String.fromCharCode(X);if(I[Z].test(b)){L(Z);P[Z]=b;R();var Y=T(Z);C(this).caret(Y);if(J.completed&&Y==D){J.completed.call(U);}}}}}return false;}function M(Z,X){for(var Y=Z;Y<X&&Y<D;Y++){if(I[Y]){P[Y]=J.placeholder;}}}function R(){return U.val(P.join("")).val();}function N(Y){var e=U.val();var b=-1;for(var X=0,a=0;X<D;X++){if(I[X]){P[X]=J.placeholder;while(a++<e.length){var Z=e.charAt(a-1);if(I[X].test(Z)){P[X]=Z;b=X;break;}}if(a>e.length){break;}}else{if(P[X]==e[a]&&X!=K){a++;b=X;}}}if(!Y&&b+1<K){U.val("");M(0,D);}else{if(Y||b+1>=K){R();if(!Y){U.val(U.val().substring(0,b+1));}}}return(K?X:H);}if(!U.attr("readonly")){U.one("unmask",function(){U.unbind(".mask").removeData("buffer").removeData("tests");
}).bind("focus.mask",function(){W=U.val();var X=N();R();setTimeout(function(){if(X==F.length){U.caret(0,X);}else{U.caret(X);}},0);}).bind("blur.mask",function(){N();if(U.val()!=W){U.change();}}).bind("keydown.mask",Q).bind("keypress.mask",V).bind(A,function(){setTimeout(function(){U.caret(N(true));},0);});}N();});}});})(jQuery);(function(C){window.eipf=window.eipf||{};eipf.IframePopupImpl=function(){this.initialize();};function A(D){if(D.keyCode==27){D.preventDefault();D.data.self.close();}}C.extend(eipf.IframePopupImpl.prototype,{config:{boxTitle:"Roche",closeBtn:"X",width:990,height:500},setConfig:function(D){C.extend(this.config,D);},initialize:function(){var E=this;E.topLayer=C('<div id="ov"></div><div class="iframe-popup" id="toplayer">	<div id="toplayer-wrap">		<div id="toplayer-window">			<a class="close" href="#close">'+E.config.closeBtn+'</a>			<div id="toplayer-t"><div id="toplayer-t-r"></div><div id="toplayer-t-l"></div></div>			<div id="toplayer-m-o">				<div id="toplayer-m-i">					<div id="toplayer-content"></div>				</div>			</div>			<div id="toplayer-b"><div id="toplayer-b-r"></div><div id="toplayer-b-l"></div></div>		</div>	</div></div>');
(function(F,G){if(window.CMS){$j(F).live("click",G);}else{C(F).click(G);}})("a[target=iframe-popup]",function(G){var F=this;G.preventDefault();if(C.isFunction(E.config.beforePopup)){E.config.beforePopup(F,function(){E.open(F,G);});}else{E.open(this,G);}});if(window.eipf&&eipf.CssDisclaimerImpl){var D=eipf.CssDisclaimerImpl.prototype.open;eipf.CssDisclaimerImpl.prototype.open=function(F,G){if(!C(G.target).is("a[target=iframe-popup]")){D.call(this,F,G);}};}},open:function(H,J){var F=this,E=H.href,D,G;if(!C("#toplayer").length){C("body").prepend(F.topLayer);F.topLayer.find("a.close").bind("click",function(K){K.preventDefault();F.close();});var I=(F.config.boxTitle)?'<h1 id="iframe-popup-site-title">'+F.config.boxTitle+"</h1>":'<h1 id="iframe-popup-site-title" style="visibility:hidden">-</h1>';if(J&&J.target.title){I+='<h2 id="iframe-popup-content-title">'+J.target.title+"</h2>";}I+='<iframe name="iframe-popup" src="'+E+'" frameborder="0" />';C("#toplayer-content").append(I);D=(null!==H.getAttribute("eipf:iframewidth"))?H.getAttribute("eipf:iframewidth"):F.config.width;
G=(null!==H.getAttribute("eipf:iframeheight"))?H.getAttribute("eipf:iframeheight"):F.config.height;C("#toplayer-window, #toplayer-window iframe").width(D+"px");C("#toplayer-window iframe").height(G+"px");}C(document).bind("keypress",{self:F},A);return false;},close:function(){var E=this;function D(){C("#toplayer-content").html("");C("#ov").remove();C("#toplayer").remove();C(document).unbind("keypress",A);}if(C.browser.msie&&C.browser.version.match(/^[67]\./)){C("#toplayer-content iframe").attr("src","about:blank").css("visibility","hidden").load(function(F){D();});}else{D();}}});if(window.Editor&&window.CMS){var B=window.Editor.defaultTinyMCEConfig;B.theme_advanced_link_targets="iframe-popup=Open in iframe popup";B.extended_valid_elements=",a[*]";}C(document).bind("ready",function(){eipf.iframePopup=new eipf.IframePopupImpl();});})(jQuery);var sendToFriend={switchOverlay:function(B,A){if(!$(".formOverlay",B).length){$('<div class="formOverlay"></div>').prependTo(B);}if(typeof A!="undefined"){$(".formOverlay",B).css("opacity",0.9).show();
}else{$(".formOverlay",B).remove();}},showResponse:function(B){if(!$("#formMsg").length){$('<div id="formMsg"></div>').insertBefore("#send-to-friend-box>div");}sendToFriend.switchOverlay("#send-to-friend-box");var A=$(B);var D="";var C="";if(A.find(".standard_err").length){D=A.find(".standard_err").text();C="errors";}else{D=A.find("#tell-friend-message").text();C="success";$("#send-to-friend-box div.c").remove();}$("#formMsg").empty().prepend('<p class="'+C+'">'+D+"</p>");},friendSubmit:function(){var A={beforeSubmit:function(){sendToFriend.switchOverlay("#send-to-friend-box",true);},success:sendToFriend.showResponse};$("#form-tell-friend form").ajaxForm(A);$("#form-tell-friend form input.submit").click(function(){$("#form-tell-friend form").submit();});},init:function(){var A=$("li.send-to-friend>a").attr("href");$("li.send-to-friend>a").click(function(){$('<div id="send-to-friend-box"><div class="c"></div><span class="close">X</span></div>').prependTo("body");sendToFriend.switchOverlay("body",true);
var B=A+" #form-tell-friend";$("#send-to-friend-box>div").load(B,function(){$("input[type=button]").get(0).onclick="";$("input[type=button],span.close").click(function(){$("#send-to-friend-box").fadeOut(500,function(){$(this).remove();});sendToFriend.switchOverlay("body");return false;});$("#send-to-friend-box").animate({left:"50%"},500);sendToFriend.friendSubmit();});return false;});$("#form-tell-friend form").submit(function(){sendToFriend.friendSubmit();return false;});}};$(document).ready(function(){sendToFriend.init();});var minionbolditalic={src:"/portal/templates/dialogo/style/img/minion-pro-bold-italic.swf",ratios:[7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]};sIFR.activate(minionbolditalic);sIFR.replace(minionbolditalic,{selector:"body.avastin .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#652d8a","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionbolditalic,{selector:"body.xenical .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#013e6f","font-weight":"bold","font-style":"italic",leading:"-10"}}});
sIFR.replace(minionbolditalic,{selector:"body.xeloda .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#0066cc","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionbolditalic,{selector:"body.tarceva .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#8e0c3a","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionbolditalic,{selector:"body.pegasys .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#074377","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionbolditalic,{selector:"body.bonviva .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#8490ca","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionbolditalic,{selector:"body.mabthera .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#e88230","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionbolditalic,{selector:"body.actemra .product-title h3",wmode:"transparent",css:{".sIFR-root":{color:"#902790","font-weight":"bold","font-style":"italic",leading:"-10"}}});
sIFR.replace(minionbolditalic,{selector:"body.eventos .event-detail h2",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic",leading:"-5"}}});sIFR.replace(minionbolditalic,{selector:"body.eventos h2",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic",leading:"-3"}}});var sIFRinit=function(){sIFR.replace(minionbolditalic,{selector:".detailmode h3.articletitle,h3.gear-title,h2,#lostpasswd h4,#categories-list h3",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic",leading:"-10"}}});};sIFRinit();function pollGraphFixIE(){if($(".poll-graph dd").length&&$.browser.msie){$(".poll-graph dd").after('<div style="clear:both"></div>');}}function tabsInit(C,B,A){$(C).prepend('<ul class="tabsItem"></ul>');$(B,C).each(function(E){var D=$(this).text();var F=$(C);var G=$(".tabsItem",F);$("<li>"+D+"<span></span></li>").appendTo(G).click(function(){$(A,F).hide();$(A,F).eq(E).fadeIn();
$(".tabsItem li",F).removeClass("activeTab");$(this).addClass("activeTab");});$(this).remove();});$(".tabsItem li",C).eq(0).trigger("click");}function sitemapToggle(){if($("#sitemap").length){$("#sitemap li li a").click(function(){if($(this).parent().hasClass("ul1")&&$(this).parent().hasClass("parent")){var A=$(this);$(this).nextAll("ul").slideToggle("fast",function(){A.toggleClass("expanded");});return false;}});}}function oneLevelmenuHorizontalFlash(C){if($("#menu").length!=0){$("#menu").prepend('<div id="flashContent"><div id="flash-navi"></div></div>');var A={};A.data="/portal/flashSitemap?communityId="+COMMUNITY_ID;if(typeof C!="undefined"){A.secondLevel=C;}else{A.secondLevel="";}A.activeEntryID=PAGE_ID;A.containerID="flash-navigation";var D={};D.wmode="transparent";D.scale="noscale";D.salign="tl";D.allowScriptAccess="always";var B={};swfobject.embedSWF("/portal/templates/dialogo/style/img/navi.swf","flash-navi","1002","38","8",false,A,D,B);}}function setFlashHeight(A){$("#flashContent").css("height",A);
if($.browser.msie&&$.browser.version<7){$("#flash-navi, #menu").css("height",A);}$("#flash-navi").attr("height",A);}function flashMenuIEFix(){if($.browser.msie&&$.browser.version.substr(0,1)<=7){$("#layout").css("margin",0);}}function initAlphaFiltering(){if($("#region2 .alpha-filtering-box").length){var F=[],A=[],C=[];var H=$("#region2 .alpha-filtering-box .articlecontent ul li");H.hide();H.each(function(){F[$(this).text().substr(0,1).toUpperCase()]=$(this);});A="ABCDEFGHIJKLMNOPQRSTUVXWYZ".split("");var B=A.length;while(B--){var E=A[B];var D="<span class='"+E+"'>"+E+"</span>";if(F[E]&&F[E].length>0){C.unshift("<li>"+D+"</li>");}else{C.unshift("<li class='empty'>"+D+"</li>");}}$("#region2 .alpha-filtering-box .articlecontent").prepend("<ol class='horizontal-alpha-list'>"+C.join("")+"</ol>");var G=$("#region2 .alpha-filtering-box .articlecontent ol.horizontal-alpha-list li span");G.parent().not(".empty").click(function(K){var I=$(K.target);var J=I.text();G.parent("li").removeClass("active");
H.each(function(){if(J!==$(this).text().substr(0,1)){$(this).hide();}else{$(this).show();G.filter("."+J).parent().addClass("active");}});});H.each(function(){if($(this).text().substr(0,1)==="A"){$(this).show();G.filter(".A").parent().addClass("active");}});}}function initCategoriesAlphaFiltering(){if($("#region1 #categories-list").length){var E=$("#categories-list ul").eq(2);var A=E.find("ul");var D=A.find("a.pdb-empty").eq(0);var C=$.trim($("#breadcrumb li.last").text().toLowerCase());A.find("li a").eq(0).remove();$("#categories-list ul").hide();$("#categories-list").prepend("<h3>"+D.text()+'</h3><ol class="horizontal-alpha-list" style="margin-top:20px;">'+A.html()+"</ol>");$(".horizontal-alpha-list a.pdb-empty").addClass("pdb-inactive").click(function(){return false;});$("#categories-list ol.horizontal-alpha-list li").filter(function(){return C===$.trim($(this).text().toLowerCase());}).addClass("active");if($(".product-database .listmode .front-page-category").length){var B=$(".horizontal-alpha-list li>a").eq(0).attr("href");
window.location.href=B;}}}function configTinymce(){if(window.Editor&&window.CMS){window.Editor.defaultTinyMCEConfig.theme_advanced_styles+=";Window size 1024x710 (Aulas)=iframe-size1;Window size 440x250 (Imagens)=iframe-size2;Window size 400x420 (Videos)=iframe-size3;Window size 985x610 (WebMeetings)=iframe-size4;Window size 800x570 (Anatomia Interativa)=iframe-size5";window.Editor.defaultTinyMCEConfig.plugins+=",pagebreak";var A=window.Editor.defaultTinyMCEConfig.theme_advanced_buttons2;var B=A.split(",");$.map(B,function(C,D){return B[D]=(C==="tablecontrols")?"pagebreak":C;});window.Editor.defaultTinyMCEConfig.theme_advanced_buttons2=B.join(",");}}function initArticlePagination(C){var B=1;C.children().each(function(){var F=$(this);if(F.hasClass("pagebreak")){F.remove();}else{F.addClass("elem"+B);if(!F.next().attr("nodeName")||F.next().attr("nodeName")==="HR"){$(".elem"+B).wrapAll('<div class="articlecontentpage-'+B+'"></div>');B++;}}});C.children().wrapAll('<div class="articlecontentpages"></div>');
if(B>2){var E=1,A=[];while(E<B){A.push('<li><a href="#page'+E+'">'+E+"</a></li>");E++;}$('<div class="articlecontentpagination"></div>').append("<ol>"+A.join("")+"</ol>").appendTo(C);var D=C.find("div.articlecontentpagination li");$("div.articlecontentpages > div").not(":first").hide();D.eq(0).addClass("active");D.bind("click",function(){var F=$(this);F.addClass("active").siblings("li.active").removeClass("active");$("div.articlecontentpage-"+F.text()).show().siblings("div:visible").hide();});}}function convertListToSelectWithRedirection(C,B){var A=['<option value="#">'+((B)?B:"---")+"</option>"];$(C).find("li").each(function(){var E=$(this);var D=E.find("a");A.push('<option value="'+((D.length===1)?D.attr("href"):"#")+'">'+E.text()+"</option>");});$(C).find("ul").hide();$('<select id="dropdownproducts"></select>').append(A.join("")).appendTo(C);$("#dropdownproducts").bind("change",function(){var D=$(this).val();if(D!=="#"){$(location).attr("href",D);}});}function configForms(){if($("#userregistration-s2").length>0){if($("body.myprofile").length){$("#displayedFields_profession").attr("disabled","disabled");
}$('#userregistration-s2 input[type="checkbox"], #myprofile input[type="checkbox"]').addClass("userregistration-s2-checkbox");$('#userregistration-s2 input[type="radio"], #myprofile input[type="radio"]').addClass("userregistration-s2-radio");var E=$("#speciality_fields"),D=$("#displayedFields_profession"),C=$("#crm_fields"),G=C.find("label"),F=$("#displayedFields_crm"),A=$("#professionalState_fields");F.attr("maxlength","8");var B=function(J,H){if(H){var I=escape(H.toLowerCase());switch(I){case"colaborador%20roche":J.hide();C.hide();A.hide();break;case"dentista":J.hide();G.html('CRO <span class="mandatory">*</span>');break;case"enfermeiro":J.hide();G.html('COREN <span class="mandatory">*</span>');break;case"farmaceutico":J.hide();G.html('CRF <span class="mandatory">*</span>');break;case"medico":G.html('CRM <span class="mandatory">*</span>');J.show();break;case"veterinario":J.hide();G.html('CRMV <span class="mandatory">*</span>');break;default:J.hide();C.hide();A.hide();}}else{J.hide();}};
$("#displayedFields_mobilePhone").mask("(99)99999999");B(E,D.find("option:selected").val());D.bind("change",function(){if(E.is(":visible")){E.hide();}if(C.is(":hidden")){C.show();}if(A.is(":hidden")){A.show();}B(E,$("option:selected",this).val());});$("#userregistration-s2 form").submit(function(){var I=$("#displayedFields_password").val().length;if(I>0&&I<6){alert("Sua senha deve ter no mínimo 6 caracteres");$("#displayedFields_password").focus();return false;}if(E.is(":visible")){var J=$.trim($("#displayedFields_speciality").val());if(J.length===0){alert("Por favor selecione a Especialidade");return false;}}if(C.is(":visible")){var H=$.trim(F.val());if(H.length===0){alert("Por favor, preencha o número do seu conselho regional (CRM, CRO, COREN, CRF ou CRMV).");return false;}if(isNaN(H)){alert("O número do seu conselho regional (CRM, CRO, COREN, CRF ou CRMV) deve conter apenas números.");F.focus();return false;}}if(A.is(":visible")){var J=$.trim($("#displayedFields_professionalState").val());
if(J.length===0){alert("Por favor, selecione o Estado do seu conselho regional (CRM, CRO, COREN, CRF ou CRMV)");return false;}}});}}function soumission(){}var lostPswd={switchOverlay:function(A){if(!$("#formOverlay").length){$('<div id="formOverlay"></div>').prependTo("#userregistration");}var B=$("#region2").height();if(typeof A!="undefined"){$("#formOverlay").height(B).css("opacity",0.9).show();}else{$("#formOverlay").hide();}},backToLogin:function(){$(".reactive").click(function(){$("form[name=portalLogin]").show();$("#lostpasswdbox").remove();return false;});},showResponse:function(B){lostPswd.switchOverlay();if(!$("#formMsg").length){$('<div id="formMsg"></div>').insertAfter("#lostpasswd>h4");}var A=$(B).find(".errors");if(A.text().indexOf("Multiple users")>-1){$("#login,label[for=login]").show();}if(!A.length){A=$(B).find(".success");$("p,ol,form","#lostpasswd").hide();}var C=A.html();$("#formMsg").empty().prepend(A);},lostPasswordSubmit:function(){var A={beforeSubmit:function(){lostPswd.switchOverlay(true);
},success:lostPswd.showResponse};$("#lostpasswd form").ajaxForm(A);$("#lostpasswd form input.submit").click(function(){$("#lostpasswd form").submit();});},init:function(){var A=$(".s2-forgotten-password-link>a").attr("href");$(".s2-forgotten-password-link>a").click(function(){$('<div id="lostpasswdbox"></div>').prependTo("#userregistration");var B=A+" #lostpasswd";$("p.error").remove();lostPswd.switchOverlay(true);$("#lostpasswdbox").load(B,function(){$("form[name=portalLogin]").hide();$("#login,label[for=login]").hide();$("ol","#lostpasswd").hide();sIFRinit();lostPswd.lostPasswordSubmit();lostPswd.backToLogin();lostPswd.switchOverlay();});return false;});$("#lostpasswd form").submit(function(){lostPswd.lostPasswordSubmit();return false;});}};$.fn.vCenter=function(A){var B={sTop:function(){return window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop;},wHeight:function(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body.clientHeight;
}};return this.each(function(E){if(E==0){var F=$(this);var D=F.height();var C=B.sTop()+(B.wHeight()/2)-(D/2);F.css({position:"absolute",marginTop:"0",top:C});}});};var privacy={checkIE:function(){return($.browser.msie&&$.browser.version.substr(0,1)<7);},createTpl:function(){if(!$("#o").length){$('<div id="o"><div id="o_loading">Por favor aguarde...</div></div> 				<div id="o_box"> 					 					<div id="o_content"></div> 					<span id="o_close">Fechar X</span> 				</div>').appendTo("body");}var A=$("body").outerHeight()+"px";$("#o").css({opacity:0.9,height:A});$("#o_loading").vCenter();if(this.checkIE()&&$("select")){$("select").css("visibility","hidden");}},init:function(){var A=$("#policyAgreement_fields label > a");var B=this;if(A){var C=A.attr("href");A.bind("click",function(){privacy.createTpl();var D=C+" #region1 div.div0";$("#o_content").load(D,function(E){$("#o_loading").fadeOut(500);$("#o").height($("#o_content").height());$("#o_close").bind("click",function(){if(B.checkIE()&&$("select")){$("select").css("visibility","visible");
}$("#o, #o_box").fadeOut(500,function(){$(this).remove();});return false;});$("html, body").animate({scrollTop:0},0);});return false;});}}};function eventsPosition(){if($(".event-image").width()){$(".event-detail .vevent").css("left",$(".event-image").width());$(".event-detail .vevent").css("max-width",($(".event-detail").width())-$(".event-image img").width()-15);}else{$(".event-detail .vevent").css("left",0);}}$(document).ready(function(){if(!$("#re7199003").length&&!$("#re7191001").length){oneLevelmenuHorizontalFlash("1,6,7");}else{oneLevelmenuHorizontalFlash();}lostPswd.init();privacy.init();tabsInit("#tabsRegion","h2",".synergy-gear");tabsInit(".tabs","h3.articletitle",".articleabstract");pollGraphFixIE();initAlphaFiltering();initCategoriesAlphaFiltering();configTinymce();initArticlePagination($("#region1 div.paginated div.articlecontent"));convertListToSelectWithRedirection("div.dropdown div.articlecontent","Selecione o item");configForms();toggleInputLabel("search-input");sitemapToggle();
if(typeof $j!="undefined"&&$j("#CMS-overlay").bgiframe){$j("#CMS-overlay").bgiframe();}if(!$("#region2 div").length){$("#region2").hide();}eipf.IframePopupImpl.prototype.setConfig({boxTitle:"",closeBtn:"fechar X"});eventsPosition();$(".bottom-events-navigation li.page a:contains('0')").parent().hide();if($(".events-navigation li").length===0){$("#menu .ul1").show();}});