(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(z,v,AC,AD){AC=AC||[];v=v||document;if(v.nodeType!==1&&v.nodeType!==9){return[];}if(!z||typeof z!=="string"){return AC;}var AA=[],x,AG,AJ,u,AE,w,y=true;s.lastIndex=0;
while((x=s.exec(z))!==null){AA.push(x[1]);if(x[2]){w=RegExp.rightContext;break;}}if(AA.length>1&&n.exec(z)){if(AA.length===2&&j.relative[AA[0]]){AG=k(AA[0]+AA[1],v);}else{AG=j.relative[AA[0]]?[v]:g(AA.shift(),v);while(AA.length){z=AA.shift();if(j.relative[z]){z+=AA.shift();}AG=k(z,AG);}}}else{var AF=AD?{expr:AA.pop(),set:f(AD)}:g.find(AA.pop(),AA.length===1&&v.parentNode?v.parentNode:v,r(v));AG=g.filter(AF.expr,AF.set);if(AA.length>0){AJ=f(AG);}else{y=false;}while(AA.length){var AI=AA.pop(),AH=AI;if(!j.relative[AI]){AI="";}else{AH=AA.pop();}if(AH==null){AH=v;}j.relative[AI](AJ,AH,r(v));}}if(!AJ){AJ=AG;}if(!AJ){throw"Syntax error, unrecognized expression: "+(AI||z);}if(i.call(AJ)==="[object Array]"){if(!y){AC.push.apply(AC,AJ);}else{if(v.nodeType===1){for(var AB=0;AJ[AB]!=null;AB++){if(AJ[AB]&&(AJ[AB]===true||AJ[AB].nodeType===1&&l(v,AJ[AB]))){AC.push(AG[AB]);}}}else{for(var AB=0;AJ[AB]!=null;AB++){if(AJ[AB]&&AJ[AB].nodeType===1){AC.push(AG[AB]);}}}}}else{f(AJ,AC);}if(w){g(w,v,AC,AD);if(h){hasDuplicate=false;
AC.sort(h);if(hasDuplicate){for(var AB=1;AB<AC.length;AB++){if(AC[AB]===AC[AB-1]){AC.splice(AB--,1);}}}}}return AC;};g.matches=function(u,v){return g(u,null,null,v);};g.find=function(AB,u,AC){var AA,y;if(!AB){return[];}for(var x=0,w=j.order.length;x<w;x++){var z=j.order[x],y;if((y=j.match[z].exec(AB))){var v=RegExp.leftContext;if(v.substr(v.length-1)!=="\\"){y[1]=(y[1]||"").replace(/\\/g,"");AA=j.find[z](y,u,AC);if(AA!=null){AB=AB.replace(j.match[z],"");break;}}}}if(!AA){AA=u.getElementsByTagName("*");}return{set:AA,expr:AB};};g.filter=function(AE,AD,AH,x){var w=AE,AJ=[],AB=AD,z,u,AA=AD&&AD[0]&&r(AD[0]);while(AE&&AD.length){for(var AC in j.filter){if((z=j.match[AC].exec(AE))!=null){var v=j.filter[AC],AI,AG;u=false;if(AB==AJ){AJ=[];}if(j.preFilter[AC]){z=j.preFilter[AC](z,AB,AH,AJ,x,AA);if(!z){u=AI=true;}else{if(z===true){continue;}}}if(z){for(var y=0;(AG=AB[y])!=null;y++){if(AG){AI=v(AG,z,y,AB);var AF=x^!!AI;if(AH&&AI!=null){if(AF){u=true;}else{AB[y]=false;}}else{if(AF){AJ.push(AG);u=true;
}}}}}if(AI!==G){if(!AH){AB=AJ;}AE=AE.replace(j.match[AC],"");if(!u){return[];}break;}}}if(AE==w){if(u==null){throw"Syntax error, unrecognized expression: "+AE;}else{break;}}w=AE;}return AB;};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(AB,u,AA){var y=typeof u==="string",AC=y&&!/\W/.test(u),z=y&&!AC;if(AC&&!AA){u=u.toUpperCase();}for(var x=0,w=AB.length,v;x<w;x++){if((v=AB[x])){while((v=v.previousSibling)&&v.nodeType!==1){}AB[x]=z||v&&v.nodeName===u?v||false:v===u;
}}if(z){g.filter(u,AB,true);}},">":function(AA,v,AB){var y=typeof v==="string";if(y&&!/\W/.test(v)){v=AB?v:v.toUpperCase();for(var w=0,u=AA.length;w<u;w++){var z=AA[w];if(z){var x=z.parentNode;AA[w]=x.nodeName===v?x:false;}}}else{for(var w=0,u=AA.length;w<u;w++){var z=AA[w];if(z){AA[w]=y?z.parentNode:z.parentNode===v;}}if(y){g.filter(v,AA,true);}}},"":function(x,v,z){var w=m++,u=t;if(!v.match(/\W/)){var y=v=z?v:v.toUpperCase();u=q;}u("parentNode",v,w,x,y,z);},"~":function(x,v,z){var w=m++,u=t;if(typeof v==="string"&&!v.match(/\W/)){var y=v=z?v:v.toUpperCase();u=q;}u("previousSibling",v,w,x,y,z);}},find:{ID:function(v,w,x){if(typeof w.getElementById!=="undefined"&&!x){var u=w.getElementById(v[1]);return u?[u]:[];}},NAME:function(w,z,AA){if(typeof z.getElementsByName!=="undefined"){var v=[],y=z.getElementsByName(w[1]);for(var x=0,u=y.length;x<u;x++){if(y[x].getAttribute("name")===w[1]){v.push(y[x]);}}return v.length===0?null:v;}},TAG:function(u,v){return v.getElementsByTagName(u[1]);}},preFilter:{CLASS:function(x,v,w,u,AA,AB){x=" "+x[1].replace(/\\/g,"")+" ";
if(AB){return x;}for(var y=0,z;(z=v[y])!=null;y++){if(z){if(AA^(z.className&&(" "+z.className+" ").indexOf(x)>=0)){if(!w){u.push(z);}}else{if(w){v[y]=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(y,v,w,u,z,AA){var x=y[1].replace(/\\/g,"");if(!AA&&j.attrMap[x]){y[1]=j.attrMap[x];}if(y[2]==="~="){y[4]=" "+y[4]+" ";}return y;},PSEUDO:function(y,v,w,u,z){if(y[1]==="not"){if(y[3].match(s).length>1||/^\w/.test(y[3])){y[3]=g(y[3],null,null,v);}else{var x=g.filter(y[3],v,w,true^z);if(!w){u.push.apply(u,x);}return false;}}else{if(j.match.POS.test(y[0])||j.match.CHILD.test(y[0])){return true;}}return y;},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,x){return v===x.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(AA,w,x,AB){var v=w[1],y=j.filters[v];if(y){return y(AA,x,w,AB);}else{if(v==="contains"){return(AA.textContent||AA.innerText||"").indexOf(w[3])>=0;}else{if(v==="not"){var z=w[3];for(var x=0,u=z.length;x<u;x++){if(z[x]===AA){return false;}}return true;}}}},CHILD:function(u,x){var AA=x[1],v=u;switch(AA){case"only":case"first":while(v=v.previousSibling){if(v.nodeType===1){return false;}}if(AA=="first"){return true;}v=u;case"last":while(v=v.nextSibling){if(v.nodeType===1){return false;}}return true;case"nth":var w=x[2],AD=x[3];if(w==1&&AD==0){return true;}var z=x[0],AC=u.parentNode;if(AC&&(AC.sizcache!==z||!u.nodeIndex)){var y=0;for(v=AC.firstChild;v;v=v.nextSibling){if(v.nodeType===1){v.nodeIndex=++y;}}AC.sizcache=z;}var AB=u.nodeIndex-AD;if(w==0){return AB==0;}else{return(AB%w==0&&AB/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(z,x){var w=x[1],u=j.attrHandle[w]?j.attrHandle[w](z):z[w]!=null?z[w]:z.getAttribute(w),AA=u+"",y=x[2],v=x[4];return u==null?y==="!=":y==="="?AA===v:y==="*="?AA.indexOf(v)>=0:y==="~="?(" "+AA+" ").indexOf(v)>=0:!v?AA&&u!==false:y==="!="?AA!=v:y==="^="?AA.indexOf(v)===0:y==="$="?AA.substr(AA.length-v.length)===v:y==="|="?AA===v||AA.substr(0,v.length+1)===v+"-":false;},POS:function(y,v,w,z){var u=v[2],x=j.setFilters[u];if(x){return x(y,w,v,z);}}}};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(y,x){var v=x||[];if(i.call(y)==="[object Array]"){Array.prototype.push.apply(v,y);
}else{if(typeof y.length==="number"){for(var w=0,u=y.length;w<u;w++){v.push(y[w]);}}else{for(var w=0;y[w];w++){v.push(y[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(x,v){var w=x.ownerDocument.createRange(),u=v.ownerDocument.createRange();w.selectNode(x);w.collapse(true);u.selectNode(v);u.collapse(true);var y=w.compareBoundaryPoints(Range.START_TO_END,u);if(y===0){hasDuplicate=true;}return y;};}}}(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(y,z,AA){if(typeof z.getElementById!=="undefined"&&!AA){var x=z.getElementById(y[1]);
return x?x.id===y[1]||typeof x.getAttributeNode!=="undefined"&&x.getAttributeNode("id").nodeValue===y[1]?[x]:G:[];}};j.filter.ID=function(z,x){var y=typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id");return z.nodeType===1&&y&&y.nodeValue===x;};}u.removeChild(v);})();(function(){var u=document.createElement("div");u.appendChild(document.createComment(""));if(u.getElementsByTagName("*").length>0){j.find.TAG=function(v,z){var y=z.getElementsByTagName(v[1]);if(v[1]==="*"){var x=[];for(var w=0;y[w];w++){if(y[w].nodeType===1){x.push(y[w]);}}y=x;}return y;};}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(z,y,w,x){y=y||document;
if(!x&&y.nodeType===9&&!r(y)){try{return f(y.querySelectorAll(z),w);}catch(AA){}}return u(z,y,w,x);};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,x){if(typeof w.getElementsByClassName!=="undefined"&&!x){return w.getElementsByClassName(v[1]);}};})();}function q(v,AA,z,AE,AB,AD){var AC=v=="previousSibling"&&!AD;for(var x=0,w=AE.length;x<w;x++){var u=AE[x];if(u){if(AC&&u.nodeType===1){u.sizcache=z;u.sizset=x;}u=u[v];var y=false;while(u){if(u.sizcache===z){y=AE[u.sizset];break;}if(u.nodeType===1&&!AD){u.sizcache=z;u.sizset=x;}if(u.nodeName===AA){y=u;break;}u=u[v];}AE[x]=y;}}}function t(v,AA,z,AE,AB,AD){var AC=v=="previousSibling"&&!AD;
for(var x=0,w=AE.length;x<w;x++){var u=AE[x];if(u){if(AC&&u.nodeType===1){u.sizcache=z;u.sizset=x;}u=u[v];var y=false;while(u){if(u.sizcache===z){y=AE[u.sizset];break;}if(u.nodeType===1){if(!AD){u.sizcache=z;u.sizset=x;}if(typeof AA!=="string"){if(u===AA){y=true;break;}}else{if(g.filter(AA,[u]).length>0){y=u;break;}}}u=u[v];}AE[x]=y;}}}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,AB){var x=[],y="",z,w=AB.nodeType?[AB]:AB;while((z=j.match.PSEUDO.exec(u))){y+=z[0];u=u.replace(j.match.PSEUDO,"");}u=j.relative[u]?u+"*":u;for(var AA=0,v=w.length;AA<v;AA++){g(u,w[AA],x);}return g.filter(y,x);};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=[],x=w[v];while(x&&x!=document){if(x.nodeType==1){u.push(x);}x=x[v];}return u;};O.nth=function(y,u,w,x){u=u||1;var v=0;for(;y;y=y[w]){if(y.nodeType==1&&++v==u){break;}}return y;};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 y,g=/=\?(&|$)/g,t,x,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))){y="jsonp"+R++;if(n.data){n.data=(n.data+"").replace(g,"="+y+"$1");
}n.url=n.url.replace(g,"="+y+"$1");n.dataType="script";L[y]=function(s){x=s;j();m();L[y]=G;try{delete L[y];}catch(z){}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(!y){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{x=O.httpData(k,n.dataType,n);
}catch(AA){t="parsererror";}}if(t=="success"){var z;try{z=k.getResponseHeader("Last-Modified");}catch(AA){}if(n.ifModified&&z){O.lastModified[n.url]=z;}if(!y){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(x,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);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();});if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(E,C,K,F,H,J,L,G,A,D){if(!document.getElementById){return ;}this.DETECT_KEY=D?D:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();this.variables=new Object();this.attributes=new Array();if(E){this.setAttribute("swf",E);}if(C){this.setAttribute("id",C);}if(K){this.setAttribute("width",K);}if(F){this.setAttribute("height",F);}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(J){this.addParam("bgcolor",J);}var B=L?L:"high";this.addParam("quality",B);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var I=(G)?G:window.location;this.setAttribute("xiRedirectUrl",I);this.setAttribute("redirectUrl","");if(A){this.setAttribute("redirectUrl",A);}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true);},setAttribute:function(A,B){this.attributes[A]=B;},getAttribute:function(A){return this.attributes[A];
},addParam:function(A,B){this.params[A]=B;},getParams:function(){return this.params;},addVariable:function(A,B){this.variables[A]=B;},getVariable:function(A){return this.variables[A];},getVariables:function(){return this.variables;},getVariablePairs:function(){var A=new Array();var B;var C=this.getVariables();for(B in C){A[A.length]=B+"="+C[B];}return A;},getSWFHTML:function(){var D="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}D='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';D+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var C=this.getParams();for(var A in C){D+=[A]+'="'+C[A]+'" ';}var B=this.getVariablePairs().join("&");if(B.length>0){D+='flashvars="'+B+'"';
}D+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}D='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';D+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var A in C){D+='<param name="'+A+'" value="'+C[A]+'" />';}var B=this.getVariablePairs().join("&");if(B.length>0){D+='<param name="flashvars" value="'+B+'" />';}D+="</object>";}return D;},write:function(A){if(this.getAttribute("useExpressInstall")){var B=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(B)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof A=="string")?document.getElementById(A):A;C.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var C=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){C=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var D=1;var B=3;while(D){try{B++;D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+B);C=new deconcept.PlayerVersion([B,0,0]);}catch(E){D=null;}}}else{try{var D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
}catch(E){try{var D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");C=new deconcept.PlayerVersion([6,0,21]);D.AllowScriptAccess="always";}catch(E){if(C.major==6){return C;}}try{D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(E){}}if(D!=null){C=new deconcept.PlayerVersion(D.GetVariable("$version").split(" ")[1].split(","));}}}return C;};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(typeof A=="undefined"){return true;var A={major:"20",minor:"10"};}if(this.major<A.major){return false;}if(this.major>A.major){return true;}if(this.minor<A.minor){return false;}if(this.minor>A.minor){return true;}if(this.rev<A.rev){return false;}return true;};deconcept.util={getRequestParameter:function(D){var C=document.location.search||document.location.hash;if(D==null){return C;}if(C){var B=C.substring(1).split("&");for(var A=0;
A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==D){return B[A].substring((B[A].indexOf("=")+1));}}}return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var C=document.getElementsByTagName("OBJECT");for(var B=C.length-1;B>=0;B--){C[B].style.display="none";for(var A in C[B]){if(typeof C[B][A]=="function"){C[B][A]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;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 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"";}}};(function(A){A.event.special.mousewheel={setup:function(){var B=A.event.special.mousewheel.handler;if(A.browser.mozilla){A(this).bind("mousemove.mousewheel",function(C){A.data(this,"mwcursorposdata",{pageX:C.pageX,pageY:C.pageY,clientX:C.clientX,clientY:C.clientY});
});}if(this.addEventListener){this.addEventListener((A.browser.mozilla?"DOMMouseScroll":"mousewheel"),B,false);}else{this.onmousewheel=B;}},teardown:function(){var B=A.event.special.mousewheel.handler;A(this).unbind("mousemove.mousewheel");if(this.removeEventListener){this.removeEventListener((A.browser.mozilla?"DOMMouseScroll":"mousewheel"),B,false);}else{this.onmousewheel=function(){};}A.removeData(this,"mwcursorposdata");},handler:function(D){var B=Array.prototype.slice.call(arguments,1);D=A.event.fix(D||window.event);A.extend(D,A.data(this,"mwcursorposdata")||{});var E=0,C=true;if(D.wheelDelta){E=D.wheelDelta/120;}if(D.detail){E=-D.detail/3;}if(A.browser.opera){E=-D.wheelDelta;}D.data=D.data||{};D.type="mousewheel";B.unshift(E);B.unshift(D);return A.event.handle.apply(this,B);}};A.fn.extend({mousewheel:function(B){return B?this.bind("mousewheel",B):this.trigger("mousewheel");},unmousewheel:function(B){return this.unbind("mousewheel",B);}});})(jQuery);eval(function(E,A,F,B,D,C){D=function(G){return(G<A?"":D(parseInt(G/A)))+((G=G%A)>35?String.fromCharCode(G+29):G.toString(36));
};if(!"".replace(/^/,String)){while(F--){C[D(F)]=B[F]||D(F);}B=[function(G){return C[G];}];D=function(){return"\\w+";};F=1;}while(F--){if(B[F]){E=E.replace(new RegExp("\\b"+D(F)+"\\b","g"),B[F]);}}return E;}("r.5=w(k,d,a){4(m d!='H'){a=a||{};4(d===p){d='';a.3=-1}2 g='';4(a.3&&(m a.3=='n'||a.3.u)){2 f;4(m a.3=='n'){f=G E();f.C(f.B()+(a.3*z*s*s*v))}o{f=a.3}g='; 3='+f.u()}2 b=a.7?'; 7='+(a.7):'';2 e=a.9?'; 9='+(a.9):'';2 l=a.t?'; t':'';6.5=[k,'=',K(d),g,b,e,l].I('')}o{2 h=p;4(6.5&&6.5!=''){2 c=6.5.F(';');D(2 i=0;i<c.8;i++){2 j=r.A(c[i]);4(j.q(0,k.8+1)==(k+'=')){h=y(j.q(k.8+1));x}}}J h}};",47,47,"||var|expires|if|cookie|document|path|length|domain|||||||||||||typeof|number|else|null|substring|jQuery|60|secure|toUTCString|1000|function|break|decodeURIComponent|24|trim|getTime|setTime|for|Date|split|new|undefined|join|return|encodeURIComponent".split("|"),0,{}));(function(A){A.fn.bgIframe=A.fn.bgiframe=function(C){if(A.browser.msie&&/6.0/.test(navigator.userAgent)){C=A.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},C||{});
var D=function(E){return E&&E.constructor==Number?E+"px":E;},B='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+C.src+'"style="display:block;position:absolute;z-index:-1;'+(C.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(C.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":D(C.top))+";left:"+(C.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":D(C.left))+";width:"+(C.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":D(C.width))+";height:"+(C.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":D(C.height))+';"/>';return this.each(function(){if(A("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(B),this.firstChild);}});}return this;};})(jQuery);$().ready(function(){(function(E){var F=E.wrapper.split("$"),C=null,A=false,D={};window.glossaryRebind=function(){$(E.keywordSelector).each(function(){$(this).hover(function G(K){if(A){return ;
}B.shouldfade=false;var J=this;var I=function(){var M=$(J).html();var N=$(J).attr("href");var L=$(J).next(E.definitionSelector).html();var O=$(J).offset();C=B.show(M,L,N,O);};setTimeout(I,300);},function H(){B.shouldfade=true;B.ht=setInterval(function(){B.check(C);},500);});});}();window.glossarySetDisabled=function(H,G){A=H;G&&G(H);};var B={ht:null,shouldfade:false,show:function(I,H,J,M){var L=["<h2>",I,"</h2>",'<div class="glossary-dfn">',H,"</div>",'<a rel="glossary" class="glossary-more" href="',J,'">',E.more,"</a>"];if(C){$(C).html(L.join(""));var G=$(C);}else{L.unshift(F[0]);L.push(F[1]);var G=$(L.join("")).prependTo("body");}$(G).css("display","block");var K=$(G).outerHeight();$(G).css({top:M.top-K,left:M.left});$(G).hover(function(){B.shouldfade=false;},function(){B.shouldfade=true;});return G;},check:function(G){if(B.shouldfade){this.hide(G);}},hide:function(G){$(G).hide();clearInterval(B.ht);}};})({keywordSelector:"a.glossary",definitionSelector:".glossary-explanation",wrapper:'<div class="glossary-tooltip">$</div>',more:"view more"});
});window.eipf=window.eipf||{};eipf.changeTextSize=eipf.changeTextSize||{};(function(A){A.changeSize=function(C,E){if(E=="plus"){var B=1;}else{var B=-1;}var D=parseInt(C)+parseInt(B);Util.Cookie.set("text_size",D,356);$("#wrapie").addClass("text_size-"+D).removeClass("text_size-"+C);return(D);};A.corpToolboxChangetextsize=function(H){if($("#corp-toolbox-changetextsize")){var F=$("#corp-toolbox-changetextsize").get();var C=$("#wrapie").get;var B=Util.Cookie.get("text_size");if(isNaN(parseInt(B))){B=1;Util.Cookie.set("text_size",B,356);}if(F){$(F).css("display","inline");var D=$(F).find("span");$(F).empty();var E='<a title="Increase text size" class="plus" href="#">+</a>';var G='<a title="Decrease text size" class="minus" href="#">-</a>';$(F).append(E);$(F).append(D);$(F).append(G);$("#corp-toolbox-changetextsize .plus").click(function(){if(B=="1"){$("#corp-toolbox-changetextsize .minus").css("cursor","pointer");}if(B<H){B=A.changeSize(B,"plus");}if(B==H){$("#corp-toolbox-changetextsize .plus").css("cursor","default");
}if($.browser.msie&&$.browser.version.match(/^6\..*/)){$("body").toggleClass("IE6_REDRAW_FIX");}return false;});$("#corp-toolbox-changetextsize .minus").click(function(){if(B==H){$("#corp-toolbox-changetextsize .plus").css("cursor","pointer");}if(B>1){B=A.changeSize(B,"minus");}if(B==1){$("#corp-toolbox-changetextsize .minus").css("cursor","default");}if($.browser.msie&&$.browser.version.match(/^6\..*/)){$("body").toggleClass("IE6_REDRAW_FIX");}return false;});if(B<="1"){$("#wrapie").addClass("text_size-1");$("#corp-toolbox-changetextsize .minus").click(function(){return false;});$("#corp-toolbox-changetextsize .minus").css("cursor","text");}else{if(B>=H){$("#wrapie").addClass("text_size-"+H);$("#corp-toolbox-changetextsize .plus").click(function(){return false;});$("#corp-toolbox-changetextsize .plus").css("cursor","text");}else{$("#wrapie").addClass("text_size-"+B);}}}}};})(eipf.changeTextSize);jQuery.ui||(function(C){var I=C.fn.remove,D=C.browser.mozilla&&(parseFloat(C.browser.version)<1.9);
C.ui={version:"1.7.2",plugin:{add:function(K,L,N){var M=C.ui[K].prototype;for(var J in N){M.plugins[J]=M.plugins[J]||[];M.plugins[J].push([L,N[J]]);}},call:function(J,L,K){var N=J.plugins[L];if(!N||!J.element[0].parentNode){return ;}for(var M=0;M<N.length;M++){if(J.options[N[M][0]]){N[M][1].apply(J.element,K);}}}},contains:function(K,J){return document.compareDocumentPosition?K.compareDocumentPosition(J)&16:K!==J&&K.contains(J);},hasScroll:function(M,K){if(C(M).css("overflow")=="hidden"){return false;}var J=(K&&K=="left")?"scrollLeft":"scrollTop",L=false;if(M[J]>0){return true;}M[J]=1;L=(M[J]>0);M[J]=0;return L;},isOverAxis:function(K,J,L){return(K>J)&&(K<(J+L));},isOver:function(O,K,N,M,J,L){return C.ui.isOverAxis(O,N,J)&&C.ui.isOverAxis(K,M,L);},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};
if(D){var F=C.attr,E=C.fn.removeAttr,H="http://www.w3.org/2005/07/aaa",A=/^aria-/,B=/^wairole:/;C.attr=function(K,J,L){var M=L!==undefined;return(J=="role"?(M?F.call(this,K,J,"wairole:"+L):(F.apply(this,arguments)||"").replace(B,"")):(A.test(J)?(M?K.setAttributeNS(H,J.replace(A,"aaa:"),L):F.call(this,K,J.replace(A,"aaa:"))):F.apply(this,arguments)));};C.fn.removeAttr=function(J){return(A.test(J)?this.each(function(){this.removeAttributeNS(H,J.replace(A,""));}):E.call(this,J));};}C.fn.extend({remove:function(){C("*",this).add(this).each(function(){C(this).triggerHandler("remove");});return I.apply(this,arguments);},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui");},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false;});},scrollParent:function(){var J;if((C.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){J=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(C.curCSS(this,"position",1))&&(/(auto|scroll)/).test(C.curCSS(this,"overflow",1)+C.curCSS(this,"overflow-y",1)+C.curCSS(this,"overflow-x",1));
}).eq(0);}else{J=this.parents().filter(function(){return(/(auto|scroll)/).test(C.curCSS(this,"overflow",1)+C.curCSS(this,"overflow-y",1)+C.curCSS(this,"overflow-x",1));}).eq(0);}return(/fixed/).test(this.css("position"))||!J.length?C(document):J;}});C.extend(C.expr[":"],{data:function(L,K,J){return !!C.data(L,J[3]);},focusable:function(K){var L=K.nodeName.toLowerCase(),J=C.attr(K,"tabindex");return(/input|select|textarea|button|object/.test(L)?!K.disabled:"a"==L||"area"==L?K.href||!isNaN(J):!isNaN(J))&&!C(K)["area"==L?"parents":"closest"](":hidden").length;},tabbable:function(K){var J=C.attr(K,"tabindex");return(isNaN(J)||J>=0)&&C(K).is(":focusable");}});function G(M,N,O,L){function K(Q){var P=C[M][N][Q]||[];return(typeof P=="string"?P.split(/,?\s+/):P);}var J=K("getter");if(L.length==1&&typeof L[0]=="string"){J=J.concat(K("getterSetter"));}return(C.inArray(O,J)!=-1);}C.widget=function(K,J){var L=K.split(".")[0];K=K.split(".")[1];C.fn[K]=function(P){var N=(typeof P=="string"),O=Array.prototype.slice.call(arguments,1);
if(N&&P.substring(0,1)=="_"){return this;}if(N&&G(L,K,P,O)){var M=C.data(this[0],K);return(M?M[P].apply(M,O):undefined);}return this.each(function(){var Q=C.data(this,K);(!Q&&!N&&C.data(this,K,new C[L][K](this,P))._init());(Q&&N&&C.isFunction(Q[P])&&Q[P].apply(Q,O));});};C[L]=C[L]||{};C[L][K]=function(O,N){var M=this;this.namespace=L;this.widgetName=K;this.widgetEventPrefix=C[L][K].eventPrefix||K;this.widgetBaseClass=L+"-"+K;this.options=C.extend({},C.widget.defaults,C[L][K].defaults,C.metadata&&C.metadata.get(O)[K],N);this.element=C(O).bind("setData."+K,function(Q,P,R){if(Q.target==O){return M._setData(P,R);}}).bind("getData."+K,function(Q,P){if(Q.target==O){return M._getData(P);}}).bind("remove",function(){return M.destroy();});};C[L][K].prototype=C.extend({},C.widget.prototype,J);C[L][K].getterSetter="option";};C.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled");
},option:function(L,M){var K=L,J=this;if(typeof L=="string"){if(M===undefined){return this._getData(L);}K={};K[L]=M;}C.each(K,function(N,O){J._setData(N,O);});},_getData:function(J){return this.options[J];},_setData:function(J,K){this.options[J]=K;if(J=="disabled"){this.element[K?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",K);}},enable:function(){this._setData("disabled",false);},disable:function(){this._setData("disabled",true);},_trigger:function(L,M,N){var P=this.options[L],J=(L==this.widgetEventPrefix?L:this.widgetEventPrefix+L);M=C.Event(M);M.type=J;if(M.originalEvent){for(var K=C.event.props.length,O;K;){O=C.event.props[--K];M[O]=M.originalEvent[O];}}this.element.trigger(M,N);return !(C.isFunction(P)&&P.call(this.element[0],M,N)===false||M.isDefaultPrevented());}};C.widget.defaults={disabled:false};C.ui.mouse={_mouseInit:function(){var J=this;this.element.bind("mousedown."+this.widgetName,function(K){return J._mouseDown(K);
}).bind("click."+this.widgetName,function(K){if(J._preventClickEvent){J._preventClickEvent=false;K.stopImmediatePropagation();return false;}});if(C.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on");}this.started=false;},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(C.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable));},_mouseDown:function(L){L.originalEvent=L.originalEvent||{};if(L.originalEvent.mouseHandled){return ;}(this._mouseStarted&&this._mouseUp(L));this._mouseDownEvent=L;var K=this,M=(L.which==1),J=(typeof this.options.cancel=="string"?C(L.target).parents().add(L.target).filter(this.options.cancel).length:false);if(!M||J||!this._mouseCapture(L)){return true;}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){K.mouseDelayMet=true;},this.options.delay);}if(this._mouseDistanceMet(L)&&this._mouseDelayMet(L)){this._mouseStarted=(this._mouseStart(L)!==false);
if(!this._mouseStarted){L.preventDefault();return true;}}this._mouseMoveDelegate=function(N){return K._mouseMove(N);};this._mouseUpDelegate=function(N){return K._mouseUp(N);};C(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(C.browser.safari||L.preventDefault());L.originalEvent.mouseHandled=true;return true;},_mouseMove:function(J){if(C.browser.msie&&!J.button){return this._mouseUp(J);}if(this._mouseStarted){this._mouseDrag(J);return J.preventDefault();}if(this._mouseDistanceMet(J)&&this._mouseDelayMet(J)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,J)!==false);(this._mouseStarted?this._mouseDrag(J):this._mouseUp(J));}return !this._mouseStarted;},_mouseUp:function(J){C(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(J.target==this._mouseDownEvent.target);
this._mouseStop(J);}return false;},_mouseDistanceMet:function(J){return(Math.max(Math.abs(this._mouseDownEvent.pageX-J.pageX),Math.abs(this._mouseDownEvent.pageY-J.pageY))>=this.options.distance);},_mouseDelayMet:function(J){return this.mouseDelayMet;},_mouseStart:function(J){},_mouseDrag:function(J){},_mouseStop:function(J){},_mouseCapture:function(J){return true;}};C.ui.mouse.defaults={cancel:null,distance:1,delay:0};})(jQuery);(function(A){A.widget("ui.slider",A.extend({},A.ui.mouse,{_init:function(){var B=this,C=this.options;this._keySliding=false;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this.range=A([]);if(C.range){if(C.range===true){this.range=A("<div></div>");if(!C.values){C.values=[this._valueMin(),this._valueMin()];}if(C.values.length&&C.values.length!=2){C.values=[C.values[0],C.values[0]];}}else{this.range=A("<div></div>");}this.range.appendTo(this.element).addClass("ui-slider-range");
if(C.range=="min"||C.range=="max"){this.range.addClass("ui-slider-range-"+C.range);}this.range.addClass("ui-widget-header");}if(A(".ui-slider-handle",this.element).length==0){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle");}if(C.values&&C.values.length){while(A(".ui-slider-handle",this.element).length<C.values.length){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle");}}this.handles=A(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(D){D.preventDefault();}).hover(function(){if(!C.disabled){A(this).addClass("ui-state-hover");}},function(){A(this).removeClass("ui-state-hover");}).focus(function(){if(!C.disabled){A(".ui-slider .ui-state-focus").removeClass("ui-state-focus");A(this).addClass("ui-state-focus");}else{A(this).blur();}}).blur(function(){A(this).removeClass("ui-state-focus");});this.handles.each(function(D){A(this).data("index.ui-slider-handle",D);
});this.handles.keydown(function(I){var F=true;var E=A(this).data("index.ui-slider-handle");if(B.options.disabled){return ;}switch(I.keyCode){case A.ui.keyCode.HOME:case A.ui.keyCode.END:case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:F=false;if(!B._keySliding){B._keySliding=true;A(this).addClass("ui-state-active");B._start(I,E);}break;}var G,D,H=B._step();if(B.options.values&&B.options.values.length){G=D=B.values(E);}else{G=D=B.value();}switch(I.keyCode){case A.ui.keyCode.HOME:D=B._valueMin();break;case A.ui.keyCode.END:D=B._valueMax();break;case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:if(G==B._valueMax()){return ;}D=G+H;break;case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:if(G==B._valueMin()){return ;}D=G-H;break;}B._slide(I,E,D);return F;}).keyup(function(E){var D=A(this).data("index.ui-slider-handle");if(B._keySliding){B._stop(E,D);B._change(E,D);B._keySliding=false;A(this).removeClass("ui-state-active");}});this._refreshValue();},destroy:function(){this.handles.remove();
this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();},_mouseCapture:function(D){var E=this.options;if(E.disabled){return false;}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var H={x:D.pageX,y:D.pageY};var J=this._normValueFromMouse(H);var C=this._valueMax()-this._valueMin()+1,F;var K=this,I;this.handles.each(function(L){var M=Math.abs(J-K.values(L));if(C>M){C=M;F=A(this);I=L;}});if(E.range==true&&this.values(1)==E.min){F=A(this.handles[++I]);}this._start(D,I);K._handleIndex=I;F.addClass("ui-state-active").focus();var G=F.offset();var B=!A(D.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=B?{left:0,top:0}:{left:D.pageX-G.left-(F.width()/2),top:D.pageY-G.top-(F.height()/2)-(parseInt(F.css("borderTopWidth"),10)||0)-(parseInt(F.css("borderBottomWidth"),10)||0)+(parseInt(F.css("marginTop"),10)||0)};
J=this._normValueFromMouse(H);this._slide(D,I,J);return true;},_mouseStart:function(B){return true;},_mouseDrag:function(D){var B={x:D.pageX,y:D.pageY};var C=this._normValueFromMouse(B);this._slide(D,this._handleIndex,C);return false;},_mouseStop:function(B){this.handles.removeClass("ui-state-active");this._stop(B,this._handleIndex);this._change(B,this._handleIndex);this._handleIndex=null;this._clickOffset=null;return false;},_detectOrientation:function(){this.orientation=this.options.orientation=="vertical"?"vertical":"horizontal";},_normValueFromMouse:function(D){var C,H;if("horizontal"==this.orientation){C=this.elementSize.width;H=D.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0);}else{C=this.elementSize.height;H=D.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0);}var F=(H/C);if(F>1){F=1;}if(F<0){F=0;}if("vertical"==this.orientation){F=1-F;}var E=this._valueMax()-this._valueMin(),I=F*E,B=I%this.options.step,G=this._valueMin()+I-B;if(B>(this.options.step/2)){G+=this.options.step;
}return parseFloat(G.toFixed(5));},_start:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values();}this._trigger("start",D,B);},_slide:function(F,E,D){var G=this.handles[E];if(this.options.values&&this.options.values.length){var B=this.values(E?0:1);if((this.options.values.length==2&&this.options.range===true)&&((E==0&&D>B)||(E==1&&D<B))){D=B;}if(D!=this.values(E)){var C=this.values();C[E]=D;var H=this._trigger("slide",F,{handle:this.handles[E],value:D,values:C});var B=this.values(E?0:1);if(H!==false){this.values(E,D,(F.type=="mousedown"&&this.options.animate),true);}}}else{if(D!=this.value()){var H=this._trigger("slide",F,{handle:this.handles[E],value:D});if(H!==false){this._setData("value",D,(F.type=="mousedown"&&this.options.animate));}}}},_stop:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);
B.values=this.values();}this._trigger("stop",D,B);},_change:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values();}this._trigger("change",D,B);},value:function(B){if(arguments.length){this._setData("value",B);this._change(null,0);}return this._value();},values:function(B,E,C,D){if(arguments.length>1){this.options.values[B]=E;this._refreshValue(C);if(!D){this._change(null,B);}}if(arguments.length){if(this.options.values&&this.options.values.length){return this._values(B);}else{return this.value();}}else{return this._values();}},_setData:function(B,D,C){A.widget.prototype._setData.apply(this,arguments);switch(B){case"disabled":if(D){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");}else{this.handles.removeAttr("disabled");}case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);
this._refreshValue(C);break;case"value":this._refreshValue(C);break;}},_step:function(){var B=this.options.step;return B;},_value:function(){var B=this.options.value;if(B<this._valueMin()){B=this._valueMin();}if(B>this._valueMax()){B=this._valueMax();}return B;},_values:function(B){if(arguments.length){var C=this.options.values[B];if(C<this._valueMin()){C=this._valueMin();}if(C>this._valueMax()){C=this._valueMax();}return C;}else{return this.options.values;}},_valueMin:function(){var B=this.options.min;return B;},_valueMax:function(){var B=this.options.max;return B;},_refreshValue:function(C){var F=this.options.range,D=this.options,L=this;if(this.options.values&&this.options.values.length){var I,H;this.handles.each(function(P,N){var O=(L.values(P)-L._valueMin())/(L._valueMax()-L._valueMin())*100;var M={};M[L.orientation=="horizontal"?"left":"bottom"]=O+"%";A(this).stop(1,1)[C?"animate":"css"](M,D.animate);if(L.options.range===true){if(L.orientation=="horizontal"){(P==0)&&L.range.stop(1,1)[C?"animate":"css"]({left:O+"%"},D.animate);
(P==1)&&L.range[C?"animate":"css"]({width:(O-lastValPercent)+"%"},{queue:false,duration:D.animate});}else{(P==0)&&L.range.stop(1,1)[C?"animate":"css"]({bottom:(O)+"%"},D.animate);(P==1)&&L.range[C?"animate":"css"]({height:(O-lastValPercent)+"%"},{queue:false,duration:D.animate});}}lastValPercent=O;});}else{var J=this.value(),G=this._valueMin(),K=this._valueMax(),E=K!=G?(J-G)/(K-G)*100:0;var B={};B[L.orientation=="horizontal"?"left":"bottom"]=E+"%";this.handle.stop(1,1)[C?"animate":"css"](B,D.animate);(F=="min")&&(this.orientation=="horizontal")&&this.range.stop(1,1)[C?"animate":"css"]({width:E+"%"},D.animate);(F=="max")&&(this.orientation=="horizontal")&&this.range[C?"animate":"css"]({width:(100-E)+"%"},{queue:false,duration:D.animate});(F=="min")&&(this.orientation=="vertical")&&this.range.stop(1,1)[C?"animate":"css"]({height:E+"%"},D.animate);(F=="max")&&(this.orientation=="vertical")&&this.range[C?"animate":"css"]({height:(100-E)+"%"},{queue:false,duration:D.animate});}}}));A.extend(A.ui.slider,{getter:"value values",version:"1.7.2",eventPrefix:"slide",defaults:{animate:false,delay:0,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null}});
})(jQuery);window.eipf=window.eipf||{};eipf.productDropdown=eipf.productDropdown||{};(function(B){B.categoryView=function A(){$("#categories-list > ul > li").each(function(D){$(this).addClass("li"+D);});var C=function(E,F){var D=(F>0?"+2":"-2");if($("#slider-bar").length){$("#slider-bar").slider("value",parseInt($("#slider-bar").slider("value"))+parseInt(D));}E.stopPropagation();E.preventDefault();};$("#categories-list > ul > li > ul").mousewheel(C);$("#categories-list > ul > li > a").click(function(I){I.preventDefault();var G=$(this).parent().parent();var E=$(this).parent();$("#categories-list a.main-link").remove();$("#categories-list a.main-link2").css("display","block");$(this).addClass("main-link").clone().insertBefore(E);$("#categories-list a.main-link").click(function(){return false;});$(this).css("display","none").removeClass("main-link").addClass("main-link2");var J=$(this);var F=$(" + ul:hidden",this),D=$(this).parent();if($("#slider-bar").length){$("#slider-bar").slider("value",100);
$("#slider-bar").slider("destroy").remove();}$("#categories-list > ul > li").css("border-bottom","none");$("#categories-list > ul > li").animate({height:"18px"});var H=E.attr("class");H=H.match("(li)([0-9]+)");H=parseInt(H[2]);D.animate({height:"280px"},1000,function(){D.height("280px");D.css("border-bottom","1px solid #ccc");var L=32;var K=20;L=L+(H*K);var M=F.innerHeight();G.append('<div id="slider-bar" style="top:'+L+'px"></div>');$("#slider-bar").slider({orientation:"vertical",animate:true,value:"100",change:function(P,O){var N=D.attr("scrollHeight")-D.height();D.attr({scrollTop:(100-O.value)*(N/100)});},slide:function(P,O){var N=D.attr("scrollHeight")-D.height();D.attr({scrollTop:(100-O.value)*(N/100)});}});$("#categories-list a.main-link").click(function(){$("#slider-bar").slider("value",100);$("#slider-bar").slider("destroy").remove();$("+ li",this).animate({height:"18px"});$("#categories-list > ul > li").css("border-bottom","none");J.css("display","block");$(this).remove();return false;
});});return false;});$(".product-database .listmode dl dt").click(function(){var D=$(this).next("dd").hasClass("visible");$(".product-database .listmode dl dd").slideUp("500").removeClass("visible");if(D){$(this).next("dd").slideUp("500").removeClass("visible");}else{$(this).next("dd").slideDown("1000").addClass("visible");}});$("a.locked").click(function(F,D){$("#corp-toolbox-login").append('<div id="login-flyout"></div>');var E=$(this).attr("href");$("#corp-toolbox-login div#login-flyout").load(E+" #userregistration form",function(){$("#corp-toolbox-login a").trigger("click");});return false;});};})(eipf.productDropdown);function initFaqGear(){$(".faq-gear dt").toggle(function(){$(this).next("dd:hidden").css("display","block");},function(){$(this).next("dd:visible").css("display","none");});}(function(A){A.fn.reverseOrder=function(){return this.each(function(){A(this).prependTo(A(this).parent());});};})(jQuery);var minionbolditalic={src:"/portal/templates/newcorporate/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]};
var minionitalic={src:"/portal/templates/newcorporate/style/img/minion-pro-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]};var imagobold={src:"/portal/templates/newcorporate/style/img/imago-pro-bold.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(minionitalic);sIFR.activate(imagobold);sIFR.activate(minionbolditalic);function overwriteSifr(){var B=$("body").hasClass("country-home");var C=$("body").hasClass("list-mode4NCT");var D=$("body").hasClass("media-release");var A=$("body").hasClass("product-db");if(typeof sIFR=="object"){if($("body.sIFR-active").length){$("html").addClass("sIFR-hasFlash");}sIFR.replace(imagobold,{selector:"#corp-toolbox-site-indicator",wmode:"transparent",forceSingleLine:true,css:{".sIFR-root":{color:"#333333"}}});if(B){sIFR.replace(imagobold,{selector:"#region1 .lighttext div.articleheadline p",wmode:"transparent",css:{".sIFR-root":{color:"#F9FDFC"}}});
sIFR.replace(minionbolditalic,{selector:".lighttext h3",wmode:"transparent",css:{".sIFR-root":{color:"#F9FDFC","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionitalic,{selector:"#region1 .lighttext div.articleabstract p",wmode:"transparent",css:{".sIFR-root":{color:"#F9FDFC","font-style":"italic",leading:"-3"}}});sIFR.replace(imagobold,{selector:"#region1 div.articleheadline p",wmode:"transparent",css:{".sIFR-root":{color:"#333333"}}});sIFR.replace(minionbolditalic,{selector:"h3",wmode:"transparent",css:{".sIFR-root":{color:"#333333","font-weight":"bold","font-style":"italic",leading:"-10"}}});sIFR.replace(minionitalic,{selector:"#region1 div.articleabstract p",wmode:"transparent",css:{".sIFR-root":{color:"#333333","font-style":"italic",leading:"-3"}}});sIFR.replace(minionbolditalic,{selector:"h4",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic",leading:"-6"}}});}else{if(C){sIFR.replace(minionbolditalic,{selector:"div.detailmode h3.articletitle",wmode:"transparent",css:{".sIFR-root":{color:"#333333","font-weight":"bold","font-style":"italic"}}});
sIFR.replace(minionbolditalic,{selector:"h2",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic"}}});}else{if(D){sIFR.replace(minionbolditalic,{selector:"div.detailmode h3.articletitle",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic"}}});}else{sIFR.replace(minionbolditalic,{selector:"h3.articletitle, h2.title",wmode:"transparent",css:{".sIFR-root":{color:"#333333","font-weight":"bold","font-style":"italic"}}});}}}sIFR.replace(minionbolditalic,{selector:"div.media-release h2",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic","font-size":"19px"}}});sIFR.replace(minionbolditalic,{selector:"#userregistration-s2 h3",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic",leading:"-6"}}});sIFR.replace(minionbolditalic,{selector:".contact h2",wmode:"transparent",css:{".sIFR-root":{color:"#333333","font-weight":"bold","font-style":"italic"}}});
sIFR.replace(minionitalic,{selector:"blockquote",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-style":"italic",leading:"-6"}}});}}jQuery.jQueryRandom=0;jQuery.extend(jQuery.expr[":"],{random:function(B,C,A,D){if(C==0){jQuery.jQueryRandom=Math.floor(Math.random()*D.length);}return C==jQuery.jQueryRandom;}});function flyoutSitemap(){$("#corp-toolbox-sitemap > a").click(function(){if($("#container span.ajax-loader").length==0){$("#container").prepend('<span class="ajax-loader"></span>');}});$("#corp-toolbox-sitemap > a").toggle(function(){if($("#corp-toolbox-sitemap div#sitemap-flyout ul.ul0").length!=0){$("#corp-toolbox-sitemap > a").addClass("sitemap-flyout");$("#corp-toolbox-sitemap div#sitemap-flyout").slideDown("slow");}else{$("#corp-toolbox-sitemap > a").addClass("sitemap-flyout");$("#corp-toolbox-sitemap").append('<div id="sitemap-flyout"></div>');var B=$("#corp-toolbox-sitemap > a").attr("href");$("#corp-toolbox-sitemap div#sitemap-flyout").load(B+" #sitemap ul.ul0",function(){if(jQuery.isFunction(jQuery.fn.bgiframe)){$(this).bgiframe();
}$("#container span.ajax-loader").addClass("off");var D=$("#sitemap-flyout ul.ul0 > li").get();for(var C=0;C<D.length;C++){if(((C%5)==0)&&(C>3)){$(D[C-1]).after('<li class="ul0 sep">&nbsp;</li>');}}$("#sitemap-flyout li.ul2").toggle(function(E){if($(E.target).is("li.ul2")){$(this).addClass("show");$("ul",this).show("300");}},function(E){if($(E.target).is("li.ul2")){$("ul",this).hide("250");$(this).removeClass("show");}});$("#sitemap-flyout li.ul2 a").click(function(){var E=$(this).attr("href");window.location=E;});});$("#corp-toolbox-sitemap div#sitemap-flyout").css("display","none").slideDown("slow");}var A=$("#sitemap-flyout").get(0);$("#tool-box").trigger("closeOtherFlyouts",A);return false;},function(){$("#corp-toolbox-sitemap div#sitemap-flyout").slideUp("slow",function(){$("#corp-toolbox-sitemap > a").removeClass("sitemap-flyout");});return false;});}function sitemapPercentsVizualization(){$("#full-search strong.percents").each(function(){var A=$(this).text();A=A.slice(0,3);parcents=parseFloat(A);
if(A>=0&&A<10){$(this).addClass("percent-box-1");}if(A>=10&&A<30){$(this).addClass("percent-box-2");}if(A>=30&&A<50){$(this).addClass("percent-box-3");}if(A>=50&&A<70){$(this).addClass("percent-box-4");}if(A>=70&&A<90){$(this).addClass("percent-box-5");}if(A>=90&&A<=100){$(this).addClass("percent-box-6");}});}function menuHorizontal(){$("#menu li a").each(function(){$("#menu").addClass("menu-has-images");var A=$("span",this).html();A=encodeURI(A);$(this).css("background-image","url(/portal/textRenderer?text="+A+")");});$("#menu li").not(".slide-menu").bind("mouseover",function(){var A=$(this).parents("li.ul0").hasClass("slide-menu");if(A==false){$("> ul",this).addClass("menu-expanded");if($("> ul",this).length>0){$(this).addClass("show-path");}}});$("#menu li").not(".slide-menu").bind("mouseout",function(){$("> ul",this).removeClass("menu-expanded");$(this).removeClass("show-path");});}var menuTimer;var menuOpen;function menuHorizontal2(){$("#menu ul").bind("mouseover",function(){$(this).addClass("menu-expanded");
menuOpen=$(this);if($(this).length>0){$(this).addClass("show-path");}});$("#menu li").bind("mouseover",function(){if(menuOpen!=null){menuOpen.children().removeClass("menu-expanded");}clearTimeout(menuTimer);if($(this).children("ul")!=menuOpen){$(this).children("ul:first").addClass("menu-expanded");}$(this).children("ul:hidden").removeClass("show-path");});$("#menu li").bind("mouseout",function(){menuOpen=$(this);menuTimer=setTimeout('menuOpen.children("ul:first").removeClass("menu-expanded");',4000);$(this).removeClass("show-path");});}function menuHorizontal3(){$("#menu li a").each(function(){$("#menu").addClass("menu-has-images");var A=$("span",this).html();A=encodeURIComponent(A);$(this).css({"background-image":"url(/portal/textRenderer?text="+A+"&textColor=333333&textColor2=0066cc&textColor3=666666&textColor4=0066cc&vSpace=20)"});});$("#menu ul").superfish({delay:1000,animation:{opacity:"none",height:"show"},speed:"normal",autoArrows:false,dropShadows:false});}function glossary(){$("#glossary dl dl dt").prepend("> ");
$("#glossary dd:first").addClass("show");$("#glossary dl dl dt:first").addClass("mark");$("#glossary dd dd:first").addClass("show");var A=$("#glossary dd dd:first").height();$("#glossary dl dl:first").css("height",A);$("#glossary > dl > dt").not("dt.empty").each(function(){$(this).click(function(){$("#glossary > dl > dd").removeClass("show");$(this).next("dd").addClass("show");});});$("#glossary > dl > dd > dl > dt").each(function(){$(this).click(function(){$("#glossary > dl > dd > dl > dd").removeClass("show");$("#glossary > dl > dd > dl > dt").removeClass("mark");$(this).addClass("mark");$(this).next("dd").addClass("show");var B=$(this).next("dd").height();$(this).parent().css("height",B);});});}function slideMenu(){var D=$("#menu li.ul0.slide-menu").hasClass("selected");if(D){var A=$("#menu li.ul2.parent.selected > ul");if(A.length>0){var C=$("#menu li.ul2.parent.selected > ul").html();$("#region1").prepend('<div id="slide-menu-horizontal"><ul>'+C+"</ul></div>");}$("#menu li.ul0.slide-menu > ul").css("display","block");
$("body").addClass("slide-menu");var B=$("#menu li.ul0.slide-menu > ul").height();$("#regions1-18").css("margin-top",B+181);}$("#menu li.ul1 > a").click(function(){var E=$(this).parent().children("ul:first").css("display");$("#menu li.ul1 > ul").parent().removeClass("arrow-open").children("ul").slideUp();if(E=="block"){$(this).parent().removeClass("arrow-open").children("ul:first").slideUp();}else{$(this).parent().addClass("arrow-open").children("ul:first").slideDown();}return false;});}function flashPlayer(){var C=$('.synergy-gear embed[flashplayer="true"]');if(C.length>0){var A=C.attr("src");C.css("display","none");C.parent().append('<div id="flash-play-this"></div>');var B=new SWFObject("/portal/eipf/script/flashplayer/player.swf","player","400","300","9");B.addParam("allowfullscreen","true");B.addParam("allowscriptaccess","always");B.addParam("flashvars","file=http://content.bitsontherun.com/videos/3ta6fhJQ.flv");B.write("flash-play-this");}}function externalLinks(){$('#layout a[href^="http://"]').addClass("external");
}function atLeastOneChecked(A){if($(A).length==0){return true;}return($(A).find('input[@type="checkbox"]:checked').length==0)?false:true;}function isValidEmail(A){if($(A).length==0){return false;}if($(A).val().length==0){return false;}return($(A).val().length>5&&$(A).val().indexOf("@")>-1&&$(A).val().indexOf(".")>-1)?true:false;}function isValidCode(A){if($(A).length==0){return true;}if($(A).val().length==0){return true;}return(!isNaN($(A).val())&&$(A).val().length>4)?true:false;}function showError(C){var A=$(C).parent().find("input");var B=A[A.length-1].value;$(C).parent().removeClass("error").find("p.error_message").remove();var D=document.createElement("p");$(D).addClass("error_message").append(B).css("display","none");$(C).parent().addClass("error").append(D);$(D).slideDown("slow");}function showErrorMessage(C,D,A,B){$("#standard-error li").show("normal",ieSlideFix);$("#success").show("normal",ieSlideFix);$("#layout form").submit(function(){try{$(C+" p.error_message").hide();$(C+" .mandatory").removeClass("error");
var J=$(this).find(".mandatory :text, .mandatory :checkbox, .mandatory textarea, .mandatory select, .mandatory :radio").filter(function(){return !($(this).css("display")=="none");});J.each(function(){if($(this).is(":text, textarea")&&$(this).val().length==0){showError(this);}else{if($(this).is(":checkbox")&&!$(this).is(":checked")){showError(this);}else{if($(this).is(":radio")&&$(this).parent().parent().find(":checked").length==0){showError(this);}else{if($(this).is("select")&&$(this).get(0).options.selectedIndex==0){showError(this);}}}}});if(B!=null){if(!atLeastOneChecked(B)){var G=$(B).find('input[@type="checkbox"]')[0];showError(G);}}if(($(D).val().length!=0)&&!isValidEmail(D)){var E=$("#email_error_message").val();var I=document.createElement("p");$(I).addClass("error_message").append(E).css("display","none");$(D).parent().addClass("error").append(I);$(I).slideDown("slow");}for(var F=0;F<J.length;F++){if((J.eq(F).is(":text, textarea")&&J.eq(F).val().length==0)){return false;}else{if(J.eq(F).is(":checkbox")&&!(J.eq(F).is(":checked"))){return false;
}else{if(J.eq(F).is(":radio")&&J.eq(F).parent().parent().find(":checked").length==0){return false;}else{if(J.eq(F).is("select")&&J.eq(F).get(0).options.selectedIndex==0){return false;}}}}}if(!atLeastOneChecked(B)){return false;}if(!isValidEmail(D)){return false;}return true;}catch(H){return true;}});}function ieSlideFix(){$("#region15,button").css("opacity",0.9).css("opacity",1);}function menuHorizontalFlash(){if($("#menu").length!=0){var B=deconcept.SWFObjectUtil.getPlayerVersion();if(!B.major){$("html").removeClass("js");}if(B.major){$("#menu").append('<div id="flash-navigation" style="height:42px" class="flyoutnav"></div>');}var A=new SWFObject("/portal/templates/newcorporate/style/img/navigation.swf","flash-nav","100%","100%","8","#ffffff");A.addParam("wmode","transparent");A.addParam("scale","noscale");A.addParam("salign","tl");A.addVariable("containerID","flash-navigation");A.addVariable("activeEntryID",PAGE_ID);A.addVariable("navXML","/portal/flashSitemap?communityId="+COMMUNITY_ID);
A.write("flash-navigation");var C;$("#flash-navigation").hover(function(){clearTimeout(C);},function(){clearTimeout(C);if($("#flash-nav").length!=0){C=window.setTimeout(function(){$("#flash-nav").get(0).SetVariable("mouseIsOver","0");},500);}});}}function oneLevelmenuHorizontalFlash(){if($("#menu").length!=0){function C(){return false;}function B(){return false;}$("#menu").prepend('<div id="flash-navigation"></div>');var A=new SWFObject("/portal/templates/newcorporate/style/img/navigation.swf","flash-nav","100%","42px","8","#ffffff");A.addParam("wmode","transparent");A.addParam("scale","noscale");A.addParam("salign","tl");A.addVariable("containerID","flash-navigation");A.addVariable("activeEntryID",PAGE_ID);A.addVariable("navXML","/portal/flashSitemap?communityId="+COMMUNITY_ID);A.write("flash-navigation");}}var ZINDEX_ACTIVE=1000;var ZINDEX_INACTIVE=100;if($.browser.msie&&parseInt($.browser.version)<8){if($("#menu.generated").length>0){function resizeNavigation(F,C){if($("#menu.generated").length>0){var E=$("#"+F);
var D=E.parents(".flyoutnav_positioner:first");var A=ZINDEX_ACTIVE;var B;if(C.height){B=C.height;if($("#stage-zone").length&&B==42){B=41;}E.height(B);}}}}}else{resizeNavigation=function(D,A){var C=$("#"+D);var B=C.parents(".flyoutnav_positioner:first");if(A){if($("#menu.generated").length>0){calculateClipping(C,B,A);}}};}function calculateClipping(G,F,C){if($("#menu.generated").length>0){var E=F.width();var B=F.height();var A=0;var D=0;if(C){E=C.width?C.width:F.width();B=C.height?C.height:F.height();if(C.valign&&C.valign=="bottom"&&$flyFlutnav.hasClass("open")){A=G.height()-F.height();B=F.height();}if(C.align&&C.align=="right"&&G.hasClass("open")){D=G.width()-F.width();E=F.width();}}G.css({clip:"rect("+A+"px, "+E+"px, "+B+"px, "+D+"px)"});if($("#stage-zone").length&&B==42){B=41;}G.height(B);}}function countryHome(){$("body.country-home #region1 div.synergy-gear div.linkView a").appendTo("body.country-home #region1 div.synergy-gear div.articleabstract p");}function flyoutLogin(A){$("#corp-toolbox-login > a").click(function(){if($("#container span.ajax-loader").length==0){$("#corp-toolbox-login").prepend('<span class="ajax-loader"></span>');
}});$("#corp-toolbox-login > a").toggle(function(){if($("#corp-toolbox-login div#login-flyout form").length!=0){$("#corp-toolbox-login > a").addClass("login-flyout");$("#corp-toolbox-login div#login-flyout").slideDown("slow");}else{$("#corp-toolbox-login > a").addClass("login-flyout");$("#corp-toolbox-login").append('<div id="login-flyout"></div>');var B=$("#corp-toolbox-login > a").attr("href");$("#corp-toolbox-login div#login-flyout").load(B+" #userregistration form",function(){$("#container span.ajax-loader").addClass("off");if(A){$("input").attr({type:"hidden",name:"/atg/userprofiling/ProfileFormHandler.loginSuccessURL",value:A});}});$("#corp-toolbox-login div#login-flyout").css("display","none").slideDown("slow");}return false;},function(){$("#corp-toolbox-login > a").removeClass("login-flyout");$("#corp-toolbox-login div#login-flyout").slideUp("slow");return false;});$("#corp-toolbox-logout > a").click(function(){var B=$("#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(B+" #userregistration form",function(){$("#corp-toolbox-logout form").submit();});return false;});}function moveDateToFooter(B){$("#footer ul li").each(function(D){var D=+D;$(this).addClass("li-"+D);moveDateToFooter.numberOfItems=D;});var A=moveDateToFooter.numberOfItems;if($("html#re7112002").length>0){B=0;}else{if($("html#re791001").length){B=2;}}if(A<B){B=A;}A-=B;var C=$("#region1 div.detailmode small.date").html();if(C!=null){$("<li>"+C+"</li>").insertAfter("#footer ul li.li-"+A);}}function footerKvalitetse(){$("#footer #footer-kvalitetse").click(function(){window.location.href="http://www.lif.se/cs/default.asp?id=8400";});}function bookmarkPage(){var A=location.href;var A=location.href;var B=document.title;$("li.add-to-bookmark a").click(function(){if($.browser.msie){window.external.AddFavorite(A,B);}else{if(window.sidebar){window.sidebar.addPanel(B,A,"");}}return false;});}function footerKvalitetse(){$("#footer #footer-kvalitetse").click(function(){window.location.href="http://www.lif.se/cs/default.asp?id=8400";
});}function searchFlyout(){if($("#corp-toolbox-search").length>0){$("body").addClass("flyout-search");$("#search").clone().appendTo("#corp-toolbox-search");}}function mailtoIcon(){$("#layout a").each(function(){var A=$(this).attr("href");if(A!=undefined){A=A.slice(0,6);}if(A=="mailto"){$(this).addClass("mailto");}});}function tabCards(){if($.browser.msie){try{document.execCommand("BackgroundImageCache",false,true);}catch(B){}}var A=$("div.synergy-gear div.tab-cards ul.contents");$("~ div[class^=tab]",A).hide("fast");$("~ div.tab0",A).addClass("show");$("li",A).wrapInner("<span></span>");$("li",A).each(function(C){$(this).addClass("tab"+C);});$("li.tab0",A).addClass("selected");$("li",A).click(function(D){var C=$(this).attr("class");var E=$(this).parent();$("li",E).removeClass("selected");$("li."+C,E).addClass("selected");$("~ div",E).removeClass("show").fadeOut("fast");$("~ div."+C,E).addClass("show").fadeIn("fast");$("body").addClass("iesucks").removeClass("iesucks");});}function confirmCheckbox(){$("div.articlecontent").css({visibility:"hidden",position:"absolute",left:"-9999px",width:"550px"});
$("#confirm-button").click(function(){var A=$("#confirm-checkbox").attr("checked");if(A==true){$("div.articlecontent").css({visibility:"visible",position:"relative",left:"auto"});$("div.articleabstract").hide("slow");}else{$(".articleabstract label").css("color","#A70000");}});}function fixIEToolbox(){$("div.contenttoolbox-on .contenttoolbox").hide().show();}function countryHome(){var B=$("#region1 div.articlecontent img").attr("src");var A=$("#region1 div.linkView a").attr("href");$("#region1 div.maincontent").css("background-image",'url("'+B+'")');}function listMode4NCT(){$("#region4 h3.articletitle").click(function(){var A=$(this).next("div.articlecontent").hasClass("visible");$("#region4 div.articlecontent").slideUp("500").removeClass("visible");if(A){$(this).next("div.articlecontent").slideUp("500").removeClass("visible");}else{$(this).next("div.articlecontent").slideDown("1000").addClass("visible");}});}function callTracking(){}function countryHomeFlash(G,A){if($("body.country-home-flash-"+G).length==0){return false;
}if(G=="mvc"){if(typeof A=="undefined"){var D="_de";var C="_de";var F="http://www.roche.com/de/personalised_healthcare.htm";}else{var D=A.lang_suffix;var C=A.video_suffix;var F=A.learnMoreUrl;}var B="/portal/templates/newcorporate/style/img/countryHomeFlash/mvc2/";var E=new SWFObject(B+"_resources/swf/main.swf","movie","1024","580","8","#ffffff");E.addVariable("contentXML",B+"_resources/xml/phc"+D+".xml");E.addVariable("flvSrc1",B+"_assets/flv/krebs"+C+".flv");E.addVariable("flvSrc2",B+"_assets/flv/hepatitis"+C+".flv");E.addVariable("learnMoreUrl",F);E.addVariable("hasTracking",false);E.addParam("quality","HIGH");E.addParam("salign","tl");E.addParam("scale","noscale");E.addParam("menu","false");E.addParam("allowScriptAccess","sameDomain");E.addParam("wmode","transparent");E.write("region1");}else{if(G=="m"){var E=new SWFObject("/portal/templates/newcorporate/style/img/countryHomeFlash/m2/_resources/swf/cancerTreatment_090520.swf","movie","1024","580","8","#ffffff");E.addVariable("xmlbase","/portal/templates/newcorporate/style/img/countryHomeFlash/m2/_resources/xml/");
E.addVariable("settingxml","settings_de.xml");E.addVariable("contentxml","main_de_090525.xml");E.addVariable("mediabase","/portal/templates/newcorporate/style/img/countryHomeFlash/m2/_assets/");E.addVariable("sendMethod","POST");E.addVariable("postUrl","/portal/templates/newcorporate/style/img/countryHomeFlash/m2/headers_de.html");E.addVariable("postVars","feature=cancerTreatment|name2=var2");E.addVariable("hasTracking",true);E.addParam("quality","HIGH");E.addParam("salign","tl");E.addParam("scale","noscale");E.addParam("menu","false");E.addParam("allowScriptAccess","sameDomain");E.addParam("wmode","transparent");E.write("region1");SWFAddress.removeId("flash-nav");SWFAddress.addId("movie");}else{if(G=="m2"){var E=new SWFObject("/portal/templates/newcorporate/style/img/countryHomeFlash/m/swf/history.swf","movie","1024","580","8","#ffffff");E.addVariable("xmlsrc","history_en_without_download.xml");E.addVariable("xmlBase","/portal/templates/newcorporate/style/img/countryHomeFlash/m/xml/");
E.addVariable("explorerBgColor","0xFFFFFF");E.addVariable("imgBase","/portal/templates/newcorporate/style/img/countryHomeFlash/m/img/");E.addVariable("wmode","transparent");E.addParam("wmode","transparent");E.addVariable("menu","false");E.write("region1");}else{if(G=="mvc3"){var E=new SWFObject("/portal/templates/newcorporate/style/img/countryHomeFlash/mvc/flash/main.swf","movie","1024","580","8","#ffffff");E.addVariable("xmlDataPath","/portal/templates/newcorporate/style/img/countryHomeFlash/mvc/xml/data-de.xml");E.addVariable("cssPath","/portal/templates/newcorporate/style/img/countryHomeFlash/mvc/css/style.css");E.addVariable("assetPath","/portal/templates/newcorporate/style/img/countryHomeFlash/mvc/img/");E.addVariable("wmode","transparent");E.addVariable("menu","false");E.addParam("wmode","transparent");E.write("region1");}}}}$("#region1 embed, #region1 object").css("position","relative");}function randomParagraph(){$(".newcsscontentgear .random-paragraph p").hide();$(".newcsscontentgear .random-paragraph p:random").show();
}function cssDisclaimer(){}function announcementCheck(){var B;$("div.newcsscontentgear > div.detailmode > div.announcement").each(function(){$(this).parent().parent().parent().addClass("hasannouncement");});var A=$("<a></a>").attr("href","#").addClass("close").click(function(){$(this).parent(".announcement").parent().parent().remove();return false;});A.text((typeof cssDisclaimerInfo!="undefined")?cssDisclaimerInfo.announcementCloseBox:"");A.appendTo("div.newcsscontentgear > div.detailmode > div.announcement");sIFR.replace(minionbolditalic,{selector:"div.announcement strong.CMS-article-title",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic"}}});}function fireAll(){if($("body.list-mode4NCT").length>0){listMode4NCT();}if($("div.detailmode div.confirm-checkbox").length>0){confirmCheckbox();}if($.browser.msie){fixIEToolbox();}if($("body.product-db").length>0){eipf.productDropdown.categoryView();}externalLinks();HK_date();overwriteSifr();badsifr();
if($("html.sIFR-hasFlash").length){if($("#menu.generated").length>0){menuHorizontalFlash();}else{oneLevelmenuHorizontalFlash();}}else{$("#menu").addClass("no-flash");if(!(navigator.userAgent.match(/iPhone/i))||(navigator.userAgent.match(/iPod/i))){standardMenu({speed:300});}else{$("#menu").addClass("iphone");$("ul.ul0>li>ul.ul1").addClass("downlevel");if($("#menu.iphone li.selected ul.downlevel").length){$("#layout").addClass("iphone");}}}glossary();initFaqGear();toolboxFlyouts();flyoutSitemap();sitemapPercentsVizualization();eipf.changeTextSize.corpToolboxChangetextsize("3");if($("body.country-home").length>0){countryHome();}var C=["mvc","m","mvc3","m2"];for(var B=0,A=C.length;B<A;B++){countryHomeFlash(C[B]);}flyoutLogin();bookmarkPage();footerKvalitetse();searchFlyout();mailtoIcon();tabCards();randomParagraph();showErrorMessage(".form-builder","#contact-form-email","#contact-from-zip",".checkboxgroup");cssDisclaimer();announcementCheck();listDetail();}$(window).load(function(){if($.browser.msie){var A=setTimeout("$('div#footer').hide().show()",1000);
}});$(document).ready(fireAll);function toolboxFlyouts(){$("#tool-box").bind("closeOtherFlyouts",function(B,A,C){$(A).parent().parent().children().not($(A).parent()).children("div:visible").prev("a").click();});}function listDetail(){$(".listmode small.date").each(function(){$(this).after($(this).prev());});$("html.sIFR-hasFlash body.text #region1 .listmode h3").after(" -");}function HK_date(){var B=new Date();var A=B.getDate()+"/"+(B.getMonth()+1)+"/"+B.getFullYear();$("#footer-current-date").append(A);if($("#footer ul li:first")[0].id!="roche-copy"){$("#footer ul li:not(.disclaimer-below)").reverseOrder();}}function badsifr(){sIFR.replace(minionbolditalic,{selector:"body.media-release h2",wmode:"transparent",css:{".sIFR-root":{color:"#333333","font-weight":"bold","font-style":"italic"}}});sIFR.replace(minionbolditalic,{selector:"h4",wmode:"transparent",css:{".sIFR-root":{color:"#666666","font-weight":"bold","font-style":"italic",leading:"-6"}}});}function iefixsifr(){$("body.media-release h2, h4").addClass("fixsifr");
}function standardMenu(A){A=$.extend({speed:500},A||{});$("#menu > ul").each(function(){var C=this,G=1000;function F(I){if(I.nodeName.toLowerCase()=="li"){var H=$("> ul",I);return H.length?H[0]:null;}else{return I;}}function D(H){if(H.nodeName.toLowerCase()=="ul"){return $(H).parents("li")[0];}else{return H;}}function E(){var H=F(this);if(!H){return ;}$.data(H,"cancelHide",false);setTimeout(function(){if(!$.data(H,"cancelHide")){$(H).slideUp(A.speed);}},500);}function B(){var I=F(this);if(!I){return ;}$.data(I,"cancelHide",true);$(I).css({zIndex:G++}).slideDown(A.speed);if(this.nodeName.toLowerCase()=="ul"){var H=D(this);$(H).addClass("selected-item");$("> a",H).addClass("selected-item");}}$("ul, li",this).hover(B,E);$("li",this).hover(function(){$(this).addClass("selected-item");$("> a",this).addClass("selected-item");},function(){$(this).removeClass("selected-item");$("> a",this).removeClass("selected-item");});});}$(document).ready(function(){$("#re7188003 .list-mode4NCT .maincontent .articlecontent p").append("<div class='clearboth'/>");
if(!$("#re7188003 .list-mode4NCT #region1 .product-database div.detailmode").length){$(".pharma-list").show();$("html#re7188003 body.product-db #region1").css({height:"35px"});}else{if($("#re7188003 .list-mode4NCT #region1 div.detailmode").length){$("#region4 #breadcrumb").hide();$("html#re7188003 body.list-mode4NCT #layout").css({height:"auto"});}}if($("#re7188003 .list-mode4NCT #region1 div.detailmode").length||$("#re7188003 .media-release").length||$("#re7188003 .contact").length||$("#re7188003 .country-home").length||$("#re7188003 .text").length){$("#footer").wrap('<div class="footerwrap"></div>');if($.browser.msie&&($("body.product-db").length||$("body.contact").length)){$(".footerwrap").wrap('<fieldset style="position: relative; border: none;"></fieldset>');}}$("html#re7188003.sIFR-hasFlash body.content-visual-s-portrait #region1 .articlecontent h4+p").addClass("eventpara");$("#corp-toolbox-rochesite-uppercase a").attr("target","_blank");$("body.text #region1>div.synergy-gear").addClass("region1-synergy-gear");
$("body.text #region1>#breadcrumb+div.synergy-gear").addClass("region1-breadcrumb-synergy-gear");});