(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return!!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return!!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return+new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return!o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return-1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});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(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[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(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.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(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return!!T.firstChild},empty:function(T){return!T.firstChild},has:function(V,U,T){return!!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex"in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.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(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.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(E){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(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.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 H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).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(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});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(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},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(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return!F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){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(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.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(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.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(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){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 I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,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(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.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 G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}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 J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<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>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1;}
var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}
expires='; expires='+date.toUTCString();}
var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}
return cookieValue;}};;/*
 * jQuery UI 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.4",plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,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,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none")},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?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):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"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"));if(!isNaN(b)&&b!=0)return b}a=a.parent()}}return 0}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c.style(this,h,d(this,f)+"px")})};c.fn["outer"+
b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c.style(this,h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}})}})(jQuery);;
/*
 * jQuery UI Widget 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(b,j){var k=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return k.call(b(this),a,c)})};b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.substring(0,1)==="_")return h;e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);if(g){d&&g.option(d);g._init()}else b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,b.metadata&&b.metadata.get(c)[this.widgetName],a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(a,c){var d=a,e=this;if(arguments.length===0)return b.extend({},e.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}b.each(d,function(f,h){e._setOption(f,h)});return e},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);;
/*
 * jQuery UI Mouse 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 * jquery.ui.widget.js
 */
(function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(a._preventClickEvent){a._preventClickEvent=false;b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);c.browser.safari||a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=a.target==this._mouseDownEvent.target;this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-
a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);;(function(c){c.ui=c.ui||{};var m=/left|center|right/,n=/top|center|bottom/,p=c.fn.position,q=c.fn.offset;c.fn.position=function(a){if(!a||!a.of)return p.apply(this,arguments);a=c.extend({},a);var b=c(a.of),d=(a.collision||"flip").split(" "),e=a.offset?a.offset.split(" "):[0,0],g,h,i;if(a.of.nodeType===9){g=b.width();h=b.height();i={top:0,left:0}}else if(a.of.scrollTo&&a.of.document){g=b.width();h=b.height();i={top:b.scrollTop(),left:b.scrollLeft()}}else if(a.of.preventDefault){a.at="left top";g=h=0;i={top:a.of.pageY,left:a.of.pageX}}else{g=b.outerWidth();h=b.outerHeight();i=b.offset()}c.each(["my","at"],function(){var f=(a[this]||"").split(" ");if(f.length===1)f=m.test(f[0])?f.concat(["center"]):n.test(f[0])?["center"].concat(f):["center","center"];f[0]=m.test(f[0])?f[0]:"center";f[1]=n.test(f[1])?f[1]:"center";a[this]=f});if(d.length===1)d[1]=d[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(a.at[0]==="right")i.left+=g;else if(a.at[0]==="center")i.left+=g/2;if(a.at[1]==="bottom")i.top+=h;else if(a.at[1]==="center")i.top+=h/2;i.left+=e[0];i.top+=e[1];return this.each(function(){var f=c(this),k=f.outerWidth(),l=f.outerHeight(),j=c.extend({},i);if(a.my[0]==="right")j.left-=k;else if(a.my[0]==="center")j.left-=k/2;if(a.my[1]==="bottom")j.top-=l;else if(a.my[1]==="center")j.top-=l/2;j.left=parseInt(j.left);j.top=parseInt(j.top);c.each(["left","top"],function(o,r){c.ui.position[d[o]]&&c.ui.position[d[o]][r](j,{targetWidth:g,targetHeight:h,elemWidth:k,elemHeight:l,offset:e,my:a.my,at:a.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(j,{using:a.using}))})};c.ui.position={fit:{left:function(a,b){var d=c(window);b=a.left+b.elemWidth-d.width()-d.scrollLeft();a.left=b>0?a.left-b:Math.max(0,a.left)},top:function(a,b){var d=c(window);b=a.top+b.elemHeight-d.height()-d.scrollTop();a.top=b>0?a.top-b:Math.max(0,a.top)}},flip:{left:function(a,b){if(b.at[0]!=="center"){var d=c(window);d=a.left+b.elemWidth-d.width()-d.scrollLeft();var e=b.my[0]==="left"?-b.elemWidth:b.my[0]==="right"?b.elemWidth:0,g=-2*b.offset[0];a.left+=a.left<0?e+b.targetWidth+g:d>0?e-b.targetWidth+g:0}},top:function(a,b){if(b.at[1]!=="center"){var d=c(window);d=a.top+b.elemHeight-d.height()-d.scrollTop();var e=b.my[1]==="top"?-b.elemHeight:b.my[1]==="bottom"?b.elemHeight:0,g=b.at[1]==="top"?b.targetHeight:-b.targetHeight,h=-2*b.offset[1];a.top+=a.top<0?e+b.targetHeight+h:d>0?e+g+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(a,b){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var d=c(a),e=d.offset(),g=parseInt(c.curCSS(a,"top",true),10)||0,h=parseInt(c.curCSS(a,"left",true),10)||0;e={top:b.top-e.top+g,left:b.left-e.left+h};"using"in b?b.using.call(a,e):d.css(e)};c.fn.offset=function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(){c.offset.setOffset(this,a)});return q.call(this)}}})(jQuery);;(function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var f=d.closest(".ui-accordion-header");a.active=f.length?f:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion",function(g){return a._keydown(g)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(g){a._clickHandler.call(a,g,this);g.preventDefault()})},_createIcons:function(){var a=this.options;if(a.icons){c("<span></span>").addClass("ui-icon "+a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex");this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons();b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,f=this.headers.index(a.target),g=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:g=this.headers[(f+1)%d];break;case b.LEFT:case b.UP:g=this.headers[(f-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target);a.preventDefault()}if(g){c(a.target).attr("tabIndex",-1);c(g).attr("tabIndex",0);g.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+
c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options;if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}h=a.next();f=this.active.next();g={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):h,oldContent:f};d=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(h,f,g,b,d)}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var f=this.active.next(),g={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:f},h=this.active=c([]);this._toggle(h,f,g)}},_toggle:function(a,b,d,f,g){var h=this,e=h.options;h.toShow=a;h.toHide=b;h.data=d;var j=function(){if(h)return h._completed.apply(h,arguments)};h._trigger("changestart",null,h.data);h.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&f?{toShow:c([]),toHide:b,complete:j,down:g,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:g,autoHeight:e.autoHeight||e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;f=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!f[k]&&!c.easing[k])k="slide";f[k]||(f[k]=function(l){this.slide(l,{easing:k,duration:i||700})});f[k](d)}else{if(e.collapsible&&f)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.4",animations:{slide:function(a,b){a=c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),f=0,g={},h={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){h[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);g[i]={value:j[1],unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(h,{step:function(j,i){if(i.prop=="height")f=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=f*g[i.prop].value+g[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery);;(function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var a=this,b=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");b.disabled&&this.element.addClass("ui-slider-disabled ui-disabled");this.range=d([]);if(b.range){if(b.range===true){this.range=d("<div></div>");if(!b.values)b.values=[this._valueMin(),this._valueMin()];if(b.values.length&&b.values.length!==2)b.values=[b.values[0],b.values[0]]}else this.range=d("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(b.range==="min"||b.range==="max")this.range.addClass("ui-slider-range-"+b.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");if(b.values&&b.values.length)for(;d(".ui-slider-handle",this.element).length<b.values.length;)d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".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(c){c.preventDefault()}).hover(function(){b.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(b.disabled)d(this).blur();else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!a.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e=false;if(!a._keySliding){a._keySliding=true;d(this).addClass("ui-state-active");h=a._start(c,f);if(h===false)return}break}i=a.options.step;h=a.options.values&&a.options.values.length?(g=a.values(f)):(g=a.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=a._valueMin();break;case d.ui.keyCode.END:g=a._valueMax();break;case d.ui.keyCode.PAGE_UP:g=a._trimAlignValue(h+(a._valueMax()-a._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=a._trimAlignValue(h-(a._valueMax()-a._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h===a._valueMax())return;g=a._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===a._valueMin())return;g=a._trimAlignValue(h-i);break}a._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(a._keySliding){a._keySliding=false;a._stop(c,e);a._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},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();return this},_mouseCapture:function(a){var b=this.options,c,e,f,h,g;if(b.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:a.pageX,y:a.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(b.range===true&&this.values(1)===b.min){g+=1;f=d(this.handles[g])}if(this._start(a,g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();b=f.offset();this._clickOffset=!d(a.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:a.pageX-b.left-f.width()/2,top:a.pageY-b.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this._slide(a,g,c);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(a){var b=this._normValueFromMouse({x:a.pageX,y:a.pageY});this._slide(a,this._handleIndex,b);return false},_mouseStop:function(a){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(a,this._handleIndex);this._change(a,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(a){var b;if(this.orientation==="horizontal"){b=this.elementSize.width;a=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{b=this.elementSize.height;a=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}b=a/b;if(b>1)b=1;if(b<0)b=0;if(this.orientation==="vertical")b=1-b;a=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+b*a)},_start:function(a,b){var c={handle:this.handles[b],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(b);c.values=this.values()}return this._trigger("start",a,c)},_slide:function(a,b,c){var e;if(this.options.values&&this.options.values.length){e=this.values(b?0:1);if(this.options.values.length===2&&this.options.range===true&&(b===0&&c>e||b===1&&c<e))c=e;if(c!==this.values(b)){e=this.values();e[b]=c;a=this._trigger("slide",a,{handle:this.handles[b],value:c,values:e});this.values(b?0:1);a!==false&&this.values(b,c,true)}}else if(c!==this.value()){a=this._trigger("slide",a,{handle:this.handles[b],value:c});a!==false&&this.value(c)}},_stop:function(a,b){var c={handle:this.handles[b],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(b);c.values=this.values()}this._trigger("stop",a,c)},_change:function(a,b){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[b],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(b);c.values=this.values()}this._trigger("change",a,c)}},value:function(a){if(arguments.length){this.options.value=this._trimAlignValue(a);this._refreshValue();this._change(null,0)}return this._value()},values:function(a,b){var c,e,f;if(arguments.length>1){this.options.values[a]=this._trimAlignValue(b);this._refreshValue();this._change(null,a)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f<c.length;f+=1){c[f]=this._trimAlignValue(e[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(a):this.value();else return this._values()},_setOption:function(a,b){var c,e=0;if(d.isArray(this.options.values))e=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(a){case"disabled":if(b){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(c=0;c<e;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var a=this.options.value;return a=this._trimAlignValue(a)},_values:function(a){var b,c;if(arguments.length){b=this.options.values[a];return b=this._trimAlignValue(b)}else{b=this.options.values.slice();for(c=0;c<b.length;c+=1)b[c]=this._trimAlignValue(b[c]);return b}},_trimAlignValue:function(a){if(a<this._valueMin())return this._valueMin();if(a>this._valueMax())return this._valueMax();var b=this.options.step>0?this.options.step:1,c=a%b;a=a-c;if(Math.abs(c)*2>=b)a+=c>0?b:-b;return parseFloat(a.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var a=this.options.range,b=this.options,c=this,e=!this._animateOff?b.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,b.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},b.animate);if(k===1)c.range[e?"animate":"css"]({width:f-
g+"%"},{queue:false,duration:b.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},b.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:b.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,b.animate);if(a==="min"&&this.orientation==="horizontal")this.range.stop(1,1)[e?"animate":"css"]({width:f+"%"},b.animate);if(a==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:b.animate});if(a==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},b.animate);if(a==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:b.animate})}}});d.extend(d.ui.slider,{version:"1.8.4"})})(jQuery);;;jQuery.fn.extend({everyTime:function(interval,label,fn,times,belay){return this.each(function(){jQuery.timer.add(this,interval,label,fn,times,belay);});},oneTime:function(interval,label,fn){return this.each(function(){jQuery.timer.add(this,interval,label,fn,1);});},stopTime:function(label,fn){return this.each(function(){jQuery.timer.remove(this,label,fn);});}});jQuery.event.special
jQuery.extend({timer:{global:[],guid:1,dataKey:"jQuery.timer",regex:/^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,powers:{'ms':1,'cs':10,'ds':100,'s':1000,'das':10000,'hs':100000,'ks':1000000},timeParse:function(value){if(value==undefined||value==null)
return null;var result=this.regex.exec(jQuery.trim(value.toString()));if(result[2]){var num=parseFloat(result[1]);var mult=this.powers[result[2]]||1;return num*mult;}else{return value;}},add:function(element,interval,label,fn,times,belay){var counter=0;if(jQuery.isFunction(label)){if(!times)
times=fn;fn=label;label=interval;}
interval=jQuery.timer.timeParse(interval);if(typeof interval!='number'||isNaN(interval)||interval<=0)
return;if(times&&times.constructor!=Number){belay=!!times;times=0;}
times=times||0;belay=belay||false;var timers=jQuery.data(element,this.dataKey)||jQuery.data(element,this.dataKey,{});if(!timers[label])
timers[label]={};fn.timerID=fn.timerID||this.guid++;var handler=function(){if(belay&&this.inProgress)
return;this.inProgress=true;if((++counter>times&&times!==0)||fn.call(element,counter)===false)
jQuery.timer.remove(element,label,fn);this.inProgress=false;};handler.timerID=fn.timerID;if(!timers[label][fn.timerID])
timers[label][fn.timerID]=window.setInterval(handler,interval);this.global.push(element);},remove:function(element,label,fn){var timers=jQuery.data(element,this.dataKey),ret;if(timers){if(!label){for(label in timers)
this.remove(element,label,fn);}else if(timers[label]){if(fn){if(fn.timerID){window.clearInterval(timers[label][fn.timerID]);delete timers[label][fn.timerID];}}else{for(var fn in timers[label]){window.clearInterval(timers[label][fn]);delete timers[label][fn];}}
for(ret in timers[label])break;if(!ret){ret=null;delete timers[label];}}
for(ret in timers)break;if(!ret)
jQuery.removeData(element,this.dataKey);}}}});jQuery(window).bind("unload",function(){jQuery.each(jQuery.timer.global,function(index,item){jQuery.timer.remove(item);});});;jQuery.fn.f_slider=function(options){var options=jQuery.extend({itemsVisible:1,doAutoScroll:false,slideAmount:""},options);if(options.slideAmount!=""&&jQuery(jQuery(this).selector).length>0){return this.each(function(i){var sliderContainer=jQuery(this);var sliderInner=sliderContainer.find("ul[class*=-slider]");var listItems=sliderContainer.find("ul[class*=-slider]").children();var listItemsHTML;var sliderMoving=false;var itemsVisible=options.itemsVisible;var currentSliderCount=itemsVisible;var currentSliderPos=0;var initSliderPos=currentSliderPos;var slideAmount=options.slideAmount;var doAutoScroll=options.doAutoScroll;function moveSlider(direction){if(!sliderMoving){clearInterval(doAutoScroll);calculateNextPosition(direction);sliderMoving=true;sliderInner.animate({left:(currentSliderPos*-1)},1000,function(){checkForLoop();});updatePaginator2();}}
function calculateNextPosition(direction){if(direction=='right'){currentSliderCount=currentSliderCount+itemsVisible;currentSliderPos+=slideAmount;}else if(direction=='left'){currentSliderCount=currentSliderCount-itemsVisible;currentSliderPos-=slideAmount;}else{currentSliderCount=(direction+1)*itemsVisible;var width=(slideAmount/itemsVisible)*listItems.length;currentSliderPos=width-initSliderPos+(direction*slideAmount);}}
function autoScroll(){moveSlider('right');}
function addListItems(){if(listItems.length>0){for(var i=1;i<=itemsVisible;i++){var isEvenTest=listItems.length%itemsVisible;if((isEvenTest*1)>0){sliderInner.append('<li class="blank"></li>');listItems=sliderContainer.find("ul[class*=-slider]").children();}}
listItemsHTML=sliderContainer.find("ul[class*=-slider]").html();listItems=sliderContainer.find("ul[class*=-slider]").children();var paginatorBtns=listItems.length/itemsVisible;for(var i=1;i<=paginatorBtns;i++){if(i==1){sliderContainer.find("ul[class*=paginator]").append('<li class="current"><a href="#">'+i+'</a></li>');}else{sliderContainer.find("ul[class*=paginator]").append('<li><a href="#">'+i+'</a></li>');}}
if(jQuery.browser.msie){if(sliderContainer.parent("div.col").prev("div.col-first").children("h3").html()=="Sorties de la semaine"){}else{var pw=(paginatorBtns*13)+63;sliderContainer.find("ul[class*=paginator]").css("width",pw);}}
if(listItems.length>itemsVisible){sliderInner.append(listItemsHTML);sliderInner.append(listItemsHTML);resetSlider();if(doAutoScroll!=false){doAutoScroll=setInterval(autoScroll,5000);}}else{sliderContainer.find("ul[class*=paginator]").find("li.current a").hide();sliderContainer.find("ul[class*=paginator]").find("li.next a").hide();sliderContainer.find("ul[class*=paginator]").find("li.prev a").hide();}}else{sliderContainer.find("ul[class*=paginator]").find("li.next a").hide();sliderContainer.find("ul[class*=paginator]").find("li.prev a").hide();}}
function checkForLoop(){if((currentSliderCount>=(listItems.length+itemsVisible))||(currentSliderCount==0)){resetSlider();}
sliderMoving=false;if(doAutoScroll!=false){doAutoScroll=setInterval(autoScroll,5000);}}
function resetSlider(){var width=(slideAmount/itemsVisible)*listItems.length;if(currentSliderCount==0){currentSliderCount=listItems.length;currentSliderPos=width+width-slideAmount-initSliderPos;}else{currentSliderCount=itemsVisible;currentSliderPos=width-initSliderPos;}
var posAdjust="-"+currentSliderPos+"px";sliderInner.css({left:posAdjust});}
function updatePaginator(){sliderContainer.find("ul[class*=paginator]").find("li.current").removeClass("current");var paginatorCurrent=currentSliderCount/itemsVisible;paginatorCurrent=paginatorCurrent+1;sliderContainer.find("ul[class*=paginator]").find("li:eq("+paginatorCurrent+")").addClass("current");}
function updatePaginator2(){var cSc=currentSliderCount;if((currentSliderCount>=(listItems.length+itemsVisible))||(currentSliderCount==0)){if(cSc==0){cSc=listItems.length;}else{cSc=itemsVisible;}}
sliderContainer.find("ul[class*=paginator]").find("li.current").removeClass("current");var paginatorCurrent=cSc/itemsVisible;paginatorCurrent=paginatorCurrent+1;sliderContainer.find("ul[class*=paginator]").find("li:eq("+paginatorCurrent+")").addClass("current");}
addListItems();sliderContainer.find("ul[class*=paginator]").find("li.prev a").click(function(e){e.preventDefault();moveSlider('left');});sliderContainer.find("ul[class*=paginator]").find("li.next a").click(function(e){e.preventDefault();moveSlider('right');});sliderContainer.find("ul[class*=paginator]").find("li a").each(function(i,val){if(i>1&&!sliderContainer.sliderMoving){jQuery(val).click(function(e){e.preventDefault();if(!jQuery(this).parent().hasClass("current")&&!sliderMoving){moveSlider(i-2);sliderContainer.find("ul[class*=paginator]").find("li.current").removeClass("current");jQuery(val).parents("li").addClass("current");}});}});});}};jQuery.fn.f_controler=function(options){myFeature=function(name){this.init(name);}
jQuery.extend(myFeature.prototype,{widget_name:'',widget_scrollInterval:0,widget_delay:0,widget_faderTimer:0,widget_hoverTimer:0,widget_sliderContainer:'',widget_sliderInner:'',widget_listItems:'',widget_currentSliderPos:'',widget_initSliderPos:'',widget_slideAmount:'',widget_isFading:false,widget_scrollInterval:false,widget_setIntervalId:0,widget_setTimeOutId:0,widget_setTimeOutId2:0,widget_setTimeOutId3:0,myNameIs:function(){return this.widget_name;},saveScrollInterval:function(widget_scrollInterval){this.widget_scrollInterval=widget_scrollInterval;},getScrollInterval:function(){return this.widget_scrollInterval;},saveFaderTimer:function(widget_faderTimer){this.widget_faderTimer=widget_faderTimer;},getFaderTimer:function(){return this.widget_faderTimer;},saveDelay:function(widget_delay){this.widget_delay=widget_delay;},getDelay:function(){return this.widget_delay;},saveHoverTimer:function(widget_hoverTimer){this.widget_hoverTimer=widget_hoverTimer;},getHoverTimer:function(){return this.widget_hoverTimer;},saveSetIntervalId:function(widget_setIntervalId){this.widget_setIntervalId=widget_setIntervalId;},getSetIntervalId:function(){return this.widget_setIntervalId;},saveSetTimeOutId:function(widget_setTimeOutId){this.widget_setTimeOutId=widget_setTimeOutId;},getSetTimeOutId:function(){return this.widget_setTimeOutId;},saveSetTimeOutId2:function(widget_setTimeOutId2){this.widget_setTimeOutId2=widget_setTimeOutId2;},getSetTimeOutId2:function(){return this.widget_setTimeOutId2;},saveSetTimeOutId3:function(widget_setTimeOutId3){this.widget_setTimeOutId3=widget_setTimeOutId3;},getSetTimeOutId3:function(){return this.widget_setTimeOutId3;},moveSlider:function(widget_direction,widget_trigger){if(!this.widget_isFading){this.widget_listItems.eq(this.widget_currentSliderPos).fadeOut(800);this.widget_isFading=true;this.calculateNextPosition(widget_direction);this.widget_listItems.eq(this.widget_currentSliderPos).fadeIn(1000);this.widget_isFading=false;if(widget_trigger!="bullet"){this.updatePaginator();}}},calculateNextPosition:function(widget_direction){if(widget_direction=="right"){if(this.widget_currentSliderPos==this.widget_listItems.length-1){this.resetSlider();}else{this.widget_currentSliderPos++;}}else{this.widget_currentSliderPos=widget_direction;}},resetSlider:function(){this.widget_currentSliderPos=this.widget_initSliderPos;},updatePaginator:function(){this.paginatorCurrent=this.widget_sliderContainer.find("ul[class*=paginator]").find("li.current").prevAll().size();this.widget_sliderContainer.find("ul[class*=paginator]").find("li.current").removeClass("current");if(this.paginatorCurrent==this.widget_listItems.length+1){this.paginatorCurrent=1;}
this.paginatorCurrent=this.paginatorCurrent+1;this.widget_sliderContainer.find("ul[class*=paginator]").find("li:eq("+this.paginatorCurrent+")").addClass("current");},hideNonVisiblePosters:function(){if(this.widget_listItems.length>0){for(var i=this.widget_listItems.length;i>1;i--){this.widget_listItems.eq(i-1).hide();}}},addListItems:function(){if(this.widget_listItems.length>0){this.paginatorBtns=this.widget_listItems.length;for(var i=1;i<=this.paginatorBtns;i++){if(i==1){this.widget_sliderContainer.find("ul[class*=paginator]").append('<li class="current"><a href="#">'+i+'</a></li>');}else{this.widget_sliderContainer.find("ul[class*=paginator]").append('<li><a href="#">'+i+'</a></li>');}}
if(jQuery.browser.msie){var pw=(this.paginatorBtns*13)+63;this.widget_sliderContainer.find("ul[class*=paginator]").css("width",pw);}}else{this.widget_sliderContainer.find("ul[class*=paginator]").find("li.next a").hide();this.widget_sliderContainer.find("ul[class*=paginator]").find("li.prev a").hide();}},autoFade:function(){this.moveSlider("right","");},info:function(){},init:function(options){var options=jQuery.extend({widget_name:"",widget_scrollInterval:0,widget_delay:0},options);this.widget_name=options.widget_name;this.widget_scrollInterval=options.widget_scrollInterval;this.widget_delay=options.widget_delay;this.widget_sliderContainer=jQuery("#"+this.widget_name);this.widget_sliderInner=this.widget_sliderContainer.find("ul[class*=-slider]");this.widget_listItems=this.widget_sliderInner.children();this.widget_currentSliderPos=0;this.widget_initSliderPos=this.widget_currentSliderPos;this.hideNonVisiblePosters();this.addListItems();}});var rescope=function(scope,method){if(!method){method=scope;scope=null;}
if(typeof method=="string"){scope=scope||window;if(!scope[method]){throw(['method not found']);}
return function(){return scope[method].apply(scope,arguments||[]);};}
return!scope?method:function(){return method.apply(scope,arguments||[]);};}
jQuery.fn.f_moveSlider=function(_name,_direction,_delay,_scrollInterval,_iterator,_trigger){if(_name==g1.myNameIs()){if(_delay>=0){var _d=setTimeout(function(){if(_scrollInterval>0){var _t=setInterval(_g1_scrollInterval,_scrollInterval);g1.saveSetIntervalId(_t);}else{g1.moveSlider(_direction,_trigger);}},_delay);if(_iterator==1){g1.saveSetTimeOutId(_d);}else if(_iterator==2){g1.saveSetTimeOutId2(_d);}else if(_iterator==3){g1.saveSetTimeOutId3(_d);}}}else if(_name==g2.myNameIs()){if(_delay>=0){var _d=setTimeout(function(){if(_scrollInterval>0){var _t=setInterval(_g2_scrollInterval,_scrollInterval);g2.saveSetIntervalId(_t);}else{g2.moveSlider(_direction,_trigger);}},_delay);if(_iterator==1){g2.saveSetTimeOutId(_d);}else if(_iterator==2){g2.saveSetTimeOutId2(_d);}}}else if(_name==g3.myNameIs()){if(_delay>=0){var _d=setTimeout(function(){if(_scrollInterval>0){var _t=setInterval(_g3_scrollInterval,_scrollInterval);g3.saveSetIntervalId(_t);}else{g3.moveSlider(_direction,_trigger);}},_delay);if(_iterator==1){g3.saveSetTimeOutId(_d);}else if(_iterator==2){g3.saveSetTimeOutId2(_d);}}}else{return-1;}}
function _g1_scrollInterval(){g1.autoFade();}
function _g2_scrollInterval(){g2.autoFade();}
function _g3_scrollInterval(){g3.autoFade();}
function _g1_clearIntervals(){clearInterval(g1.getSetTimeOutId());clearInterval(g1.getSetTimeOutId2());clearInterval(g1.getSetIntervalId());}
function _g2_clearIntervals(){clearInterval(g2.getSetTimeOutId());clearInterval(g2.getSetTimeOutId2());clearInterval(g2.getSetIntervalId());}
function _g3_clearIntervals(){clearInterval(g3.getSetTimeOutId());clearInterval(g3.getSetTimeOutId2());clearInterval(g3.getSetIntervalId());}
jQuery.fn.f_stopAutoFader=function(_name){if(_name==g1.myNameIs()){_g1_clearIntervals();}else if(_name==g2.myNameIs()){_g2_clearIntervals();}else if(_name==g3.myNameIs()){_g3_clearIntervals();}else if(_name=="all"){_g1_clearIntervals();_g2_clearIntervals();_g3_clearIntervals();}else{return-1;}}
jQuery.fn.f_launchSynchroFaders=function(_name,_trigger){this.delay_1=g1.getDelay();this.delay_2=g2.getDelay();this.delay_3=g3.getDelay();if(_trigger=="mouseout"){jQuery().f_stopAutoFader("all");}else if(_trigger=="bullet"){this.delay_1+=1000;this.delay_2+=1000;this.delay_3+=1000;}
if(_name==g1.myNameIs()){jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_1,0,1,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_2,0,1,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_3,0,1,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_1,g1.getScrollInterval(),2,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_2,g2.getScrollInterval(),2,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_3,g3.getScrollInterval(),2,"");}else if(_name==g2.myNameIs()){jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_1,0,1,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_2,0,1,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_3,0,1,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_1,g2.getScrollInterval(),2,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_2,g3.getScrollInterval(),2,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_3,g1.getScrollInterval(),2,"");}else if(_name==g3.myNameIs()){jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_1,0,1,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_2,0,1,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_3,0,1,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_1,g3.getScrollInterval(),2,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_2,g1.getScrollInterval(),2,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_3,g2.getScrollInterval(),2,"");}
delete this.delay_1;delete this.delay_2;delete this.delay_3;}
jQuery.fn.f_ajustSynchroFaders=function(_name){this.delay_1=g1.getDelay();this.delay_2=g2.getDelay();this.widget_scrollInterval=g1.getScrollInterval()-2000;if(_name==g1.myNameIs()){jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_1,0,1,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_2,0,1,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_1,this.widget_scrollInterval,2,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_2,this.widget_scrollInterval,2,"");}else if(_name==g2.myNameIs()){jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_1,0,1,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_2,0,1,"");jQuery().f_moveSlider(g3.myNameIs(),"right",this.delay_1,this.widget_scrollInterval,2,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_2,this.widget_scrollInterval,2,"");}else if(_name==g3.myNameIs()){jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_1,0,1,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_2,0,1,"");jQuery().f_moveSlider(g1.myNameIs(),"right",this.delay_1,this.widget_scrollInterval,2,"");jQuery().f_moveSlider(g2.myNameIs(),"right",this.delay_2,this.widget_scrollInterval,2,"");}
delete this.delay_1;delete this.delay_2;delete this.widget_scrollInterval;}
var g1=new myFeature({widget_name:"genre-1",widget_scrollInterval:6000,widget_delay:2000});var g2=new myFeature({widget_name:"genre-2",widget_scrollInterval:6000,widget_delay:4000});var g3=new myFeature({widget_name:"genre-3",widget_scrollInterval:6000,widget_delay:6000});jQuery().f_launchSynchroFaders("genre-1");jQuery('div.genre').f_faderMouseEvents();};jQuery.fn.f_faderMouseEvents=function(){if((jQuery(this).selector).length>0){return this.each(function(i){var sliderId=jQuery(this).attr("id");var sliderContainer=jQuery(this);var sliderInner=sliderContainer.find("ul[class*=-slider]");var listItems=sliderContainer.find("ul[class*=-slider]").children();var rescope=function(scope,method){if(!method){method=scope;scope=null;}
if(typeof method=="string"){scope=scope||window;if(!scope[method]){throw(['method not found']);}
return function(){return scope[method].apply(scope,arguments||[]);};}
return!scope?method:function(){return method.apply(scope,arguments||[]);};}
sliderContainer.find("ul[class*=paginator]").find("li a").each(function(i,val){if(i>1){jQuery(val).click(function(e){e.preventDefault();if(!jQuery(this).parent().hasClass("current")){jQuery().f_stopAutoFader("all");jQuery().f_moveSlider(sliderId,i-2,0,0,3,"bullet");sliderContainer.find("ul[class*=paginator]").find("li.current").removeClass("current");jQuery(val).parents("li").addClass("current");if(sliderInner.hasClass("features-hover")){jQuery().f_ajustSynchroFaders(sliderId);}
else{jQuery().f_launchSynchroFaders(sliderId,"bullet");}}});}});sliderContainer.find("ul.paginator").hover(function(){sliderContainer.find("ul.features-slider").addClass("features-hover");jQuery().f_stopAutoFader("all");jQuery().f_ajustSynchroFaders(sliderId);},function(){sliderContainer.find("ul.features-slider").removeClass("features-hover");jQuery().f_launchSynchroFaders(sliderId,"mouseout");});sliderInner.hover(function(){sliderInner.addClass("features-hover");jQuery().f_stopAutoFader("all");jQuery().f_ajustSynchroFaders(sliderId);},function(){sliderInner.removeClass("features-hover");if(jQuery("div#lb-mask").css("display")=="none")jQuery().f_launchSynchroFaders(sliderId,"mouseout");});});}};function videoSlider(){jQuery("ul.videos-slider li._videos").hover(function(){jQuery(this).addClass("pointer");},function(){jQuery(this).removeClass("pointer");});jQuery("ul.videos-slider li h4 a.a_info, ul.videos-slider li h4 a.a_img, ul.videos-slider li h4 a.video").hover(function(){jQuery(this).parents("li").removeClass("pointer");},function(){jQuery(this).parents("li").addClass("pointer");});jQuery("ul.videos-slider li p a.a_info").hover(function(){jQuery(this).parents("li").addClass("hover");},function(){jQuery(this).parents("li").removeClass("hover");});jQuery("ul.videos-slider li._videos").click(function(e){if(jQuery(this).hasClass("pointer")){e.preventDefault();var href=jQuery(this).find("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;}}});};var msHideRightCol=0;var msPhotoDir='';var msPhotoIndex='';var playerEmbarque=0;var playerEmbarqueWidth="";var playerEmbarqueHeight="";var playerEmbarqueUrl="";var playerEmbarqueInstallUrl="";var sPlayer="";var playerEmbarqueVars={};var playerEmbarqueParams={bgcolor:"#000000",menu:"true",allowFullScreen:"true",allowScriptAccess:"always",wmode:"opaque"};var playerEmbarqueAttributes={id:"CanalPlayerEmbarque",name:"CanalPlayerEmbarque"};function switchPlayerEmbarque(videoId,playerId){if(typeof playerId=="string"){playerEmbarqueAttributes.id=playerId;playerEmbarqueAttributes.name=playerId;sPlayer=playerId;if(playerId=="CanalPlayerGrille"){playerEmbarqueVars.param="cplus_grilletv";}}else{sPlayer="CanalPlayerEmbarque";}
if(playerEmbarque==1){if(sPlayer=="CanalPlayerEmbarque"){document.getElementById("CanalPlayerEmbarque").chargeVideoPlay(videoId);}else{document.getElementById(sPlayer).chargeVideoPlay(videoId);}}else{playerEmbarque=1;playerEmbarqueVars.videoId=videoId;playerEmbarqueVars.timecode=timecode;swfobject.embedSWF(playerEmbarqueUrl,sPlayer,playerEmbarqueWidth,playerEmbarqueHeight,"9.0.28",playerEmbarqueInstallUrl,playerEmbarqueVars,playerEmbarqueParams,playerEmbarqueAttributes);timecode=0;}}
function launchPlayerVideo(videoId){closeSlideShow();switchPlayerEmbarque(videoId);jQuery("div#lb-player-video").show();if(typeof cid!="string"){var h=jQuery(window).height();var h2=(playerEmbarqueHeight=="480")?560:440;var windowTopOffset=jQuery(window).scrollTop();if((h-h2)<0){windowTopOffset=windowTopOffset-100;}else{windowTopOffset=windowTopOffset+((h-h2)/2)-120;}
jQuery("div#lb-player-video div.wrap-player-video").css("top",(windowTopOffset)+"px");jQuery("div#lb-player-video div#player-video").css("top",(windowTopOffset+40)+"px");}
if(tpid=="632"){jQuery("div#lb-player-video div.comment-share-bar").css("top",(windowTopOffset+((playerEmbarqueHeight=="480")?520:400))+"px");}}
function closePlayerVideo(){jQuery("div#lb-player-video").hide();jQuery("div#lb-player-video div#player-video").html('<object id="CanalPlayerEmbarque"></object>');playerEmbarque=0;if(tpid=="632"){jQuery("div#content div#mainSection div#contenuOnglet ul.features li.current").removeClass("current");}}
function openLink(url){var position=url.indexOf(sUrlBigPlayer);if(position!=-1){url=url+"/"+sRequestURI;}
window.location.href=url;}
var videoId="";var videoTitre="";var videoSousTitre="";var videoDate="";var videoDescription="";var videoVisuel="";var titreFormat="";var msVideoTitreFormat="";var msVideoSousTitreFormat="";function entityToHtml(string){var p1,p2;var entity_table={38:"&amp;",60:"&lt;",62:"&gt;",160:"&nbsp;",161:"&iexcl;",162:"&cent;",163:"&pound;",164:"&curren;",165:"&yen;",166:"&brvbar;",167:"&sect;",168:"&uml;",169:"&copy;",170:"&ordf;",171:"&laquo;",172:"&not;",173:"&shy;",174:"&reg;",175:"&macr;",176:"&deg;",177:"&plusmn;",178:"&sup2;",179:"&sup3;",180:"&acute;",181:"&micro;",182:"&para;",183:"&middot;",184:"&cedil;",185:"&sup1;",186:"&ordm;",187:"&raquo;",188:"&frac14;",189:"&frac12;",190:"&frac34;",191:"&iquest;",192:"&Agrave;",193:"&Aacute;",194:"&Acirc;",195:"&Atilde;",196:"&Auml;",197:"&Aring;",198:"&AElig;",199:"&Ccedil;",200:"&Egrave;",201:"&Eacute;",202:"&Ecirc;",203:"&Euml;",204:"&Igrave;",205:"&Iacute;",206:"&Icirc;",207:"&Iuml;",208:"&ETH;",209:"&Ntilde;",210:"&Ograve;",211:"&Oacute;",212:"&Ocirc;",213:"&Otilde;",214:"&Ouml;",215:"&times;",216:"&Oslash;",217:"&Ugrave;",218:"&Uacute;",219:"&Ucirc;",220:"&Uuml;",221:"&Yacute;",222:"&THORN;",223:"&szlig;",224:"&agrave;",225:"&aacute;",226:"&acirc;",227:"&atilde;",228:"&auml;",229:"&aring;",230:"&aelig;",231:"&ccedil;",232:"&egrave;",233:"&eacute;",234:"&ecirc;",235:"&euml;",236:"&igrave;",237:"&iacute;",238:"&icirc;",239:"&iuml;",240:"&eth;",241:"&ntilde;",242:"&ograve;",243:"&oacute;",244:"&ocirc;",245:"&otilde;",246:"&ouml;",247:"&divide;",248:"&oslash;",249:"&ugrave;",250:"&uacute;",251:"&ucirc;",252:"&uuml;",253:"&yacute;",254:"&thorn;",255:"&yuml;",264:"&#264;",265:"&#265;",338:"&OElig;",339:"&oelig;",352:"&Scaron;",353:"&scaron;",372:"&#372;",373:"&#373;",374:"&#374;",375:"&#375;",376:"&Yuml;",402:"&fnof;",710:"&circ;",732:"&tilde;",913:"&Alpha;",914:"&Beta;",915:"&Gamma;",916:"&Delta;",917:"&Epsilon;",918:"&Zeta;",919:"&Eta;",920:"&Theta;",921:"&Iota;",922:"&Kappa;",923:"&Lambda;",924:"&Mu;",925:"&Nu;",926:"&Xi;",927:"&Omicron;",928:"&Pi;",929:"&Rho;",931:"&Sigma;",932:"&Tau;",933:"&Upsilon;",934:"&Phi;",935:"&Chi;",936:"&Psi;",937:"&Omega;",945:"&alpha;",946:"&beta;",947:"&gamma;",948:"&delta;",949:"&epsilon;",950:"&zeta;",951:"&eta;",952:"&theta;",953:"&iota;",954:"&kappa;",955:"&lambda;",956:"&mu;",957:"&nu;",958:"&xi;",959:"&omicron;",960:"&pi;",961:"&rho;",962:"&sigmaf;",963:"&sigma;",964:"&tau;",965:"&upsilon;",966:"&phi;",967:"&chi;",968:"&psi;",969:"&omega;",977:"&thetasym;",978:"&upsih;",982:"&piv;",8194:"&ensp;",8195:"&emsp;",8201:"&thinsp;",8204:"&zwnj;",8205:"&zwj;",8206:"&lrm;",8207:"&rlm;",8211:"&ndash;",8212:"&mdash;",8216:"&lsquo;",8217:"&rsquo;",8218:"&sbquo;",8220:"&ldquo;",8221:"&rdquo;",8222:"&bdquo;",8224:"&dagger;",8225:"&Dagger;",8226:"&bull;",8230:"&hellip;",8240:"&permil;",8242:"&prime;",8243:"&Prime;",8249:"&lsaquo;",8250:"&rsaquo;",8254:"&oline;",8260:"&frasl;",8364:"&euro;",8472:"&weierp;",8465:"&image;",8476:"&real;",8482:"&trade;",8501:"&alefsym;",8592:"&larr;",8593:"&uarr;",8594:"&rarr;",8595:"&darr;",8596:"&harr;",8629:"&crarr;",8656:"&lArr;",8657:"&uArr;",8658:"&rArr;",8659:"&dArr;",8660:"&hArr;",8704:"&forall;",8706:"&part;",8707:"&exist;",8709:"&empty;",8711:"&nabla;",8712:"&isin;",8713:"&notin;",8715:"&ni;",8719:"&prod;",8721:"&sum;",8722:"&minus;",8727:"&lowast;",8729:"&#8729;",8730:"&radic;",8733:"&prop;",8734:"&infin;",8736:"&ang;",8743:"&and;",8744:"&or;",8745:"&cap;",8746:"&cup;",8747:"&int;",8756:"&there4;",8764:"&sim;",8773:"&cong;",8776:"&asymp;",8800:"&ne;",8801:"&equiv;",8804:"&le;",8805:"&ge;",8834:"&sub;",8835:"&sup;",8836:"&nsub;",8838:"&sube;",8839:"&supe;",8853:"&oplus;",8855:"&otimes;",8869:"&perp;",8901:"&sdot;",8968:"&lceil;",8969:"&rceil;",8970:"&lfloor;",8971:"&rfloor;",9001:"&lang;",9002:"&rang;",9642:"&#9642;",9643:"&#9643;",9674:"&loz;",9702:"&#9702;",9824:"&spades;",9827:"&clubs;",9829:"&hearts;",9830:"&diams;"}
for(var i in entity_table){if(i!=38){string=string.replace(new RegExp(entity_table[i],"g"),String.fromCharCode(i));}}
string=string.replace(new RegExp("&#(x?)(\\d+);","g"),String.fromCharCode(((p1=='x')?parseInt(p2,16):p2)));string=string.replace(new RegExp(entity_table[38],"g"),String.fromCharCode(38));return string;}
function updateVideoVars(cid){videoId=cid;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_infos_video_by_cid.php",data:{cid:cid},dataType:"json",success:function(data){videoTitre=(data.titre==null)?"":entityToHtml(data.titre);videoTitreComplet=(data.titrecomplet==null)?"":data.titrecomplet;videoSousTitre=(data.sous_titre==null)?"":entityToHtml(data.sous_titre);videoDescription=(data.description==null)?"":data.description;videoVisuel=(data.visuel==null)?"":data.visuel;videoDate=(data.date==null)?"":data.date;if(tpid=="608"){if(data.descriptionVideo==null||data.descriptionVideo==""){jQuery("div.infoVideoRight-closed").hide();jQuery("div.infoVideoRight-closed").removeClass("infoVideoRight-open");jQuery("div.infoVideo-player").hide();}else{jQuery("p#descVideo").html(data.descriptionVideo);if(!jQuery("div.infoVideoRight-closed").is(":visible")){jQuery("div.infoVideoRight-closed").show();}}}
if(cntid=="218"){jQuery("#mainSection .flashContent .flashContent-TitreCinema").html(videoTitreComplet);}
if(cntid=="332"){jQuery("#mainSection .flashContent .flashContent-titleVideoActu").html(videoTitreComplet);}
if(tpid=="632"||tpid=="663"){var titre="";switch(titreFormat){case"1":titre=videoTitre;break;case"2":titre=videoSousTitre;break;case"3":titre=videoTitre;if(videoTitre!=""&&videoSousTitre!=""){titre+=" - ";}
titre+=videoSousTitre;break;default:break;}
if(bDisplayInfoVideo&&bDisplayBar){var lng=titre.length;if(lng>70){titre=titre.substring(0,70);titre=titre+"...";}}
if(bDisplayBar&&!bDisplayInfoVideo){var lng=titre.length;if(lng>85){titre=titre.substring(0,85);titre=titre+"...";}}
jQuery("div.comment-share-bar p").html(titre);if(jQuery("div.videoInfo div").is(":visible")){var visible=true;}else{var visible=false;}
jQuery("div.videoInfo div p.info").html(data.descriptionVideo);if(visible){jQuery("div.videoInfo div").show();updateHeightRightSection();}}
if(tpid=="662"||tpid=="666"){var titre="";switch(msVideoTitreFormat){case"1":titre=videoTitre;break;case"2":titre=videoSousTitre;break;case"3":titre=videoDate;break;default:break;}
switch(msVideoSousTitreFormat){case"1":titre+=" - "+videoTitre;break;case"2":titre+=" - "+videoSousTitre;break;case"3":titre+=" - "+videoDate;break;default:break;}
jQuery("div.comment-share-bar p").html(titre);}
if(tpid=="663"){jQuery(document).attr("title",jQuery('<div />').html(videoTitreComplet).text()+" - CANALPLUS.FR");}
if(jQuery("iframe.fbLinkVideo")){var fbFrame="http://www.facebook.com/plugins/like.php?layout=button_count&show_faces=false&width=100&action=recommend&font&colorscheme=dark&height=21&href=";var u=pageClearUrl+"?vid="+videoId+"&sc_cmpid="+codeShareFacebook;jQuery("iframe.fbLinkVideo").each(function(){jQuery(this).attr("src",fbFrame+encodeURIComponent(u));});}
var regSocial=new RegExp("%3Fvid%3D[0-9]*","g");if(jQuery(".comment-share-bar-video .fbLikeAdd iframe")&&jQuery(".comment-share-bar-video .fbLikeAdd iframe").attr("src")){var socialFrameSrc=jQuery(".comment-share-bar-video .fbLikeAdd iframe").attr("src");socialFrameSrc=socialFrameSrc.replace(regSocial,"%3Fvid%3D"+videoId);jQuery(".comment-share-bar-video .fbLikeAdd iframe").attr("src",socialFrameSrc);}
if(jQuery(".comment-share-bar-video .tweetShare iframe")&&jQuery(".comment-share-bar-video .tweetShare iframe").attr("src")){var socialFrameSrc=jQuery(".comment-share-bar-video .tweetShare iframe").attr("src");socialFrameSrc=socialFrameSrc.replace(regSocial,"%3Fvid%3D"+videoId);var regSocialText=new RegExp("\&text=.*\&url=","g");socialFrameSrc=socialFrameSrc.replace(regSocialText,"&text="+encodeURIComponent("RT @"+compteTwitter+" "+videoTitre)+"&url=");jQuery(".comment-share-bar-video .tweetShare iframe").attr("src","");setTimeout('jQuery(".comment-share-bar-video .tweetShare iframe").attr("src", "'+socialFrameSrc+'")',1000);}
if(jQuery(".comment-share-bar-video .googlePlusOne iframe")&&jQuery(".comment-share-bar-video .googlePlusOne iframe").attr("src")){var socialFrameSrc=jQuery(".comment-share-bar-video .googlePlusOne iframe").attr("src");socialFrameSrc=socialFrameSrc.replace(regSocial,"%3Fvid%3D"+videoId);jQuery(".comment-share-bar-video .googlePlusOne iframe").attr("src",socialFrameSrc);}}});}
function ajaxReloadVideo(journee,pid,ztid){jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_video_by_journee.php",data:{journee:journee,pid:pid,ztid:ztid},success:function(data){jQuery("#all_video").html(data);}});}
function switchVideoPlayer(cid,playerIdUse){videoEnCours=cid;if(tpid=="608"||tpid=="614"||tpid=="632"||tpid=="633"||tpid=="662"||tpid=="663"||tpid=="665"||tpid=="666"||cntid=="218"||cntid=="332"){updateVideoVars(cid);}
if(tpid=="614"||cntid=="218"){jQuery("iframe#fb_frame").attr("src",(sDocumentHttp+"/iframe_commentaires_facebook.php?vid="+cid+"&xid=cid"+cid+"&url="+trackingCodeFacebookComments+"%26amp%3Bvid%3D"+cid+"&title="+libelleFacebookComments+"&numposts="+numPostsFacebookComments));}
if(jQuery("div#lb-player-video").length>0&&cntid!="218"&&cntid!="332"){launchPlayerVideo(cid,1);}else{if(tpid=="630"){jQuery("div#livePlayerEmbarque div.sl-install").remove();}
switchPlayerEmbarque(cid,playerIdUse);if(cntid=="332"&&jQuery("#flashContentfilm").length>0){var offsetTop=parseInt(jQuery("#flashContentfilm").offset().top)-15;}else{var offsetTop=jQuery("body").offset().top;}
if(typeof(programmePopup)=="undefined"||programmePopup!=1){jQuery("html, body").animate({scrollTop:offsetTop},"slow");}
s.t();}}
function callVideoLiee(videoId){s.t();switch(tpid){case"511":case"519":selectVideo(videoId);break;case"545":display_controles_infos_video(videoId);break;case"547":case"548":case"553":afficher_infos_video(videoId);break;case"554":switchVideoItele(videoId);break;case"630":case"632":case"633":jQuery("div#contenuOnglet ul.features li.current").removeClass("current");jQuery("div#contenuOnglet ul.features li a.video").each(function(){var _href=jQuery(this).attr("href");var index=_href.indexOf("?vid=");var vid=_href.substr(index).replace("?vid=","");if(vid==videoId){jQuery(this).parents("div#contenuOnglet ul.features li").addClass("current");}});case"662":case"663":jQuery("div.tabs_content ul.unit-gallery2 li.current").removeClass("current");jQuery("div.tabs_content ul.unit-gallery2 li a.video").each(function(){var _href=jQuery(this).attr("href");var index=_href.indexOf("?vid=");var vid=_href.substr(index).replace("?vid=","");if(vid==videoId){jQuery(this).parents("div.tabs_content ul.unit-gallery2 li").addClass("current");}});break;case"608":case"614":videoEnCours=videoId;updateVideoVars(videoId);break;default:break;}}
function FlashPlayerPause(sPlayerEmbarqueId){if(typeof sPlayerEmbarqueId=="string"){if(document.getElementById(sPlayerEmbarqueId)){if(typeof document.getElementById(sPlayerEmbarqueId).playerPause=="function"){document.getElementById(sPlayerEmbarqueId).playerPause();}}}else{if(document.getElementById("CanalPlayerEmbarque")){if(typeof document.getElementById("CanalPlayerEmbarque").playerPause=="function"){document.getElementById('CanalPlayerEmbarque').playerPause();}}}}
function FlashPlayerPlay(sPlayerEmbarqueId){if(typeof sPlayerEmbarqueId=="string"){if(document.getElementById(sPlayerEmbarqueId)){if(typeof document.getElementById(sPlayerEmbarqueId).playerPause=="function"){document.getElementById(sPlayerEmbarqueId).playerPause();}}}else{if(document.getElementById("CanalPlayerEmbarque")){if(typeof document.getElementById("CanalPlayerEmbarque").playerPlay=="function"){document.getElementById("CanalPlayerEmbarque").playerPlay();}}}}
function FlashPlayerStop(){if(document.getElementById("CanalPlayerEmbarque")){if(typeof document.getElementById('CanalPlayerEmbarque').playerStop=="function"){document.getElementById("CanalPlayerEmbarque").playerStop();}}}
function slPlayerPause(){if(document.getElementById("slapp")){if(typeof(document.getElementById("slapp").content.Player.Pause())=="function"){document.getElementById("slapp").content.Player.Pause();}}}
function slPlayerPlay(){if(document.getElementById("slapp")){if(typeof(document.getElementById("slapp").content.Player.Play())=="function"){document.getElementById("slapp").content.Player.Play();}}}
function launchSlideShow(id,picture){if(jQuery("div#lb-player-video").is(":visible")){closePlayerVideo();}else{FlashPlayerPause();}
var slideShowUrl="/flash/module/slide-show/slide-show.swf";var slideShowUrlV2="/flash/module/slide-show-v2/slide-show-v2.swf";var slideShowUrlV3="/flash/module/slide-show-v3/slide-show.swf";switch(tpid){case"554":var slideShowWidth="392";var slideShowHeight="344";break;case"544":case"545":case"547":case"548":case"549":case"552":case"553":case"554":var slideShowWidth="465";var slideShowHeight="390";slideShowUrl=slideShowUrlV2;break;case"630":case"632":case"633":case"660":case"663":case"664":case"665":var slideShowWidth="640";var slideShowHeight="423";slideShowUrl=slideShowUrlV3;break;default:var slideShowWidth="728";var slideShowHeight="390";break;}
if(cntid){switch(cntid){case"218":case"249":var slideShowWidth="640";var slideShowHeight="423";slideShowUrl=slideShowUrlV3;break;default:var slideShowWidth="728";var slideShowHeight="390";break;}}
var slideShowVars={xmlFileUrl:(sDocumentHttp+"/processus/xml/slideshowpro_xml.php?id="+id),imgDir:sMediaHttp};var slideShowParams={quality:"high",menu:"false",allowFullScreen:"true",allowScriptAccess:"always",wmode:"opaque",scale:"noScale",align:"middle",salign:"TL"};var slideShowAttributes={id:"SlideShow",name:"SlideShow"};if(picture){slideShowVars.xmlFileUrl+="&openDirectPicture="+picture;slideShowParams.openDirectPicture=picture;}
swfobject.embedSWF((sDocumentHttp+slideShowUrl),"SlideShow",slideShowWidth,slideShowHeight,"9.0.28","",slideShowVars,slideShowParams,slideShowAttributes);jQuery("div#lb-slide-show").show();if(tpid=="630"||tpid=="632"||tpid=="633"||tpid=="660"||tpid=="663"||tpid=="664"||tpid=="665"||cntid=="218"||cntid=="249"){var h=jQuery(window).height();var h2=465;var windowTopOffset=jQuery(window).scrollTop();if((h-h2)<80){windowTopOffset=windowTopOffset+40;}else{windowTopOffset=windowTopOffset+((h-h2)/2);}
if(cntid=="218"&&jQuery("div#habillage").is(":visible")){var HeightPushDown=jQuery("div#habillage").height();windowTopOffset=windowTopOffset-HeightPushDown;}
jQuery("div#lb-slide-show div.wrap-slide-show").css("top",(windowTopOffset-122)+"px");jQuery("div#lb-slide-show div#slide-show").css("top",(windowTopOffset-80)+"px");}}
function closeSlideShow(){jQuery("div#lb-slide-show").hide();jQuery("div#lb-slide-show div#slide-show").html('<object id="SlideShow"></object>');}
function getMovieName(movieName){if(navigator.appName.indexOf("Microsoft")!=-1){return window[movieName];}else{return document[movieName];}}
function toggleDisplay(){getMovieName("SlideShow").toggleDisplay();}
function DisplayMode(str,Class){jQuery("a.displayTitle").empty();jQuery("a.displayTitle").append(str);jQuery("a.displayTitle").removeClass("stop play").addClass(Class);}
var pageClearUrl="";var buttonCodeShareFacebook="";var codeShareFacebook="";var codeShareTwitter="";var compteTwitter="";function fbsButton_click(){var u=pageClearUrl+"?sc_cmpid="+buttonCodeShareFacebook;window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u),"sharer","toolbar=0,status=0,width=626,height=436");return false;}
function fbsVideo_click(){var u=pageClearUrl+"?vid="+videoId+"&sc_cmpid="+codeShareFacebook;var t="Viens voir la vidéo "+videoTitre+" - "+videoSousTitre+" sur CANALPLUS.FR";window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u)+"&t="+encodeURIComponent(t)+"&description="+encodeURIComponent(videoDescription)+"&image_src"+encodeURIComponent(videoVisuel),"sharer","toolbar=0,status=0,width=626,height=436");return false;}
function twsVideo_click(){var url=pageClearUrl+"?vid="+videoId+"&sc_cmpid="+codeShareTwitter;var titre="RT @"+compteTwitter+" "+videoTitre+" - "+videoSousTitre;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_twitter_url.php",data:{url:url,titre:titre},success:function(data){window.open(data,"sharer","toolbar=0,status=0,width=780,height=436");}});return false;}
var shadowObject=null;var shadowCurrentIteration=1;var shadowMaxIteration=3;var shadowPeriod=75;function shadow(){jQuery(shadowObject).each(function(){if(jQuery(this).hasClass("shadow")){jQuery(this).removeClass("shadow");}else{jQuery(this).addClass("shadow");}});if(shadowCurrentIteration==shadowMaxIteration*2){shadowCurrentIteration=1;}else{shadowCurrentIteration+=1;setTimeout("shadow()",shadowPeriod);}}
function keepAliveSession(){if(jQuery.cookie("webtv_session")=="1"){setTimeout("keepAliveSession()",900000);}}
function updatePopupEPG(tab){var _parent=jQuery("#lb-detailprogram").parent(".lb-alt");var h=jQuery(window).height();var h2=parseFloat(_parent.height());if(tab==3)h2=380;var windowTopOffset=jQuery(window).scrollTop();if(h<h2){windowTopOffset=windowTopOffset;}else{windowTopOffset=windowTopOffset+((h-h2)/2);}
_parent.css("top",windowTopOffset+"px");}
function liHover(){var timer1=microtime(true);jQuery("ul.schedule li").hover(function(){jQuery(this).addClass("hover");jQuery(this).children("span").addClass("hover");},function(){jQuery(this).removeClass("hover");jQuery(this).children("span").removeClass("hover");});var timer2=microtime(true);totalTimer["liHover"]=(timer2-timer1);}
function liClick(){var timer1=microtime(true);if(jQuery("div.btn_ecoutez a.btn")){jQuery("div.btn_ecoutez a.btn").click(function(e){e.preventDefault();var href=jQuery(this).attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;return false;}});}
if(jQuery("span.lien_auteur a.auteur")){jQuery("span.lien_auteur a.auteur").click(function(e){e.preventDefault();var href=jQuery(this).attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;return false;}});}
if(jQuery("p.author a.auteur")){jQuery("p.author a.auteur").click(function(e){e.preventDefault();var href=jQuery(this).attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;return false;}});}
jQuery("ul.thumbs li, ul.covers li, ul.thumbs li, ul.videos li, ul.sitevideos li, div.feature, div.alert, div.signup, ul.icon-list li, ul.unit-thumbs li").click(function(e){e.preventDefault();var href=jQuery(this).find("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){if(jQuery(this).find("a").attr("target")=="_blank"){window.open(href);}else{window.location=href;}}});jQuery("ul.thumbs li, ul.covers li, ul.thumbs li, ul.videos li, ul.sitevideos li, ul.schedule li, ul.icon-list li").not("ul.thumbs-reagir li").hover(function(){jQuery(this).addClass("hover");},function(){jQuery(this).removeClass("hover");});jQuery("div.feature, div.feature-small").hover(function(){jQuery(this).addClass("feature-hover");},function(){jQuery(this).removeClass("feature-hover");});jQuery("div.alert").hover(function(){jQuery(this).addClass("alert-hover");},function(){jQuery(this).removeClass("alert-hover");});jQuery("div.signup").hover(function(){jQuery(this).addClass("signup-hover");},function(){jQuery(this).removeClass("signup-hover");});jQuery("div.reagir a.btn").click(function(e){e.preventDefault();var href=jQuery(this).attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;}});jQuery("div.reagir").click(function(e){if(jQuery(this).hasClass("reagir-hover")){e.preventDefault();var href=jQuery(this).find("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;}}});jQuery("div.reagir:not(div.reagir a.btn)").hover(function(){jQuery(this).addClass("reagir-hover");},function(){jQuery(this).removeClass("reagir-hover");});jQuery("div.reagir a.btn").hover(function(){jQuery(this).parents("div.reagir").removeClass("reagir-hover");},function(){jQuery(this).parents("div.reagir").addClass("reagir-hover");});jQuery("div.cesoirsur div.img").click(function(e){e.preventDefault();var href=jQuery(this).prev("#cdsoursur-schedule").children("ul.schedule-sm").children("li:first").find("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;}});jQuery("div.cesoirsur div.pop-detailprogram").hover(function(){jQuery(this).prev("#cdsoursur-schedule").children("ul.schedule-sm").children("li:first").addClass("hover");},function(){jQuery(this).prev("#cdsoursur-schedule").children("ul.schedule-sm").children("li:first").removeClass("hover");});jQuery("ul.thumbs-reagir li div.img, ul.thumbs-reagir li a.video").hover(function(){jQuery(this).parents("li").children("h4").addClass("hover");},function(){jQuery(this).parents("li").children("h4").removeClass("hover");});jQuery("ul.w-video-small li").hover(function(){jQuery(this).addClass("hover");},function(){jQuery(this).removeClass("hover");});jQuery("ul.w-video-small li").hover(function(){jQuery(this).addClass("hover");jQuery(this).children("a").addClass("hover");},function(){jQuery(this).removeClass("hover");jQuery(this).children("a").removeClass("hover");});if(jQuery("div.cemoiscisurcanalplus").length>0){jQuery("div.genre ul.features").hover(function(){jQuery(this).addClass("features-hover");},function(){jQuery(this).removeClass("features-hover");});jQuery("div.ch div.img").hover(function(){jQuery(this).next().children("li.first").addClass("hover");},function(){jQuery(this).next().children("li.first").removeClass("hover");});}
var timer2=microtime(true);totalTimer["liClick"]=(timer2-timer1);}
function UserPageElementState(page){this.cookieName="userElementCookieState_";this.page=page;this.aEls=new Array();this.cookie=null;this.init=function(){this.cookie=jQuery.cookie(this.cookieName+this.page);if(this.cookie&&this.cookie!=""){var aElsTmp=this.cookie.split("|");for(i=0;i<aElsTmp.length;i++){var tmp=aElsTmp[i].split(":");this.aEls[tmp[0]]=tmp[1];}}};this.updateValue=function(id,value){this.aEls[id]=value;var tmp="";for(var key in this.aEls){tmp+=key+":"+this.aEls[key]+"|";}
jQuery.cookie(this.cookieName+this.page,tmp,{expires:30});};}
function sectionInitUserCookie(){userPageSectionState=new UserPageElementState("home_section");userPageSectionState.init();for(var key in userPageSectionState.aEls){if(userPageSectionState.aEls[key]==0){var e=jQuery.Event("click");jQuery("div."+key+" p.openClose a._openClose").trigger(e);}}}
function tabInitUserCookie(){userPageTabState=new UserPageElementState("home_tab");userPageTabState.init();for(var key in userPageTabState.aEls){if(userPageTabState.aEls[key]==1){var e=jQuery.Event("click");jQuery("ul.tabs li."+key+" a._tabs").trigger(e);var b=key;}}
if((b=="tab-3"&&!jQuery("ul.tabs li.tab-3").is(":visible"))||(b=="tab-2"&&!jQuery("ul.tabs li.tab-2").is(":visible"))){var bDisplayFirst=true;}
if(!b||bDisplayFirst){var key2="tab-1";var e=jQuery.Event("click");jQuery("ul.tabs li."+key2+" a._tabs").trigger(e);}}
function sportSectionInitUserCookie(){userPageSectionState=new UserPageElementState("home_sport_section");userPageSectionState.init();for(var key in userPageSectionState.aEls){if(userPageSectionState.aEls[key]==0){var e=jQuery.Event("click");jQuery("div."+key+" p.openClose a._openClose").trigger(e);}}}
var userPageSectionState=null;function liBrevesInitUserCookie(){userPageLiState=new UserPageElementState("home_breves");userPageLiState.init();for(var key in userPageLiState.aEls){if(userPageLiState.aEls[key]!=""){key=key.replace("breves_","");var b=key;}}
userPageLiParentState=new UserPageElementState("parent_breves");userPageLiParentState.init();for(var key in userPageLiParentState.aEls){if(userPageLiParentState.aEls[key]!=""){var parent=userPageLiParentState.aEls[key];}}
if(b){jQuery("#"+parent+" h3").trigger("click");jQuery("#"+parent+" #breves_"+b+" a").trigger("click");}}
function sectionOpenClose(){jQuery("#content div.section-closed").addClass("section-squish");jQuery("div.section p.openClose a._openClose").click(function(e){e.preventDefault();var el=jQuery(this);if(el.parents("div.section").hasClass("section-closed")){userPageSectionState.updateValue(el.parents("div.section").attr("class").split(" ")[1],'1');if(isIE||isSafari){var _cols=el.parents("div.section").find("div.cols");_cols.attr("style","");el.parents("div.section").find("div.col").attr("style","");_cols.each(function(i,val){var max=0;jQuery(this).children("div.col").each(function(j){if(jQuery(this).height()>max)max=jQuery(this).height();});jQuery(this).parents("div.section").find("p.plusLink").css({top:(max+18)});jQuery(this).parents("div.section").attr("maxheight",max);jQuery(this).find("div.col").height(max);});}
el.parents("div.section").removeClass("section-closed");Cufon.replace("div.section h2.h2-img-cuffon-section a");if(isIE||isSafari){el.parents("div.section").removeClass("section-squish");var obj=el.parents("div.section");obj.contents().find("span.imgSeparation").removeClass("imgSeparationHidden");obj.contents().find("span.pictoTv").removeClass("pictoTvHidden");el.parents("div.section").css({height:0});var h=(el.parents("div.section").attr("maxheight")*1)+55;el.parents("div.section").animate({height:h,marginBottom:"53px"},300,function(){});}else{el.parents("div.section").removeClass("section-squish",300);el.parents("div.section div.cols div.col span.imgSeparation").removeClass("imgSeparationHidden");el.parents("div.section div.cols div.col span.pictoTv").removeClass("pictoTvHidden");var obj=el.parents("div.section");obj.contents().find("span.imgSeparation").removeClass("imgSeparationHidden");obj.contents().find("span.pictoTv").removeClass("pictoTvHidden");}}else{userPageSectionState.updateValue(el.parents("div.section").attr("class").split(" ")[1],'0');el.parents("div.section").addClass("section-closed");Cufon.replace("div.section-closed h2.h2-img-cuffon-section a");if(isIE||isSafari){el.parents("div.section").animate({height:0,marginBottom:"25px"},300,function(){el.parents("div.section").addClass("section-squish")
var obj=el.parents("div.section");obj.contents().find("span.imgSeparation").addClass("imgSeparationHidden");obj.contents().find("span.pictoTv").addClass("pictoTvHidden");})}else{el.parents("div.section").addClass("section-squish",300);var obj=el.parents("div.section");obj.contents().find("span.imgSeparation").addClass("imgSeparationHidden");obj.contents().find("span.pictoTv").addClass("pictoTvHidden");}}});}
function sectionColHeights(){var timer1=microtime(true);jQuery("div.section div.cols div.col:first-child").addClass("col-first");var _cols=jQuery("div.section div.cols");_cols.each(function(i,val){if(!jQuery(this).parent().hasClass("noSectionColHeights")){var max=0;jQuery(this).children("div.col").each(function(j){if(jQuery(this).height()>max)max=jQuery(this).height();});if(max!=0){if(isIE||jQuery.browser.msie||isSafari){jQuery(this).parents("div.section").attr("maxheight",max);}
if(jQuery(this).children("div.col2x").length>0){jQuery(this).children("div.col2x").children("ul").find("li").addClass("marginRight20");}
jQuery(this).find("div.col").height(max);}}});var timer2=microtime(true);totalTimer["sectionColHeight"]=(timer2-timer1);}
function sectionColHeightsAlt(){jQuery("div.section div.cols div.col:first-child").addClass("col-first");var _cols=jQuery("div.section div.cols");_cols.each(function(i,val){var heights=new Array();heights[0]=jQuery(this).find("div.col:nth-child(1)").height();heights[1]=jQuery(this).find("div.col:nth-child(2)").height();var max=0;for(var i=0;i<=1;i++){if(heights[i]>max){max=heights[i];}}
if(isIE||jQuery.browser.msie||isSafari){jQuery(this).parents("div.section").find("p.plusLink").css({bottom:'auto',top:(max+18)});jQuery(this).parents("div.section").attr("maxheight",max);}
jQuery(this).find("div.col").height(Math.max(71,max));jQuery("#lesFilmsDuMois div.cols div.col").addClass("col-withBorder");});}
function tabs(t){if(t){var _a=jQuery("ul.tabs li a._tabs");_a.each(function(i){var _class=jQuery(this).parents("li").attr("class");_class=_class.replace("tab-","");_class=_class.replace("current","");_class=_class.replace(" ","");if(_class==t){jQuery(this).unbind("click");}else{jQuery(this).bind("click",function(e){tabs(_class);if(_class==4){e.preventDefault();initTab4();}});}});jQuery("#detailprogram-inner ul.tabs li[class*=tab-]").removeClass("current");jQuery("#detailprogram-inner ul.tabs li.tab-"+t).addClass("current");jQuery("#detailprogram-inner div[class*=tab-content]").hide();if(t==2){if(typeof jQuery("#detailprogram-inner div.tab-content-2")=='undefined'){jQuery("#detailprogram-inner div.tab-content-3").show();}else{FlashPlayerPause("CanalPlayerGrille");jQuery("#detailprogram-inner div.tab-content-2").show();if(isIE||jQuery.browser.msie){jQuery("#detailprogram-inner div.diffusion").css("float","none");jQuery("#detailprogram-inner div.diffusion").css("margin","0px 10px 0px 14px");jQuery("#detailprogram-inner div.diffusion").css("float","left");}}}else{jQuery("#detailprogram-inner div.tab-content-"+t).show();var c1_vide=false;jQuery("#detailprogram-inner div.tab-content-1 div.feature-alt p").each(function(){if(jQuery(this).html()==""){c1_vide=true;}});if(c1_vide){jQuery("#detailprogram-inner ul.tabs li.tab-1").hide();jQuery("#detailprogram-inner div.tab-content-1").hide();if(t==1){tabs(2);}}
if(t==3){FlashPlayerPlay("CanalPlayerGrille");slPlayerPause();}else{FlashPlayerPause("CanalPlayerGrille");}}}else{var _a=jQuery("ul.tabs li a._tabs");_a.each(function(i){jQuery(this).click(function(e){e.preventDefault();var w=jQuery("ul.tabs li").length-i;jQuery("div[class*=tab-content]").hide();if(w==2){if(typeof jQuery(this).parents("ul").nextAll("div.tab-content-2")=='undefined'){jQuery(this).parents("ul").nextAll("div.tab-content-3").show();FlashPlayerPlay("CanalPlayerGrille");slPlayerPause();}else{jQuery(this).parents("ul").nextAll("div.tab-content-2").show();FlashPlayerPause("CanalPlayerGrille");}}else if(w==3){jQuery(this).parents("ul").nextAll("div.tab-content-3").show();FlashPlayerPlay("CanalPlayerGrille");slPlayerPause();}else{jQuery(this).parents("ul").nextAll("div.tab-content-1").show();FlashPlayerPause("CanalPlayerGrille");}
_b=jQuery("ul.tabs li[class*=tab-]");_b.removeClass("current");if(typeof userPageTabState!='undefined'){_b.each(function(i){userPageTabState.updateValue(jQuery(this).attr("class").split(" ")[0],'0');});userPageTabState.updateValue(jQuery(this).parents("li").attr("class").split(" ")[0],'1');}
jQuery(this).parents("li").addClass("current");if(jQuery("#lb-detailprogram").length>0){updatePopupEPG();}
if(jQuery("div.diffusions").length>0){var _nb=jQuery("div.diffusion").size();if(_nb>0){jQuery('div.diffusion:nth-child(even)').addClass("even");var _last=jQuery('div.diffusion:last-child');_last.addClass("last");if(_last.hasClass("even")){_last.prev("div.diffusion").addClass("last");}
if(_nb<=10){jQuery("div.diffusions").css({height:"250px"});}}}});});}}
function updateTableau(cle,valeur){tableau.push(cle+","+valeur);}
function jourAccordion(){var d=new Date();var h=d.getHours();var t=[[6,12],[12,18],[18,20],[20,24],[0,6]];var o=0;for(var i=0;i<t.length;i++){if(h>=t[i][0]&&h<t[i][1]){o=i;}}
var hgts={t1:[],t2:[],t3:[],t4:[],t5:[]};jQuery("div.jour-accordion").each(function(div){jQuery(this).contents("h5:first").addClass("last");jQuery(this).contents("h5:last").addClass("last");jQuery(this).contents("h5").eq(o).addClass("open");jQuery(this).find("ul").each(function(i){hgts["t"+(i+1)][div]=jQuery(this).height();});});jQuery("div.jour-accordion").each(function(i){jQuery(this).find("ul").each(function(i){hgts["t"+(i+1)].sort(function(a,b){return b-a});jQuery(this).height(hgts["t"+(i+1)][0]);});jQuery(this).find("h5").each(function(i){jQuery(this).find("a").click(function(e){e.preventDefault();jQuery("div.jour-accordion").each(function(){jQuery(this).contents("h5").eq(i).toggleClass("open");if(!isIE){jQuery(this).contents("ul").eq(i).slideToggle();}else{jQuery(this).contents("ul").eq(i).toggle();}});var valeur;cle=jQuery(this).parents().attr("class").replace("open","");cle=cle.replace(" last","");cle=cle.replace("accordeon_","");if(jQuery(this).parents().hasClass("open")){valeur="1";updateTableau(cle,valeur);}else{valeur="0";updateTableau(cle,valeur);}});});});jQuery("div.jour-accordion ul").hide();jQuery("div.jour-accordion").each(function(div){jQuery(this).contents("ul").eq(o).show();});}
function openAccordeon(){for(i=0;i<tableau.length;i++){chaine=tableau[i].split(",");cle=chaine[0];valeur=chaine[1];if(valeur==1){jQuery(".accordeon_"+cle).addClass("open");if(!isIE){jQuery(".ul_"+cle).slideToggle();}else{jQuery(".ul_"+cle).toggle();}}
if(valeur==0){jQuery(".accordeon_"+cle).removeClass("open");if(!isIE){jQuery(".ul_"+cle).slideToggle();}else{jQuery(".ul_"+cle).toggle();}}}}
function labelMessages(){var bgS=-180;jQuery("span.message").prev("a.lbl").addClass("lbl-message");jQuery("a.lbl-message").mousemove(function(e){var mX=e.pageX;var pX=jQuery(this).parent().offset().left;pX=Math.ceil(pX);var p=mX-pX;p=(p>5)?p:5;p=bgS+p-5;if(jQuery("#programmesTable").length>0){p=p+71;}
jQuery(this).next("span.message").css({backgroundPosition:p});});jQuery("a.lbl-message").hover(function(){if(isIE&&jQuery("div.customDropDown").length>0){jQuery("div.customDropDown").addClass("customDropDown-alt");}
jQuery(this).next().show();},function(){if(isIE&&jQuery("div.customDropDown").length>0){jQuery("div.customDropDown").removeClass("customDropDown-alt");}
jQuery(this).next().hide();});}
function labelMessages2(){jQuery("a.lbl-message2").hover(function(){jQuery(".message2").addClass('showBlock');},function(){jQuery(".message2").hide();jQuery(".message2").removeClass('showBlock');});}
function labelMessages3(){jQuery("a.lbl-message3").hover(function(){jQuery(this).next().addClass('showBlock');},function(){jQuery(this).next().hide();jQuery(this).next().removeClass('showBlock');});}
function semaineSlider2(){var sliderContainer=jQuery("div.planifier div.planifier-header div.semaine-slider-container");var sliderInner=jQuery("div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider");var slideAmount=95;var sliderMoving=false;var currentSet=15;var budge=55;var maxSet=25;var currentDayIndex_r=0;var todayIndex=0;var currentOffsetLeft=0;var _x1=jQuery("#canalplus").offset().left+55;var _x2=_x1+(4*95);getCurrentIndexes();updateCurrentOffsetLeft();todayIndex=currentDayIndex_r;var currentSliderPos=budge+((currentDayIndex_r)*slideAmount*-1);sliderInner.css({left:currentSliderPos});function getCurrentIndexes(){var current=jQuery("div.semaine-slider ul li.current");currentDayIndex_r=current.prevAll().size();}
function updateCurrentOffsetLeft(){currentOffsetLeft=sliderInner.find("ul").find("li").eq(currentDayIndex_r).offset().left;}
function moveSlider(direction){if(!sliderMoving){calculateNextPosition(direction);sliderMoving=true;sliderInner.animate({left:currentSliderPos},800,function(){sliderMoving=false;});updateSlider(direction);updatePaginator();}}
function calculateNextPosition(direction){if(direction=='right'){currentSliderPos-=slideAmount;currentSet++;}else if(direction=='left'){currentSliderPos+=slideAmount;currentSet--;}}
function updatePaginator(){if(currentDayIndex_r==0){sliderContainer.find("ul[class*=paginator]").find("li.prev a").hide();sliderContainer.find("ul[class*=paginator]").find("li.next a").show();}else if(currentDayIndex_r==(maxSet-1)){sliderContainer.find("ul[class*=paginator]").find("li.next a").hide();sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}else{sliderContainer.find("ul[class*=paginator]").find("li.next a").show();sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}}
function updateSlider(direction){if(direction=="right"){sliderInner.find("ul").find("li.current").removeClass("current");sliderInner.find("ul").find("li").eq(currentDayIndex_r+1).addClass("current");}else if(direction=="left"){sliderInner.find("ul").find("li.current").removeClass("current");sliderInner.find("ul").find("li").eq(currentDayIndex_r-1).addClass("current");}
getCurrentIndexes();updateCurrentOffsetLeft();sliderInner.find("ul").find("li.current").trigger("click");}
sliderContainer.find("ul[class*=paginator]").find("li.prev a").click(function(e){e.preventDefault();updateCurrentOffsetLeft();if(currentOffsetLeft<=_x1){moveSlider('left');}else{updateSlider('left');}});sliderContainer.find("ul[class*=paginator]").find("li.next a").click(function(e){e.preventDefault();updateCurrentOffsetLeft();if(currentOffsetLeft>=_x2){moveSlider('right');}else{updateSlider('right');}});sliderInner.find("ul").find("li").click(function(e){e.preventDefault();if(!jQuery(this).hasClass("current")){updateCurrentOffsetLeft();sliderInner.find("ul").find("li.current").removeClass("current");jQuery(this).addClass("current");currentDayIndex_r=jQuery(this).prevAll().size();updateCurrentOffsetLeft();}
currentDate=sliderInner.find("ul").find("li.current").attr("id").replace("nav-","");grilleV3(currentDate);});}
function emissionSlider(){var sliderContainer=jQuery("div.planifier div.planifier-header div.semaine-slider-container");var sliderInner=jQuery("div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider");var slideAmount=520;var sliderMoving=false;if(typeof initCurrentSet!='undefined'){var currentSet=initCurrentSet;}else{var currentSet=0;}
var budge=75;var currentSliderPos=budge+(currentSet*slideAmount*-1);if(typeof iMaxSet!='undefined'){var maxSet=iMaxSet;}else{var maxSet=3;}
sliderInner.css({left:currentSliderPos});function moveSlider(direction){if(!sliderMoving){calculateNextPosition(direction);sliderMoving=true;sliderInner.animate({left:currentSliderPos},1000,function(){sliderMoving=false;});updatePaginator();}}
function calculateNextPosition(direction){if(direction=='right'){currentSliderPos-=slideAmount;currentSet++;}else if(direction=='left'){currentSliderPos+=slideAmount;currentSet--;}}
function updatePaginator(){if(currentSet==0){if(maxSet==0){sliderContainer.find("ul[class*=paginator]").find("li a").addClass("hide");}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();}}else if(currentSet==maxSet){sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}}
updatePaginator();sliderContainer.find("ul[class*=paginator]").find("li.prev a").click(function(e){e.preventDefault();if(currentSet!=0){moveSlider('left');}});sliderContainer.find("ul[class*=paginator]").find("li.next a").click(function(e){e.preventDefault();if(currentSet!=maxSet){moveSlider('right');}});sliderInner.find("ul").find("li").hover(function(){if(!jQuery(this).hasClass("current")){jQuery(this).addClass("hover");}},function(){jQuery(this).removeClass("hover");});sliderInner.find("ul").find("li").click(function(){if(!jQuery(this).hasClass("current")){sliderInner.find("ul").find("li.current").removeClass("current");jQuery(this).addClass("current");}});}
function episodeSlider(){var sliderContainer=jQuery("div.planifier div.planifier-header div.semaine-slider-container");var sliderInner=jQuery("div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider");var slideAmount=550;var sliderMoving=false;if(typeof initCurrentSet!='undefined'){var currentSet=initCurrentSet;}else{var currentSet=0;}
var budge=50;var currentSliderPos=budge+(currentSet*slideAmount*-1);if(typeof iMaxSet!='undefined'){var maxSet=iMaxSet;}else{var maxSet=3;}
sliderInner.css({left:currentSliderPos});function moveSlider(direction){if(!sliderMoving){calculateNextPosition(direction);sliderMoving=true;sliderInner.animate({left:currentSliderPos},1000,function(){sliderMoving=false;});updatePaginator();}}
function calculateNextPosition(direction){if(direction=='right'){currentSliderPos-=slideAmount;currentSet++;}else if(direction=='left'){currentSliderPos+=slideAmount;currentSet--;}}
function updatePaginator(){if(currentSet==0){if(maxSet==0){sliderContainer.find("ul[class*=paginator]").find("li a").addClass("hide");}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();}}else if(currentSet==maxSet){sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}}
updatePaginator();sliderContainer.find("ul[class*=paginator]").find("li.prev a").click(function(e){e.preventDefault();if(currentSet!=0){moveSlider('left');}});sliderContainer.find("ul[class*=paginator]").find("li.next a").click(function(e){e.preventDefault();if(currentSet!=maxSet){moveSlider('right');}});sliderInner.find("ul").find("li").hover(function(){if(!jQuery(this).hasClass("current")){jQuery(this).addClass("hover");}},function(){jQuery(this).removeClass("hover");});sliderInner.find("ul").find("li").click(function(e){e.preventDefault();if(!jQuery(this).hasClass("current")){sliderInner.find("ul").find("li.current").removeClass("current");jQuery(this).addClass("current");}});sliderInner.find("ul").find("li").find("a").click(function(e){e.preventDefault();if(!jQuery(this).parents("li").hasClass("current")){sliderInner.find("ul").find("li.current").removeClass("current");jQuery(this).parents("li").addClass("current");}});}
function homepageVideos(){var which=0;var hrefs=["/ajax/tab1-content1.htm","/ajax/tab1-content2.htm","/ajax/tab1-content3.htm","/ajax/tab1-content4.htm"];jQuery("#tab-content-1 ul.paginator li.prev a").hide();function swapContent(textStatus,href){jQuery("#tab-content-1 ul.paginator li").removeClass("current");jQuery("#tab-content-1 ul.paginator li").eq(which+2).addClass("current");if(textStatus=="success"){if(which==3){jQuery("#tab-content-1 ul.paginator li.next a").hide();}else{jQuery("#tab-content-1 ul.paginator li.next a").show();}
if(which==0){jQuery("#tab-content-1 ul.paginator li.prev a").hide();}else{jQuery("#tab-content-1 ul.paginator li.prev a").show();}
setUpClasses();}else{window.location=href;}}
jQuery("#tab-content-1 ul.paginator li a:not(li.next a, li.prev a)").click(function(e){e.preventDefault();which=jQuery(e.target).html();which=(which*1)-1;jQuery("#tab-content-1-list").load(hrefs[which],function(responseText,textStatus,XMLHttpRequest){swapContent(textStatus,hrefs[which]);})});jQuery("#tab-content-1 ul.paginator li.next a").click(function(e){e.preventDefault();which++;jQuery("#tab-content-1-list").load(hrefs[which],function(responseText,textStatus,XMLHttpRequest){swapContent(textStatus,hrefs[which]);})});jQuery("#tab-content-1 ul.paginator li.prev a").click(function(e){e.preventDefault();which--;jQuery("#tab-content-1-list").load(hrefs[which],function(responseText,textStatus,XMLHttpRequest){swapContent(textStatus,hrefs[which]);})});}
function vitrinePremium(){jQuery.ajax({url:"/private/ajax/wwwplus_vitrine_premium.php",success:function(data){jQuery("div#btn_premium").html(data);waitForPassJSON("lightboxes");}});}
var sportVitrine=new Array();function breveVitrinePage(ztid,rel){ajaxChargement();var exp_reg=/^type([0-9]+)page([0-9]+)$/;var resultat=rel.match(exp_reg);if(resultat!=null){var type=resultat[1];var page=resultat[2];}
jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_vitrine_secondaire_v3_breves_news.php",data:{type:type,page:page,pid:pid,sport:(typeof sportVitrine[ztid]=="undefined")?"":sportVitrine[ztid],ztid:ztid},dataType:"json",success:function(data){jQuery("div#breveVitrine-"+ztid+" ul.schedule").html(data.schedule);jQuery("div#breveVitrine-"+ztid+" ul.paginator").html(data.paginator);if(type==1){lightboxes();}
jQuery("div#breveVitrine-"+ztid+" ul.paginator li a").click(function(e){e.preventDefault();breveVitrinePage(ztid,jQuery(this).attr("rel"));});jQuery("div#loader").remove();jQuery("div#lb-mask").hide();}});}
function breveNewsVitrinePage(ztid,rel){ajaxChargement();var exp_reg=/^type([0-9]+)page([0-9]+)$/;var resultat=rel.match(exp_reg);if(resultat!=null){var type=resultat[1];var page=resultat[2];}
jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_vitrine_secondaire_v3_news_breves.php",data:{type:type,page:page,pid:pid},dataType:"json",success:function(data){jQuery("div#vitrineBrevesNews-"+ztid+" ul.simpleVideoListing-minisite").html(data.simpleVideoListing);jQuery("div#vitrineBrevesNews-"+ztid+" ul.paginator").html(data.paginator);jQuery("div#vitrineBrevesNews-"+ztid+" ul.paginator li a").click(function(e){e.preventDefault();breveNewsVitrinePage(ztid,jQuery(this).attr("rel"));});jQuery("div#loader").remove();jQuery("div#lb-mask").hide();}});}
function breveVitrineDropDown(ztid,rel){sportVitrine[ztid]=(typeof rel=="undefined")?"":rel;breveVitrinePage(ztid,"type1page1");}
var sportBreveVitrine=new Array();var bDisplaySportBreveVitrine=new Array();function brevesportVitrinePage(ztid,page){ajaxChargement();jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_vitrine_secondaire_v3_breves_sport.php",data:{page:page,ztid:ztid,pid:pid,sport:sportBreveVitrine[ztid],display_sport:bDisplaySportBreveVitrine[ztid]},dataType:"json",success:function(data){jQuery("div#brevesportVitrine-"+ztid+" ul.schedule").html(data.schedule.replace(/&lt;strong&gt;/g,"<strong>").replace(/&lt;\/strong&gt;/g,"</strong>"));jQuery("div#brevesportVitrine-"+ztid+" ul.paginator").html(data.paginator);lightboxes();jQuery("div#brevesportVitrine-"+ztid+" ul.paginator li a").click(function(e){e.preventDefault();brevesportVitrinePage(ztid,jQuery(this).attr("rel"));});jQuery("div#loader").remove();jQuery("div#lb-mask").hide();}});}
function brevesportVitrineDropDown(ztid,rel){sportBreveVitrine[ztid]=(typeof rel=="undefined")?"":rel;brevesportVitrinePage(ztid,1);}
function vitrinesSecondaires(){jQuery("div.col").each(function(){var resultat=jQuery(this).attr("id").match(/^breveVitrine-([0-9]+)$/);if(resultat!=null){var ztid=resultat[1];jQuery(this).find("div.customDropDown ul li a").click(function(e){breveVitrineDropDown(ztid,jQuery(this).attr("rel"));});jQuery(this).find("ul.paginator li a").click(function(e){e.preventDefault();breveVitrinePage(ztid,jQuery(this).attr("rel"));});}
var resultat=jQuery(this).attr("id").match(/^brevesportVitrine-([0-9]+)$/);if(resultat!=null){var ztid=resultat[1];jQuery(this).find("div.customDropDown ul li a").click(function(e){brevesportVitrineDropDown(ztid,jQuery(this).attr("rel"));});jQuery(this).find("ul.paginator li a").click(function(e){e.preventDefault();brevesportVitrinePage(ztid,jQuery(this).attr("rel"));});}});jQuery("div.mod").each(function(){var resultat=jQuery(this).attr("id").match(/^vitrineBrevesNews-([0-9]+)$/);if(resultat!=null){var ztid=resultat[1];jQuery(this).find("ul.paginator li a").click(function(e){e.preventDefault();breveNewsVitrinePage(ztid,jQuery(this).attr("rel"));});}});jQuery("div.col div.reagir_et_participer div.listParticiper a.icon").each(function(){var _rel=jQuery(this).attr("rel");jQuery(this).hover(function(){jQuery(this).parents("div.reagir_et_participer").find("div.multiListParticiper div.pictoBulle").addClass("pictoBulleHover");jQuery(this).parents("div.reagir_et_participer").find("div.multiListParticiper div.pictoBulle h3.h3PictoBulle_"+_rel).addClass("h3-hover");jQuery(this).parents("div.reagir_et_participer").find("div.multiListParticiper div.pictoBulle img.imgPictoBulle_"+_rel).addClass("imgpictoBulleHover");},function(){jQuery(this).parents("div.reagir_et_participer").find("div.multiListParticiper div.pictoBulle").removeClass("pictoBulleHover");jQuery(this).parents("div.reagir_et_participer").find("div.multiListParticiper div.pictoBulle h3.h3PictoBulle_"+_rel).removeClass("h3-hover");jQuery(this).parents("div.reagir_et_participer").find("div.multiListParticiper div.pictoBulle img.imgPictoBulle_"+_rel).removeClass("imgpictoBulleHover");});});jQuery("div.col a.rejoignez_nous_facebook").each(function(){if(jQuery(this).hasClass("withHoverEffect")){jQuery(this).hover(function(){var _height=jQuery(this).height();jQuery(this).css("background-position","0 -"+_height+"px");},function(){jQuery(this).addClass("rejoignez_nous_facebook-alt");});}});if(jQuery("div.col div#btn_premium").is(":visible")){waitForPassJSON('vitrinePremium');}}
function homepage(){indispensableFunctions();liClick();tabs();sectionColHeights();sectionOpenClose();tabInitUserCookie();sectionInitUserCookie();liBrevesInitUserCookie();customDropDown();jQuery('div.videos-slider-container').f_slider({itemsVisible:4,doAutoScroll:false,slideAmount:660});videoSlider();switch(tpid){case"660":var ztid=6070;break;default:var ztid=5166;break;}
var vars={xmlFileUrl:sDocumentHttp+"/flash/v3/xml/carrousel.php?VARS=1-"+pid+"-"+ztid,timer:"8",PAGE_ID:pid,ZONE_TEMPLATE_ID:ztid}
var params={bgcolor:"#000000",wmode:"opaque",allowScriptAccess:"always"};var attributes={id:"flashContent",name:"flashContent"};switch(tpid){case"660":if(jQuery("#FlashSize").val()!="undefined"){if(jQuery("#FlashSize").val()=="2"){swfobject.embedSWF(sMediaHttp+"/design/front_office_wwwplus/flash/carrousel_home_generale.swf","flashContent","1000","250","9",null,vars,params,attributes);}else{swfobject.embedSWF(sMediaHttp+"/design/front_office_wwwplus/flash/carrousel_home_thematique.swf","flashContent","640","360","9",null,vars,params,attributes);}}
break;default:swfobject.embedSWF(sMediaHttp+"/design/front_office_wwwplus/flash/carrousel_home_generale.swf","flashContent","1000","250","9",null,vars,params,attributes);break;}
vitrinesSecondaires();}
var stopAlerting=0;var delaiAlerting=10000;var nbProgMax=4;var progEnCours=-1;var timer=null;var nbr=0;function arreteDefil(){stopAlerting=1;clearTimeout(timer);}
function relanceDefil(){stopAlerting=0;timer=setTimeout("defil()",delaiAlerting);}
function defil(){if(stopAlerting==0){if(nbr>nbProgMax){nbr=0;}
jQuery("div.alertingLiveCentral ul.paginator-LivePremium li.current").removeClass("current");jQuery("div.alertingLiveCentral ul.paginator-LivePremium li#livePremium-page-"+nbr).addClass("current");var chaine="li#livePremium-prog-"+nbr;jQuery("div.alertingLiveCentral ul.alertingProgrammeLive li.current").removeClass("current");jQuery("div.alertingLiveCentral ul.alertingProgrammeLive "+chaine).addClass("current");nbr++;timer=setTimeout("defil()",delaiAlerting);}}
function defilement(){jQuery("div.alertingLiveCentral ul.paginator-LivePremium li a").click(function(e){e.preventDefault();if(!jQuery(this).parents("div.alertingLiveCentral ul.paginator-LivePremium li").hasClass("current")){jQuery("div.alertingLiveCentral ul.paginator-LivePremium li.current").removeClass("current");jQuery("div.alertingLiveCentral ul.alertingProgrammeLive li.current").removeClass("current");jQuery(this).parents("div.alertingLiveCentral ul.paginator-LivePremium li").addClass("current");var prog=jQuery(this).parents("div.alertingLiveCentral ul.paginator-LivePremium li").attr("id");prog=prog.replace("page","prog");var chaine="li#"+prog;jQuery("div.alertingLiveCentral ul.alertingProgrammeLive "+chaine).addClass("current");var bullet=jQuery(this).attr("id");bullet=bullet.replace("page-","");nbr=bullet;nbr++;arreteDefil();relanceDefil();}});}
function alertingPremium(){jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_alerting_premium.php",success:function(data){jQuery("div#liveAlerting").html(data);jQuery("#bloc_fil_video_pub").addClass("videos-alert");defil();defilement();jQuery("div.alertingLiveCentral ul.alertingProgrammeLive li").hover(function(){jQuery("div.alertingLiveCentral ul.alertingProgrammeLive li h2").addClass("survol");arreteDefil();},function(){jQuery(this).removeClass("hover");jQuery("div.alertingLiveCentral ul.alertingProgrammeLive li h2").removeClass("survol");relanceDefil();});lightboxes();}});jQuery("div#bloc_fil_video div.alert").hide();}
function cesoirsurDropDown(rel){jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_ce_soir_sur.php",data:{chaine:rel,pid:pid},dataType:"json",success:function(data){jQuery("div.cesoirsur div#cesoirsur-schedule ul.schedule").html(data.schedule);jQuery("div.cesoirsur div#cesoirsur-img").html(data.img);setUpClasses();jQuery(".pop-detailprogram").unbind("click");lightboxes();}});}
function sectionInitialize(){var timer1=microtime(true);var _cols=jQuery("div.section div.cols");_cols.each(function(i,val){if(jQuery(this).children("div.col").length==0){jQuery(this).parents("div.section").remove();}});var timer2=microtime(true);totalTimer["sectionInitialize"]=(timer2-timer1);}
function sectionHomepages(){indispensableFunctions();sectionInitialize();sectionColHeights();liBrevesInitUserCookie();customDropDown();jQuery('div.col2x-videos-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:660});jQuery('div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:324});videoSlider();btnToutesLesVideos();liClick();switch(tpid){case"593":var ztid=5247;break;case"596":var ztid=5308;break;case"597":var ztid=5327;break;case"607":var ztid=5439;break;case"609":var ztid=5481;break;default:var ztid="";break;}
var vars={xmlFileUrl:sDocumentHttp+"/flash/v3/xml/carrousel.php?VARS=1-"+pid+"-"+ztid,timer:"8",PAGE_ID:pid,ZONE_TEMPLATE_ID:ztid}
var params={bgcolor:"#000000",wmode:"opaque",allowScriptAccess:"always"};var attributes={id:"flashContent",name:"flashContent"};swfobject.embedSWF(sMediaHttp+"/design/front_office_wwwplus/flash/carrousel_home_thematique.swf","flashContent","640","350","9",null,vars,params,attributes);vitrinesSecondaires();var tmp="";var total=0;for(var key in totalTimer){tmp+=key+":"+totalTimer[key]+"\n";total+=totalTimer[key];}
tmp+="TOTAL:"+total;}
function homepageSport(){sectionHomepages();sectionOpenClose();sportSectionInitUserCookie();if(jQuery("div.mainFeature div.alert").is(":visible")){jQuery("div.mainFeature").addClass("mainFeature-alert");}}
var cidBreve="";var sportBreve="";var bDisplaySportBreve=0;function brevesportContent(cid){cidBreve=cid;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_sport_breve.php",data:{cid:cid},success:function(data){jQuery("div#brevesport-inner div#brevesportDetail").html(data);sendOmnitureTagBreveSport();}});}
function brevesportPage(page){jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_sport_liste_breves.php",data:{page:page,cid:cidBreve,sport:sportBreve,display_sport:bDisplaySportBreve},dataType:"json",success:function(data){jQuery("div#brevesport-inner ul.schedule").html(data.schedule.replace(/&lt;strong&gt;/g,"<strong>").replace(/&lt;\/strong&gt;/g,"</strong>"));jQuery("div#brevesport-inner ul.paginator").html(data.paginator);jQuery("div#brevesport-inner ul.schedule li a").click(function(e){e.preventDefault();jQuery("div#brevesport-inner ul.schedule li a").removeClass("current");jQuery(this).addClass("current");brevesportContent(jQuery(this).attr("rel"));});jQuery("div#brevesport-inner ul.paginator li a").click(function(e){e.preventDefault();brevesportPage(jQuery(this).attr("rel"));});sendOmnitureTagBreveSport();}});}
function brevesportDropDown(rel){sportBreve=(typeof rel=="undefined")?"":rel;brevesportPage(1);}
function newsSportLink(){jQuery("div.bloc_news").hover(function(){jQuery(this).children("div.une_news").children("div.text_news").children("div.news_title").addClass("sport-hover");jQuery(this).children("div.une_news_last").children("div.text_news").children("div.news_title").addClass("sport-hover");jQuery(this).children("div.une_news").children("div.text_news").children("div.news_content").children("span.lire_la_suite").addClass("sport-hover");jQuery(this).children("div.une_news_last").children("div.text_news").children("div.news_content").children("span.lire_la_suite").addClass("sport-hover");},function(){jQuery(this).children("div.une_news").children("div.text_news").children(".news_title").removeClass("sport-hover");jQuery(this).children("div.une_news_last").children("div.text_news").children(".news_title").removeClass("sport-hover");jQuery(this).children("div.une_news").children("div.text_news").children("div.news_content").children("span.lire_la_suite").removeClass("sport-hover");jQuery(this).children("div.une_news_last").children("div.text_news").children("div.news_content").children("span.lire_la_suite").removeClass("sport-hover");});jQuery("div.bloc_news").click(function(e){e.preventDefault();var href=jQuery(this).children(".lien_sur_news").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;return false;}});}
function sendOmnitureTagBreveSport(){pageName_save=s.pageName;prop5_save=s.prop5;prop6_save=s.prop6;prop7_save=s.prop7;s.pageName="C+ - Brèves";s.prop5="C+ - Brèves";s.prop6="";s.prop7="";s.t();s.pageName=pageName_save;s.prop5=prop5_save;s.prop6=prop6_save;s.prop7=prop7_save;}
function grilleV3(date){ajaxChargement();jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_grille_v3.php",data:{date:date,pid:pid},dataType:"json",success:function(data){jQuery("div#bloc_soiree").html(data.soiree);jQuery("div#bloc_programmes").html(data.programmes);jourAccordion();openAccordeon();jQuery(".pop-detailprogram").unbind("click");lightboxes();labelMessages();jQuery("div#loader").remove();if(jQuery("#lb-detailprogram").is(":hidden")){jQuery("div#lb-mask").hide();jQuery("div#lb-mask-premium").hide();}}});}
var nbMEA=new Array();nbMEA[0]=0;nbMEA[1]=0;nbMEA[2]=0;var stopMEA=0;var delaiMEA=4000;var MEAS_encours=0;var nbMEAS_max=3;var MEA_encours=new Array();MEA_encours[0]=0;MEA_encours[1]=0;MEA_encours[2]=0;function changeMEA(){var bManuel=(arguments.length==2)?true:false;if(stopMEA!=1&&!jQuery("div#detailprogram-inner").is(":visible")){if(bManuel){stopMEA=1;}
if(bManuel){jQuery("div.cemoiscisurcanalplus div#mea-"+arguments[0]+" ul li").removeClass("current");}else{jQuery("div.cemoiscisurcanalplus div#mea-"+MEAS_encours+" ul li").removeClass("current");}
if(!bManuel){MEA_encours[MEAS_encours]++;if(MEA_encours[MEAS_encours]>=nbMEA[MEAS_encours]){MEA_encours[MEAS_encours]=0;}}
if(bManuel){jQuery("div.cemoiscisurcanalplus div.genre ul li.prog-"+arguments[0]+"-"+arguments[1]).addClass("current");MEA_encours[arguments[0]]=arguments[1];}else{jQuery("div.cemoiscisurcanalplus div.genre ul li.prog-"+MEAS_encours+"-"+MEA_encours[MEAS_encours]).addClass("current");}
if(!bManuel){if(nbMEA[0]>1||nbMEA[1]>1||nbMEA[2]>1){do{MEAS_encours++;if(MEAS_encours>=nbMEAS_max){MEAS_encours=0;}}while(nbMEA[MEAS_encours]<=1);}}}
if(bManuel){setTimeout("relanceMEA()",delaiMEA);}else{setTimeout("changeMEA()",delaiMEA);}}
function arreteMEA(){stopMEA=1;}
function relanceMEA(){stopMEA=0;}
function tvGrid(){indispensableFunctionsEAD();liClick();labelMessages();liBrevesInitUserCookie();customDropDown();tabs();videoSlider();semaineSlider2();jourAccordion();jQuery("div.cemoiscisurcanalplus").f_controler();jQuery("div.cemoiscisurcanalplus div.genre ul.paginator li a").click(function(e){e.preventDefault();});jQuery("div.cemoiscisurcanalplus div.genre ul.features li").mouseover(function(){arreteMEA();}).mouseout(function(){relanceMEA();});nbMEA[0]=jQuery("div.cemoiscisurcanalplus div#mea-0 ul.features li").siblings().length;nbMEA[1]=jQuery("div.cemoiscisurcanalplus div#mea-1 ul.features li").siblings().length;nbMEA[2]=jQuery("div.cemoiscisurcanalplus div#mea-2 ul.features li").siblings().length;setTimeout("changeMEA()",delaiMEA);if(typeof date=="string"){jQuery("ul li#nav-"+date+" a").trigger("click");}
if(jQuery("div.bannerbar").is(":visible")){jQuery("div.leprogrammedelajournee").addClass("leprogrammedelajournee-with-bannebar");}
jQuery.ajax({url:"/private/ajax/check_ead.php",success:function(data){if(data=="1"){jQuery("div.planifier div.planifier-header div.rechercherUnProgramme a.mes-enr").show();jQuery("div.bannerbar div.mes-enr").show();}else{jQuery("div.planifier div.planifier-header div.rechercherUnProgramme a.enr-a-dis").show();jQuery("div.bannerbar div.enr-a-dis").show();}}});}
function filterDropDown(rel){document.location.href=jQuery("div#filterDropDown ul li a[rel='"+rel+"']").attr("href");}
function nbResultatsParPageDropDown(rel){document.location.href=jQuery("div#nbResultatsParPageDropDown ul li a[rel='"+rel+"']").attr("href");}
function lesFilmsDuMois(){jQuery("div.bannerbar").addClass("bannebar-fimsdumois");if(jQuery("div.bannerbar").is(":visible")){jQuery("div.bannerbar").addClass("bannebar-fimsdumois");}else{jQuery("div.lesFilmsDuMoisSous").addClass("lesFilmsDuMoisSous-alt");}
jQuery("div#filterDropDown ul").addClass("max-height200px");jQuery("div#filterDropDown ul").addClass("overflowY-auto");}
function rechercheProgramme(){indispensableFunctions();sectionColHeightsAlt();liBrevesInitUserCookie();customDropDown();labelMessages();}
function recherche(){indispensableFunctions();liBrevesInitUserCookie();customDropDown();var _last=jQuery("ul.thumbs li:last-child");if(_last.hasClass("noMarginRight")){_last.addClass("last-alt");_last.prev().addClass("last-alt");_last.prev().prev().addClass("last-alt");}else if(_last.hasClass("even")){_last.prev().addClass("last-alt");}
jQuery("#rechercherSite").focus();}
function programme(){indispensableFunctions();sectionInitialize();sectionColHeights();if(jQuery("div.mainFeature div.alert").is(":visible")){jQuery("div.mainFeature div.sideMainFeature").addClass("sideMainFeature-alt");jQuery("div.mainFeature div.sideMainFeature, div.mainFeature div.flashContent").addClass("marginBottom50px");}else{if(!jQuery("div.mainFeature div.flashContent div.planifier").is(":visible")){jQuery("div.mainFeature-alt").addClass("mainFeature-alt-625");}}
jQuery("div.feature, div.feature-small").hover(function(){jQuery(this).addClass("feature-hover");},function(){jQuery(this).removeClass("feature-hover");});jQuery("ul.features-alt li").hover(function(){jQuery(this).addClass("hover");},function(){jQuery(this).removeClass("hover");});jQuery("ul.videos li").click(function(e){e.preventDefault();var href=jQuery(this).find("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;}});jQuery("div.sideTool-alt ul.icon-list li").hover(function(){jQuery(this).addClass("hover");jQuery(this).children("a.icon").addClass("icon-hover");},function(){jQuery(this).removeClass("hover");jQuery(this).children("a.icon").removeClass("icon-hover");});if(jQuery('dd').length>0){jQuery('dd:nth-child(even)').addClass("even");jQuery('dd:first-child').addClass("first");jQuery('dd:last-child').addClass("last");}
if(jQuery("div.alert")[0]){jQuery("div.alert").click(function(e){e.preventDefault();e.preventDefault();var href=jQuery(this).find("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;}});jQuery("div.alert").hover(function(){jQuery(this).addClass("alert-hover");},function(){jQuery(this).removeClass("alert-hover");});}
if(jQuery("div.mainFeature div.sideMainFeature div.sideTool-noBorder div.col-prochainRdv").is(":visible")){jQuery("div.mainFeature div.sideMainFeature div.sideTool-noBorder").addClass("height310px");jQuery("div.mainFeature div.sideMainFeature div.sideTool-noBorder div.col-prochainRdv ul.schedule").addClass("noBorder");}
emissionSlider();jQuery('div.twocol div.col2x-videos-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:660});jQuery('div.onecol div.col2x-videos-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:330});jQuery('div.onecol div.content_sommaire').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:310});jQuery('div.col2x div.content_sommaire').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:660});jQuery('div.onecol div.content_invites').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:310});jQuery('div.col2x div.content_invites').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:660});jQuery('div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:324});videoSlider();btnToutesLesVideos();vitrinesSecondaires();}
var initHeightRightSection=0;function updateHeightRightSection(){var heightMainSection=jQuery("div#mainSection").height();if(jQuery("div.titreTxtBrut").is(":visible")){heightMainSection+=jQuery("div.titreTxtBrut").height();}
var heightRightSection=jQuery("div#rightSection").height();if(heightMainSection>heightRightSection){jQuery("div#rightSection").css("height",heightMainSection+"px");}else{if(heightRightSection>initHeightRightSection){if(heightMainSection>initHeightRightSection){jQuery("div#rightSection").css("height",heightMainSection+"px");}else{jQuery("div#rightSection").css("height",initHeightRightSection+"px");}}}}
function generiqueSport(){indispensableFunctions();liBrevesInitUserCookie();customDropDown();videoSlider();btnToutesLesVideos();vitrinesSecondaires();}
function newsSport(){initHeightRightSection=jQuery("div#rightSection").height();indispensableFunctions();liClick();liBrevesInitUserCookie();customDropDown();videoSlider();btnToutesLesVideos();vitrinesSecondaires();updateHeightRightSection();jQuery("div#mainSection div.comment-share-bar a.commentLink").click(function(e){e.preventDefault();var target=jQuery("div#mainSection div.commentaire_facebook").offset().top;jQuery("html, body").animate({scrollTop:target},"slow");});newsSportLink();}
function videoSport(){indispensableFunctions();liBrevesInitUserCookie();customDropDown();emissionSlider();jQuery("div.flashContent-top-sport div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery('div.twocol div.col2x-videos-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:660});jQuery('div.onecol div.col2x-videos-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:330});jQuery('div.onecol div.content_sommaire').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:310});jQuery('div.col2x div.content_sommaire').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:660});jQuery('div.onecol div.content_invites').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:310});jQuery('div.col2x div.content_invites').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:660});jQuery('div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:324});videoSlider();btnToutesLesVideos();vitrinesSecondaires();}
function videoV3(){indispensableFunctions();liBrevesInitUserCookie();customDropDown();videoSlider();btnToutesLesVideos();vitrinesSecondaires();if(jQuery("div.linkbar").is(":visible")){jQuery("div.infoVideoRight-closed a, div.infoVideoRight-open a ").click(function(e){e.preventDefault();if(jQuery("div.infoVideoRight-closed").hasClass("infoVideoRight-open")){jQuery("#infoVideo").slideUp("slow",function(){jQuery("div.infoVideoRight-closed").removeClass("infoVideoRight-open");});}else{jQuery("div.infoVideoRight-closed").addClass("infoVideoRight-open");jQuery('div.infoVideo-player').slideDown('slow');}});}
jQuery("ul.type-video li.case a").click(function(e){e.preventDefault();jQuery("ul.type-video li.case").each(function(){jQuery("ul.type-video li.case").removeClass("case-cochee");});jQuery(this).parent().addClass("case-cochee");});jQuery("ul.features-alt-videov3-2x4 li h4 a, ul.features-alt-videov3-2x4 li p a, ul.features-alt-videov3-2x4 li a").click(function(e){e.preventDefault();});jQuery("ul.features-alt-videov3-3x3 li h4 a, ul.features-alt-videov3-3x3 li p a, ul.features-alt-videov3-3x3 li a").click(function(e){e.preventDefault();});jQuery("ul.features-alt-videov3-4x3 li h4 a, ul.features-alt-videov3-4x3 li p a, ul.features-alt-videov3-4x3 li a").click(function(e){e.preventDefault();});}
function mesEnregistrements(){indispensableFunctions();liBrevesInitUserCookie();customDropDown();jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_ead_liste_enregistrements.php",data:{pid:pid},success:function(data){jQuery("div#liste_enregistements").html(data);lightboxes();}});}
function liveOnglet(){if(jQuery("div#contenuOnglet div.texte_presentation.bloc1 a.btn").is(":visible")){jQuery("div#contenuOnglet div.texte_presentation.bloc1 a.btn").click(function(e){e.preventDefault();if(jQuery("div#contenuOnglet div.texte_presentation.bloc1 div.texteSecondaire").is(":visible")){jQuery("div#contenuOnglet div.texte_presentation.bloc1 div.texteSecondaire").hide();jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.replie").addClass('hide');jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.replie").removeClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.deplie").addClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.deplie").removeClass('hide');updateHeightRightSection();}else{jQuery("div#contenuOnglet div.texte_presentation.bloc1 div.texteSecondaire").show();jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.deplie").addClass('hide');jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.deplie").removeClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.replie").addClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc1 img.replie").removeClass('hide');updateHeightRightSection();}});}
if(jQuery("div#contenuOnglet div.texte_presentation.bloc2 a.btn").is(":visible")){jQuery("div#contenuOnglet div.texte_presentation.bloc2 a.btn").click(function(e){e.preventDefault();if(jQuery("div#contenuOnglet div.texte_presentation.bloc2 div.texteSecondaire").is(":visible")){jQuery("div#contenuOnglet div.texte_presentation.bloc2 div.texteSecondaire").hide();jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.replie").addClass('hide');jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.replie").removeClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.deplie").addClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.deplie").removeClass('hide');updateHeightRightSection();}else{jQuery("div#contenuOnglet div.texte_presentation.bloc2 div.texteSecondaire").show();jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.deplie").addClass('hide');jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.deplie").removeClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.replie").addClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc2 img.replie").removeClass('hide');updateHeightRightSection();}});}
if(jQuery("div#contenuOnglet div.texte_presentation.bloc3 a.btn").is(":visible")){jQuery("div#contenuOnglet div.texte_presentation.bloc3 a.btn").click(function(e){e.preventDefault();if(jQuery("div#contenuOnglet div.texte_presentation.bloc3 div.texteSecondaire").is(":visible")){jQuery("div#contenuOnglet div.texte_presentation.bloc3 div.texteSecondaire").hide();jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.replie").addClass('hide');jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.replie").removeClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.deplie").addClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.deplie").removeClass('hide');updateHeightRightSection();}else{jQuery("div#contenuOnglet div.texte_presentation.bloc3 div.texteSecondaire").show();jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.deplie").addClass('hide');jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.deplie").removeClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.replie").addClass('showInline');jQuery("div#contenuOnglet div.texte_presentation.bloc3 img.replie").removeClass('hide');updateHeightRightSection();}});}
jQuery("div#contenuOnglet ul.features li a").click(function(e){e.preventDefault();jQuery("div#contenuOnglet ul.features li").each(function(){jQuery(this).removeClass("current");});jQuery(this).parents("div#contenuOnglet ul.features li").addClass("current");});Cufon.replace("h2.h2-img-templateLive");}
function liveTV(){initHeightRightSection=jQuery("div#rightSection").height();if(typeof(CufonBis)=='undefined'){CufonBis=Cufon;}
indispensableFunctions();liClick();liBrevesInitUserCookie();customDropDown();videoSlider();btnToutesLesVideos();liveOnglet();vitrinesSecondaires();updateHeightRightSection();if(jQuery("div.contenuCentral.texte_presentation a.btn").is(":visible")){jQuery("div.contenuCentral.texte_presentation a.btn").click(function(e){e.preventDefault();if(jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").is(":visible")){jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").hide();jQuery("div.contenuCentral.texte_presentation img.replie").addClass('hide');jQuery("div.contenuCentral.texte_presentation img.replie").removeClass('showInline');jQuery("div.contenuCentral.texte_presentation img.deplie").addClass('showInline');jQuery("div.contenuCentral.texte_presentation img.deplie").removeClass('hide');updateHeightRightSection();}else{jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").show();jQuery("div.contenuCentral.texte_presentation img.deplie").addClass('hide');jQuery("div.contenuCentral.texte_presentation img.deplie").removeClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").addClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").removeClass('hide');updateHeightRightSection();}});}}
function getPlayerVideo(videoId){if(false){}else{function playerLiveTVFlash(){switchPlayerEmbarque(videoId);}
function chooseFlashPlayer(){jQuery("div#livePlayerEmbarque div.sl-install").remove();jQuery.cookie("player_live_tv","flash",{expires:15});playerLiveTVFlash();}
if(true){playerLiveTVFlash();}else{jQuery("div#livePlayerEmbarque div.sl-install").show();}}}
var animateScrollComment=false;function generiqueV3(){initHeightRightSection=jQuery("div#rightSection").height();indispensableFunctions();liClick();liBrevesInitUserCookie();customDropDown();videoSlider();btnToutesLesVideos();vitrinesSecondaires();liveOnglet();updateHeightRightSection();jQuery("div#mainSection div.comment-share-bar a.commentLink").click(function(e){e.preventDefault();if(jQuery("div#mainSection div.videoInfo div").is(":visible")){jQuery("div#mainSection div.videoInfo div").slideUp("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("hide");});}
if(jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").is(":visible")){jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").hide();jQuery("div.contenuCentral.texte_presentation img.deplie").addClass('hide');jQuery("div.contenuCentral.texte_presentation img.deplie").removeClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").addClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").removeClass('hide');}
if(animateScrollComment){var target=jQuery("div#mainSection div.videov3-content-tab").offset().top;if(jQuery("div#mainSection div.videoInfo div").is(":visible")){target-=jQuery("div#mainSection div.videoInfo div").height();}
jQuery("html, body").animate({scrollTop:target},"slow");}});jQuery("div#mainSection div.comment-share-bar a.videoInfo").click(function(e){e.preventDefault();if(jQuery("div#mainSection div.videoInfo div").is(":visible")){jQuery("div#mainSection div.videoInfo div").slideUp("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("hide");updateHeightRightSection();});}else{jQuery("div#mainSection div.videoInfo div").slideDown("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("hide");updateHeightRightSection();});}});jQuery("div#mainSection div.videoInfo div p.close a").click(function(e){e.preventDefault();if(jQuery("div#mainSection div.videoInfo div").is(":visible")){jQuery("div#mainSection div.videoInfo div").slideUp("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("hide");updateHeightRightSection();});}});if(jQuery("div.contenuCentral.texte_presentation a.btn").is(":visible")){jQuery("div.contenuCentral.texte_presentation a.btn").click(function(e){e.preventDefault();if(jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").is(":visible")){jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").hide();jQuery("div.contenuCentral.texte_presentation img.replie").addClass('hide');jQuery("div.contenuCentral.texte_presentation img.replie").removeClass('showInline');jQuery("div.contenuCentral.texte_presentation img.deplie").addClass('showInline');jQuery("div.contenuCentral.texte_presentation img.deplie").removeClass('hide');updateHeightRightSection();}else{jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").show();jQuery("div.contenuCentral.texte_presentation img.deplie").addClass('hide');jQuery("div.contenuCentral.texte_presentation img.deplie").removeClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").addClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").removeClass('hide');updateHeightRightSection();}});}
fbCount();}
function programmeV3(){initHeightRightSection=jQuery("div#rightSection").height();indispensableFunctions();liClick();liBrevesInitUserCookie();customDropDown();emissionSlider();videoSlider();btnToutesLesVideos();vitrinesSecondaires();liveOnglet();updateHeightRightSection();jQuery("div#mainSection div.comment-share-bar a.commentLink").click(function(e){e.preventDefault();if(animateScrollComment){var target=jQuery("div#mainSection div.videov3-content-tab").offset().top;jQuery("html, body").animate({scrollTop:target},"slow");}});jQuery("div#mainSection div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();var target=jQuery("body").offset().top;jQuery("html, body").animate({scrollTop:target},"slow");});fbCount();}
function noteDuMatch(){indispensableFunctions();liBrevesInitUserCookie();customDropDown();videoSlider();btnToutesLesVideos();vitrinesSecondaires();}
function liveTVPremium(){indispensableFunctions();liClick();labelMessages();liBrevesInitUserCookie();customDropDown();tabs();semaineSlider2();jourAccordion();if(typeof date=="string"){jQuery("ul li#nav-"+date+" a").trigger("click");}
if(jQuery("div.bannerbar").is(":visible")){jQuery("div.leprogrammedelajournee").addClass("leprogrammedelajournee-with-bannebar");}
jQuery.ajax({url:"/private/ajax/check_ead.php",success:function(data){if(data=="1"){jQuery("div.planifier div.planifier-header div.rechercherUnProgramme a.mes-enr").show();}else{jQuery("div.planifier div.planifier-header div.rechercherUnProgramme a.enr-a-dis").show();}}});}
var nbPlusPhotos=0;function afficherPlusDePhotos(onglet,pid,ztid){nbPlusPhotos++;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_live_onglet.php",data:{pid:pid,ztid:ztid,onglet:onglet,nbPlusPhotos:nbPlusPhotos},success:function(data){jQuery("div#contenuOnglet").html(data);setUpClasses();liveOnglet();updateHeightRightSection();customDropDown("journeeDropDown");}});}
var videoEnCours="";var journeeEnCours="";var nbPlusVideos=new Array();nbPlusVideos[0]=0;nbPlusVideos[1]=0;nbPlusVideos[2]=0;nbPlusVideos[3]=0;nbPlusVideos[4]=0;nbPlusVideos[5]=0;nbPlusVideos[6]=0;nbPlusVideos[7]=0;function journeeDropDown(rel){if(typeof rel=="undefined"){rel="";}
var exp_reg=/^pid([0-9]+)ztid([0-9]+)onglet([0-9]+)liste([0-9]+)journee([0-9]+)$/;var resultat=rel.match(exp_reg);if(resultat!=null){var pid=resultat[1];var ztid=resultat[2];var onglet=resultat[3];var liste=resultat[4];var journee=resultat[5];journeeEnCours=journee;nbPlusVideos[liste]=0;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_live_onglet.php",data:{pid:pid,ztid:ztid,onglet:onglet,journee:journeeEnCours,enCours:videoEnCours,nbPlusVideos0:nbPlusVideos[0],nbPlusVideos1:nbPlusVideos[1],nbPlusVideos2:nbPlusVideos[2],nbPlusVideos3:nbPlusVideos[3],nbPlusVideos4:nbPlusVideos[4],nbPlusVideos5:nbPlusVideos[5],nbPlusVideos6:nbPlusVideos[6],nbPlusVideos7:nbPlusVideos[7]},success:function(data){jQuery("div#contenuOnglet").html(data);setUpClasses();liveOnglet();updateHeightRightSection();customDropDown("journeeDropDown");}});}}
function afficherPlusDeVideos(onglet,listePlusVideos,pid,ztid){nbPlusVideos[listePlusVideos]++;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_live_onglet.php",data:{pid:pid,ztid:ztid,onglet:onglet,journee:journeeEnCours,enCours:videoEnCours,nbPlusVideos0:nbPlusVideos[0],nbPlusVideos1:nbPlusVideos[1],nbPlusVideos2:nbPlusVideos[2],nbPlusVideos3:nbPlusVideos[3],nbPlusVideos4:nbPlusVideos[4],nbPlusVideos5:nbPlusVideos[5],nbPlusVideos6:nbPlusVideos[6],nbPlusVideos7:nbPlusVideos[7]},success:function(data){jQuery("div#contenuOnglet").html(data);setUpClasses();liveOnglet();updateHeightRightSection();customDropDown("journeeDropDown");}});}
function changeOngletColonneCentrale(onglet,liste,page,pid,ztid){nbPlusPhotos=0;nbPlusVideos[0]=0;nbPlusVideos[1]=0;nbPlusVideos[2]=0;nbPlusVideos[3]=0;nbPlusVideos[4]=0;nbPlusVideos[5]=0;nbPlusVideos[6]=0;nbPlusVideos[7]=0;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_live_onglet.php",data:{pid:pid,ztid:ztid,onglet:onglet,liste:liste,page:page,enCours:videoEnCours},success:function(data){jQuery("div#contenuOnglet").html(data);setUpClasses();liveOnglet();updateHeightRightSection();customDropDown("journeeDropDown");}});}
var iOngletCommentaire="";function showOngletCommentaire(pid,ztid){if(iOngletCommentaire!=""){if(!jQuery("div.videov3-content-tab ul.tabs li a.fb-com").parent().hasClass("current")){jQuery("div.videov3-content-tab ul.tabs li").each(function(){jQuery(this).removeClass("current");});jQuery("div.videov3-content-tab ul.tabs li a.fb-com").parent().addClass("current");changeOngletColonneCentrale(iOngletCommentaire,0,0,pid,ztid);}}}
var iOngletPushGlo='1';function changeOngletPush(iOngletPush,page_id){var libelleNow=document.getElementById("formv_libelleNow").value;var idAffaireNow=document.getElementById("formv_idAffaireNow").value;var idProgrammeNow=document.getElementById("formv_idProgrammeNow").value;var horaireDebutNow=document.getElementById("formv_horaireDebutNow").value;var horaireFinNow=document.getElementById("formv_horaireFinNow").value;var libelleNext=document.getElementById("formv_libelleNext").value;var idAffaireNext=document.getElementById("formv_idAffaireNext").value;var idProgrammeNext=document.getElementById("formv_idProgrammeNext").value;var horaireDebutNext=document.getElementById("formv_horaireDebutNext").value;var horaireFinNext=document.getElementById("formv_horaireFinNext").value;iOngletPushGlo=iOngletPush;jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_live_push.php',data:{libelleNow:escape(libelleNow),idAffaireNow:idAffaireNow,idProgrammeNow:idProgrammeNow,horaireDebutNow:horaireDebutNow,horaireFinNow:horaireFinNow,libelleNext:escape(libelleNext),idAffaireNext:idAffaireNext,idProgrammeNext:idProgrammeNext,horaireDebutNext:horaireDebutNext,horaireFinNext:horaireFinNext,iOngletPush:iOngletPush,pid:page_id},success:function(data){jQuery('#livePush').html(data);}});}
var flux='';var tabNumReponse=new Array();function voteSond(a_afficher_resultats,next_page,page_id,nbParticipants,vote){var libelleNow=document.getElementById("formv_libelleNow").value;var idAffaireNow=document.getElementById("formv_idAffaireNow").value;var idProgrammeNow=document.getElementById("formv_idProgrammeNow").value;var horaireDebutNow=document.getElementById("formv_horaireDebutNow").value;var horaireFinNow=document.getElementById("formv_horaireFinNow").value;var libelleNext=document.getElementById("formv_libelleNext").value;var idAffaireNext=document.getElementById("formv_idAffaireNext").value;var idProgrammeNext=document.getElementById("formv_idProgrammeNext").value;var horaireDebutNext=document.getElementById("formv_horaireDebutNext").value;var horaireFinNext=document.getElementById("formv_horaireFinNext").value;var iOngletPush=document.getElementById("formv_iOngletPush").value;var idQuestion=document.getElementById("formv_idQuestion").value;var numeroQuestion=document.getElementById("formv_numeroQuestion").value;var numReponse=0;for(var i=0;i<document.getElementsByName("formv_idReponse").length;i++){if(document.getElementsByName("formv_idReponse")[i].checked){numReponse=document.getElementsByName("formv_idReponse")[i].value;}}
if(next_page==0){numeroQuestion=0;}
tabNumReponse.push(numReponse);idSondage=jQuery('div.push-content-sondage input[name=sondage_id]').val();if(numReponse!=0){flux=flux+idQuestion+"_"+numReponse+"@@";jQuery.cookie("sondage_"+idSondage,flux,{expires:15});jQuery.cookie("sondage_"+idSondage+"_nbParticipants",nbParticipants,{expires:15});}
jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_live_push_sondage_vote.php',type:'post',data:{libelleNow:escape(libelleNow),idAffaireNow:idAffaireNow,idProgrammeNow:idProgrammeNow,horaireDebutNow:horaireDebutNow,horaireFinNow:horaireFinNow,libelleNext:escape(libelleNext),idAffaireNext:idAffaireNext,idProgrammeNext:idProgrammeNext,horaireDebutNext:horaireDebutNext,horaireFinNext:horaireFinNext,iOngletPush:iOngletPush,pid:page_id,idQuestion:idQuestion,numReponse:numReponse,numeroQuestion:numeroQuestion,a_afficher_resultats:a_afficher_resultats},success:function(data){jQuery('#livePush').html(data);idSondage=jQuery('div.push-content-sondage input[name=sondage_id]').val();if(jQuery.cookie("Sondage_V3_"+idSondage)=="vote"){recalculPourcentage();}}});}
function recalculPourcentage(){idSondage=jQuery('div.push-content-sondage input[name=sondage_id]').val();if(jQuery.cookie('Sondage_V3_'+idSondage)=="vote"){if(jQuery.cookie('sondage_'+idSondage)!=''){var valeur=jQuery.cookie('sondage_'+idSondage).split('@@');var idQuestion=document.getElementById("formv_idQuestion").value;for(i=0;i<parseInt(valeur.length)-1;i++){chaineQuestion=valeur[i].split('_');question=chaineQuestion[0];reponse=chaineQuestion[1];if(question==idQuestion){questionChoisie=question;reponseChoisie=reponse;}}
var taille=parseInt(jQuery('div.simpleSondageListingPush input:hidden#nbReponse_QUESTION_'+idQuestion).val());nbParticipants=jQuery.cookie("sondage_"+idSondage+"_nbParticipants");if(jQuery.cookie("Sondage_V3_"+idSondage)=="vote"){nbParticipants=parseInt(nbParticipants)+1;jQuery('span#nbParticipantsPush').html(nbParticipants);}
for(var j=1;j<(taille+1);j++){valeur2=jQuery('#QUESTION_'+idQuestion+'_'+j).val();if(('#QUESTION_'+idQuestion+'_'+j)==('#QUESTION_'+questionChoisie+'_'+reponseChoisie)){valeur2=parseInt(valeur2)+1;}
pourcentage=(valeur2/nbParticipants)*100;traitRouge=Math.round(pourcentage*5.9);traitGris=590-traitRouge;jQuery('div.simpleSondageListingPush span#resultBarreRouge_QUESTION_'+idQuestion+'_'+j).css("width",traitRouge);jQuery('div.simpleSondageListingPush span#resultBarreGrise_QUESTION_'+idQuestion+'_'+j).css("width",traitGris);jQuery('div.simpleSondageListingPush span#valeurPourCentage_'+idQuestion+'_'+j).html(Math.round(pourcentage)+"%");}}}}
function recalculPourcentageVitrine(tabIdQuestions){idSondage=jQuery('form[name=voterSondageV3] input[name=sondage_id]').val();var questionChoisie=new Array();var reponseChoisie=new Array();if(jQuery.cookie('Sondage_V3_'+idSondage)=="vote"){if(jQuery.cookie('sondage_'+idSondage)!=''){var valeur=jQuery.cookie('sondage_'+idSondage).split('@@');for(i=0;i<parseInt(valeur.length)-1;i++){var idQuestion=tabIdQuestions[i];chaineQuestion=valeur[i].split('_');question=chaineQuestion[0];reponse=chaineQuestion[1];if(question==idQuestion){questionChoisie[i]=question;reponseChoisie[i]=reponse;}}
nbParticipants=jQuery.cookie("sondage_"+idSondage+"_nbParticipants");if(jQuery.cookie("Sondage_V3_"+idSondage)=="vote"){nbParticipants=parseInt(nbParticipants)+1;jQuery('span#nbParticipants').html(nbParticipants);}
for(var i=0;i<parseInt(tabIdQuestions.length)-1;i++){taille=parseInt(jQuery('div.simpleSondageListingVitrineResult input:hidden#nbReponse_QUESTION_'+tabIdQuestions[i]).val());for(var j=1;j<(taille+1);j++){valeur2=jQuery('#QUESTION_'+tabIdQuestions[i]+'_'+j).val();if(('#QUESTION_'+tabIdQuestions[i]+'_'+j)==('#QUESTION_'+questionChoisie[i]+'_'+reponseChoisie[i])){valeur2=parseInt(valeur2)+1;}
pourcentage=(valeur2/nbParticipants)*100;traitRouge=Math.round(pourcentage*2.65);traitGris=265-traitRouge;jQuery('div.simpleSondageListingVitrineResult span#resultBarreRouge_QUESTION_'+tabIdQuestions[i]+'_'+j).css("width",traitRouge);jQuery('div.simpleSondageListingVitrineResult span#resultBarreGrise_QUESTION_'+tabIdQuestions[i]+'_'+j).css("width",traitGris);jQuery('div.simpleSondageListingVitrineResult span#valeurPourCentage_'+tabIdQuestions[i]+'_'+j).html(Math.round(pourcentage)+"%");}}}}}
var idPush='';var idAffaireNowGlo='';function setEPG(libelleNow,idAffaireNow,idProgrammeNow,horaireDebutNow,horaireFinNow,libelleNext,idAffaireNext,idProgrammeNext,horaireDebutNext,horaireFinNext,libelleNextNext,idAffaireNextNext,idProgrammeNextNext,horaireDebutNextNext,horaireFinNextNext){if(idAffaireNow!=idAffaireNowGlo){idAffaireNowGlo=idAffaireNow;jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_live_push_id.php',data:{num_affaire:idAffaireNow},success:function(data){if(data!=''&&data!=idPush){idPush=data;iOngletPushGlo='1';jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_live_push.php',data:{libelleNow:escape(libelleNow),idAffaireNow:idAffaireNow,idProgrammeNow:idProgrammeNow,horaireDebutNow:horaireDebutNow,horaireFinNow:horaireFinNow,libelleNext:escape(libelleNext),idAffaireNext:idAffaireNext,idProgrammeNext:idProgrammeNext,horaireDebutNext:horaireDebutNext,horaireFinNext:horaireFinNext,iOngletPush:iOngletPushGlo,pid:pid},success:function(data){jQuery('#livePush').html(data);}});}}});}}
function checkAnswer(idAnswer){document.getElementById("formv_idReponse"+idAnswer).checked=true;}
function afficheLiens(nbAffiche,pid,ztid,zp11){jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_vitrine_secondaire_v3_telechargement.php',data:{nbAffiche:nbAffiche,pid:pid,ztid:ztid,zp11:zp11},success:function(data){jQuery('#vitrineTelechargementLiens'+ztid).html(data);liClick();jQuery("div#rightSection").addClass("heightAuto");var heightMainSection=jQuery("div#mainSection").height();var heightRightSection=jQuery("div#rightSection").height();if(heightMainSection>heightRightSection){jQuery("div#rightSection").css("height",heightMainSection+"px");}}});}
function checkRadio(form){var sondageId;var nbQuestion;for(var i=0;i<form.length;i++){if(form[i].name=="sondage_id"){sondageId=form[i].value;}
if(form[i].name=="nbQuestion_"+sondageId){nbQuestion=form[i].value;}}
if(jQuery("form#voterSondageV3"+sondageId+" input:checked").length==nbQuestion){jQuery("form#voterSondageV3"+sondageId+" a#validerVote").removeClass('btn-submit');jQuery("form#voterSondageV3"+sondageId+" a#validerVote").addClass('btn');jQuery("form#voterSondageV3"+sondageId+" a#validerVote").addClass('btn-secondary');jQuery("form#voterSondageV3"+sondageId+" a#validerVote").unbind('click');jQuery("form#voterSondageV3"+sondageId+" a#validerVote").bind('click',function(){value=jQuery("form#voterSondageV3"+sondageId+" input:hidden#functionVote_"+sondageId).val();eval(value);});}}
function checkRadioZonePush(form){var sondageId;var nbQuestion;for(var i=0;i<form.length;i++){if(form[i].name=="sondage_id"){sondageId=form[i].value;}
if(form[i].name=="nbQuestion_"+sondageId){nbQuestion=form[i].value;}}
if(jQuery("form#voterSondageV3 div.sondageInner input:checked").length==nbQuestion){jQuery("div.push-content-sondage form#voterSondageV3 a#validerVote").removeClass('btn-submit');jQuery("div.push-content-sondage form#voterSondageV3 a#validerVote").addClass('btn');jQuery("div.push-content-sondage form#voterSondageV3 a#validerVote").addClass('btn-secondary');jQuery("div.push-content-sondage form#voterSondageV3 a#validerVote").unbind('click');jQuery("div.push-content-sondage form#voterSondageV3 a#validerVote").bind('click',function(){value=jQuery("div.push-content-sondage form#voterSondageV3 input:hidden#functionVote_"+sondageId).val();eval(value);});}}
function voteSondVitrine(a_afficher_resultats,idSondage,tabIdQuestions,stringIdQuestions,nbParticipants,vote,zoneTidSond){var tabIdQuestions=tabIdQuestions;var tabNumReponses=new Array();for(var j=0;j<parseInt(tabIdQuestions.length)-1;j++){var questionId="QUESTION_"+tabIdQuestions[j];for(var i=0;i<document.getElementsByName(questionId).length;i++){if(document.getElementsByName(questionId)[i].checked){numReponse=document.getElementsByName(questionId)[i].value;tabNumReponses[j]=numReponse;}}}
var idSondage=idSondage;var stringIdQuestions=stringIdQuestions;var stringNumReponses="";for(var j=0;j<tabNumReponses.length;j++){stringNumReponses=stringNumReponses+tabNumReponses[j]+",";}
for(var i=0;i<parseInt(tabIdQuestions.length)-1;i++){if(tabNumReponses.length>0){flux=flux+tabIdQuestions[i]+"_"+tabNumReponses[i]+"@@";jQuery.cookie("sondage_"+idSondage,flux,{expires:15});jQuery.cookie("sondage_"+idSondage+"_nbParticipants",nbParticipants,{expires:15});}}
jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_sondage_v3_vote_vitrine.php',type:'post',data:{idSondage:idSondage,stringIdQuestions:stringIdQuestions,stringNumReponses:stringNumReponses,a_afficher_resultats:a_afficher_resultats,zoneTidSond:zoneTidSond},success:function(data){jQuery('#vitrineSecondaireSondage'+idSondage).html(data);if(vote=="vote"){nbParticipants=parseInt(nbParticipants)+1;jQuery('span#nbParticipants').html(nbParticipants);}
for(var i=0;i<tabIdQuestions.length;i++){taille=parseInt(jQuery('div.simpleSondageListingVitrineResult input:hidden#nbReponse_QUESTION_'+tabIdQuestions[i]).val());for(var j=1;j<(taille+1);j++){valeur2=jQuery('#QUESTION_'+tabIdQuestions[i]+'_'+j).val();if(('#QUESTION_'+tabIdQuestions[i]+'_'+j)==('#QUESTION_'+tabIdQuestions[i]+'_'+tabNumReponses[i])){valeur2=parseInt(valeur2)+1;}
pourcentage=(valeur2/nbParticipants)*100;traitRouge=Math.round(pourcentage*2.65);traitGris=265-traitRouge;jQuery('div.simpleSondageListingVitrineResult span#resultBarreRouge_QUESTION_'+tabIdQuestions[i]+'_'+j).css("width",traitRouge);jQuery('div.simpleSondageListingVitrineResult span#resultBarreGrise_QUESTION_'+tabIdQuestions[i]+'_'+j).css("width",traitGris);jQuery('div.simpleSondageListingVitrineResult span#valeurPourCentage_'+tabIdQuestions[i]+'_'+j).html(Math.round(pourcentage)+"%");}}}});}
function CinemaFunction(){initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();customDropDown();btnToutesLesVideos();CinemaSlider();jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery("#newsFilmFicheMoreButton").click(function(){nbNewsFilm=0;jQuery(".listNewsFilmFiche .uneMeaSecondaireActus").each(function(){$(this).removeClass("hiddenNews");if(nbNewsFilm==1){$(this).addClass("borderBottomActuSecond");}
nbNewsFilm++;});$(this).css("display","none");updateHeightRightSection();});vitrinesSecondaires();changeAngleAnchor();vitrineCarrouselCinemav3();updateHeightRightSection();liClick();liHover();videoSlider();fbCount();}
function changeAngleAnchor(){jQuery(".firstAnchor").hover(function(){jQuery(".ancreCoingauche").addClass("GrayRoundy");},function(){jQuery(".ancreCoingauche").removeClass("GrayRoundy");});}
function GoAnchor(myClass){var positionAnchor=$("."+myClass).position();var scrollPageCinema=$(window).scrollTop();var ScrollTopCine=positionAnchor.top-100;$(window).scrollTop(ScrollTopCine);}
var nbLaSuite=0;var deplier=0;function afficheLirelaSuite(cid,idHtml){nbLaSuite++;if(deplier==1){deplier=0;}else{deplier=1;}
jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_film_lirelasuite.php",data:{cid:cid,nbLaSuite:nbLaSuite,deplie:deplier},success:function(data){jQuery("#"+idHtml).html(data);updateHeightRightSection();}});}
function displaySecondText(){if(jQuery("span.aProposSecondaire").css("display")=="none"){jQuery("span.aProposSecondaire").show();jQuery("span.LinkaProposSecondaire span img.deplie").addClass('hide');jQuery("span.LinkaProposSecondaire span img.deplie").removeClass('showInline');jQuery("span.LinkaProposSecondaire span img.replie").addClass('showInline');jQuery("span.LinkaProposSecondaire span img.replie").removeClass('hide');}else{jQuery("span.aProposSecondaire").hide();jQuery("span.LinkaProposSecondaire").html().replace('repliement','depliement');jQuery("span.LinkaProposSecondaire span img.deplie").addClass('showInline');jQuery("span.LinkaProposSecondaire span img.deplie").removeClass('hide');jQuery("span.LinkaProposSecondaire span img.replie").addClass('hide');jQuery("span.LinkaProposSecondaire span img.replie").removeClass('showInline');}
updateHeightRightSection();}
var nbMoviePictures=0;function DisplayMorePictures(directoryId){nbMoviePictures++;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_movie_picture.php",data:{directoryId:directoryId,nbMoviePictures:nbMoviePictures},success:function(data){jQuery("div#moviePictures").html(data);updateHeightRightSection();}});}
function CinemaSlider(){var sliderContainer=jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container")
var sliderInner=jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider");var slideAmount=520;var sliderMoving=false;if(typeof initCurrentSet!='undefined'){var currentSet=initCurrentSet;}else{var currentSet=0;}
var budge=75;var currentSliderPos=budge+(currentSet*slideAmount*-1);if(typeof iMaxSet!='undefined'){var maxSet=iMaxSet;}else{var maxSet=3;}
sliderInner.css({left:currentSliderPos});function moveSlider(direction){if(!sliderMoving){calculateNextPosition(direction);sliderMoving=true;sliderInner.animate({left:currentSliderPos},1000,function(){sliderMoving=false;});updatePaginator();}}
function calculateNextPosition(direction){if(direction=='right'){currentSliderPos-=slideAmount;currentSet++;}else if(direction=='left'){currentSliderPos+=slideAmount;currentSet--;}}
function updatePaginator(){if(currentSet==0){if(maxSet==0){sliderContainer.find("ul[class*=paginator]").find("li a").addClass("hide");}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();}}else if(currentSet==maxSet){sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}}
updatePaginator();sliderContainer.find("ul[class*=paginator]").find("li.prev a").click(function(e){e.preventDefault();if(currentSet!=0){moveSlider('left');}});sliderContainer.find("ul[class*=paginator]").find("li.next a").click(function(e){e.preventDefault();if(currentSet!=maxSet){moveSlider('right');}});sliderInner.find("ul").find("li").hover(function(){if(!jQuery(this).hasClass("current")){jQuery(this).addClass("hover");}},function(){jQuery(this).removeClass("hover");});sliderInner.find("ul").find("li").click(function(){if(!jQuery(this).hasClass("current")){sliderInner.find("ul").find("li.current").removeClass("current");jQuery(this).addClass("current");}});}
function CinemaPopinSlider(){var sliderContainer=jQuery("div.flashContent-top-cinema-popin div.planifier div.planifier-header div.semaine-slider-container");var sliderInner=jQuery("div.flashContent-top-cinema-popin div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider");var slideAmount=520;var sliderMoving=false;if(typeof initCurrentSet!='undefined'){var currentSet=initCurrentSet;}else{var currentSet=0;}
var budge=75;var currentSliderPos=budge+(currentSet*slideAmount*-1);if(typeof iMaxSet!='undefined'){var maxSet=iMaxSet;}else{var maxSet=3;}
sliderInner.css({left:currentSliderPos});function moveSlider(direction){if(!sliderMoving){calculateNextPosition(direction);sliderMoving=true;sliderInner.animate({left:currentSliderPos},1000,function(){sliderMoving=false;});updatePaginator();}}
function calculateNextPosition(direction){if(direction=='right'){currentSliderPos-=slideAmount;currentSet++;}else if(direction=='left'){currentSliderPos+=slideAmount;currentSet--;}}
function updatePaginator(){if(currentSet==0){if(maxSet==0){sliderContainer.find("ul[class*=paginator]").find("li a").addClass("hide");}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();}}else if(currentSet==maxSet){sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").addClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}else{sliderContainer.find("ul[class*=paginator]").find("li a").removeClass("inactive");sliderContainer.find("ul[class*=paginator]").find("li.next a").show();sliderContainer.find("ul[class*=paginator]").find("li.prev a").show();}}
updatePaginator();sliderContainer.find("ul[class*=paginator]").find("li.prev a").click(function(e){e.preventDefault();if(currentSet!=0){moveSlider('left');}});sliderContainer.find("ul[class*=paginator]").find("li.next a").click(function(e){e.preventDefault();if(currentSet!=maxSet){moveSlider('right');}});sliderInner.find("ul").find("li").hover(function(){if(!jQuery(this).hasClass("current")){jQuery(this).addClass("hover");}},function(){jQuery(this).removeClass("hover");});sliderInner.find("ul").find("li").click(function(){if(!jQuery(this).hasClass("current")){sliderInner.find("ul").find("li.current").removeClass("current");jQuery(this).addClass("current");}});}
function popinCinemaV3(){jQuery(".li-semaine-slider a").click(function(e){e.preventDefault();});}
function ficheBioFunction(){initHeightRightSection=jQuery("div#rightSection").height();changeAngleAnchor();jQuery("#identiteBioMoreButton").click(function(){if(jQuery("#identiteBioMoreTexte").css("display")=="block"){jQuery("#identiteBioMoreTexte").css("display","none");jQuery("#identiteBioMoreButton img").attr("src",jQuery("#identiteBioMoreButton img").attr("src").replace("repliement","depliement"));}else{jQuery("#identiteBioMoreTexte").css("display","block");jQuery("#identiteBioMoreButton img").attr("src",jQuery("#identiteBioMoreButton img").attr("src").replace("depliement","repliement"));}
updateHeightRightSection();});jQuery(".plus-de-filmo-bio").click(function(){cpt=0;jQuery(".filmoHidden").each(function(){if(cpt<2){jQuery(this).removeClass("filmoHidden");}
cpt++});if(cpt<=2){jQuery(".plus-de-filmo-bio").css("display","none");}
updateHeightRightSection();});jQuery(".plus-de-videos-bio").click(function(){cpt=0;jQuery(".videoHidden").each(function(){if(cpt<2){jQuery(this).removeClass("videoHidden");}
cpt++});if(cpt<=2){jQuery(".plus-de-videos-bio").css("display","none");}
updateHeightRightSection();});jQuery(".plus-de-news-bio").click(function(){jQuery(".newsHidden").each(function(){jQuery(this).removeClass("newsHidden");});jQuery(".plus-de-news-bio").css("display","none");updateHeightRightSection();});fbCount();updateHeightRightSection();}
function fbsContent_click(){var u=pageClearUrl+"?sc_cmpid="+codeShareFacebook;if(videoId!=""){u+="&vid="+videoId;}
var t="Viens voir la fiche film "+contenuTitre+" sur CANALPLUS.FR";window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u)+"&t="+encodeURIComponent(t)+"&description="+encodeURIComponent(contenuDescription)+"&image_src"+encodeURIComponent(contenuVisuel),"sharer","toolbar=0,status=0,width=626,height=436");return false;}
function twsContent_click(){var url=pageClearUrl+"?sc_cmpid="+codeShareTwitter;if(videoId!=""){url+="&vid="+videoId;}
var titre="RT @"+compteTwitter+" "+contenuTitre;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_twitter_url.php",data:{url:url,titre:titre},success:function(data){window.open(data,"sharer","toolbar=0,status=0,width=780,height=436");}});return false;}
function tousLesContenusCineSerie(){jQuery("div.tousLesContenusPagination").addClass("tousLesContenusPagination-alt");jQuery("div#filterDropDown ul").addClass("max-height200px");jQuery("div#filterDropDown ul").addClass("overflowY-auto");}
var Ongletclass;function vitrineCarrouselCinemav3(){jQuery("div.mea_films_en_salle ul.tabs li a._tabs").click(function(e){Ongletclass=jQuery(this).parent().attr("class");Ongletclass=Ongletclass.replace("current","").replace("even","").replace("first","").replace("last","").replace(" ","").replace("ongletNovisible","").replace("ongletVisible","");e.preventDefault();jQuery("div.mea_films_en_salle ul.tabs li").each(function(){jQuery(this).removeClass("current");});jQuery(this).parent().addClass("current");jQuery(this).parent().addClass("current");jQuery("div.mea_films_en_salle .liste_films").removeClass("ongletVisible").addClass("ongletNovisible");jQuery("div.mea_films_en_salle ."+Ongletclass).addClass("ongletVisible").removeClass("ongletNovisible");});jQuery("div.mea_films_en_salle_sans_carrousel ul.tabs li a._tabs").click(function(e){Ongletclass=jQuery(this).parent().attr("class");Ongletclass=Ongletclass.replace("current","").replace("even","").replace("first","").replace("last","").replace(" ","").replace("ongletNovisible","").replace("ongletVisible","");e.preventDefault();jQuery("div.mea_films_en_salle_sans_carrousel ul.tabs li").each(function(){jQuery(this).removeClass("current");});jQuery(this).parent().addClass("current");jQuery("div.mea_films_en_salle_sans_carrousel .liste_films").removeClass("ongletVisible").addClass("ongletNovisible");jQuery("div.mea_films_en_salle_sans_carrousel ."+Ongletclass).addClass("ongletVisible").removeClass("ongletNovisible");});jQuery("div.mea_films_en_salle_sans_carrousel_avec_onglet ul.tabs li a._tabs").click(function(e){Ongletclass=jQuery(this).parent().attr("class");Ongletclass=Ongletclass.replace("current","").replace("even","").replace("first","").replace("last","").replace(" ","").replace("ongletNovisible","").replace("ongletVisible","");e.preventDefault();jQuery("div.mea_films_en_salle_sans_carrousel_avec_onglet ul.tabs li").each(function(){jQuery(this).removeClass("current");});jQuery(this).parent().addClass("current");jQuery("div.mea_films_en_salle_sans_carrousel_avec_onglet .liste_films").removeClass("ongletVisible").addClass("ongletNovisible");jQuery("div.mea_films_en_salle_sans_carrousel_avec_onglet ."+Ongletclass).addClass("ongletVisible").removeClass("ongletNovisible");});jQuery("div.mea_onglet_carrousel ul.tabs li a._tabs").click(function(e){Ongletclass=jQuery(this).parent().attr("class");Ongletclass=Ongletclass.replace("current","").replace("even","").replace("first","").replace("last","").replace(" ","").replace("ongletNovisible","").replace("ongletVisible","");e.preventDefault();jQuery("div.mea_onglet_carrousel ul.tabs li").each(function(){jQuery(this).removeClass("current");});jQuery(this).parent().addClass("current");jQuery("div.mea_onglet_carrousel .liste_films").removeClass("ongletVisible").addClass("ongletNovisible");jQuery("div.mea_onglet_carrousel ."+Ongletclass).addClass("ongletVisible").removeClass("ongletNovisible");});jQuery('div.mea_films_en_salle div.bloc-1 div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:300});jQuery('div.mea_onglet_carrousel div.bloc-1 div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:300});jQuery('div.mea_no_onglet_carrousel div.bloc-1 div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:300});jQuery('div.mea_films_en_salle div.bloc-2 div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:300});jQuery('div.mea_onglet_carrousel div.bloc-2 div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:300});jQuery('div.mea_no_onglet_carrousel div.bloc-2 div.col-covers-slider-container').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:300});}
function cinemaSeriesHub(){indispensableFunctions();lightboxes();liClick();liHover();videoSlider();jQuery('div.carrousel-right div.col-covers-slider-container-cinema').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:640});jQuery('div.carrousel-right-alt div.col-covers-slider-container-alt').f_slider({itemsVisible:1,doAutoScroll:false,slideAmount:990});jQuery('div.carrousel-right div.col-covers-slider-container ul.col-covers-slider li ul.carrousel-cine-serie li').hover(function(){jQuery(this).addClass("hover");},function(){jQuery(this).removeClass("hover");});jQuery('div.carrousel-right div.col-covers-slider-container ul.col-covers-slider li ul.carrousel-cine-serie li').click(function(e){e.preventDefault();var href=jQuery(this).find("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){if(jQuery(this).find("a").attr("target")=="_blank"){window.open(href);}else{window.location=href;}}});}
function cinemaSeriesTousLes(){customDropDown();indispensableFunctions();liClick();liHover();videoSlider();jQuery("div.btn-type-film ul.type-films li a.btn ").click(function(e){jQuery("div.btn-type-film ul.type-films li a.btn ").each(function(){jQuery(this).removeClass("btn-selected-film");});jQuery(this).addClass("btn-selected-film");});}
function getCarrouselFlash(pid,selection,typeContenu,ztid,page_current_version,typeDeTri){var vars={xmlFileUrl:sDocumentHttp+"/flash/v3/xml/carrousel-cinema.php?VARS="+pid+"-"+selection+"-"+typeContenu+"-"+ztid+"-"+page_current_version+"-"+typeDeTri,timer:"8"}
var params={bgcolor:"#000000",wmode:"window",allowScriptAccess:"always"};var attributes={id:"flashContent",name:"flashContent"};swfobject.embedSWF(sMediaHttp+"/design/front_office_wwwplus/flash/Bandeau_cinema.swf","flashContent","1000","477","9",null,vars,params,attributes);}
function ActuFunction(){indispensableFunctions();customDropDown();videoSlider();btnToutesLesVideos();initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();vitrinesSecondaires();vitrineCarrouselCinemav3();updateHeightRightSection();liClick();liHover();MeaHoverActus();jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});fbCount();}
function fbCount(){return false;}
function MeaHoverActus(){jQuery("div.meaActus").hover(function(){jQuery(this).addClass("actu-hover");},function(){jQuery(this).removeClass("actu-hover");});jQuery("div.meaActus").click(function(e){e.preventDefault();var href=jQuery(this).children("h4").children("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;return false;}});jQuery("div.uneMeaSecondaireActus div.meaSecondaireActus").hover(function(){jQuery(this).parent().children("h4").addClass("actu-hover");},function(){jQuery(this).parent().children("h4").removeClass("actu-hover");});jQuery("div.uneMeaActus_16_9 div.meaActus_16_9").hover(function(){jQuery(this).parent().children("h4").addClass("actu-hover");},function(){jQuery(this).parent().children("h4").removeClass("actu-hover");});}
function EvenementsDropDown(rel){document.location.href=jQuery("div#EvenementsDropDown ul li a[rel='"+rel+"']").attr("href");}
function vitrineSecondaire2(){jQuery("div.infoficheFilmVitrine").hover(function(){jQuery(this).children().children("h4").addClass("actu-hover");jQuery(this).addClass("actu-pointer");},function(){jQuery(this).children().children("h4").removeClass("actu-hover");jQuery(this).removeClass("actu-pointer");});jQuery("div.infoficheFilmVitrine").click(function(e){e.preventDefault();var href=jQuery(this).children().children("h4").children("a").attr("href");if(href!="#"&&href!=""&&href!=undefined){window.location=href;return false;}});}
function loadIdalgoContent(cidWidgetIdalgo,cidIdalgo,jsonGet,htmlId){jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_idalgo_widget.php',type:'post',data:{cidWidgetIdalgo:cidWidgetIdalgo,cidIdalgo:cidIdalgo,jsonGet:jsonGet},success:function(data){jQuery('#'+htmlId).html(data);}});}
function loadSportHeader(cid){jQuery.ajax({url:'/lib/front_tools/ajax/wwwplus_sport_header.php',data:{cid:cid},success:function(data){jQuery('#header-partner').html(data);}});}
function hideRightCol(){jQuery("#rightSection").css("display","none");jQuery("#mainSection").css("width","1000px");jQuery("#mainSection").css("margin-right","0px");}
function MSHomeFunction(){jQuery("html").addClass("js");indispensableFunctions();jQuery("div#mainSection").addClass("mainSectionMinisite");jQuery("div#rightSection").addClass("rightSectionMinisite");customDropDown();videoSlider();btnToutesLesVideos();initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();vitrinesSecondaires();vitrineCarrouselCinemav3();updateHeightRightSection();liClick();liHover();MeaHoverActus();jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").hover(function(){jQuery(this).addClass("personnage-hover");},function(){jQuery(this).removeClass("personnage-hover");});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").live("click",function(e){e.preventDefault();document.location.href=jQuery(this).children(".msH4").children("a").attr("href");});if(isSafari){jQuery(window).load(function(){updateHeightRightSection();});}}
function MSTxtBrutFunction(){indispensableFunctions();jQuery("div#mainSection").addClass("mainSectionMinisite");jQuery("div#rightSection").addClass("rightSectionMinisite");btnToutesLesVideos();initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();vitrinesSecondaires();vitrineCarrouselCinemav3();updateHeightRightSection();liClick();liHover();MeaHoverActus();jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").hover(function(){jQuery(this).addClass("personnage-hover");},function(){jQuery(this).removeClass("personnage-hover");});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").live("click",function(e){e.preventDefault();document.location.href=jQuery(this).children(".msH4").children("a").attr("href");});if(msHideRightCol==1){hideRightCol();if(msHideRightCol){jQuery("div.mainSectionMinisite").addClass("mainSectionMinisite-alt");}}}
function MSNewsFunction(){indispensableFunctions();jQuery("div#mainSection").addClass("mainSectionMinisite");jQuery("div#rightSection").addClass("rightSectionMinisite");videoSlider();initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();vitrinesSecondaires();vitrineCarrouselCinemav3();updateHeightRightSection();liClick();liHover();MeaHoverActus();episodeSlider();jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").hover(function(){jQuery(this).addClass("personnage-hover");},function(){jQuery(this).removeClass("personnage-hover");});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").live("click",function(e){e.preventDefault();document.location.href=jQuery(this).children(".msH4").children("a").attr("href");});jQuery("div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery("a.twLink").click(function(e){e.preventDefault();twsContent_click();});}
function MSVideosFunction(){indispensableFunctions();jQuery("div#mainSection").addClass("mainSectionMinisite");jQuery("div#rightSection").addClass("rightSectionMinisite");liClick();liHover();videoSlider();btnToutesLesVideos();initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();vitrinesSecondaires();vitrineCarrouselCinemav3();updateHeightRightSection();MeaHoverActus();jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").hover(function(){jQuery(this).addClass("personnage-hover");},function(){jQuery(this).removeClass("personnage-hover");});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").live("click",function(e){e.preventDefault();document.location.href=jQuery(this).children(".msH4").children("a").attr("href");});jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery('.unit-gallery2 a').live('click',function(e){e.preventDefault();});jQuery('.liListeRegroupee a').live('click',function(e){e.preventDefault();});CinemaSlider();jQuery("div#mainSection div.comment-share-bar a.commentLink").click(function(e){e.preventDefault();if(jQuery("div#mainSection div.videoInfo div").is(":visible")){jQuery("div#mainSection div.videoInfo div").slideUp("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("hide");});}
if(jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").is(":visible")){jQuery("div.contenuCentral.texte_presentation div.texteSecondaire").hide();jQuery("div.contenuCentral.texte_presentation img.deplie").addClass('hide');jQuery("div.contenuCentral.texte_presentation img.deplie").removeClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").addClass('showInline');jQuery("div.contenuCentral.texte_presentation img.replie").removeClass('hide');}
if(animateScrollComment){var target=jQuery("div#mainSection div.videov3-content-tab").offset().top;if(jQuery("div#mainSection div.videoInfo div").is(":visible")){target-=jQuery("div#mainSection div.videoInfo div").height();}
jQuery("html, body").animate({scrollTop:target},"slow");}});jQuery("div#mainSection div.comment-share-bar a.videoInfo").click(function(e){e.preventDefault();if(jQuery("div#mainSection div.videoInfo div").is(":visible")){jQuery("div#mainSection div.videoInfo div").slideUp("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("hide");updateHeightRightSection();});}else{jQuery("div#mainSection div.videoInfo div").slideDown("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("hide");updateHeightRightSection();});}});jQuery("div#mainSection div.videoInfo div p.close a").click(function(e){e.preventDefault();if(jQuery("div#mainSection div.videoInfo div").is(":visible")){jQuery("div#mainSection div.videoInfo div").slideUp("slow",function(){jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").addClass("hide");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.replie").removeClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").addClass("showInline");jQuery("div#mainSection div.comment-share-bar a.videoInfo span img.deplie").removeClass("hide");updateHeightRightSection();});}});if(jQuery("div.tabs_content div.texte_presentation.bloc1 a.btn").is(":visible")){jQuery("div.tabs_content div.texte_presentation.bloc1 a.btn").click(function(e){e.preventDefault();if(jQuery("div.tabs_content div.texte_presentation.bloc1 div.texteSecondaire").is(":visible")){jQuery("div.tabs_content div.texte_presentation.bloc1 div.texteSecondaire").hide();jQuery("div.tabs_content div.texte_presentation.bloc1 img.replie").addClass('hide');jQuery("div.tabs_content div.texte_presentation.bloc1 img.replie").removeClass('showInline');jQuery("div.tabs_content div.texte_presentation.bloc1 img.deplie").addClass('showInline');jQuery("div.tabs_content div.texte_presentation.bloc1 img.deplie").removeClass('hide');updateHeightRightSection();}else{jQuery("div.tabs_content div.texte_presentation.bloc1 div.texteSecondaire").show();jQuery("div.tabs_content div.texte_presentation.bloc1 img.deplie").addClass('hide');jQuery("div.tabs_content div.texte_presentation.bloc1 img.deplie").removeClass('showInline');jQuery("div.tabs_content div.texte_presentation.bloc1 img.replie").addClass('showInline');jQuery("div.tabs_content div.texte_presentation.bloc1 img.replie").removeClass('hide');updateHeightRightSection();}});}
jQuery("a.twLink").click(function(e){e.preventDefault();twsVideo_click();});jQuery("div.tabs_content ul.unit-gallery2 li a, div.tabs_content li.liListeRegroupee a").click(function(e){e.preventDefault();jQuery("div.tabs_content ul.unit-gallery2 li a, div.tabs_content li.liListeRegroupee a").each(function(){jQuery(this).parents("div.tabs_content ul.unit-gallery2 li ").removeClass("current");jQuery(this).parents("div.tabs_content li.liListeRegroupee").removeClass("current");});jQuery(this).parents("div.tabs_content ul.unit-gallery2 li ").addClass("current");jQuery(this).parents("div.tabs_content li.liListeRegroupee").addClass("current");});var timer12=microtime(true);jQuery("ul.unit-gallery2 li").hover(function(){jQuery(this).addClass("hover");jQuery(this).children("span").addClass("hover");},function(){jQuery(this).removeClass("hover");jQuery(this).children("span").removeClass("hover");});var timer22=microtime(true);totalTimer["liHover"]=(timer22-timer12);}
function MSPersonnageFunction(){indispensableFunctions();jQuery("div#mainSection").addClass("mainSectionMinisite");jQuery("div#rightSection").addClass("rightSectionMinisite");liClick();liHover();customDropDown();videoSlider();btnToutesLesVideos();initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();vitrinesSecondaires();vitrineCarrouselCinemav3();updateHeightRightSection();jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").hover(function(){jQuery(this).addClass("personnage-hover");},function(){jQuery(this).removeClass("personnage-hover");});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").live("click",function(e){e.preventDefault();document.location.href=jQuery(this).children(".msH4").children("a").attr("href");});MeaHoverActus();jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery("div.customDropDown ul li a").click(function(e){url=jQuery(this).attr("href");document.location=url;});jQuery("a.twLink").click(function(e){e.preventDefault();twsContent_click();});if(jQuery("a.#perso_descr").is(":visible")){jQuery("a.#perso_descr").click(function(e){e.preventDefault();if(jQuery("div#desc_plus").is(":visible")){jQuery("div#desc_plus").hide();jQuery("a#perso_descr").addClass('button-more-txt');jQuery("a#perso_descr").removeClass('button-less-txt');updateHeightRightSection();}else{jQuery("div#desc_plus").show();jQuery("a#perso_descr").addClass('button-less-txt');jQuery("a#perso_descr").removeClass('button-more-txt');updateHeightRightSection();}});}
if(jQuery("a.#perso_bio").is(":visible")){jQuery("a.#perso_bio").click(function(e){e.preventDefault();if(jQuery("div#bio_plus").is(":visible")){jQuery("div#bio_plus").hide();jQuery("a#perso_bio").addClass('button-more-txt');jQuery("a#perso_bio").removeClass('button-less-txt');updateHeightRightSection();}else{jQuery("div#bio_plus").show();jQuery("a#perso_bio").addClass('button-less-txt');jQuery("a#perso_bio").removeClass('button-more-txt');updateHeightRightSection();}});}
if(msPhotoDir!=''&&msPhotoIndex!=''){launchSlideShow(msPhotoDir,msPhotoIndex);}}
function MSPhotoFunction(){indispensableFunctions();jQuery("div#mainSection").addClass("mainSectionMinisite");jQuery("div#rightSection").addClass("rightSectionMinisite");videoSlider();btnToutesLesVideos();initHeightRightSection=jQuery("div#rightSection").height();liBrevesInitUserCookie();vitrinesSecondaires();vitrineCarrouselCinemav3();updateHeightRightSection();liClick();liHover();MeaHoverActus();jQuery("div.flashContent-top-cinema div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").hover(function(){jQuery(this).addClass("personnage-hover");},function(){jQuery(this).removeClass("personnage-hover");});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").live("click",function(e){e.preventDefault();document.location.href=jQuery(this).children(".msH4").children("a").attr("href");});if(msPhotoDir!=''&&msPhotoIndex!=''){launchSlideShow(msPhotoDir,msPhotoIndex);}}
function saisonDropDown(rel){document.location.href=jQuery("div#saisonDropDown ul li a[rel='"+rel+"']").attr("href");}
function MSEpisodeFunction(){indispensableFunctions();jQuery("div#mainSection").addClass("mainSectionMinisite");jQuery("div#rightSection").addClass("rightSectionMinisite");customDropDown();if(nbSaison<2){jQuery("div.saisonDropDownListe").css("visibility","hidden");jQuery("div.customDropDown h3").live("click",function(e){jQuery("div.customDropDown h3").removeClass("dd-open");});}
liClick();jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").hover(function(){jQuery(this).addClass("personnage-hover");},function(){jQuery(this).removeClass("personnage-hover");});jQuery("div#drop-mms-nav-personnages ul.unit-thumbs li.unit, .mms-dropdown  ul.unit-thumbs li.unit").live("click",function(e){e.preventDefault();document.location.href=jQuery(this).children(".msH4").children("a").attr("href");});liHover();vitrinesSecondaires();vitrineCarrouselCinemav3();initHeightRightSection=jQuery("div#rightSection").height();updateHeightRightSection();jQuery("div.planifier div.planifier-header div.semaine-slider-container div.semaine-slider ul li a").click(function(e){e.preventDefault();});episodeSlider();jQuery("a.twLink").click(function(e){e.preventDefault();twsContent_click();});}
var nbPersoImage=0;function DisplayMorePicturesPerso(directoryId){nbPersoImage++;jQuery.ajax({url:"/lib/front_tools/ajax/wwwplus_perso_image.php",data:{directoryId:directoryId,nbPersoImage:nbPersoImage},success:function(data){jQuery("div.persoImages").html(data);updateHeightRightSection();}});}
function updatePubHeight(pubHeight){if(typeof pubHeight!="undefined"&&jQuery("#idpublicitepave")){if(pubHeight!=0){if(jQuery("#rightSection")){jQuery("#rightSection").css("padding-top","0px");jQuery("#rightSection > .banner").css("display","block");}else if(jQuery(".sideMainFeature")){jQuery(".sideMainFeature > .banner").css("display","none");}}
jQuery("#idpublicitepave").animate({height:parseInt(pubHeight)},800,function(){});setTimeout("updatePubHeightRight("+pubHeight+")",850);}}
function updatePubHeightRight(pubHeight){if(jQuery("#rightSection")){jQuery("#rightSection").css("height","auto");initHeightRightSection=jQuery("div#rightSection").height()
updateHeightRightSection();if(pubHeight==0){jQuery("#rightSection").css("padding-top","20px");jQuery("#rightSection > .banner").css("display","none");}}else if(jQuery(".sideMainFeature")){if(pubHeight==0){jQuery(".sideMainFeature > .banner").css("display","none");}}};/*

13twelve vs. JQuery

This javascript is the main javascript for the sites actions.

*/

// --------------------------------------------------------------------------------------------------------------
// set up variables

var isSafari = false;
var isSafari3 = false;
var isSafari4 = false;
var isIE = false;
var isIE6 = false;
var isIE7 = false;
var isIE8 = false;
var isMozilla = false;
var isOpera = false;
var isChrome = false;
var isMac = false;
var isiphone = false;
var isFirstCallLightboxes = true;
var ssoStatus = '';
var sesStatus = '';
var webtvStatus = '';
var webtvUrlSouscription = '';
var mpid = '';
var pgid = '';
var dfid = '';
var tpid = '';
var sportHeaderCid = '';
var tableau = new Array();
var aIdalgo = new Array();

var mc = '';
jQuery.ajaxSetup({ cache: true });

// --------------------------------------------------------------------------------------------------------------
// what to do on DOM ready
jQuery(document).ready(function(){
	runOnDOMready();
});

// --------------------------------------------------------------------------------------------------------------

function runOnDOMready() {
	
	browserTest();
	setUpClasses();
	ieNavClasses();
	if(tpid != "589" && tpid != ""){
		ShowHeader();
		ShowFooter();
	}
	
	if (typeof sUrlSite != "string") {
		
		switch (tpid) {
			case "589": // home v3
				homepage();
				break;
			case "593": // home cinema v3
			case "596": // home crea+ v3
			case "597": // home divertissement v3
			case "607": // home serie v3
				sectionHomepages();
				break;
			case "594": // grille tv
				tvGrid();
				break;
			case "598": // films du moment
			case "600": // programmes du moment
				lesFilmsDuMois();
			case "599": // recherche programme
				rechercheProgramme();
				break;
			case "601": // recherche globale
				recherche();
				break;
			case "603": // programme
				programme();
				break;
			case "608": // video v3
				videoV3();
				break;
			case "609": // home sport v3
				homepageSport();
				break;
			case "612": // generique sport v3
				generiqueSport();
				break;
			case "613": // news sport v3
				newsSport();
				break;
			case "614": // video sport v3
				videoSport();
				break;
			case "616": // mes enregistrements
				mesEnregistrements();
				break;
			case "630": // live tv canal
				liveTV();
				break;
			case "632": // generique v3
				generiqueV3();
				break;
			case "633": // programme v3
				programmeV3();
				break;
			case "647": // note du match
				noteDuMatch();
				break;
			case "650": // live tv premium
				liveTVPremium();
				break;
			case "655": // refonte cinema v3
				cinemaSeriesHub();
				break;	
			case "656":	// refonte cinema v3
				cinemaSeriesTousLes();
				break;
			case "657":	// refonte actu
				ActuFunction();
				break;
			case "660":	// minisite home
				MSHomeFunction();
				break;
			case "661":	// minisite text brut
				MSTxtBrutFunction();
				break;
			case "662":	// minisite news
				MSNewsFunction();
				break;
			case "663":	// minisite videos
				MSVideosFunction();
				break;
			case "664":	// minisite personnages
				MSPersonnageFunction();
				break;
			case "665":	// minisite photos
				MSPhotoFunction();
				break;
			case "666":	// minisite episodes
				MSEpisodeFunction();
				break;
			default:
				indispensableFunctions();
				customDropDown();
				videoSlider();
				btnToutesLesVideos();
				break;
		}
		/** Début - Ciné v3 **/
		if(typeof(cntid) == "string"){
			switch(cntid){
				case "218":
					CinemaFunction();
				break;
				case "249":
					ficheBioFunction();
				break;
			}
		}
		/** Fin - Ciné v3 **/
		
/** Début - Idalgo **/
		if (aIdalgo.length > 0) {
			for (i = 0; i < aIdalgo.length; i++) {
				cidWidgetIdalgo = null;
				cidIdalgo = null;
				jsonGet = null;
				htmlId = null;
				if (aIdalgo[i]["cidWidgetIdalgo"] != null && aIdalgo[i]["cidWidgetIdalgo"] != "null") {
					cidWidgetIdalgo = aIdalgo[i]["cidWidgetIdalgo"];
				}
				if (aIdalgo[i]["cidIdalgo"] != null && aIdalgo[i]["cidIdalgo"] != "null") {
					cidIdalgo = aIdalgo[i]["cidIdalgo"];
				}
				if (aIdalgo[i]["jsonGet"] != null && aIdalgo[i]["jsonGet"] != "null") {
					jsonGet = aIdalgo[i]["jsonGet"];
				}
				if (aIdalgo[i]["htmlId"] != null && aIdalgo[i]["htmlId"] != "null") {
					htmlId = aIdalgo[i]["htmlId"];
				}
				if (htmlId != null) {
					loadIdalgoContent(cidWidgetIdalgo, cidIdalgo, jsonGet, htmlId);
				}
			}
		}
		
		/** Fin - Idalgo **/
		/** Début header sport **/
		if (sportHeaderCid) {
			loadSportHeader(sportHeaderCid);
		}
		/** Fin header sport **/
	}	
	}
	
function ShowHeader() {
	jQuery("div#canalplus_header").html(canalplus_header);
	Cufon.replace("li a.nav-cufon");
	Cufon.replace("div.videos-bar h3.h3-img-cuffon");
	Cufon.replace("div.titleAuthenticate");
	Cufon.replace("h3.h3-service-indisponible");
	Cufon.replace("#lb-compte h2");
}
function ShowFooter() {
	jQuery("div#canalplus_footer").html(canalplus_footer);
}
// --------------------------------------------------------------------------------------------------------------
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ application wide functions */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (remember to test if the elements you are messing with exist) */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( eg. if ((jQuery('body.homepage'))!=""){ } ) */

function browserTest() {

	/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ some simple browser testing */
	// are we on a Mac ?
	if (navigator.appVersion.indexOf("Mac")!=-1) {
		isMac = true;
		jQuery('body').addClass("isMac");
	}

	function searchVersion(browser) {
		var dataString = navigator.userAgent;
		var index = dataString.indexOf(browser);
		if (index == -1) return;
		var bVersion = parseFloat(dataString.substring(index+browser.length+1));
		return bVersion.toString().split(".")[0];
	}

	// Safari versioning
	isSafari =  jQuery.browser.safari;
	if (isSafari) {
		jQuery('body').addClass("isSafari");
		version = searchVersion("Version") || + "";
		jQuery('body').addClass("isSafari"+version);
		isSafari3 = (version == 3) ? true : false;
		isSafari4 = (version == 4) ? true : false;
	}

	// IE versioning
	isIE = jQuery.browser.msie;
	if (isIE) {
		jQuery('body').addClass("isIE");
		version = searchVersion("MSIE") || "";
		jQuery('body').addClass("isIE"+version);
		isIE6 = (version == 6) ? true : false;
		isIE7 = (version == 7) ? true : false;
		isIE8 = (version == 8) ? true : false;
	}

	// Mozilla versioning
	isMozilla = jQuery.browser.mozilla;
	if (isMozilla) {
		jQuery('body').addClass("isMozilla");
		version = searchVersion("Firefox") || "";
		jQuery('body').addClass("isMozilla"+version);
	}

	// Opera versioning
	isOpera = jQuery.browser.opera;
	if (isOpera) {
		jQuery('body').addClass("isOpera");
	}

	// Chrome
	if (navigator.userAgent.indexOf("Chrome") != -1) {
		isChrome = true;
		jQuery('body').addClass("isChrome");
	}

	// iPhone
	if (navigator.userAgent.indexOf("iPhone") != -1) {
		isiphone = true;
		jQuery('body').addClass("isIphone");
	}

}

function setUpClasses() {
	jQuery('li:nth-child(even)').addClass("even");
	jQuery('li:first-child').addClass("first");
	jQuery('li:last-child').addClass("last");
	jQuery("input[type=submit]").hover(function(){
		jQuery(this).addClass("submitHover");
	}, function() {
		jQuery(this).removeClass("submitHover");
	});
	jQuery('a[class*="ch-sm-"]').addClass("ch-sm");
}

// this function search and replaces a string and returns the new string
// http://www.daveshuck.com/blog/index.cfm/2006/12/13/Javascript-examples--removeElement-and-replaceAll
function replaceAll( str, searchTerm, replaceWith, ignoreCase) {
	var regex = "/"+searchTerm+"/g";
	if( ignoreCase ) regex += "i";
	return str.replace( eval(regex), replaceWith );
}

function filterClasses(klass) {
	if(isIE6) {
		klass = replaceAll(klass, ieNavClass[0], "");
		klass = replaceAll(klass, ieNavClass[1], "");
	}
	klass = replaceAll(klass, "first", "");
	klass = replaceAll(klass, "last", "");
	klass = replaceAll(klass, "even", "");
	klass = replaceAll(klass, "current", "");
	klass = replaceAll(klass, "dropdown", "");
	klass = replaceAll(klass, " ", "");
	return klass;
}

var ieNavClass = new Array();
function ieNavClasses() {
	// function to sort fix IE6's lack of multiple CSS class selector
	if (isIE6) {
		//
		jQuery("."+ieNavClass[0]).removeClass(ieNavClass[0]);
		jQuery("."+ieNavClass[1]).removeClass(ieNavClass[1]);
		//
		jQuery("#nav ul li.current").each(function(i,val) {
			var klass = jQuery(this).attr("class");
			klass = filterClasses(klass);
			klass = klass + "-current";
			jQuery(this).addClass(klass);
			ieNavClass[0] = klass;
		});
		jQuery("#nav ul li.dropdown").each(function(i,val) {
			var klass = jQuery(this).attr("class");
			klass = filterClasses(klass);
			klass = klass + "-dropdown";
			jQuery(this).addClass(klass);
			ieNavClass[1] = klass;
		});
	}
}

function alertSmallIEfix() {
	jQuery("div.alert-small").each(function(){
		var klass = jQuery(this).attr("class");
		klass = replaceAll(klass, "alert-", "");
		klass = replaceAll(klass, " ", "-");
		jQuery(this).addClass(klass);
	});
}

function register() {
	indispensableFunctions();
	jQuery('input[type=submit]').addClass("submit");
	jQuery('input[type=radio]').addClass("radio");
	jQuery('input[type=checkbox]').addClass("checkbox");
	jQuery('input[type=image]').addClass("image");
	jQuery('input[type=file]').addClass("file");
	jQuery('input[type=text]').addClass("text");
	jQuery('input[type=password]').addClass("text");
}

function dropdowns() {

	var timer1 = microtime(true);
	var etat="";
	jQuery("#nav div.dropdown h2").hide();
	var animating = false;
	var currentWas = "";
	var navlink6WasCurrent = "";
	var navlink7WasCurrent = "";
	//
	jQuery("#nav > ul li a._nav").each(function(i,val){
		jQuery(this).click(function(e) {
			if (!animating) {
				animating = true;
				var el = jQuery(this);
				var klass = el.parent("li").attr("class");
				klass = filterClasses(klass);
				if (klass != "") {
					dd_Klass = ".dropdown-" + klass;
					// check that the clicked option has a coressponding dropdown div
					// it does this off the name, not off the array index
					if (jQuery(dd_Klass).length > 0) {
						e.preventDefault();
						if (jQuery("#nav > ul li.dropdown").length > 0) {
							// one already open, so close it up, then open the next,
							// but wait, is this the same one being clicked?
							if (!el.parent("li").hasClass("dropdown")) {
								jQuery("#nav > ul li.dropdown").removeClass("dropdown");
								el.parent("li").addClass("dropdown");
								jQuery("#nav").addClass("heightFix");
								ieNavClasses();
								jQuery(".dropdown-open").fadeOut("normal", function(){
									jQuery(".dropdown-open").removeClass("dropdown-open");
									// open next
									jQuery(dd_Klass).fadeIn("normal", function(){
										jQuery(dd_Klass).addClass("dropdown-open");
										animating = false;
									});
								});
							} else {
								// its the same, so close the open one
								jQuery("#nav > ul li.dropdown").removeClass("dropdown");
								jQuery("#nav").removeClass("heightFix");
								ieNavClasses();
								jQuery(".dropdown-open").slideUp("normal", function(){
									jQuery(".dropdown-open").removeClass("dropdown-open");
									jQuery("#nav").removeClass("dd-open");
									if (currentWas != "" || navlink6WasCurrent != "" || navlink7WasCurrent != "") {
										if(currentWas != "") {
											jQuery("#nav > ul li."+currentWas).addClass("current");
										}
										if(navlink6WasCurrent != "") {
											jQuery('#navlink6').parent().addClass("current");
										}
										if(navlink7WasCurrent != "") {
											jQuery('#navlink7').parent().addClass("current");
										}
										ieNavClasses();
										currentWas = "";
										navlink6WasCurrent = "";
										navlink7WasCurrent = "";
									}
									animating = false;
								});

							}
						} else {
							// none already open, just open one up
							el.parent("li").addClass("dropdown");
							jQuery("#nav").addClass("dd-open");
							//
							if(el.parent().parent().find("li.current").length > 0 || jQuery('#navlink6').parent().hasClass('current') || jQuery('#navlink7').parent().hasClass('current')) {
								if (el.parent().parent().find("li.current").length > 0) {
									currentWas = filterClasses(el.parent().parent().find("li.current").attr("class"));
								}
								if(jQuery('#navlink6').parent().hasClass('current')) {
									navlink6WasCurrent = 'true';
								}
								if(jQuery('#navlink7').parent().hasClass('current')) {
									navlink7WasCurrent = 'true';
								}
								el.parent().parent().find("li.current").removeClass("current");
								ieNavClasses();
							}
							//
							jQuery(dd_Klass).slideDown("normal", function(){
								ieNavClasses();
								jQuery(dd_Klass).addClass("dropdown-open");
								animating = false;
							});
						}
					}
				}
			}
		});
	});
	jQuery("#nav").find(".a_close_nav").click(function(e) {
		e.preventDefault();
		jQuery("#nav > ul li.dropdown").removeClass("dropdown");
		jQuery("#nav").removeClass("heightFix");
		ieNavClasses();
		jQuery(".dropdown-open").slideUp("normal", function(){
			jQuery(".dropdown-open").removeClass("dropdown-open");
			jQuery("#nav").removeClass("dd-open");

			if (currentWas != "" || navlink6WasCurrent != "" || navlink7WasCurrent != "") {
				if(currentWas != "") {
					jQuery("#nav > ul li."+currentWas).addClass("current");
				}
				if(navlink6WasCurrent != "") {
					jQuery('#navlink6').parent().addClass("current");
				}
				if(navlink7WasCurrent != "") {
					jQuery('#navlink7').parent().addClass("current");
				}
				ieNavClasses();
				currentWas = "";
				navlink6WasCurrent = "";
				navlink7WasCurrent = "";
			}
		});
	});
	var timer2 = microtime(true);
	totalTimer["dropdow"] = (timer2-timer1);
	
	if(isIE8) { jQuery('#nav li a.nav-cufon').css('padding-top', '11px'); }
	if(isIE7) { jQuery('#nav li a.nav-cufon').css('padding-top', '10px'); } 
}

function ajaxChargement() {
	var _html = '<div id="loader"><img src="/lib/images/ajax/ajax-loader.gif" alt="" /></div>';
	if (tpid == "650") {
		var _top = jQuery("div#content div.planifier div.planifier-header").offset().top;
		jQuery("div#lb-mask-premium").css("top", _top + "px");
		var _height = jQuery("body").height();
		jQuery("div#lb-mask-premium").height(_height - _top);
		jQuery("div#lb-mask-premium").show();
		jQuery("div#lb-mask-premium").html(_html);
	} else {
		if (isIE6) {
			var _height = jQuery("body").height();
			jQuery("div#lb-mask").height(_height);
		}
		jQuery("div#lb-mask").show();
		jQuery("div#lb-mask").html(_html);
	}
}
function openForgetPassWord(email){
	
	var timer1 = microtime(true);
	var _eY = 0;
	var _tab = 0;
	var _epgid = "";
	var bAuthenticated = isAuthenticated();
	var bIdentified = isIdentified();
	
	function showMask() {
		if (isIE6) {
			var h = jQuery("body").height();
			jQuery("div#lb-mask").height(h);
		}
		jQuery("div#lb-mask").show();
		if (tpid == "650") {
			jQuery("div.live-premium-player").find("*").css("visibility", "hidden");
		}
	}

	function hideMask() {
		if(typeof habillageGrille == "string" && habillageGrille != ""){
			jQuery("div#lb-mask").css("background-image", "");
			jQuery("div#lb-mask").css("background-repeat", "");
			jQuery("div#lb-mask").css("background-position", "");
		}
		jQuery("div#lb-mask").hide();
		if (tpid == "650") {
			jQuery("div.live-premium-player").find("*").css("visibility", "visible");
		}
	}

	function hideLBs() {
		jQuery("div.lb").hide();
	}

	function clearBreveSport() {
		jQuery("#brevesport-inner").html("");
	}

	function clearProgramDetail() {
		jQuery("#detailprogram-inner").html("");
		FlashPlayerPause("CanalPlayerGrille");
	}

	// update show detail program after ajax complete
	function update(textStatus,href,tab) {
		if (textStatus == "success") {
			liBrevesInitUserCookie();
			if(jQuery("#detailProgramDropDown").is(":visible")){
				customDropDown("detailProgramDropDown");
			}
			tabs(tab);
			updatePopupEPG(tab);
			labelMessages();
		} else {
			window.location = href;
		}
	}

	function positionPopup(id) {
		var _parent = jQuery(id).parent('.lb');
		_parent.show();
		var h = jQuery(window).height();
		var h2 = parseFloat(_parent.height());
		var windowTopOffset = jQuery(window).scrollTop();
		if ((h-h2) < 80) {
			windowTopOffset = windowTopOffset + 40;
		} else {
			windowTopOffset = windowTopOffset + ((h-h2) / 2);
		}
		_parent.css('top', windowTopOffset + 'px');
	}
	
	
	
	
	function openPopup(id, type) {
		
		function _openPopup(id, type) {
			var params = "";
			if (type == "rec") {
				params = params + "rec=1";
			}
			if (type == "live") {
				params = params + "live=1";
			}
			if (type == "live-premium") {
				params = params + "live=1&premium=1";
				if (_epgid != "") {
					params = params + "&epgid=" + _epgid;
				}
			}
			if (type == "match") {
				params = params + "match=1";
			}
			if (typeof pid == "string") {
				if (params != "") {
					params = params + "&";
				}
				params = params + "pid=" + pid;
			}
			if (typeof cid == "string") {
				if (params != "") {
					params = params + "&";
				}
				params = params + "cid=" + cid;
			}

			if (isFirstCallLightboxes) {
				if (typeof init == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "init=" + init;
				}
				if (typeof lck == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "lck=" + lck;
				}
				if (typeof mc == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "mc=" + mc;
				}
				if (typeof mesinc == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "mesinc=" + mesinc;
				}
				if (typeof remember == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "remember=" + remember;
				}
				if (typeof exist == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "exist=" + exist;
				}
				if (typeof live == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "live=" + live;
				}
				if (typeof premium == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "premium=" + premium;
				}
				if (typeof epgid == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "epgid=" + epgid;
				}
			}
			
			if (id == "compte-login") {
				var _id = "#lb-login";
			} else {
				var _id = "#lb-" + id;
			}

			if (id == "forget-password" || id == "login" || id == "compte-login") {
				if (bIdentified || bAuthenticated) {
					if (params != "") {
						params = params + "&";
					}
					params = params + "authentif_light=1";
				}
				if (typeof sUrlSite == "string") {
					var url = sUrlSite + "/partner/partner_popin.js.php?id=" + id + "&" + params;
					if (email) {
						url += "&email=" + email;
					}
					jQuery.getScript(url, function() {
						positionPopup(_id);
						if (id == "compte-login" && (!isSafari || isChrome)) {
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL]").remove();
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL_DISABLED]").removeAttr("disabled");
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL_DISABLED]").attr("name", "SUBSCRIBER_EMAIL");
						}
						jQuery(_id + " input[name=from_url]").val(from_url);
						jQuery(_id + " input:enabled:first").focus();
						jQuery(_id + " input:enabled:first").select();
						jQuery("#a_compte-login-forget").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("compte-login");
						});
						jQuery("#a_forget-password").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("forget-password");
						});
						jQuery("#a_register-forget").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("register");
						});
						jQuery("#a_register-signup").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("register");
						});
						jQuery("#lb-close-login, #lb-close-forget-password").click(function(e) {
							e.preventDefault();
							hideMask();
							hideLBs();
						});
					});
				} else {
					if (id == "forget-password") {
						var _href = "/forget.ajax.php";
					} else {
						var _href = "/login.ajax.php";
					}
				}
			}
			if (id == "register" || id == "compte") {
				if (typeof sUrlSite == "string") {
					var _src = sUrlSiteSecure + "/index.php?pid=" + pid + "&cid=" + cid + "&tpl=10&par=CPLUS&url_retour=" + encodeURIComponent(from_url);
					if (id == "register") {
						var _height = 975;
					}
					if (id == "compte") {
						var _height = 810;
					}
					jQuery(_id).css("height", _height + "px");
					jQuery(_id).html('<p class="close" style="top: 14px;"><a href="#" id="lb-close">Fermer</a></p><iframe width="660" height="' + _height + '" frameborder="0" scrolling="auto" src="' + _src + '">');
					jQuery("#lb-close").click(function(e) {
						jQuery("div#lb-mask").hide();
						jQuery("div.lb").hide();
					});
				} else {
					var _href = "/compte.ajax.php";
				}
			}
			if (typeof _href == "string" && typeof from_url == "string") {
				if (params != "") {
					_href += "?" + params;
				}
				if (id == "forget-password" && email) {
					_href += "&email=" + email;
				}
				jQuery(_id).load(_href,
				function(responseText, textStatus, XMLHttpRequest) {
					positionPopup(_id);
					jQuery(_id + " input[name=from_url]").val(from_url);
					jQuery(_id + " input:enabled:first").focus();
					jQuery(_id + " input:enabled:first").select();
					if (type == "rec" && id == "compte") {
						jQuery(_id + " input[type=radio][name=SUBSCRIBER_FLAG_ABO]").each(function(){
							if (jQuery(this).val() == "0") {
								jQuery(this).removeAttr("checked");
							}
							if (jQuery(this).val() == "1") {
								jQuery(this).attr("checked", "checked");
							}
						});
						jQuery(_id + " input[name=SUBSCRIBER_NUMBER]").focus();
						jQuery(_id + " input[name=SUBSCRIBER_NUMBER]").select();
					}
					if (type == "rec" && (id == "login" || id == "compte-login" || id == "compte")) {
						var _html = '';
						if (id == "login" || id == "compte-login") {
							_html += '<p class="service">Pour enregistrer ce programme, nous vous invitons à vous identifier.</p>';
						}
						_html += '<input type="hidden" name="rec" value="1" /><input type="hidden" name="mpid" value="'+mpid+'" /><input type="hidden" name="pgid" value="'+pgid+'" /><input type="hidden" name="dfid" value="'+dfid+'" />';
						if (jQuery("div.semaine-slider").is(":visible")) {
							var _date = jQuery("div.semaine-slider ul li.current").attr("id").replace("nav-", "");
							_html += '<input type="hidden" name="date" value="'+_date+'" />';
						}
						jQuery(_id + " form").prepend(_html);
					}
					if (type == "match" && (id == "login" || id == "compte-login")) {
						var _html = '<input type="hidden" name="match" value="1" />';
						jQuery(_id + " form").prepend(_html);
					}
					jQuery("#a_compte-login-forget").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("compte-login", type);
					});
					jQuery("#a_forget-password").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("forget-password", type);
					});
					jQuery("#a_register-forget").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("register", type);
					});
					jQuery("#a_register-signup").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("register", type);
					});
					jQuery("#lb-close, #lb-close-button, #lb-close-login").click(function(e) {
						e.preventDefault();
						hideMask();
						hideLBs();
					});
					jQuery("#lb-close-forget-password").click(function(e) {
						e.preventDefault();
						hideMask();
						hideLBs();
						jQuery("#simplemodal-overlay").show();
						jQuery("#simplemodal-container").show();
					});
					
				}
				);
			} else {
				positionPopup(_id);
			}
		}

		/*if (id == "compte" && typeof sUrlSiteSecure == "string") {
			if (typeof sUrlSite == "string") {
				var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
				jQuery.getScript(url, function(){
					if (ssoStatus == "2") {
						id = "login";
					} else {
						if (ssoStatus == "1") {
							id = "compte-login";
						} else {
							id = "compte";
						}
					}
					_openPopup(id, type);
				});
			} else {
				var url = "/lib/front_tools/ajax/check_session.php";
				jQuery.getScript(url, function(){
					var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
					jQuery.getScript(url, function(){
						if (ssoStatus == "2") {
							id = "login";
						} else {
							if (ssoStatus == "1") {
								id = "compte-login";
							} else {
								if (sesStatus == "1") {
									id = "compte";
								} else {
									id = "login";
								}
							}
						}
						_openPopup(id, type);
					});
				});
			}
		} else {
			_openPopup(id, type);
		}*/
		if (id == "compte" && typeof sUrlSiteSecure == "string") {
			_openPopup(id, type);		
		} else {
			_openPopup(id, type);
		}
	}
	jQuery("#simplemodal-overlay").hide();
	jQuery("#simplemodal-container").hide();
	showMask();
	openPopup("forget-password");
}
function openPopinInscription(){
	
	var timer1 = microtime(true);
	var _eY = 0;
	var _tab = 0;
	var _epgid = "";
	var bAuthenticated = isAuthenticated();
	var bIdentified = isIdentified();
	
	function showMask() {
		if (isIE6) {
			var h = jQuery("body").height();
			jQuery("div#lb-mask").height(h);
		}
		jQuery("div#lb-mask").show();
		if (tpid == "650") {
			jQuery("div.live-premium-player").find("*").css("visibility", "hidden");
		}
	}

	function hideMask() {
		if(typeof habillageGrille == "string" && habillageGrille != ""){
			jQuery("div#lb-mask").css("background-image", "");
			jQuery("div#lb-mask").css("background-repeat", "");
			jQuery("div#lb-mask").css("background-position", "");
		}
		jQuery("div#lb-mask").hide();
		if (tpid == "650") {
			jQuery("div.live-premium-player").find("*").css("visibility", "visible");
		}
	}

	function hideLBs() {
		jQuery("div.lb").hide();
	}

	function clearBreveSport() {
		jQuery("#brevesport-inner").html("");
	}

	function clearProgramDetail() {
		jQuery("#detailprogram-inner").html("");
		FlashPlayerPause("CanalPlayerGrille");
	}

	// update show detail program after ajax complete
	function update(textStatus,href,tab) {
		if (textStatus == "success") {
			liBrevesInitUserCookie();
			if(jQuery("#detailProgramDropDown").is(":visible")){
				customDropDown("detailProgramDropDown");
			}
			tabs(tab);
			updatePopupEPG(tab);
			labelMessages();
		} else {
			window.location = href;
		}
	}

	function positionPopup(id) {
		var _parent = jQuery(id).parent('.lb');
		_parent.show();
		var h = jQuery(window).height();
		var h2 = parseFloat(_parent.height());
		var windowTopOffset = jQuery(window).scrollTop();
		if ((h-h2) < 80) {
			windowTopOffset = windowTopOffset + 40;
		} else {
			windowTopOffset = windowTopOffset + ((h-h2) / 2);
		}
		_parent.css('top', windowTopOffset + 'px');
	}
	
	
	
	
	function openPopup(id, type) {
		
		function _openPopup(id, type) {
			var params = "";
			if (type == "rec") {
				params = params + "rec=1";
			}
			if (type == "live") {
				params = params + "live=1";
			}
			if (type == "live-premium") {
				params = params + "live=1&premium=1";
				if (_epgid != "") {
					params = params + "&epgid=" + _epgid;
				}
			}
			if (type == "match") {
				params = params + "match=1";
			}
			if (typeof pid == "string") {
				if (params != "") {
					params = params + "&";
				}
				params = params + "pid=" + pid;
			}
			if (typeof cid == "string") {
				if (params != "") {
					params = params + "&";
				}
				params = params + "cid=" + cid;
			}

			if (isFirstCallLightboxes) {
				if (typeof init == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "init=" + init;
				}
				if (typeof lck == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "lck=" + lck;
				}
				if (typeof mc == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "mc=" + mc;
				}
				if (typeof mesinc == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "mesinc=" + mesinc;
				}
				if (typeof remember == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "remember=" + remember;
				}
				if (typeof exist == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "exist=" + exist;
				}
				if (typeof live == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "live=" + live;
				}
				if (typeof premium == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "premium=" + premium;
				}
				if (typeof epgid == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "epgid=" + epgid;
				}
			}

			if (id == "compte-login") {
				var _id = "#lb-login";
			} else {
				var _id = "#lb-" + id;
			}

			if (id == "forget-password" || id == "login" || id == "compte-login") {
				if (bIdentified || bAuthenticated) {
					if (params != "") {
						params = params + "&";
					}
					params = params + "authentif_light=1";
				}
				if (typeof sUrlSite == "string") {
					var url = sUrlSite + "/partner/partner_popin.js.php?id=" + id + "&" + params;
					if (email) {
						url += "&email=" + email;
					}
					jQuery.getScript(url, function() {
						positionPopup(_id);
						if (id == "compte-login" && (!isSafari || isChrome)) {
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL]").remove();
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL_DISABLED]").removeAttr("disabled");
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL_DISABLED]").attr("name", "SUBSCRIBER_EMAIL");
						}
						jQuery(_id + " input[name=from_url]").val(from_url);
						jQuery(_id + " input:enabled:first").focus();
						jQuery(_id + " input:enabled:first").select();
						jQuery("#a_compte-login-forget").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("compte-login");
						});
						jQuery("#a_forget-password").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("forget-password");
						});
						jQuery("#a_register-forget").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("register");
						});
						jQuery("#a_register-signup").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("register");
						});
						jQuery("#lb-close-login, #lb-close-forget-password").click(function(e) {
							e.preventDefault();
							hideMask();
							hideLBs();
						});
					});
				} else {
					if (id == "forget-password") {
						var _href = "/forget.ajax.php";
					} else {
						var _href = "/login.ajax.php";
					}
				}
			}
			if (id == "register" || id == "compte") {
				if (typeof sUrlSite == "string") {
					var _src = sUrlSiteSecure + "/index.php?pid=" + pid + "&cid=" + cid + "&tpl=10&par=CPLUS&url_retour=" + encodeURIComponent(from_url);
					if (id == "register") {
						var _height = 975;
					}
					if (id == "compte") {
						var _height = 810;
					}
					jQuery(_id).css("height", _height + "px");
					jQuery(_id).html('<p class="close" style="top: 14px;"><a href="#" id="lb-close">Fermer</a></p><iframe width="660" height="' + _height + '" frameborder="0" scrolling="auto" src="' + _src + '">');
					jQuery("#lb-close").click(function(e) {
						jQuery("div#lb-mask").hide();
						jQuery("div.lb").hide();
					});
				} else {
					var _href = "/compte.ajax.php";
				}
			}

			if (typeof _href == "string" && typeof from_url == "string") {
				if (params != "") {
					_href += "?" + params;
				}
				jQuery(_id).load(_href,
				function(responseText, textStatus, XMLHttpRequest) {
					positionPopup(_id);
					jQuery(_id + " input[name=from_url]").val(from_url);
					jQuery(_id + " input:enabled:first").focus();
					jQuery(_id + " input:enabled:first").select();
					if (type == "rec" && id == "compte") {
						jQuery(_id + " input[type=radio][name=SUBSCRIBER_FLAG_ABO]").each(function(){
							if (jQuery(this).val() == "0") {
								jQuery(this).removeAttr("checked");
							}
							if (jQuery(this).val() == "1") {
								jQuery(this).attr("checked", "checked");
							}
						});
						jQuery(_id + " input[name=SUBSCRIBER_NUMBER]").focus();
						jQuery(_id + " input[name=SUBSCRIBER_NUMBER]").select();
					}
					if (type == "rec" && (id == "login" || id == "compte-login" || id == "compte")) {
						var _html = '';
						if (id == "login" || id == "compte-login") {
							_html += '<p class="service">Pour enregistrer ce programme, nous vous invitons à vous identifier.</p>';
						}
						_html += '<input type="hidden" name="rec" value="1" /><input type="hidden" name="mpid" value="'+mpid+'" /><input type="hidden" name="pgid" value="'+pgid+'" /><input type="hidden" name="dfid" value="'+dfid+'" />';
						if (jQuery("div.semaine-slider").is(":visible")) {
							var _date = jQuery("div.semaine-slider ul li.current").attr("id").replace("nav-", "");
							_html += '<input type="hidden" name="date" value="'+_date+'" />';
						}
						jQuery(_id + " form").prepend(_html);
					}
					if (type == "match" && (id == "login" || id == "compte-login")) {
						var _html = '<input type="hidden" name="match" value="1" />';
						jQuery(_id + " form").prepend(_html);
					}
					jQuery("#a_compte-login-forget").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("compte-login", type);
					});
					jQuery("#a_forget-password").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("forget-password", type);
					});
					jQuery("#a_register-forget").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("register", type);
					});
					jQuery("#a_register-signup").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("register", type);
					});
					jQuery("#lb-close, #lb-close-button, #lb-close-login, #lb-close-forget-password").click(function(e) {
						e.preventDefault();
						hideMask();
						hideLBs();
					});
				}
				);
			} else {
				positionPopup(_id);
			}
		}

		/*if (id == "compte" && typeof sUrlSiteSecure == "string") {
			if (typeof sUrlSite == "string") {
				var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
				jQuery.getScript(url, function(){
					if (ssoStatus == "2") {
						id = "login";
					} else {
						if (ssoStatus == "1") {
							id = "compte-login";
						} else {
							id = "compte";
						}
					}
					_openPopup(id, type);
				});
			} else {
				var url = "/lib/front_tools/ajax/check_session.php";
				jQuery.getScript(url, function(){
					var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
					jQuery.getScript(url, function(){
						if (ssoStatus == "2") {
							id = "login";
						} else {
							if (ssoStatus == "1") {
								id = "compte-login";
							} else {
								if (sesStatus == "1") {
									id = "compte";
								} else {
									id = "login";
								}
							}
						}
						_openPopup(id, type);
					});
				});
			}
		} else {
			_openPopup(id, type);
		}*/
		if (id == "compte" && typeof sUrlSiteSecure == "string") {
			_openPopup(id, type);		
		} else {
			_openPopup(id, type);
		}
	}
	showMask();
	openPopup("register");
}

function lightboxes() {
	
	var timer1 = microtime(true);
	var _eY = 0;
	var _tab = 0;
	var _epgid = "";
	var bAuthenticated = isAuthenticated();
	var bIdentified = isIdentified();
	

	if(bAuthenticated && mc == "1"){
		var hrefRedirect = "/secure/3/moncompte.php";
		if (typeof sUrlSite == "string") {
			hrefRedirect = sUrlSite + hrefRedirect;
		}
		window.location.href = hrefRedirect;
	}

	function showMask() {
		if (isIE6) {
			var h = jQuery("body").height();
			jQuery("div#lb-mask").height(h);
		}
		jQuery("div#lb-mask").show();
		if (tpid == "650") {
			jQuery("div.live-premium-player").find("*").css("visibility", "hidden");
		}
	}

	function hideMask() {
		if(typeof habillageGrille == "string" && habillageGrille != ""){
			jQuery("div#lb-mask").css("background-image", "");
			jQuery("div#lb-mask").css("background-repeat", "");
			jQuery("div#lb-mask").css("background-position", "");
		}
		jQuery("div#lb-mask").hide();
		if (tpid == "650") {
			jQuery("div.live-premium-player").find("*").css("visibility", "visible");
		}
	}

	function hideLBs() {
		jQuery("div.lb").hide();
	}

	function clearBreveSport() {
		jQuery("#brevesport-inner").html("");
	}

	function clearProgramDetail() {
		jQuery("#detailprogram-inner").html("");
		FlashPlayerPause("CanalPlayerGrille");
	}

	// update show detail program after ajax complete
	function update(textStatus,href,tab) {
		if (textStatus == "success") {
			liBrevesInitUserCookie();
			if(jQuery("#detailProgramDropDown").is(":visible")){
				customDropDown("detailProgramDropDown");
			}
			tabs(tab);
			updatePopupEPG(tab);
			labelMessages();
		} else {
			window.location = href;
		}
	}

	function positionPopup(id) {
		var _parent = jQuery(id).parent('.lb');
		_parent.show();
		var h = jQuery(window).height();
		var h2 = parseFloat(_parent.height());
		var windowTopOffset = jQuery(window).scrollTop();
		if ((h-h2) < 80) {
			windowTopOffset = windowTopOffset + 40;
		} else {
			windowTopOffset = windowTopOffset + ((h-h2) / 2);
		}
		_parent.css('top', windowTopOffset + 'px');
	}

	
	
	
	function openPopup(id, type) {

		function _openPopup(id, type) {
			var params = "";
			if (type == "rec") {
				params = params + "rec=1";
			}
			if (type == "live") {
				params = params + "live=1";
			}
			if (type == "live-premium") {
				params = params + "live=1&premium=1";
				if (_epgid != "") {
					params = params + "&epgid=" + _epgid;
				}
			}
			if (type == "match") {
				params = params + "match=1";
			}
			if (typeof pid == "string") {
				if (params != "") {
					params = params + "&";
				}
				params = params + "pid=" + pid;
			}
			if (typeof cid == "string") {
				if (params != "") {
					params = params + "&";
				}
				params = params + "cid=" + cid;
			}

			if (isFirstCallLightboxes) {
				if (typeof init == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "init=" + init;
				}
				if (typeof lck == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "lck=" + lck;
				}
				if (typeof mc == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "mc=" + mc;
				}
				if (typeof mesinc == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "mesinc=" + mesinc;
				}
				if (typeof remember == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "remember=" + remember;
				}
				if (typeof exist == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "exist=" + exist;
				}
				if (typeof live == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "live=" + live;
				}
				if (typeof premium == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "premium=" + premium;
				}
				if (typeof epgid == "string") {
					if (params != "") {
						params = params + "&";
					}
					params = params + "epgid=" + epgid;
				}
			}

			if (id == "compte-login") {
				var _id = "#lb-login";
			} else {
				var _id = "#lb-" + id;
			}

			if (id == "forget-password" || id == "login" || id == "compte-login") {
				if (bIdentified || bAuthenticated) {
					if (params != "") {
						params = params + "&";
					}
					params = params + "authentif_light=1";
				}
				if (typeof sUrlSite == "string") {
					var url = sUrlSite + "/partner/partner_popin.js.php?id=" + id + "&" + params;
					if (email) {
						url += "&email=" + email;
					}
					jQuery.getScript(url, function() {
						positionPopup(_id);
						if (id == "compte-login" && (!isSafari || isChrome)) {
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL]").remove();
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL_DISABLED]").removeAttr("disabled");
							jQuery(_id + " input[name=SUBSCRIBER_EMAIL_DISABLED]").attr("name", "SUBSCRIBER_EMAIL");
						}
						jQuery(_id + " input[name=from_url]").val(from_url);
						jQuery(_id + " input:enabled:first").focus();
						jQuery(_id + " input:enabled:first").select();
						jQuery("#a_compte-login-forget").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("compte-login");
						});
						jQuery("#a_forget-password").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("forget-password");
						});
						jQuery("#a_register-forget").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("register");
						});
						jQuery("#a_register-signup").click(function(e) {
							e.preventDefault();
							hideLBs();
							openPopup("register");
						});
						jQuery("#lb-close-login, #lb-close-forget-password").click(function(e) {
							e.preventDefault();
							hideMask();
							hideLBs();
						});
					});
				} else {
					if (id == "forget-password") {
						var _href = "/forget.ajax.php";
					} else {
						var _href = "/login.ajax.php";
					}
				}
			}
			if (id == "register" || id == "compte") {
				if (typeof sUrlSite == "string") {
					var _src = sUrlSiteSecure + "/index.php?pid=" + pid + "&cid=" + cid + "&tpl=10&par=CPLUS&url_retour=" + encodeURIComponent(from_url);
					if (id == "register") {
						var _height = 975;
					}
					if (id == "compte") {
						var _height = 810;
					}
					jQuery(_id).css("height", _height + "px");
					jQuery(_id).html('<p class="close" style="top: 14px;"><a href="#" id="lb-close">Fermer</a></p><iframe width="660" height="' + _height + '" frameborder="0" scrolling="auto" src="' + _src + '">');
					jQuery("#lb-close").click(function(e) {
						jQuery("div#lb-mask").hide();
						jQuery("div.lb").hide();
					});
				} else {
					var _href = "/compte.ajax.php";
				}
			}

			if (typeof _href == "string" && typeof from_url == "string") {
				if (params != "") {
					_href += "?" + params;
				}
				jQuery(_id).load(_href,
				function(responseText, textStatus, XMLHttpRequest) {
					positionPopup(_id);
					jQuery(_id + " input[name=from_url]").val(from_url);
					jQuery(_id + " input:enabled:first").focus();
					jQuery(_id + " input:enabled:first").select();
					if (type == "rec" && id == "compte") {
						jQuery(_id + " input[type=radio][name=SUBSCRIBER_FLAG_ABO]").each(function(){
							if (jQuery(this).val() == "0") {
								jQuery(this).removeAttr("checked");
							}
							if (jQuery(this).val() == "1") {
								jQuery(this).attr("checked", "checked");
							}
						});
						jQuery(_id + " input[name=SUBSCRIBER_NUMBER]").focus();
						jQuery(_id + " input[name=SUBSCRIBER_NUMBER]").select();
					}
					if (type == "rec" && (id == "login" || id == "compte-login" || id == "compte")) {
						var _html = '';
						if (id == "login" || id == "compte-login") {
							_html += '<p class="service">Pour enregistrer ce programme, nous vous invitons à vous identifier.</p>';
						}
						_html += '<input type="hidden" name="rec" value="1" /><input type="hidden" name="mpid" value="'+mpid+'" /><input type="hidden" name="pgid" value="'+pgid+'" /><input type="hidden" name="dfid" value="'+dfid+'" />';
						if (jQuery("div.semaine-slider").is(":visible")) {
							var _date = jQuery("div.semaine-slider ul li.current").attr("id").replace("nav-", "");
							_html += '<input type="hidden" name="date" value="'+_date+'" />';
						}
						jQuery(_id + " form").prepend(_html);
					}
					if (type == "match" && (id == "login" || id == "compte-login")) {
						var _html = '<input type="hidden" name="match" value="1" />';
						jQuery(_id + " form").prepend(_html);
					}
					jQuery("#a_compte-login-forget").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("compte-login", type);
					});
					jQuery("#a_forget-password").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("forget-password", type);
					});
					jQuery("#a_register-forget").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("register", type);
					});
					jQuery("#a_register-signup").click(function(e) {
						e.preventDefault();
						hideLBs();
						openPopup("register", type);
					});
					jQuery("#lb-close, #lb-close-button, #lb-close-login, #lb-close-forget-password").click(function(e) {
						e.preventDefault();
						hideMask();
						hideLBs();
					});
				}
				);
			} else {
				positionPopup(_id);
			}
		}

		/*if (id == "compte" && typeof sUrlSiteSecure == "string") {
			if (typeof sUrlSite == "string") {
				var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
				jQuery.getScript(url, function(){
					if (ssoStatus == "2") {
						id = "login";
					} else {
						if (ssoStatus == "1") {
							id = "compte-login";
						} else {
							id = "compte";
						}
					}
					_openPopup(id, type);
				});
			} else {
				var url = "/lib/front_tools/ajax/check_session.php";
				jQuery.getScript(url, function(){
					var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
					jQuery.getScript(url, function(){
						if (ssoStatus == "2") {
							id = "login";
						} else {
							if (ssoStatus == "1") {
								id = "compte-login";
							} else {
								if (sesStatus == "1") {
									id = "compte";
								} else {
									id = "login";
								}
							}
						}
						_openPopup(id, type);
					});
				});
			}
		} else {
			_openPopup(id, type);
		}*/
		if (id == "compte" && typeof sUrlSiteSecure == "string") {
			_openPopup(id, type);		
		} else {
			_openPopup(id, type);
		}
	}
	


	jQuery("#lb-mask").click(function(e) {
		e.preventDefault();
		if (jQuery("#detailprogram-inner").is(":visible")) {
			clearProgramDetail();
		}
		if (jQuery().f_launchSynchroFaders) {
			jQuery().f_launchSynchroFaders("genre-1");
		}
		if (tpid == "650" && !jQuery("div#lb-compte").is(":visible") && !jQuery("div#lb-detailprogram").is(":visible")) {
			shadowObject = jQuery("div#lb-live-tv h2:visible, div#lb-login h2:visible, div#lb-forget-password h2:visible, div#lb-register h2:visible");
			shadow();
		} else {
			hideMask();
			hideLBs();
		}
	});

	jQuery("#lb-close-alt").click(function(e) {
		e.preventDefault();
		clearProgramDetail();
		if ( jQuery().f_launchSynchroFaders){
			jQuery().f_launchSynchroFaders("genre-1");
		}
		hideMask();
		hideLBs();
		playerEmbarque = 0;
		closePlayerVideo();
	});

	jQuery("#lb-close-brevesport").click(function(e) {
		e.preventDefault();
		clearBreveSport();
		hideMask();
		hideLBs();
	});

	// show register
	/*jQuery("#a_register, #a_register-planNav, #a_register-avisCom, .register").click(function(e) {
		e.preventDefault();
		showMask();
		openPopup("register");
	});*/
	jQuery('#a_register, #a_register-planNav, #a_register-avisCom, .register').live('click', function(e) {
		e.preventDefault();
		showMask();
		openPopup("register");
	});

	// show login
	jQuery("#a_login, #a_login-planNav, .identify").click(function(e) {
		e.preventDefault();
		showMask();
		openPopup("login");
	});

	jQuery(".a_login-live").click(function(e) {
		e.preventDefault();
		var _rel = jQuery(this).attr("rel");
		if (_rel != "") {
			_epgid = _rel;
		}
		if (_epgid != "") {
			window.location = sUrlLiveTV + "?epgid=" + _epgid;
		} else {
			window.location = sUrlLiveTV;
		}
			
	});
	
	if(typeof(sso_action) == "string"){
		if(sso_action == "inscription"){
			showMask();
			openPopup("register");
		}
	}
	
	/*jQuery(".a_login-live").click(function(e) {
		e.preventDefault();
		var _rel = jQuery(this).attr("rel");
		if (_rel != "") {
			_epgid = _rel;
		}
		var url = "/lib/front_tools/ajax/check_session.php";
		jQuery.getScript(url, function(){
			var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
			jQuery.getScript(url, function(){
				if (ssoStatus == "" && sesStatus == "1") {
					if (_epgid != "") {
						window.location = sUrlLiveTV + "?epgid=" + _epgid;
					} else {
						window.location = sUrlLiveTV;
					}
				} else {
					showMask();
					if (ssoStatus == "1") {
						openPopup("compte-login", "live-premium");
					} else {
						openPopup("login", "live-premium");
					}
				}
			});
		});
	});*/

	jQuery("#a_login-rec, .a_compte-sso").click(function(e) {
		e.preventDefault();
		if(!bAuthenticated){
			jQuery('a#lb-close-alt').click();
		}
		//hideLBs();
		//openPopup("login", "rec");
	});


	/*("#note_du_match_a_login").click(function(e) {
		e.preventDefault();
		showMask();
		openPopup("login", "match");
	});*/

	if (typeof(bIsAutentif) != "undefined") {
		if (bIsAutentif == 1) {
			var myAccountCompteLogin = "";
			var myAccountCompte = ", .myaccount";
		} else {
			var myAccountCompteLogin = ", .myaccount";
			var myAccountCompte = "";
		}
	} else {
		var myAccountCompteLogin = "";
		var myAccountCompte = "";
	}

	jQuery("#a_compte-login"+myAccountCompteLogin).click(function(e) {
		e.preventDefault();
		showMask();
		openPopup("compte-login");
	});

	jQuery("#a_compte-login-rec").click(function(e) {
		e.preventDefault();
		if(!bAuthenticated){
			jQuery('a#lb-close-alt').click();
		}
		//showMask();
		//hideLBs();
		//openPopup("compte-login", "rec");
	});

	// show compte
	jQuery("#a_compte-logged"+myAccountCompte).click(function(e) {
		e.preventDefault();
		showMask();
		hideLBs();
		openPopup("compte");
	});

	jQuery("#a_compte-rec, #a_compte-rec-2").click(function(e) {
		e.preventDefault();
		showMask();
		hideLBs();
		openPopup("compte", "rec");
	});

	// show forget-password
	jQuery(".forgotpwd").click(function(e) {
		e.preventDefault();
		showMask();
		hideLBs();
		openPopup("forget-password");
	});

	// show contribution
	jQuery("#a_contribution").click(function(e) {
		e.preventDefault();
		showMask();
		openPopup("contribution");
	});

	// ajax show breve sport
	jQuery(".pop-brevesport").click( function(e) {
		e.preventDefault();
		showMask()
		jQuery("div#lb-mask").html('<div id="loader"><img src="/lib/images/ajax/ajax-loader.gif" alt="" /></div>');
		jQuery("#lb-brevesport .wrap").css('background-position','1000px top');
		jQuery("#lb-brevesport .wrap p").css('display','none');
		jQuery("#lb-brevesport").css('background-position','1000px top');

		_eY = e.pageY;
		if (jQuery(this).children("h4").length > 0) {
			_href = jQuery(this).children("h4").children("a").attr("href");
		} else if (jQuery(this).children("h5").length > 0) {
			_href = jQuery(this).children("h5").children("a").attr("href");
		} else if (jQuery(this).children("a").length > 0) {
			_href = jQuery(this).children("a").attr("href");
		}

		if (_href != "" || _href != "#") {
			jQuery("#brevesport-inner").load(_href,
			function(responseText, textStatus, XMLHttpRequest) {
				if (textStatus == "success") {
					var _parent = jQuery("#lb-brevesport").parent(".lb");
					var h = jQuery(window).height();
					var h2 = parseFloat(_parent.height());
					var windowTopOffset = jQuery(window).scrollTop();
					if (h < h2) {
						windowTopOffset = windowTopOffset;
					} else {
						windowTopOffset = windowTopOffset + ((h-h2)/2);
					}
					_parent.css("top", windowTopOffset+"px");
					jQuery("#lb-brevesport .wrap").css("background-position", "left top");
					jQuery("#lb-brevesport .wrap p").css("display", "block");
					jQuery("#lb-brevesport").css("background-position", "left top");
					jQuery("#loader").remove();
					customDropDown("brevesportDropDown");
					jQuery("div#brevesport-inner ul.schedule li a").click(function(e) {
						e.preventDefault();
						jQuery("div#brevesport-inner ul.schedule li a").removeClass("current");
						jQuery(this).addClass("current");
						brevesportContent(jQuery(this).attr("rel"));
					});
					jQuery("div#brevesport-inner ul.paginator li a").click(function(e) {
						e.preventDefault();
						brevesportPage(jQuery(this).attr("rel"));
					});
					sendOmnitureTagBreveSport();
				} else {
					window.location = href;
				}
			}
			)
		}

		jQuery("#lb-brevesport").parent(".lb").show();
	});
	// ajax show detail program
	jQuery(".pop-detailprogram").click( function(e) {
		//if(!jQuery(e.target).is("a.lbl-rec")){
		e.preventDefault();
		if(typeof habillageGrille == "string" && habillageGrille != ""){
			jQuery("div#lb-mask").css("background-image", "url("+habillageGrille+")");
			jQuery("div#lb-mask").css("background-repeat", "no-repeat");
			jQuery("div#lb-mask").css("background-position", "top center");
		}
		showMask()
		
		jQuery("div#lb-mask").html('<div id="loader"><img src="/lib/images/ajax/ajax-loader.gif" alt="" /></div>');
		jQuery("#lb-detailprogram .wrap").css('background-position','1000px top');
		jQuery("#lb-detailprogram .wrap p").css('display','none');
		jQuery("#lb-detailprogram").css('background-position','1000px top');
		updatePopupEPG(_tab);

		if (jQuery().f_stopAutoFader) jQuery().f_stopAutoFader("all");
		if (!jQuery(e.target).is("span.lbl-voirLeDirect")) {
			_eY = e.pageY;
			if (jQuery(this).children("h4").length > 0) {
				_href = jQuery(this).children("h4").children("a").attr("href");
			} else if (jQuery(this).children("h5").length > 0) {
				_href = jQuery(this).children("h5").children("a").attr("href");
			} else if (jQuery(this).children("a").length > 0) {
				_href = jQuery(this).children("a").attr("href");
			}

				if (jQuery(e.target).is("a.lbl-rec")) {
				_tab = 4;
			} else {
				if (jQuery(e.target).is("a.lbl-ba")) {
					_tab = 3;
				} else {
					if(jQuery(e.target).is("a.lbl-diff")) {
						_tab = 2;
					} else {
						_tab = 1;
					}
				}
			}

			if (_href != "" || _href != "#") {
				jQuery("#detailprogram-inner").load(_href,
				function(responseText, textStatus, XMLHttpRequest) {
					update(textStatus, _href, _tab);
						//if(isServiceEnabled(FLAG_CSAT_EAD)){
						initTab4();
						//}
					jQuery("#lb-detailprogram .wrap").css('background-position','left top');
					jQuery("#lb-detailprogram .wrap p").css('display','block');
					jQuery("#lb-detailprogram").css('background-position','left top');
					jQuery("#loader").remove();
				}
				)
			}

			jQuery("#lb-detailprogram").parent(".lb").show();
		}
		//}
	});

	// align visible popups
	if(jQuery("#lb-login").is(":visible")) {
		openPopup("login");
	}

	if(jQuery("#lb-register").is(":visible")) {
		openPopup("register");
	}

	if(jQuery("#lb-compte").is(":visible")) {
		openPopup("compte");
	}

	if(jQuery("#lb-forget-password").is(":visible")) {
		openPopup("forget-password");
	}

	if(jQuery("#lb-contribution").is(":visible")) {
		openPopup("contribution");
	}

	
	
	
	if (isFirstCallLightboxes) {
		if (typeof jQuery("#lien_programme") == "object") {
			jQuery("#lien_programme").trigger("click");
		}
		if (isServiceEnabled(FLAG_CPLUS_LIVETV) == true) {
			jQuery("div#header ul li.livetv a").addClass("pass_link pass_auth_livetv");
			jQuery("div#header ul li.livetv a").attr("href", sUrlLiveTV);
		}
		if (tpid == "650") {
			if (isServiceEnabled(FLAG_CPLUS_LIVETV) == true) {
					slwebtv();
					jQuery.cookie("webtv_session", "1", { expires: 0.3333 }); // 8 heures
					keepAliveSession();
					from_url = "/";
				} 				
		}
		/*if (jQuery.cookie("gamme") == "webtv") {
			jQuery("div#header ul li.livetv a").click(function(e) {
				e.preventDefault();
				var url = "/lib/front_tools/ajax/check_session.php";
				jQuery.getScript(url, function(){
					var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
					jQuery.getScript(url, function(){
						if (ssoStatus == "" && sesStatus == "1") {
							window.location = sUrlLiveTV;
						} else {
							showMask();
							if (ssoStatus == "1") {
								openPopup("compte-login", "live");
							} else {
								openPopup("login", "live");
							}
						}
					});
				});
			});
		}
		if (tpid == "650") {
			var url = "/lib/front_tools/ajax/check_session.php";
			jQuery.getScript(url, function(){
				var url = sUrlSiteSecure + "/lib/front_tools/ajax/check_sso.php";
				jQuery.getScript(url, function(){
					if (ssoStatus == "" && sesStatus == "1") {
						var url = "/lib/front_tools/ajax/check_eligibility.php";
						jQuery.getScript(url, function(){
							if (webtvStatus == "1") {
								slwebtv();
								if (jQuery.cookie("gamme") != "webtv") {
									jQuery.cookie("gamme", "webtv", { expires: 7300 }); // 20 ans
								}
								jQuery.cookie("webtv_session", "1", { expires: 0.3333 }); // 8 heures
								keepAliveSession();
								from_url = "/";
							} 
							else {
								showMask();
								openPopup("live-tv");
								jQuery("div#lb-live-tv a.souscrire").attr("href", webtvUrlSouscription);
							}
						});
					} else {
						showMask();
						if (ssoStatus == "1") {
							openPopup("compte-login", "live");
						} else {
							openPopup("login", "live");
						}
					}
				});
			});
		}*/
	}

	var timer2 = microtime(true);
	totalTimer["lightboxes"] = (timer2-timer1);
}


function customDropDown(id) {
	var timer1 = microtime(true);
	if(typeof id == "string"){
		var cddDivs = "div#"+id;
	} else {
		var cddDivs = "div.customDropDown";
	}
	jQuery(cddDivs).each(function (i) {
		if (jQuery(this).find(".msH3").length != 0) {
			jQuery(this).find(".msH3").hover(function(){
				jQuery(this).addClass("hover");
			}, function() {
				jQuery(this).removeClass("hover");
			});
		} else {
		jQuery(this).find("h3").hover(function(){
			jQuery(this).addClass("hover");
		}, function() {
			jQuery(this).removeClass("hover");
		});
		}
		//
		var ddShow = false;
		var ddInput = jQuery(this).children()[0];
		var ddDiv = jQuery(this).children()[1];
		//
		ddInput = jQuery(ddInput);
		ddDiv = jQuery(ddDiv);
		//
		ddDiv.hide();
		//
		if (jQuery(this).find(".msH3").length != 0) {
			var ddMsH3text = jQuery(this).find(".msH3").text();
			if (ddMsH3text != ddDiv.find("li:first a").text()) {
				ddDiv.find("li a:contains('" + ddMsH3text + "')").parent().hide();
			} else {
				ddDiv.find("li:first").hide();
			}
		} else {
		var ddH3text = jQuery(this).find("h3").text();
		if (ddH3text != ddDiv.find("li:first a").text()) {
			ddDiv.find("li a:contains('" + ddH3text + "')").parent().hide();
		} else {
			ddDiv.find("li:first").hide();
		}
		}
		//
		var clickFunction = jQuery(this).attr("id");
		//
		ddInput.click(
		function () {;
			toggleDD();
		}
		);

		jQuery(document).click(
		function (e) {
			if(jQuery(e.target).parents().attr("id") != clickFunction) {
				ddDiv.hide();
				ddDiv.removeClass("dd-open");
				ddDiv.prev().removeClass("dd-open");
				if(isIE) {
					jQuery(".schedule-sm").css("zIndex","1");
				}
			}
		}
		);

		function toggleDD() {
			ddDiv.toggle();
			ddDiv.toggleClass("dd-open");
			ddDiv.prev().toggleClass("dd-open");
			if (isIE) {
				if(ddDiv.hasClass("dd-open")) {
					jQuery(".schedule-sm").css("zIndex","-1");
				} else {
					jQuery(".schedule-sm").css("zIndex","1");
				}
			}
		}

		//
		ddDiv.find("li a").click(
		function (e) {
			if(jQuery(this).parents("li").parents("ul").parents("div").parents("div").attr("id") != "NavSportDropDown"){
				e.preventDefault();
			}
			ddInput.html(jQuery(this).html());
			toggleDD();
			jQuery(this).parent().siblings().show();
			jQuery(this).parent().hide();
			if (clickFunction) {
				//on sauvegarde le click dans le cookie
				eval(clickFunction + "('" + (jQuery(this).attr("rel")) + "')");
				userPageLiState.updateValue(jQuery(this).parents("li").attr("id"),(jQuery(this).attr("rel")));
				userPageLiParentState.updateValue(jQuery(this).parents("li").attr("id"),jQuery(this).parents("li").parents("div").parents("div").attr("id"));
			}
		}
		);
	});
	
	var timer2 = microtime(true);
	totalTimer["custumDropDown"] = (timer2-timer1);
}


function searchBox() {
	var timer1 = microtime(true);
	if (jQuery("div#nav form fieldset input[type=text], div.col form fieldset input[type=text]").val() != "Rechercher") {
		jQuery("div#nav form fieldset input[type=text], div.col form fieldset input[type=text]").addClass("searchFor");
	}
	jQuery("div#nav form fieldset input[type=text], div.col form fieldset input[type=text]").focus(function(e){
		if (jQuery(e.target).val() == "Rechercher") {
			jQuery(e.target).val("").addClass("searchFor");
		}
	});
	jQuery("div#nav form fieldset input[type=text], div.col form fieldset input[type=text]").blur(function(e){
		if (jQuery(e.target).val() == "") {
			jQuery(e.target).val("Rechercher").removeClass("searchFor");
		}
	});

	if (jQuery("div.rechercherUnProgramme form fieldset input[type=text]").val() != "Rechercher un programme") {
		jQuery("div.rechercherUnProgramme form fieldset input[type=text]").addClass("searchFor");
	}
	jQuery("div.rechercherUnProgramme form fieldset input[type=text]").focus(function(e){
		if (jQuery(e.target).val() == "Rechercher un programme") {
			jQuery(e.target).val("").addClass("searchFor");
		}
	});
	jQuery("div.rechercherUnProgramme form fieldset input[type=text]").blur(function(e){
		if (jQuery(e.target).val() == "") {
			jQuery(e.target).val("Rechercher un programme").removeClass("searchFor");
		}
	});
	var timer2 = microtime(true);
	totalTimer["searchBox"] = (timer2-timer1);
}


function btnToutesLesVideos() {
	jQuery("div.videos-bar p.toutesLesVideos a.btn-toutesLesVideos, div.videoPlayer a.btn-vP").click(function(e){
		e.preventDefault();
		displayPlayer();
	});
}
function FirstCallLightboxes(){
	isFirstCallLightboxes = false;
}

function indispensableFunctions() {
	dropdowns(); // handles the site menu drop down
	waitForPassJSON("lightboxes");
	waitForPassJSON("FirstCallLightboxes");
	searchBox(); // handles search box
}

function indispensableFunctionsEAD() {
	dropdowns(); // handles the site menu drop down
	//waitForPassJSON("lightboxes");
	//waitForPassJSON("FirstCallLightboxes");
	lightboxes();
	FirstCallLightboxes();
	searchBox(); // handles search box
}

function search(form) {
	var keywords = form.rechercherSite.value;
	var url = form.action;
	if (keywords != "" && keywords != "Rechercher") {
		document.location = url + "?rechercherSite=" + encodeURIComponent(keywords);
	} else {
		form.rechercherSite.value = "";
		form.rechercherSite.focus();
		alert("Merci de renseigner un terme dans le champ de recherche");
	}
	return false;
}


function IsNumeric(sText) {
	var ValidChars = "0123456789";
	var IsNumber = true;
	var Char;
	for (i = 0; i < sText.length && IsNumber == true; i++) {
		Char = sText.charAt(i);
		if (ValidChars.indexOf(Char) == -1) {
			IsNumber = false;
		}
	}
	return IsNumber;
}

function IsValidPassword(sText) {
	var ValidChars = "^'"+'"&#¤$';
	var IsNumber = true;
	var Char;
	for (i = 0; i < sText.length && IsNumber == true; i++) {
		Char = sText.charAt(i);
		if (ValidChars.indexOf(Char) == -1) {
			//IsNumber = true;
		} else {
			IsNumber = false;
		}
	}
	return IsNumber;
}

function verifyEmail(form) {
	var emailRegEx = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;
	if (form.SUBSCRIBER_EMAIL.value.search(emailRegEx) == -1) {
		return false;
	}
	return true;
}

function verifyForget(form) {
	var msgError = "";
	if (verifyEmail(form)) {
		jQuery.ajax({
			url: '/lib/front_tools/ajax/wwwplus_mot_de_passe_oublie.php', async: true, type: 'POST',
			data: {
				email:form.SUBSCRIBER_EMAIL.value
			},
	  		success: function(data){
	   			jQuery('#lb-forget-password').html(data);
	   			jQuery("#lb-close-forget-password").click(function(e) {
					jQuery("div#lb-mask").hide();
					jQuery("div.lb").hide();
					jQuery("#simplemodal-overlay").show();
					jQuery("#simplemodal-container").show();
				});
	   		}
		});
		return true;
	}
	jQuery(form).find("#label_email-forget-password").addClass("error");
	msgError += "L'adresse e-mail est invalide<br/>";
	jQuery(form).find(".errors").css("display", "block");
	jQuery(form).find(".errors").html("<p><strong>Erreur d'identification.</strong><br/>"+msgError+"</p>");

	return false;
}

function verifyIdent(form) {
	var msgError = "";
	if (form.SUBSCRIBER_EMAIL.value.length!=0 && form.SUBSCRIBER_PASSWORD.value.length!=0 && verifyEmail(form)) {
		return true;
	}
	if (form.SUBSCRIBER_EMAIL.value.length==0 || !verifyEmail(form)) {
		jQuery(form).find("#label_email-login").addClass("error");
		msgError += "L'adresse e-mail est invalide<br/>";
	}
	else {
		jQuery(form).find("#label_email-login").removeClass("error");
	}
	if (form.SUBSCRIBER_PASSWORD.value.length==0) {
		jQuery(form).find("#label_passe-login").addClass("error");
		msgError += "Le champ mot de passe est vide<br/>";
	}
	else {
		jQuery(form).find("#label_passe-login").removeClass("error");
	}
	jQuery(form).find(".errors").css("display", "block");
	jQuery(form).find(".errors").html("<p><strong>Erreur d'identification.</strong><br/>"+msgError+"</p>");

	return false;
}

function checkForm(email, nick, num, zip, userdigit) {
	var url = "/lib/front_tools/inscription/ajax/checkForm.php";
	if (typeof sUrlSite == "string") {
		url = sUrlSite + url;
	}
	jQuery.ajax({
		async: false,
		url: url,
		data: {
			email: email,
			nickname: nick,
			numabonne: num,
			zipcode: zip,
			userdigit: userdigit
		},
		success: function(data){
			var params = data.split("|");
			jQuery("form input[name=AJ_EMAIL_UNICITY]").val(params[0]);
			jQuery("form input[name=AJ_NICK]").val(params[1]);
			jQuery("form input[name=AJ_NUMBER_VAL]").val(params[2]);
			jQuery("form input[name=AJ_MAX_ACCOUNT]").val(params[3]);
			jQuery("form input[name=AJ_ZIP_CODE]").val(params[4]);
			jQuery("form input[name=AJ_CAPTCHA]").val(params[5]);
			jQuery("form input[name=AJ_DIV_CAPTCHA]").val(params[6]);			
		}
	});
}


function verifyRegister(form) {

	var msgError = "";
	var bRetour = true;

	checkForm(form.SUBSCRIBER_EMAIL.value, form.SUBSCRIBER_NICKNAME.value, form.SUBSCRIBER_NUMBER.value, form.SUBSCRIBER_ZIP.value, (form.TRSACT.value == "UPD" ? "" : form.userdigit.value));

	// CIVILITE
	if (form.CIVILITY_ID_LOOP[0].checked) {
		form.CIVILITY_ID.value = form.CIVILITY_ID_LOOP[0].value;
	} else {
		if (form.CIVILITY_ID_LOOP[1].checked) {
			form.CIVILITY_ID.value = form.CIVILITY_ID_LOOP[1].value;
		} else {
			if (form.CIVILITY_ID_LOOP[2].checked) {
				form.CIVILITY_ID.value = form.CIVILITY_ID_LOOP[2].value;
			}
		}
	}

	if (form.CIVILITY_ID.value == "") {
		bRetour = false;
		jQuery(form).find("#legend_civility").addClass("error");
		msgError += "Merci d'indiquer votre civilit&eacute;<br/>";
	} else {
		jQuery(form).find("#legend_civility").removeClass("error");
	}

	// NOM
	if (form.SUBSCRIBER_LAST_NAME.value.length == 0) {
		bRetour = false;
		jQuery(form).find("#label_nom").addClass("error");
		msgError += "Merci de remplir le champ Nom<br/>";
	} else {
		jQuery(form).find("#label_nom").removeClass("error");
	}

	// PRENOM
	if (form.SUBSCRIBER_FIRST_NAME.value.length == 0) {
		bRetour = false;
		jQuery(form).find("#label_prenom").addClass("error");
		msgError += "Merci de remplir le champ Pr&eacute;nom<br/>";
	} else {
		jQuery(form).find("#label_prenom").removeClass("error");
	}

	// PSEUDO
	if (form.SUBSCRIBER_NICKNAME.value.length == 0) {
		bRetour = false;
		jQuery(form).find("#label_pseudo").addClass("error");
		msgError += "Merci d'indiquer un pseudonyme<br/>";
	} else {
		jQuery(form).find("#label_pseudo").removeClass("error");
		if (form.AJ_NICK.value != 1 && form.SUBSCRIBER_NICKNAME.value != form.SUBSCRIBER_NICKNAME_OLD.value) { 		// ce pseudo est déjà utilisé
			bRetour = false;
			jQuery(form).find("#label_pseudo").addClass("error");
			msgError += "Ce pseudo est d&eacute;j&agrave; utilis&eacute;<br/>";
		}
	}

	// EMAIL
	if (form.SUBSCRIBER_EMAIL.value.length == 0 || !verifyEmail(form)) {
		bRetour = false;
		jQuery(form).find("#label_email").addClass("error");
		msgError += "L'adresse e-mail est invalide<br/>";
	} else {
		jQuery(form).find("#label_email").removeClass("error");
		if (form.AJ_EMAIL_UNICITY.value != 1 && form.SUBSCRIBER_EMAIL.value != form.SUBSCRIBER_EMAIL_OLD.value) { 	// ce mail est déjà utilisé
			bRetour = false;
			jQuery(form).find("#label_email").addClass("error");
			msgError += "Ce mail est d&eacute;j&agrave; utilis&eacute;<br/>";
		}
	}

	// MOT DE PASSE + CONFIRMATION
	if (form.SUBSCRIBER_PASSWORD.value.length < 4) {
		bRetour = false;
		jQuery(form).find("#label_passe").addClass("error");
		msgError += "Merci de choisir un mot de passe ayant 4 caract&egrave;res minimum<br/>";
	} else {
		if (!IsValidPassword(form.SUBSCRIBER_PASSWORD.value)) {
			bRetour = false;
			jQuery(form).find("#label_passe").addClass("error");
			msgError += "Attention, ne pas utiliser les caract&egrave;res ^ ' \&quot; &amp; # &curren; $ pour le mot de passe<br/>";

		} else {
			jQuery(form).find("#label_passe").removeClass("error");
			if ((form.SUBSCRIBER_PASSWORD.value) != (form.password_Confirmation.value)) {	// test de la confirmation de mot de passe
				bRetour = false;
				jQuery(form).find("#label_passe2").addClass("error");
				msgError += "Merci de v&eacute;rifier la confirmation de votre mot de passe<br\>" ;
			} else {
				jQuery(form).find("#label_passe2").removeClass("error")
			}
		}
	}

	// CODE POSTAL
	if (form.SUBSCRIBER_ZIP.value.length == 0) {
		bRetour = false;
		jQuery(form).find("#label_code-postal").addClass("error");
		msgError += "Merci de remplir le champ Code postal<br/>";
	} else {
		if(!IsNumeric(form.SUBSCRIBER_ZIP.value)) {
			bRetour = false;
			jQuery(form).find("#label_code-postal").addClass("error");
			msgError += "Merci de remplir le champ Code postal avec une valeur num&eacute;rique<br/>";
		} else {
			if (form.SUBSCRIBER_ZIP.value.length != 5) {
				bRetour = false;
				jQuery(form).find("#label_code-postal").addClass("error");
				msgError += "Merci de saisir un code postal &agrave; 5 chiffres<br/>";
			} else {
				jQuery(form).find("#label_code-postal").removeClass("error");
			}
		}
	}

	// ABONNE OUI/NON - NUMERO ABONNE
	if (form.SUBSCRIBER_FLAG_ABO[0].checked) {
		if (form.SUBSCRIBER_NUMBER.value.length == 0) {
			bRetour = false;
			msgError += "Merci d'indiquer un N&deg; d'abonn&eacute;<br/>";
			jQuery(form).find("#label_no-abonne").addClass("error");
		} else {
			if (form.SUBSCRIBER_NUMBER.value != "" && form.SUBSCRIBER_ZIP.value != "" && form.AJ_NUMBER_VAL.value == 1) {
				if (form.AJ_ZIP_CODE.value != 1) {
					bRetour = false;
					msgError += "Votre N&deg; d'abonn&eacute; et votre code postal ne concordent pas<br/>";
					jQuery(form).find("#label_no-abonne").addClass("error");
				} else {
					jQuery(form).find("#label_no-abonne").removeClass("error");
				}
			} else {
				bRetour = false;
				msgError += "Veuillez renseigner un N&deg; d'abonn&eacute; valide<br/>";
				jQuery(form).find("#label_no-abonne").addClass("error");
			}
		}
	} else {
		jQuery(form).find("input[name=SUBSCRIBER_NUMBER]").val("");
		jQuery(form).find("#label_no-abonne").removeClass("error");
	}

	// MAX ACCOUNT
	if(form.SUBSCRIBER_NUMBER.value != ''){		
		bModifNumAbonne = false;
		if(form.TRSACT.value == "UPD" && form.SUBSCRIBER_NUMBER_OLD.value!=form.SUBSCRIBER_NUMBER.value){
			bModifNumAbonne = true;
		}
		
		if(bModifNumAbonne || form.TRSACT.value == "INS"){
			if(form.AJ_MAX_ACCOUNT.value != 1){
				bRetour = false;		
				jQuery(form).find("#label_no-abonne").addClass("error");
				document.getElementById('max_account').style.display = "block";
			}
			else{
				jQuery(form).find("#label_no-abonne").removeClass("error");
			}
		}
	}

	// CODE DE CONTROLE
	if (form.TRSACT.value == "INS") {
		if (form.userdigit.value.length == 0) {
			bRetour = false;
			jQuery(form).find("#label_code").addClass("error");
			msgError += "Merci de saisir le code de contr&ocirc;le<br/>";
		} else {
			if (form.AJ_CAPTCHA.value != 1) {
				bRetour = false;
				jQuery(form).find("#label_code").addClass("error");
				msgError += "Le code de contr&ocirc;le saisi ne correspond pas &agrave; l'image<br/>";
			} else {
				jQuery(form).find("#label_code").removeClass("error");
			}
		}
	}

	// CGU
	if (form.TRSACT.value == "INS") {
		if (!form.CGU_SUBSCRIBER.checked) {
			bRetour = false;
			msgError += "Veuillez accepter les C.G.U. pour valider votre inscription<br/>";
			jQuery(form).find("#label_cgu").addClass("error");
		} else {
			jQuery(form).find("#label_cgu").removeClass("error");
		}
	}

	// GESTION DES ERREURS
	if (!bRetour) {
		if (form.TRSACT.value == "INS") {
			form.userdigit.value = "";
			jQuery(form).find("#captcha img").attr("src", "/lib/security_tools/captcha/visual-captcha.php?sid=" + form.AJ_DIV_CAPTCHA.value);
		}
		jQuery(form).find(".errors").css("display", "block");
		jQuery(form).find(".errors").html("<p><strong>Certains champs n'ont pas &eacute;t&eacute; remplis correctement</strong><br/>"+msgError+"</p>");
	}

	return bRetour;
}


function openPopupCguNclinet(tpl, height, width, scroll, popup_type) {
	var params = "height=" + height + ",width=" + width + ",scrollbars=" + scroll;
	var url = "/index_popup.php?tpl=" + tpl + "&popup_type=" + popup_type;
	if (typeof sUrlSite == "string") {
		url = sUrlSite + url;
	}
	window.open(url, "TexteRiche", params);
}


var totalTimer = new Array();


function microtime (get_as_float) {
	// http://kevin.vanzonneveld.net
	// +   original by: Paulo Ricardo F. Santos
	// *     example 1: timeStamp = microtime(true);
	// *     results 1: timeStamp > 1000000000 && timeStamp < 2000000000

	var now = new Date().getTime() / 1000;
	var s = parseInt(now, 10);

	return (get_as_float) ? now : (Math.round((now - s) * 1000) / 1000) + ' ' + s;
}


/**
* This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
*/

function writeFlash(p) {
	writeEmbed(
	'D27CDB6E-AE6D-11cf-96B8-444553540000',
	'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
	'application/x-shockwave-flash',
	p
	);
}

function writeShockWave(p) {
	writeEmbed(
	'166B1BCA-3F9C-11CF-8075-444553540000',
	'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
	'application/x-director',
	p
	);
}

function writeQuickTime(p) {
	writeEmbed(
	'02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
	'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
	'video/quicktime',
	p
	);
}

function writeRealMedia(p) {
	writeEmbed(
	'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
	'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
	'audio/x-pn-realaudio-plugin',
	p
	);
}

function writeWindowsMedia(p) {
	p.url = p.src;
	writeEmbed(
	'6BF52A52-394A-11D3-B153-00C04F79FAA6',
	'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
	'application/x-mplayer2',
	p
	);
}

function writeEmbed(cls, cb, mt, p) {
	var h = '', n;

	h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
	h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
	h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
	h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
	h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
	h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
	h += '>';

	for (n in p)
	h += '<param name="' + n + '" value="' + p[n] + '">';

	h += '<embed type="' + mt + '"';

	for (n in p)
	h += n + '="' + p[n] + '" ';

	h += '></embed></object>';

	document.write(h);
}

function closeFormPass(){
	document.getElementById('max_account').style.display = "none";
}
function closeEad() {
	jQuery('#lb-detailprogram').hide();
	jQuery('#lb-mask').hide();
}function closeBAR(){jQuery("div#contribution").html("");jQuery("div#lb-mask").hide();jQuery("div.lb").hide();}
function openBAR(cibleType,prodId,tokenId){if(typeof(tokenId)=='undefined'){tokenId=subscriberToken;}
jQuery("div#contribution").html("");jQuery("div#lb-mask").show();jQuery("div.lb-alt #lb-contribution").css("height","530px");changeBAR(cibleType,prodId,tokenId);jQuery("#lb-contribution").parent(".lb").show();var _parent=jQuery("#lb-contribution").parent(".lb-alt");var h=jQuery(window).height();var h2=parseFloat(_parent.height());var windowTopOffset=jQuery(window).scrollTop();if(h<h2){windowTopOffset=windowTopOffset;}else{windowTopOffset=windowTopOffset+((h-h2)/2);}
_parent.css("top",windowTopOffset+"px");}
function changeBAR(cibleType,prodId,tokenId){swfFile="";xmlFile="";switch(cibleType)
{case'WEBCAM':swfFile="http://static2.canalplus.fr/mdc/flash/CanalBAR_modWebcam.swf";xmlFile="http://static2.canalplus.fr/mdc/xml/webcam-configuration.xml";break;case'PHOTO':swfFile="http://static2.canalplus.fr/mdc/flash/CanalBAR_modPhoto.swf";xmlFile="http://static2.canalplus.fr/mdc/xml/photo-configuration.xml";break;case'TEXT':swfFile="http://static2.canalplus.fr/mdc/flash/CanalBAR_modText.swf";xmlFile="http://static2.canalplus.fr/mdc/xml/text-configuration.xml";break;case'VIDEO':swfFile="http://static2.canalplus.fr/mdc/flash/CanalBAR_modVideo.swf";xmlFile="http://static2.canalplus.fr/mdc/xml/video-configuration.xml";break;default:swfFile="http://static2.canalplus.fr/mdc/flash/CanalBAR_modAudio.swf";xmlFile="http://static2.canalplus.fr/mdc/xml/audio-configuration.xml";break;}
var flashvars={xmlConfigurationURL:xmlFile,production_id:prodId,token:tokenId};var params={menu:"true",bgcolor:'#ffffff',scale:"noscale",allowScriptAccess:"always"};swfobject.embedSWF(swfFile,"contribution","676","530","9.0.0","/flash/expressInstall.swf",flashvars,params);}
function openUser(id,mdc_type,mdc_id){function positionPopup(id){var _parent=jQuery(id).parent('.lb');_parent.show();var h=jQuery(window).height();var h2=parseFloat(_parent.height());var windowTopOffset=jQuery(window).scrollTop();if((h-h2)<80){windowTopOffset=windowTopOffset+40;}else{windowTopOffset=windowTopOffset+((h-h2)/2);}
_parent.css('top',windowTopOffset+'px');}
function _openPopup(id){var params="";if(typeof pid=="string"){if(params!=""){params=params+"&";}
params=params+"pid="+pid;}
if(typeof cid=="string"){if(params!=""){params=params+"&";}
params=params+"cid="+cid;}
if(isFirstCallLightboxes){if(typeof init=="string"){if(params!=""){params=params+"&";}
params=params+"init="+init;}
if(typeof lck=="string"){if(params!=""){params=params+"&";}
params=params+"lck="+lck;}
if(typeof mc=="string"){if(params!=""){params=params+"&";}
params=params+"mc="+mc;}
if(typeof mesinc=="string"){if(params!=""){params=params+"&";}
params=params+"mesinc="+mesinc;}
if(typeof remember=="string"){if(params!=""){params=params+"&";}
params=params+"remember="+remember;}
if(typeof exist=="string"){if(params!=""){params=params+"&";}
params=params+"exist="+exist;}}
if(id=="compte-login"){var _id="#lb-login";}else{var _id="#lb-"+id;}
if(id=="forget-password"||id=="login"||id=="compte-login"){if(authentif||authentif_light){if(params!=""){params=params+"&";}
params=params+"authentif_light=1";}
if(typeof sUrlSite=="string"){var url=sUrlSite+"/partner/partner_popin.js.php?id="+id+"&"+params;jQuery.getScript(url,function(){positionPopup(_id);if(id=="compte-login"&&(!isSafari||isChrome)){jQuery(_id+" input[name=SUBSCRIBER_EMAIL]").remove();jQuery(_id+" input[name=SUBSCRIBER_EMAIL_DISABLED]").removeAttr("disabled");jQuery(_id+" input[name=SUBSCRIBER_EMAIL_DISABLED]").attr("name","SUBSCRIBER_EMAIL");}
jQuery(_id+" input[name=from_url]").val(from_url);jQuery(_id+" input:enabled:first").focus();jQuery(_id+" input:enabled:first").select();jQuery("#a_compte-login-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("compte-login",mdc_type,mdc_id);});jQuery("#a_forget-password").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("forget-password",mdc_type,mdc_id);});jQuery("#a_register-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("register",mdc_type,mdc_id);});jQuery("#a_register-signup").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("register",mdc_type,mdc_id);});jQuery("#lb-close-login, #lb-close-forget-password").click(function(e){e.preventDefault();jQuery("div#lb-mask").hide();jQuery("div.lb").hide();});});}else{if(id=="forget-password"){var _href="/forget.ajax.php";}else{var _href="/login.ajax.php";}}}
if(id=="register"||id=="compte"){if(typeof sUrlSite=="string"){var _src=sUrlSiteSecure+"/index.php?pid="+pid+"&cid="+cid+"&tpl=10&par=CPLUS&url_retour="+encodeURIComponent(from_url);if(id=="register"){var _height=975;}
if(id=="compte"){var _height=810;}
jQuery(_id).css("height",_height+"px");jQuery(_id).html('<p class="close" style="top: 14px;"><a href="#" id="lb-close">Fermer</a></p><iframe width="660" height="'+_height+'" frameborder="0" scrolling="auto" src="'+_src+'">');jQuery("#lb-close").click(function(e){jQuery("div#lb-mask").hide();jQuery("div.lb").hide();});}else{var _href="/compte.ajax.php";}}
if(typeof _href=="string"&&typeof from_url=="string"){if(params!=""){_href+="?"+params;}
jQuery(_id).load(_href,function(responseText,textStatus,XMLHttpRequest){positionPopup(_id);jQuery(_id+" input[name=from_url]").val(from_url);jQuery(_id+" input:enabled:first").focus();jQuery(_id+" input:enabled:first").select();jQuery("#a_compte-login-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("compte-login",mdc_type,mdc_id);});jQuery("#a_forget-password").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("forget-password",mdc_type,mdc_id);});jQuery("#a_register-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("register",mdc_type,mdc_id);});jQuery("#a_register-signup").click(function(e){e.preventDefault();jQuery("div.lb").hide();openUser("register",mdc_type,mdc_id);});jQuery("#lb-close, #lb-close-button, #lb-close-login, #lb-close-forget-password").click(function(e){e.preventDefault();jQuery("div#lb-mask").hide();jQuery("div.lb").hide();});});}else{positionPopup(_id);}}
if(from_url.indexOf('?')>0){if(from_url.charAt(from_url.indexOf('?')+1)!=''){from_url=from_url+'&mdc_type='+mdc_type+'&mdc_id='+mdc_id;}
else{from_url=from_url+'mdc_type='+mdc_type+'&mdc_id='+mdc_id;}}
else{from_url=from_url+'?mdc_type='+mdc_type+'&mdc_id='+mdc_id;}
jQuery("div#lb-mask").show();jQuery("div.lb").hide();if(id=="compte"&&typeof sUrlSiteSecure=="string"){var url=sUrlSite+"/lib/front_tools/ajax/check_session.php";jQuery.getScript(url,function(){var url=sUrlSiteSecure+"/lib/front_tools/ajax/check_sso.php";jQuery.getScript(url,function(){if(ssoStatus=="2"){id="login";}else{if(ssoStatus=="1"){id="compte-login";}else{if(sesStatus=="1"){id="compte";}else{id="login";}}}
_openPopup(id);});});}else{_openPopup(id);}};function openPopin(id,back_url){function positionPopup(id){var _parent=jQuery(id).parent('.lb');_parent.show();var h=jQuery(window).height();var h2=parseFloat(_parent.height());var windowTopOffset=jQuery(window).scrollTop();if((h-h2)<80){windowTopOffset=windowTopOffset+40;}else{windowTopOffset=windowTopOffset+((h-h2)/2);}
_parent.css('top',windowTopOffset+'px');}
function _openPopup(id){var params="player=1";if(typeof pid=="string"){if(params!=""){params=params+"&";}
params=params+"pid="+pid;}
if(typeof cid=="string"){if(params!=""){params=params+"&";}
params=params+"cid="+cid;}
if(isFirstCallLightboxes){if(typeof init=="string"){if(params!=""){params=params+"&";}
params=params+"init="+init;}
if(typeof lck=="string"){if(params!=""){params=params+"&";}
params=params+"lck="+lck;}
if(typeof mc=="string"){if(params!=""){params=params+"&";}
params=params+"mc="+mc;}
if(typeof mesinc=="string"){if(params!=""){params=params+"&";}
params=params+"mesinc="+mesinc;}
if(typeof remember=="string"){if(params!=""){params=params+"&";}
params=params+"remember="+remember;}
if(typeof exist=="string"){if(params!=""){params=params+"&";}
params=params+"exist="+exist;}}
if(id=="compte-login"){var _id="#lb-login";}else{var _id="#lb-"+id;}
if(id=="forget-password"||id=="login"||id=="compte-login"){if(authentif||authentif_light){if(params!=""){params=params+"&";}
params=params+"authentif_light=1";}
if(typeof sUrlSite=="string"){var url=sUrlSite+"/partner/partner_popin.js.php?id="+id+"&"+params;jQuery.getScript(url,function(){positionPopup(_id);if(id=="compte-login"&&(!isSafari||isChrome)){jQuery(_id+" input[name=SUBSCRIBER_EMAIL]").remove();jQuery(_id+" input[name=SUBSCRIBER_EMAIL_DISABLED]").removeAttr("disabled");jQuery(_id+" input[name=SUBSCRIBER_EMAIL_DISABLED]").attr("name","SUBSCRIBER_EMAIL");}
jQuery(_id+" input[name=from_url]").val(back_url);jQuery(_id+" input:enabled:first").focus();jQuery(_id+" input:enabled:first").select();jQuery("#a_compte-login-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("compte-login",back_url);});jQuery("#a_forget-password").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("forget-password",back_url);});jQuery("#a_register-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("register",back_url);});jQuery("#a_register-signup").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("register",back_url);});jQuery("#lb-close-login, #lb-close-forget-password").click(function(e){e.preventDefault();jQuery("div#lb-mask").hide();jQuery("div.lb").hide();});});}else{if(id=="forget-password"){var _href="/forget.ajax.php";}else{var _href="/login.ajax.php";}}}
if(id=="register"||id=="compte"){if(typeof sUrlSite=="string"){var _src=sUrlSiteSecure+"/index.php?pid="+pid+"&cid="+cid+"&tpl=10&par=CPLUS&url_retour="+encodeURIComponent(back_url);if(id=="register"){var _height=975;}
if(id=="compte"){var _height=810;}
jQuery(_id).css("height",_height+"px");jQuery(_id).html('<p class="close" style="top: 14px;"><a href="#" id="lb-close">Fermer</a></p><iframe width="660" height="'+_height+'" frameborder="0" scrolling="auto" src="'+_src+'">');jQuery("#lb-close").click(function(e){jQuery("div#lb-mask").hide();jQuery("div.lb").hide();});}else{var _href="/compte.ajax.php";}}
if(typeof _href=="string"){if(params!=""){_href+="?"+params;}
jQuery(_id).load(_href,function(responseText,textStatus,XMLHttpRequest){positionPopup(_id);jQuery(_id+" input[name=from_url]").val(back_url);jQuery(_id+" input:enabled:first").focus();jQuery(_id+" input:enabled:first").select();jQuery("#a_compte-login-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("compte-login",back_url);});jQuery("#a_forget-password").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("forget-password",back_url);});jQuery("#a_register-forget").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("register",back_url);});jQuery("#a_register-signup").click(function(e){e.preventDefault();jQuery("div.lb").hide();openPopin("register",back_url);});jQuery("#lb-close, #lb-close-button, #lb-close-login, #lb-close-forget-password").click(function(e){e.preventDefault();jQuery("div#lb-mask").hide();jQuery("div.lb").hide();});});}else{positionPopup(_id);}}
if(typeof back_url=="undefined"){back_url="";}
jQuery("div#lb-mask").show();jQuery("div.lb").hide();if(id=="compte"&&typeof sUrlSiteSecure=="string"){var url=sUrlSite+"/lib/front_tools/ajax/check_session.php";jQuery.getScript(url,function(){var url=sUrlSiteSecure+"/lib/front_tools/ajax/check_sso.php";jQuery.getScript(url,function(){if(ssoStatus=="2"){id="login";}else{if(ssoStatus=="1"){id="compte-login";}else{if(sesStatus=="1"){id="compte";}else{id="login";}}}
_openPopup(id);});});}else{_openPopup(id);}};function _PopUpParam(iwidth,iheight,mb,rs,sb,st,tb){var strProperties;if(screen){var iPosL=(screen.width-iwidth)/2;var iPosT=(screen.height-iheight)/2;}else{var iPosL=100;var iPosT=100;}
if(navigator.appVersion.indexOf("MSIE")!=-1){iwidth=iwidth+26;}
strProperties="width="+iwidth+",height="+iheight;strProperties+=",left="+iPosL+",top="+iPosT+",directories=0";strProperties+=",hotkeys=1,location=0,menubar="+mb;strProperties+=",resizable="+rs+",scrollbars="+sb;strProperties+=",status="+st+",titlebar=0,toolbar="+tb;return strProperties;}
function popupSimpleNoScroll(PageURL,strName,iwidth,iheight){return window.open(PageURL,strName,_PopUpParam(iwidth,iheight,0,0,0,0,0));}
function popupSimple(PageURL,strName,iwidth,iheight){return window.open(PageURL,strName,_PopUpParam(iwidth,iheight,0,0,1,1,0));}
function popupMenuSimple(PageURL,strName,iwidth,iheight){return window.open(PageURL,strName,_PopUpParam(iwidth,iheight,1,0,1,1,0));}
function CheckWindow(obj){if(obj&&!obj.closed)
obj.close();}
function popupColor(obj,obj2){args=obj;var arr=showModalDialog(libDir+"/form_tools/editor/popup_colorpicker.htm",args,"dialogWidth:430px; dialogHeight:270px; scroll:no; status:no; center:yes; help:no");if(arr!=null){obj.value=arr.toUpperCase();obj2.style.backgroundColor=arr.toUpperCase();obj.focus();}}
var editor;function popupEditor(boxName,subfolder){if(editor){editor.close();}
editor=window.open(libDir+"/form_tools/editor/dhtml_editor.php?boxName="+boxName+"&subfolder="+subfolder,'popup_editor','width=700,height=500,toolbar=no,status=yes,resizable=yes,menubar=no,scrollbars=no');}
function resizeInner(width,height){if(window.innerWidth){window.innerWidth=width;window.innerHeight=height;}else{width+=5;height+=30;resizeTo(width,height);}}
function openPopupVideo(cid,getTitle){strUrl='/index_popup.php?1=1&tpl=108';if(cid){strUrl+='&cid='+cid;}
if(getTitle){strUrl+='&getTitle=1';}
window.open(strUrl,'Vidéo','height=720,width=780');}
function openPopupGallery(gallery_id2,gallery_id3,gallery_id4,type){strUrl='/index_popup.php?tpl=135&from=js';if(gallery_id2){strUrl+='&gallery_id2='+gallery_id2;}
if(gallery_id3){strUrl+='&gallery_id3='+gallery_id3;}
if(gallery_id4){strUrl+='&gallery_id4='+gallery_id4;}
if(type){strUrl+='&type='+type;}
window.open(strUrl,'Galerie','height=720,width=780');}
function openPopupEnsavoirPlus(cid,thePath){strUrl=thePath+'/index_popup.php?tpl=124';if(cid){strUrl+='&cid='+cid;}
window.open(strUrl,'savoirplus','height=650,width=650,left=0,top=0,scrollbars=no');}
function openNewPopup(cid){strUrl='index_popup.php?tpl=184';if(cid){strUrl+='&cid='+cid;}
window.open(strUrl,'thePopUp','height=650,width=650,left=0,top=0,scrollbars=no');}
function openPopupMosaique(){strUrl='index_popup.php?tpl=119&annee=2004';window.open(strUrl,'Mosaique','height=730,width=796,scrollbars=yes');}
function getFileExtension(strPath){var strfileName,valPosition,strfileExtension
valPosition=String(strPath).lastIndexOf('\\',0);strfileName=String(strPath).substr(valPosition+1);valPosition=strfileName.lastIndexOf('.');strfileExtension=strfileName.substr(valPosition+1);return strfileExtension;}
function openPopupRich(cid,largeur,hauteur,path){var theLargeur,theHauteur,thePath;var nombre_args=arguments.length;if(nombre_args==1)
{theLargeur=650;theHauteur=650;thePath="";}
else if(nombre_args==2)
{theLargeur=largeur;theHauteur=650;thePath="";}
else if(nombre_args==3)
{theLargeur=largeur;theHauteur=hauteur;thePath="";}
else if(nombre_args==4)
{theLargeur=largeur;theHauteur=hauteur;thePath=path;}
strUrl=thePath+'/index_popup.php?tpl=124';if(cid){strUrl+='&cid='+cid;}
window.open(strUrl,'savoirplus','width='+theLargeur+',height='+theHauteur+',left=0,top=0,scrollbars=yes');}
function openPopupSonUnique(cid){strUrl='index_popup.php?tpl=279';if(cid){strUrl+='&cid='+cid;}
window.open(strUrl,'Video','height=365,width=218');}
function openPopupTextRich(pid,tpl,cid,height,width,scroll){strUrl='index_popup.php?tpl='+tpl;if(pid){strUrl+='&pid='+pid;}
if(cid){strUrl+='&cid='+cid;}
if(!height)height=400;if(!width)width=610;if(scroll){scroll='yes';}else{scroll='no';}
window.open(strUrl,'TexteRiche','height='+height+',width='+width+',scrollbars='+scroll);}
function openPopupTextRichSlogo(pid,tpl,cid,height,width,scroll){strUrl='index_popup.php?tpl='+tpl;if(pid){strUrl+='&pid='+pid;}
if(cid){strUrl+='&cid='+cid;}
if(!height)height=400;if(!width)width=610;if(scroll){scroll='yes';}else{scroll='no';}
window.open(strUrl,'Riche','height='+height+',width='+width+',scrollbars='+scroll);}
function videoPlayer(contentId){if(sUrlBigPlayer){document.location=sUrlBigPlayer+'/#/'+contentId+"/"+sRequestURI;}}
function videoPlayerWithParentContent(contentId,contentParentId){if(sUrlBigPlayer){document.location=sUrlBigPlayer+'/#/'+contentId+"/"+sRequestURI;}}
function displayEpg(){document.getElementById('epg').style.zIndex='3';document.getElementById('flashContentEpg').style.zIndex='3';}
function hideEpg(){document.getElementById('epg').style.zIndex='0';document.getElementById('flashContentEpg').style.zIndex='0';}
var isPlayerInfoSport=false;function displayPlayer(){if(sUrlBigPlayer){if(sThematiqueListe!=''){document.location=sUrlBigPlayer+'/#/'+sThematiqueListe+'/'+sRequestURI;}else{document.location=sUrlBigPlayer+'/#/'+sRequestURI;}}}
var BackupBackgroundImage;function displayPlayerNoWrite(){if(sUrlBigPlayer){document.location=sUrlBigPlayer+'/#/'+sRequestURI;}}
function hidePlayer(){document.getElementById('zones').style.display="block";document.body.style.backgroundColor="";document.body.style.backgroundImage=BackupBackgroundImage;if(isPlayerInfoSport){history.go(0);}else{if(document.getElementById("embed_playercontent_full")){document.getElementById("embed_playercontent_full").innerHTML="";}
document.getElementById('player_video').zIndex='1';document.getElementById('player_video').style.width='20px';document.getElementById('player_video').style.height='auto';document.getElementById('player_video').style.marginLeft='960px';document.getElementById('player_video').style.backgroundColor='#FFFFFF';document.getElementById('divPlayerVideo').style.display='none';document.getElementById('bt_player_video').style.display='block';showSelectTags();}}
function hideSelectTags(){iNbCombo=document.getElementsByTagName('select').length;for(i=0;i<iNbCombo;i++){document.getElementsByTagName('select')[i].style.visibility="hidden";}}
function showSelectTags(){iNbCombo=document.getElementsByTagName('select').length;for(i=0;i<iNbCombo;i++){document.getElementsByTagName('select')[i].style.visibility="visible";}}
function displayPubHome(){document.getElementById('publicite_home').style.left='658px';document.getElementById('publicite_home').style.top='190px';document.getElementById('publicite_home').style.width='300px';document.getElementById('publicite_home').style.height='250px';document.getElementById('publicite_home').style.display='block';setTimeout("hidePubHome()",10000);}
function hidePubHome(){document.getElementById('publicite_home').style.left='808px';document.getElementById('publicite_home').style.top='315px';document.getElementById('publicite_home').style.width='150px';document.getElementById('publicite_home').style.height='125px';}
try{jQuery(document).ready(function(){onloadcall();});}catch(err){}
function onloadcall(){if(typeof(lancer_premiere_emission)=='function'){lancer_premiere_emission();}
if(typeof(InitAfficherComment_v2)=='function'){InitAfficherComment_v2();}
if(typeof(changeNavNews)=='function'){changeNavNews();}
if(typeof(InitAfficherComment)=='function'){InitAfficherComment();}
if(typeof(initScrollLayer1)=='function'){initScrollLayer1();}
if(typeof(videoExclu)=='function'){videoExclu(0);}
if(typeof(initPageSerie)=='function'){initPageSerie();}
if(typeof(initSportArticlesListe)=='function'){initSportArticlesListe();}
if(typeof(initSportArticle)=='function'){initSportArticle();}
if(typeof(initSportChangeComboJournee)=='function'){initSportChangeComboJournee();}
if(typeof(initVitrineSecondaireLive)=='function'){initVitrineSecondaireLive();}
if(typeof(initVitrineSecondaireNewsSport)=='function'){initVitrineSecondaireNewsSport();}}
function goToLog(){showIndification();document.getElementById('embed_playercontent_full').innerHTML='';document.getElementById('advertmessagecontent_full').innerHTML='';document.getElementById('advertcontent_full').innerHTML='';hideEmbedPlayer();closeVideoPlayer();}
function writeFlash(p){writeEmbed('D27CDB6E-AE6D-11cf-96B8-444553540000','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0','application/x-shockwave-flash',p);}
function writeShockWave(p){writeEmbed('166B1BCA-3F9C-11CF-8075-444553540000','http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0','application/x-director',p);}
function writeQuickTime(p){writeEmbed('02BF25D5-8C17-4B23-BC80-D3488ABDDC6B','http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0','video/quicktime',p);}
function writeRealMedia(p){writeEmbed('CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0','audio/x-pn-realaudio-plugin',p);}
function writeWindowsMedia(p){p.url=p.src;writeEmbed('6BF52A52-394A-11D3-B153-00C04F79FAA6','http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701','application/x-mplayer2',p);}
function writeEmbed(cls,cb,mt,p){var h='',n;h+='<object classid="clsid:'+cls+'" codebase="'+cb+'"';h+=typeof(p.id)!="undefined"?'id="'+p.id+'"':'';h+=typeof(p.name)!="undefined"?'name="'+p.name+'"':'';h+=typeof(p.width)!="undefined"?'width="'+p.width+'"':'';h+=typeof(p.height)!="undefined"?'height="'+p.height+'"':'';h+=typeof(p.align)!="undefined"?'align="'+p.align+'"':'';h+='>';for(n in p)
h+='<param name="'+n+'" value="'+p[n]+'">';h+='<embed type="'+mt+'"';for(n in p)
h+=n+'="'+p[n]+'" ';h+='></embed></object>';document.write(h);};jQuery.fn.extend({selectbox:function(options){return this.each(function(){new jQuery.SelectBox(this,options);});}});if(!window.console){var console={log:function(msg){}}}
jQuery.SelectBox=function(selectobj,options){var opt=options||{};opt.inputClass=opt.inputClass||"selectbox";opt.containerClass=opt.containerClass||"selectbox-wrapper";opt.hoverClass=opt.hoverClass||"current";opt.currentClass=opt.selectedClass||"selected"
opt.debug=opt.debug||false;opt.direction=opt.direction||'auto';var elm_id=selectobj.id;var active=-1;var inFocus=false;var hasfocus=0;var $select=jQuery(selectobj);var $container=setupContainer(opt);var $input=setupInput(opt);$select.hide().before($input).before($container);init();$input.click(function(){if(!inFocus){positionContainer();}
else{if($container.is(':visible')&&!initFocus){hideMe();}
else{positionContainer();initFocus=false;}}}).focus(function(){if($container.not(':visible')){initFocus=true;inFocus=true;positionContainer();}}).blur(function(){if($container.is(':visible')&&hasfocus>0){if(opt.debug)console.log('container visible and has focus')}
else if(jQuery.browser.msie){if(document.activeElement.getAttribute('id').indexOf('_container')==-1){hideMe();}else{$input.focus();}}else{hideMe();}}).keydown(function(event){switch(event.keyCode){case 38:event.preventDefault();moveSelect(-1);break;case 40:event.preventDefault();moveSelect(1);break;case 13:event.preventDefault();jQuery('li.'+opt.hoverClass).trigger('click');break;case 27:hideMe();break;}});function hideMe(){hasfocus=0;$container.hide();}
function init(){$container.append(getSelectOptions($input.attr('id'))).hide();var width=$input.outerWidth()-2;$container.width(width+'px');}
function setupContainer(options){var container=document.createElement("div");$container=jQuery(container);$container.attr('id',elm_id+'_container');$container.addClass(options.containerClass);return $container;}
function setupInput(options){var input=document.createElement("input");var $input=jQuery(input);$input.attr("id",elm_id+"_input");$input.attr("type","text");$input.addClass(options.inputClass);$input.attr("autocomplete","off");$input.attr("readonly","readonly");$input.attr("tabIndex",$select.attr("tabindex"));return $input;}
function moveSelect(step){var lis=jQuery("li",$container);if(!lis)return;active+=step;if(active<0){active=0;}else if(active>=lis.size()){active=lis.size()-1;}
lis.removeClass(opt.hoverClass);jQuery(lis[active]).addClass(opt.hoverClass);}
function setCurrent(){var li=jQuery("li."+opt.currentClass,$container).get(0);var ar=(''+li.id).split('_');var el=ar[ar.length-1];$select.val(el).attr("selectedIndex",$container.find("li").index(li));$input.val(jQuery(li).html());return true;}
function positionContainer(){if($container.not(':visible')){var p=$input.position();var b=jQuery(document).height();var h=$select.children('option').length*12;$container.css('top',p.top+$input.outerHeight()+'px');$container.css('left',p.left+'px');$container.css('height',h+'px');$container.css('max-height',h+'px');$container.css('z-index','999');$container.show();if(opt.direction=='up'){$container.css('margin-top','-'+($container.outerHeight()+$input.outerHeight()-2)+'px');}
else if(opt.direction=='down'){}
else{if(b<jQuery(document).height()){$container.css('margin-top','-'+($container.outerHeight()+$input.outerHeight()-2)+'px');}}}
else{$container.hide();}}
function getCurrentSelected(){return $select.val();}
function getCurrentValue(){return $input.val();}
function getSelectOptions(parentid){var select_options=new Array();var ul=document.createElement('ul');$select.children('option').each(function(){var li=document.createElement('li');li.setAttribute('id',parentid+'_'+jQuery(this).val());li.innerHTML=jQuery(this).html();if(jQuery(this).is(':selected')){$input.val(jQuery(this).html());jQuery(li).addClass(opt.currentClass);}
ul.appendChild(li);jQuery(li).mouseover(function(event){hasfocus=1;if(opt.debug)console.log('over on : '+this.id);jQuery(event.target,$container).addClass(opt.hoverClass);}).mouseout(function(event){hasfocus=-1;if(opt.debug)console.log('out on : '+this.id);jQuery(event.target,$container).removeClass(opt.hoverClass);}).click(function(event){var fl=jQuery('li.'+opt.hoverClass,$container).get(0);if(opt.debug)console.log('click on :'+this.id);jQuery('li.'+opt.currentClass).removeClass(opt.currentClass);jQuery(this).addClass(opt.currentClass);setCurrent();hideMe();$select.change();});});return ul;}};;var lastContentId="";function Sondage_modif(action,temp_sondage,sondage_id,sondage_ordre,afficher_resultat){if(typeof window.ActiveXObject!='undefined'){xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");xmlDoc.onreadystatechange=function(){display_Sondage_modif(xmlDoc,temp_sondage);};}else{xmlDoc=new XMLHttpRequest();xmlDoc.onload=function(){display_Sondage_modif(xmlDoc,temp_sondage);};}
sURL="/processus/page/sport/xt_sondage.php";sParams="sondage_id="+sondage_id+"&action="+action+"&sondage_ordre="+sondage_ordre+"&temp_sondage="+temp_sondage+"&aff_resul="+afficher_resultat;sURL+="?"+sParams;xmlDoc.open("GET",sURL,false);xmlDoc.send(null);}
function display_Sondage_modif(xmlDoc,temp_sondage){if(xmlDoc.readyState==4){if(xmlDoc.status==200){var resultat=xmlDoc.responseText;document.getElementById('cookie_'+temp_sondage).innerHTML=resultat;id_scroll='#cookie_'+temp_sondage;jQuery(id_scroll).jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});}else{alert("There was a problem retrieving the data:\n"+xmlDoc.statusText);}}}
function Breves_modif(niv1,niv2,temp_breve,pid){if(typeof window.ActiveXObject!='undefined'){xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");xmlDoc.onreadystatechange=function(){display_Breves_modif(xmlDoc,temp_breve);};}else{xmlDoc=new XMLHttpRequest();xmlDoc.onload=function(){display_Breves_modif(xmlDoc,temp_breve);};}
document.getElementById('Bloc_En_Cours_'+temp_breve).value="";sURL="/processus/page/sport/xt_breves.php";sParams="pid="+pid+"&niv1="+niv1+"&niv2="+niv2+"&zone_tpl="+temp_breve;sURL+="?"+sParams;xmlDoc.open("GET",sURL,false);xmlDoc.send(null);}
function display_Breves_modif(xmlDoc,temp_breve){if(xmlDoc.readyState==4){if(xmlDoc.status==200){var resultat=xmlDoc.responseText;document.getElementById('breve_'+temp_breve).innerHTML=resultat;id_scroll='#breve_'+temp_breve;jQuery(id_scroll).jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});}else{alert("There was a problem retrieving the data:\n"+xmlDoc.statusText);}}}
function Breves_liste_popup(niv1,niv2,temp_breve,contentId){if(typeof window.ActiveXObject!='undefined'){xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");xmlDoc.onreadystatechange=function(){display_Breves_liste_popup(xmlDoc,temp_breve,contentId);};}else{xmlDoc=new XMLHttpRequest();xmlDoc.onload=function(){display_Breves_liste_popup(xmlDoc,temp_breve,contentId);};}
sURL="/processus/page/sport/xt_breves.php";sParams="niv1="+niv1+"&niv2="+niv2+"&zone_tpl="+temp_breve+"&popup=1&contentId="+contentId;sURL+="?"+sParams;xmlDoc.open("GET",sURL,false);xmlDoc.send(null);jQuery('#breves_gauche').jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});}
function display_Breves_liste_popup(xmlDoc,temp_breve,contentId){if(xmlDoc.readyState==4){if(xmlDoc.status==200){var resultat=xmlDoc.responseText;document.getElementById('breves_gauche').innerHTML=resultat;id_scroll='#breve_'+temp_breve;jQuery(id_scroll).jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});if(!contentId){document.getElementById('breve_title_droit').innerHTML='';document.getElementById('content_breves_droit').innerHTML='';if(document.getElementById('idFirtBreve')){popup_Breves_partie_droite(temp_breve,document.getElementById('idFirtBreve').innerHTML);}}}else{alert("There was a problem retrieving the data:\n"+xmlDoc.statusText);}}}
function initScrollPopup(){jQuery('#breves_gauche').jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});}
function Display_div(element,param){if(param==1){document.getElementById(element).style.display='block';document.getElementById(element).style.visibility='visible';}
else
{document.getElementById(element).style.display='none';document.getElementById(element).style.visibility='hidden';}}
function Change_Selection_Breve(temp_breve,id_breve){if(document.getElementById('Bloc_En_Cours_'+temp_breve).value!=""){ancien_id=document.getElementById('Bloc_En_Cours_'+temp_breve).value;document.getElementById('Breve_Bloc_'+temp_breve+'_'+ancien_id).style.backgroundColor="#E5E5E5";Display_div('Breve_Txt_Long_'+temp_breve+'_'+ancien_id,0);Display_div('Breve_Txt_Court_'+temp_breve+'_'+ancien_id,1);}
document.getElementById('Breve_Bloc_'+temp_breve+'_'+id_breve).style.backgroundColor="#CCCCCC";Display_div('Breve_Txt_Court_'+temp_breve+'_'+id_breve,0);Display_div('Breve_Txt_Long_'+temp_breve+'_'+id_breve,1);document.getElementById('Bloc_En_Cours_'+temp_breve).value=id_breve;Change_Over_Breve(temp_breve,id_breve,0);id_scroll='#breve_'+temp_breve;jQuery(id_scroll).jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});}
function popup_Breves(niv1,niv2,temp_breve,pid,contentId){if(navigator.appVersion.indexOf('MSIE 6')>0){document.location.href='#';document.getElementById('content_alerte').style.position="absolute";document.getElementById('zone_alerte_grise_haut').style.position="absolute";document.getElementById('zone_alerte_grise_droite').style.position="absolute";document.getElementById('zone_alerte_grise_bas').style.position="absolute";document.getElementById('zone_alerte_grise_gauche').style.position="absolute";}
if(typeof(hideSelectTags)=='function'){hideSelectTags();}
if(document.getElementById('video_flash')){document.getElementById('video_flash').style.display='none';}
if(document.getElementById('idpublicitemegabanner')){document.getElementById('idpublicitemegabanner').style.display='none';}
if(document.getElementById('idpublicitepave')){document.getElementById('idpublicitepave').style.display='none';}
if(document.getElementById('CanalPlayerEmbarque')){document.getElementById('CanalPlayerEmbarque').playerPause();document.getElementById('CanalPlayerEmbarque').style.visibility='hidden';}
if(typeof window.ActiveXObject!='undefined'){xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");xmlDoc.onreadystatechange=function(){display_Popup_Breves(xmlDoc,niv1,temp_breve);};}else{xmlDoc=new XMLHttpRequest();xmlDoc.onload=function(){display_Popup_Breves(xmlDoc,niv1,temp_breve);};}
sURL="/processus/page/sport/xt_breves_v2.php";sParams="pid="+pid+"&niv1="+niv1+"&niv2="+niv2+"&zone_tpl="+temp_breve;sURL+="?"+sParams;xmlDoc.open("GET",sURL,false);xmlDoc.send(null);Breves_liste_popup(niv1,niv2,temp_breve,contentId);initScrollPopup()
popup_Breves_partie_droite(temp_breve,contentId);refresh_pub_partenaire();}
function display_Popup_Breves(xmlDoc,niv1,temp_breve){if(xmlDoc.readyState==4){if(xmlDoc.status==200){var resultat=xmlDoc.responseText;if(document.getElementById('content_alerte')){document.getElementById('content_alerte').style.display="block";document.getElementById('content_alerte').style.left=String((screen.width-760)/2)+"px";document.getElementById('content_alerte').style.top="50px";document.getElementById('content_alerte').innerHTML=resultat;}
if(document.getElementById('zone_alerte_grise_haut')){document.getElementById('zone_alerte_grise_haut').style.display="block";document.getElementById('zone_alerte_grise_haut').style.left=String((screen.width-760)/2)+"px";document.getElementById('zone_alerte_grise_haut').style.height="50px";document.getElementById('zone_alerte_grise_haut').style.width="760px";}
if(document.getElementById('zone_alerte_grise_droite')){document.getElementById('zone_alerte_grise_droite').style.display="block";document.getElementById('zone_alerte_grise_droite').style.left=String((screen.width-760)/2+760)+"px";document.getElementById('zone_alerte_grise_droite').style.height="2000px";document.getElementById('zone_alerte_grise_droite').style.width="510px";}
if(document.getElementById('zone_alerte_grise_bas')){document.getElementById('zone_alerte_grise_bas').style.display="block";document.getElementById('zone_alerte_grise_bas').style.left=String((screen.width-760)/2)+"px";document.getElementById('zone_alerte_grise_bas').style.top="560px";document.getElementById('zone_alerte_grise_bas').style.height="1440px";document.getElementById('zone_alerte_grise_bas').style.width="760px";}
if(document.getElementById('zone_alerte_grise_gauche')){document.getElementById('zone_alerte_grise_gauche').style.display="block";document.getElementById('zone_alerte_grise_gauche').style.left="0px";document.getElementById('zone_alerte_grise_gauche').style.top="0px";document.getElementById('zone_alerte_grise_gauche').style.height="2000px";document.getElementById('zone_alerte_grise_gauche').style.width=String((screen.width-760)/2)+"px";}
jQuery(document).ready(function(){jQuery('#select_popup').selectbox();jQuery('#select_popup').change(function(){Breves_liste_popup(niv1,this.options[this.selectedIndex].value,'');});});}else{alert("There was a problem retrieving the data:\n"+xmlDoc.statusText);}}}
function popup_Breves_partie_droite(zoneTplId,ContentId){if(document.getElementById('Breve_Txt_Long_'+zoneTplId+'_'+ContentId)&&document.getElementById('content_breves_droit')){document.getElementById('content_breves_droit').innerHTML=document.getElementById('Breve_Txt_Long_'+zoneTplId+'_'+ContentId).innerHTML;}
if(document.getElementById('Breve_Titre_'+zoneTplId+'_'+ContentId)&&document.getElementById('breve_title_droit')){document.getElementById('breve_title_droit').innerHTML=document.getElementById('Breve_Titre_'+zoneTplId+'_'+ContentId).innerHTML;}
if(lastContentId!=ContentId){if(document.getElementById('Breve_Txt_Long_'+zoneTplId+'_'+ContentId)){document.getElementById('title_news_gauche_'+zoneTplId+'_'+ContentId).className="sport_gras";}
if(document.getElementById('Breve_Txt_Long_'+zoneTplId+'_'+lastContentId)){document.getElementById('title_news_gauche_'+zoneTplId+'_'+lastContentId).className="";}
lastContentId=ContentId;}
jQuery('#content_breves_droit').jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});omniBreves.setTags();}
function closePopupDiv(){if(document.getElementById('content_alerte')){document.getElementById('content_alerte').style.display="none";}
if(document.getElementById('zone_alerte_grise_haut')){document.getElementById('zone_alerte_grise_haut').style.display="none";}
if(document.getElementById('zone_alerte_grise_droite')){document.getElementById('zone_alerte_grise_droite').style.display="none";}
if(document.getElementById('zone_alerte_grise_bas')){document.getElementById('zone_alerte_grise_bas').style.display="none";}
if(document.getElementById('zone_alerte_grise_gauche')){document.getElementById('zone_alerte_grise_gauche').style.display="none";}
if(document.getElementById('video_flash')){document.getElementById('video_flash').style.display='block';}
if(document.getElementById('idpublicitemegabanner')){document.getElementById('idpublicitemegabanner').style.display='block';}
if(document.getElementById('idpublicitepave')){document.getElementById('idpublicitepave').style.display='block';}
if(document.getElementById('CanalPlayerEmbarque')){document.getElementById('CanalPlayerEmbarque').style.visibility='visible';document.getElementById('CanalPlayerEmbarque').playerPlay();}
if(typeof(showSelectTags)=='function'){showSelectTags();}}
function Change_Over_Breve(temp_breve,id_breve,etat){if(document.getElementById('Bloc_En_Cours_'+temp_breve).value==id_breve){document.getElementById('Breve_Bloc_'+temp_breve+'_'+id_breve).className="txt-noir9 gris_fonce_vs_sport";}
else{if(etat==1){document.getElementById('Breve_Bloc_'+temp_breve+'_'+id_breve).className="txt-noir9 gris_clair_vs_sport";}
else{document.getElementById('Breve_Bloc_'+temp_breve+'_'+id_breve).className="txt-noir9 gris_fonce_vs_sport";}}}
function Change_Live_Scoring(type_live,temp_live,pid){Live_Scoring_modif(type_live,temp_live,pid);Display_div('ls_lien_Live_'+temp_live,0);Display_div('ls_lien_Venir_'+temp_live,0);Display_div('ls_lien_'+type_live+'_'+temp_live,1);Display_div('ls_titre_Live_'+temp_live,0);Display_div('ls_titre_Venir_'+temp_live,0);Display_div('ls_titre_'+type_live+'_'+temp_live,1);}
function Live_Scoring_modif(type_live,temp_live,pid){if(typeof window.ActiveXObject!='undefined'){xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");xmlDoc.onreadystatechange=function(){display_Live_Scoring_modif(xmlDoc,temp_live);};}else{xmlDoc=new XMLHttpRequest();xmlDoc.onload=function(){display_Live_Scoring_modif(xmlDoc,temp_live);};}
sURL="/processus/page/sport/xt_live_scoring.php";sParams="type_live="+type_live+"&pid="+pid;sURL+="?"+sParams;xmlDoc.open("GET",sURL,false);xmlDoc.send(null);}
function display_Live_Scoring_modif(xmlDoc,temp_live){if(xmlDoc.readyState==4){if(xmlDoc.status==200){var resultat=xmlDoc.responseText;document.getElementById('live_'+temp_live).innerHTML=resultat;id_scroll='#live_'+temp_live;jQuery(id_scroll).jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});}else{alert("There was a problem retrieving the data:\n"+xmlDoc.statusText);}}}
function Change_Live_Scoring_v2(type_live,temp_live,pid){Live_Scoring_modif_v2(type_live,temp_live,pid);}
function Live_Scoring_modif_v2(type_live,temp_live,pid){if(typeof window.ActiveXObject!='undefined'){xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");xmlDoc.onreadystatechange=function(){display_Live_Scoring_modif_v2(xmlDoc,type_live,temp_live);};}else{xmlDoc=new XMLHttpRequest();xmlDoc.onload=function(){display_Live_Scoring_modif_v2(xmlDoc,type_live,temp_live);};}
sURL="/processus/page/sport_v2/xt_live_scoring_v2.php";sParams="type_live="+type_live+"&pid="+pid;sURL+="?"+sParams;xmlDoc.open("GET",sURL,false);xmlDoc.send(null);}
function display_Live_Scoring_modif_v2(xmlDoc,type_live,temp_live){if(xmlDoc.readyState==4){if(xmlDoc.status==200){var resultat=xmlDoc.responseText;if(type_live=='Venir'){document.getElementById('content_avenir_'+temp_live).innerHTML=resultat;id_scroll='#content_avenir_'+temp_live;}else if(type_live=='Live'){document.getElementById('content_live_'+temp_live).innerHTML=resultat;id_scroll='#content_live_'+temp_live;}
jQuery(id_scroll).jScrollPane({showArrows:true,scrollbarWidth:11,arrowSize:14});}else{alert("There was a problem retrieving the data:\n"+xmlDoc.statusText);}}}
function openLSWindowTandR(year,wkno,lang,tabno,eventid,ref_file,width,height,hasScrollBars){var theWidth=width;var theHeight=height;var scrollBars="scrollbars";if(hasScrollBars==false)scrollBars="scrollbars=0";if((theWidth=="")||(theWidth==null))theWidth=500;if((theHeight=="")||(theHeight==null))theHeight=668;var theLeft=(screen.availWidth-theWidth)/2;var theTop=(screen.availHeight-theHeight)/2;var strCheckRef=escape(ref_file);var lsURL="http://www.protennislive.com/frameset.asp?year="+year+"&wkno="+wkno+"&lang="+lang+"&tabno="+tabno+"&eventid="+eventid+"&ref="+strCheckRef;var popupWin=window.open(lsURL,'_'+Math.round(Math.random()*1000000),'top='+theTop+',left='+theLeft+',menubar=0,toolbar=0,location=0,directories=0,status=0,'+scrollBars+',width='+theWidth+', height='+theHeight);}
function putPhotoOffVS(genre,id){for(i=1;i<=6;i++){if(document.getElementById(genre+'_'+i)){if(id!=i){document.getElementById(genre+'_'+i).className="zoneContenus imgOff_VS_VE";}}}}
function putPhotoOnVS(genre,id){for(i=1;i<=6;i++){if(document.getElementById(genre+'_'+i)){if(id!=i){document.getElementById(genre+'_'+i).className="zoneContenus imgOn_VS_VE";}}}}
function popupLiveMultiplex(pid,pidparent,cidlive){var strUrl='/index.php?pid='+pid+'&pidparent='+pidparent+'&cidlive='+cidlive;var retour=window.open(strUrl,'Tous_les_lives','height=635,width=835,resizable=yes,scrollbars=Yes');};function RObj(ea){var LS="";var QS=new Object();var un="undefined";var f="function";var n="number";var r="string";var e1="ERROR:Index out of range in\r\nRequest.QueryString";var e2="ERROR:Wrong number of arguments or invalid property assignment\r\nRequest.QueryString";var e3="ERROR:Object doesn't support this property or method\r\nRequest.QueryString.Key";function Err(arg){if(ea)alert("Request Object:\r\n"+arg)};function URID(t){var d="";if(t){for(var i=0;i<t.length;++i){var c=t.charAt(i);d+=(c=="+"?" ":c);};};return unescape(d);};function OL(o){var l=0;for(var i in o){if(typeof(o[i])!=f)l++;};return l;};function AK(key){var auk=true;for(var u in QS){if(typeof(QS[u])!=f&&u.toString().toLowerCase()==key.toLowerCase()){auk=false;return u;}};if(auk){QS[key]=new Object();QS[key].toString=function(){return TS(QS[key])};QS[key].Count=function(){return OL(QS[key])};QS[key].Count.toString=function(){return OL(QS[key]).toString()};QS[key].Item=function(e){if(typeof(e)==un)return QS[key];else{if(typeof(e)==n){var a=QS[key][Math.ceil(e)];if(typeof(a)==un)Err(e1+"(\""+key+"\").Item("+e+")");return a;}else Err("ERROR:Expecting numeric input in\r\nRequest.QueryString(\""+key+"\").Item(\""+e+"\")");}};QS[key].Item.toString=function(e){if(typeof(e)==un)return QS[key].toString();else{var a=QS[key][e];if(typeof(a)==un)Err(e1+"(\""+key+"\").Item("+e+")");return a.toString();};};QS[key].Key=function(e){var t=typeof(e);if(t==r){var a=QS[key][e];return(typeof(a)!=un&&a&&a.toString()?e:"");}else Err(e3+"("+(e?e:"")+")");};QS[key].Key.toString=function(){return un};};return key};function AVTK(key,val){if(key!=""){var key=AK(key);var l=OL(QS[key]);QS[key][l+1]=val;}};function TS(o){var s="";for(var i in o){var ty=typeof(o[i]);if(ty=="object")s+=TS(o[i]);else if(ty!=f)s+=o[i]+", ";};var l=s.length;if(l>1)return(s.substring(0,l-2));return(s==""?un:s);};function KM(k,o){var k=k.toLowerCase();for(var u in o){if(typeof(o[u])!=f&&u.toString().toLowerCase()==k)return u;};}if(window.location&&window.location.search){LS=window.location.search;var l=LS.length;if(l>0){LS=LS.substring(1,l);var preAmpAt=0;var ampAt=-1;var eqAt=-1;var k=0;var skip=false;for(var i=0;i<l;++i){var c=LS.charAt(i);if(LS.charAt(preAmpAt)=="="||(preAmpAt==0&&i==0&&c=="="))skip=true;if(c=="="&&eqAt==-1&&!skip)eqAt=i;if(c=="&"&&ampAt==-1){if(eqAt!=-1)ampAt=i;if(skip)preAmpAt=i+1;skip=false;};if(ampAt>eqAt){AVTK(URID(LS.substring(preAmpAt,eqAt)),URID(LS.substring(eqAt+1,ampAt)));preAmpAt=ampAt+1;eqAt=ampAt=-1;++k;};};if(LS.charAt(preAmpAt)!="="&&(preAmpAt!=0||i!=0||c!="=")){if(preAmpAt!=l){if(eqAt!=-1)AVTK(URID(LS.substring(preAmpAt,eqAt)),URID(LS.substring(eqAt+1,l)));else if(preAmpAt!=l-1)AVTK(URID(LS.substring(preAmpAt,l)),"");};if(l==1)AVTK(LS.substring(0,1),"");};};};var TC=OL(QS);if(!TC)TC=0;QS.toString=function(){return LS.toString()};QS.Count=function(){return(TC?TC:0)};QS.Count.toString=function(){return(TC?TC.toString():"0")};QS.Item=function(e){if(typeof(e)==un)return LS;else{if(typeof(e)==n){var e=Math.ceil(e);var c=0;for(var i in QS){if(typeof(QS[i])!=f&&++c==e)return QS[i];};Err(e1+"().Item("+e+")");}else return QS[KM(e,QS)];};return un;};QS.Item.toString=function(){return LS.toString()};QS.Key=function(e){var t=typeof(e);if(t==n){var e=Math.ceil(e);var c=0;for(var i in QS){if(typeof(QS[i])!=f&&++c==e)return i;}}else if(t==r){var e=KM(e,QS);var a=QS[e];return(typeof(a)!=un&&a&&a.toString()?e:"");}else Err(e2+"().Key("+(e?e:"")+")");Err(e1+"().Item("+e+")");};QS.Key.toString=function(){Err(e2+"().Key");};this.QueryString=function(k){if(typeof(k)==un)return QS;else{var k=KM(k,QS);if(typeof(QS[k])==un){t=new Object();t.Count=function(){return 0};t.Count.toString=function(){return"0"};t.toString=function(){return un};t.Item=function(e){return un};t.Item.toString=function(){return un};t.Key=function(e){Err(e3+"("+(e?e:"")+")");};t.Key.toString=function(){return un};return t;}if(typeof(k)==n)return QS.Item(k);else return QS[k];}};this.QueryString.toString=function(){return LS.toString();};this.QueryString.Count=function(){return(TC?TC:0)};this.QueryString.Count.toString=function(){return(TC?TC.toString():"0")};this.QueryString.Item=function(e){if(typeof(e)==un)return LS.toString();else{if(typeof(e)==n){var e=Math.ceil(e);var c=0;for(var i in QS){if(typeof(QS[i])!=f&&++c==e)return QS[i];};Err(e1+".Item("+e+")");}else return QS[KM(e,QS)];}if(typeof(e)==(n))Err(e1+".Item("+e+")");return un;};this.QueryString.Item.toString=function(){return LS.toString()};this.QueryString.Key=function(e){var t=typeof(e);if(t==n){var e=Math.ceil(e);var c=0;for(var i in QS){if(typeof(QS[i])=="object"&&(++c==e)){return i;}}}else if(t==r){var e=KM(e,QS);var a=QS[e];return(typeof(a)!=un&&a&&a.toString()?e:"");}else Err(e2+".Key("+(e?e:"")+")");Err(e1+".Item("+e+")");};this.QueryString.Key.toString=function(){Err(e2+".Key");};this.Version=1.2;this.Author="Andrew Urquhart (www.andrewu.co.uk)";};var Request=new RObj(false);function Left(str,n){if(n<=0)
return"";else if(n>String(str).length)
return str;else
return String(str).substring(0,n);}
function tracking(){var nbs_t=" border='0' height='1' width='1' alt=''>";refer=escape(document.referrer.toLowerCase());if(refer.length!=0){var ComingFrom=Request.QueryString("ls");if(ComingFrom=='undefined')ComingFrom='';if((refer.indexOf("127.0.0.1")<0)&&(ComingFrom=='')){var testrefer=new Array(40);var lengthrefer=new Array(40);testrefer[0]='http://www.google';testrefer[1]='http://rds.yahoo.com';testrefer[2]='http://fr.wrs.yahoo.com';testrefer[3]='http://de.wrs.yahoo.com';testrefer[4]='http://it.wrs.yahoo.com';testrefer[5]='http://nl.wrs.yahoo.com';testrefer[6]='http://chfr.wrs.yahoo.com';testrefer[7]='http://es.wrs.yahoo.com';testrefer[8]='http://search.msn';testrefer[9]='http://vachercher.lycos.fr';testrefer[10]='http://cerca.lycos.it';testrefer[11]='http://zoek.lycos.nl';testrefer[12]='http://search.lycos.ch';testrefer[13]='http://buscador.lycos.es';testrefer[14]='http://suche.lycos.de';testrefer[15]='http://suche.web.de';testrefer[16]='http://suche.t-online.de';testrefer[17]='http://search-dyn.tiscali.it';testrefer[18]='http://search.alice.it';testrefer[19]='http://search.bluewin.ch';testrefer[20]='http://www.qualigo';testrefer[21]='http://suche.aol.de';testrefer[22]='http://www.recherche.aol.fr';testrefer[23]='http://www.compuserve.nl';testrefer[24]='http://dh.search.ke.voila.fr';testrefer[25]='http://av.rds.yahoo.com';testrefer[26]='http://recherche.club-internet.fr';testrefer[27]='http://www.exalead';testrefer[28]='http://fr.ask.com';testrefer[29]='http://de.ask.com';testrefer[30]='http://es.ask.com';testrefer[31]='http://it.ask.com';testrefer[32]='http://nl.ask.com';testrefer[33]='http://uk.ask.com';testrefer[34]='http://www.ask.com';testrefer[35]='http://www.mozbot';testrefer[36]='http://www.accoona';lengthrefer[0]='17';lengthrefer[1]='20';lengthrefer[2]='23';lengthrefer[3]='23';lengthrefer[4]='23';lengthrefer[5]='23';lengthrefer[6]='25';lengthrefer[7]='23';lengthrefer[8]='17';lengthrefer[9]='26';lengthrefer[10]='21';lengthrefer[11]='20';lengthrefer[12]='22';lengthrefer[13]='24';lengthrefer[14]='21';lengthrefer[15]='19';lengthrefer[16]='24';lengthrefer[17]='28';lengthrefer[18]='22';lengthrefer[19]='24';lengthrefer[20]='18';lengthrefer[21]='19';lengthrefer[22]='27';lengthrefer[23]='24';lengthrefer[24]='28';lengthrefer[25]='23';lengthrefer[26]='33';lengthrefer[27]='18';lengthrefer[28]='17';lengthrefer[29]='17';lengthrefer[30]='17';lengthrefer[31]='17';lengthrefer[32]='17';lengthrefer[33]='17';lengthrefer[34]='18';lengthrefer[35]='17';lengthrefer[36]='18';for(i=0;(i<testrefer.length)&&(testrefer[i]!=null);i++)
{if(Left(document.referrer,lengthrefer[i])==testrefer[i])
{var ima='http://stats.searchtrack.net/rec.aspx?PU=CLIC&CLI_ID=100762&SIT_ID=6382&ZONE_ID=&NREF='+refer;document.write('<IMG SRC='+ima+nbs_t);}}}}};eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){m e=$.1q.A,p=$.1q.p;$.1q.P({A:7(){3(!1[0])f();3(1[0]==l)3(($.8.W||$.8.G)&&$(5).p()>n.16)6 n.12-i();s 6 n.12||$.I&&5.Z.1D||5.k.1D;3(1[0]==5)6 1A.1v(5.k.1P,5.k.1a);6 e.1s(1,1K)},p:7(){3(!1[0])f();3(1[0]==l)3(($.8.W||$.8.G)&&$(5).A()>n.12)6 n.16-i();s 6 n.16||$.I&&5.Z.1J||5.k.1J;3(1[0]==5)3($.8.W){m a=n.1p;n.17(22,n.1o);m b=n.1p;n.17(a,n.1o);6 5.k.14+b}s 6 1A.1v(5.k.20,5.k.14);6 p.1s(1,1K)},12:7(){3(!1[0])f();6 1[0]==l||1[0]==5?1.A():1.S(\':M\')?1[0].1a-h(1,\'t\')-h(1,\'1F\'):1.A()+h(1,\'1h\')+h(1,\'1E\')},16:7(){3(!1[0])f();6 1[0]==l||1[0]==5?1.p():1.S(\':M\')?1[0].14-h(1,\'r\')-h(1,\'1C\'):1.p()+h(1,\'1d\')+h(1,\'1B\')},1U:7(){3(!1[0])f();6 1[0]==l||1[0]==5?1.A():1.S(\':M\')?1[0].1a:1.A()+h(1,\'t\')+h(1,\'1F\')+h(1,\'1h\')+h(1,\'1E\')},1R:7(){3(!1[0])f();6 1[0]==l||1[0]==5?1.p():1.S(\':M\')?1[0].14:1.p()+h(1,\'r\')+h(1,\'1C\')+h(1,\'1d\')+h(1,\'1B\')},o:7(a){3(!1[0])f();3(a!=1y)6 1.1u(7(){3(1==l||1==5)l.17(a,$(l).q());s 1.o=a});3(1[0]==l||1[0]==5)6 n.1p||$.I&&5.Z.o||5.k.o;6 1[0].o},q:7(a){3(!1[0])f();3(a!=1y)6 1.1u(7(){3(1==l||1==5)l.17($(l).o(),a);s 1.q=a});3(1[0]==l||1[0]==5)6 n.1o||$.I&&5.Z.q||5.k.q;6 1[0].q},J:7(a){6 1.1t({X:z,F:z,u:1.w()},a)},1t:7(b,c){3(!1[0])f();m x=0,y=0,E=0,D=0,9=1[0],4=1[0],H,15,T=$.v(9,\'J\'),C=$.8.W,L=$.8.21,1I=$.8.13,1n=$.8.G,1m=z,1l=z,b=$.P({X:K,11:z,1k:z,F:K,1H:z,u:5.k},b||{});3(b.1H)6 1.1G(b,c);3(b.u.1j)b.u=b.u[0];3(9.B==\'Q\'){x=9.N;y=9.O;3(C){x+=h(9,\'U\')+(h(9,\'r\')*2);y+=h(9,\'V\')+(h(9,\'t\')*2)}s 3(1n){x+=h(9,\'U\');y+=h(9,\'V\')}s 3(L&&1g.I){x+=h(9,\'r\');y+=h(9,\'t\')}}s{Y{15=$.v(4,\'J\');x+=4.N;y+=4.O;3(C||L){x+=h(4,\'r\');y+=h(4,\'t\');3(C&&15==\'1f\')1m=K;3(L&&15==\'1Z\')1l=K}H=4.w||5.k;3(b.F||C){Y{3(b.F){E+=4.o;D+=4.q}3(1n&&($.v(4,\'1Y\')||\'\').1X(/1W-1V|1S/)){E=E-((4.o==4.N)?4.o:0);D=D-((4.q==4.O)?4.q:0)}3(C&&4!=9&&$.v(4,\'1c\')!=\'M\'){x+=h(4,\'r\');y+=h(4,\'t\')}4=4.1z}R(4!=H)}4=H;3(4==b.u&&!(4.B==\'Q\'||4.B==\'1b\')){3(C&&4!=9&&$.v(4,\'1c\')!=\'M\'){x+=h(4,\'r\');y+=h(4,\'t\')}3(($.8.13||$.8.G)&&$.v(H,\'J\')!=\'1e\'){x-=h(H,\'r\');y-=h(H,\'t\')}1x}3(4.B==\'Q\'||4.B==\'1b\'){3((1I||(L&&$.I))&&T!=\'1f\'&&T!=\'1w\'){x+=h(4,\'U\');y+=h(4,\'V\')}3((C&&!1m&&T!=\'1w\')||(L&&T==\'1e\'&&!1l)){x+=h(4,\'r\');y+=h(4,\'t\')}1x}}R(4)}m a=j(9,b,x,y,E,D);3(c){$.P(c,a);6 1}s{6 a}},1G:7(b,c){3(!1[0])f();m x=0,y=0,E=0,D=0,4=1[0],w,b=$.P({X:K,11:z,1k:z,F:K,u:5.k},b||{});3(b.u.1j)b.u=b.u[0];Y{x+=4.N;y+=4.O;w=4.w||5.k;3(b.F){Y{E+=4.o;D+=4.q;4=4.1z}R(4!=w)}4=w}R(4&&4.B!=\'Q\'&&4.B!=\'1b\'&&4!=b.u);m a=j(1[0],b,x,y,E,D);3(c){$.P(c,a);6 1}s{6 a}},w:7(){3(!1[0])f();m a=1[0].w;R(a&&(a.B!=\'Q\'&&$.v(a,\'J\')==\'1e\'))a=a.w;6 $(a)}});m f=7(){1Q"1O: 1g 1N S 1M";};m h=7(a,b){6 1T($.v(a.1j?a[0]:a,b))||0};m j=7(a,b,x,y,d,c){3(!b.X){x-=h(a,\'U\');y-=h(a,\'V\')}3(b.11&&($.8.13||$.8.G)){x+=h(a,\'r\');y+=h(a,\'t\')}s 3(!b.11&&!($.8.13||$.8.G)){x-=h(a,\'r\');y-=h(a,\'t\')}3(b.1k){x+=h(a,\'1d\');y+=h(a,\'1h\')}3(b.F&&($.8.G&&a.N!=a.o&&a.O!=a.o)){d-=a.o;c-=a.q}6 b.F?{1i:y-c,19:x-d,q:c,o:d}:{1i:y,19:x}};m g=0;m i=7(){3(!g){m a=$(\'<18>\').v({p:10,A:10,1c:\'1L\',J:\'1f\',1i:-1r,19:-1r}).27(\'k\');g=10-a.26(\'<18>\').25(\'18\').v({p:\'10%\',A:24}).p();a.23()}6 g}})(1g);',62,132,'|this||if|parent|document|return|function|browser|elem|||||||||||body|window|var|self|scrollLeft|width|scrollTop|borderLeftWidth|else|borderTopWidth|relativeTo|css|offsetParent|||false|height|tagName|mo|st|sl|scroll|opera|op|boxModel|position|true|ie|visible|offsetLeft|offsetTop|extend|BODY|while|is|elemPos|marginLeft|marginTop|mozilla|margin|do|documentElement|100|border|innerHeight|safari|offsetWidth|parPos|innerWidth|scrollTo|div|left|offsetHeight|HTML|overflow|paddingLeft|static|absolute|jQuery|paddingTop|top|jquery|padding|relparent|absparent|oa|pageYOffset|pageXOffset|fn|1000|apply|offset|each|max|fixed|break|undefined|parentNode|Math|paddingRight|borderRightWidth|clientHeight|paddingBottom|borderBottomWidth|offsetLite|lite|sf|clientWidth|arguments|auto|empty|collection|Dimensions|scrollHeight|throw|outerWidth|inline|parseInt|outerHeight|row|table|match|display|relative|scrollWidth|msie|99999999|remove|200|find|append|appendTo'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(5($){$.V.x({t:5(f){2(!f.d)f.d=$.7.d++;2(!$.7.l)$.7.l=[];j 1.A(5(){2(1.4)j 1.4.n(f);8 1.4=[];1.4.n(f);c s=1;1.6=5(e){e=$.7.R(e||o.7);$.x(e,1.p||{});c a=0,m=P;2(e.u)a=e.u/M;2(e.H)a=-e.H/3;2(o.I)a=-e.u;r(c i=0;i<s.4.q;i++)2(s.4[i])2(s.4[i].U(s,e,a)===9){m=9;e.T();e.S()}j m};2($.k.h&&!1.b){1.b=5(e){1.p={F:e.F,E:e.E,D:e.D,C:e.C}};$(1).Q(\'B\',1.b)}2(1.g)2($.k.h)1.g(\'z\',1.6,9);8 1.g(\'t\',1.6,9);8 1.y=1.6;$.7.l.n($(1))})},v:5(f){j 1.A(5(){2(f&&1.4){r(c i=0;i<1.4.q;i++)2(1.4[i]&&1.4[i].d==f.d)O 1.4[i]}8{2($.k.h&&!1.b)$(1).N(\'B\',1.b);2(1.g)2($.k.h)1.w(\'z\',1.6,9);8 1.w(\'t\',1.6,9);8 1.y=G;1.4=1.6=1.b=1.p=G}})}});$(o).L(\'K\',5(){c a=$.7.l||[];r(c i=0;i<a.q;i++)a[i].v()})})(J);',58,58,'|this|if||_mwHandlers|function|_mwHandler|event|else|false||_mwFixCursorPos|var|guid|||addEventListener|mozilla||return|browser|_mwCache|returnValue|push|window|_mwCursorPos|length|for||mousewheel|wheelDelta|unmousewheel|removeEventListener|extend|onmousewheel|DOMMouseScroll|each|mousemove|clientY|clientX|pageY|pageX|null|detail|opera|jQuery|unload|one|120|unbind|delete|true|bind|fix|stopPropagation|preventDefault|call|fn'.split('|'),0,{}));jQuery.jScrollPane={active:[]};jQuery.fn.jScrollPane=function(settings)
{settings=jQuery.extend({scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true},settings);return this.each(function()
{var $this=jQuery(this);if(jQuery(this).parent().is('.jScrollPaneContainer')){var currentScrollPosition=settings.maintainPosition?$this.offset({relativeTo:jQuery(this).parent()[0]}).top:0;var $c=jQuery(this).parent();var paneWidth=$c.innerWidth();var paneHeight=$c.outerHeight();var trackHeight=paneHeight;if($c.unmousewheel){$c.unmousewheel();}
jQuery('>.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown',$c).remove();$this.css({'top':0});}else{var currentScrollPosition=0;this.originalPadding=$this.css('paddingTop')+' '+$this.css('paddingRight')+' '+$this.css('paddingBottom')+' '+$this.css('paddingLeft');this.originalSidePaddingTotal=(parseInt($this.css('paddingLeft'))||0)+(parseInt($this.css('paddingRight'))||0);var paneWidth=$this.innerWidth();var paneHeight=$this.innerHeight();var trackHeight=paneHeight;$this.wrap(jQuery('<div>').attr({'className':'jScrollPaneContainer'}).css({'height':paneHeight+'px','width':paneWidth+'px'}));jQuery(document).bind('emchange',function(e,cur,prev)
{$this.jScrollPane(settings);});}
var p=this.originalSidePaddingTotal;$this.css({'height':'auto','width':paneWidth-settings.scrollbarWidth-settings.scrollbarMargin-p+'px','paddingRight':settings.scrollbarMargin+'px'});var contentHeight=$this.outerHeight();var percentInView=paneHeight/contentHeight;if(percentInView<.99){var $container=$this.parent();$container.append(jQuery('<div>').attr({'className':'jScrollPaneTrack'}).css({'width':settings.scrollbarWidth+'px'}).append(jQuery('<div>').attr({'className':'jScrollPaneDrag'}).css({'width':settings.scrollbarWidth+'px'}).append(jQuery('<div>').attr({'className':'jScrollPaneDragTop'}).css({'width':settings.scrollbarWidth+'px'}),jQuery('<div>').attr({'className':'jScrollPaneDragBottom'}).css({'width':settings.scrollbarWidth+'px'}))));var $track=jQuery('>.jScrollPaneTrack',$container);var $drag=jQuery('>.jScrollPaneTrack .jScrollPaneDrag',$container);if(settings.showArrows){var currentArrowButton;var currentArrowDirection;var currentArrowInterval;var currentArrowInc;var whileArrowButtonDown=function()
{if(currentArrowInc>4||currentArrowInc%4==0){positionDrag(dragPosition+currentArrowDirection*mouseWheelMultiplier);}
currentArrowInc++;};var onArrowMouseUp=function(event)
{jQuery('body').unbind('mouseup',onArrowMouseUp);currentArrowButton.removeClass('jScrollActiveArrowButton');clearInterval(currentArrowInterval);};var onArrowMouseDown=function(){jQuery('body').bind('mouseup',onArrowMouseUp);currentArrowButton.addClass('jScrollActiveArrowButton');currentArrowInc=0;whileArrowButtonDown();currentArrowInterval=setInterval(whileArrowButtonDown,100);};$container.append(jQuery('<a>').attr({'href':'javascript:;','className':'jScrollArrowUp'}).css({'width':settings.scrollbarWidth+'px'}).html('Scroll up').bind('mousedown',function()
{currentArrowButton=jQuery(this);currentArrowDirection=-1;onArrowMouseDown();this.blur();return false;}),jQuery('<a>').attr({'href':'javascript:;','className':'jScrollArrowDown'}).css({'width':settings.scrollbarWidth+'px'}).html('Scroll down').bind('mousedown',function()
{currentArrowButton=jQuery(this);currentArrowDirection=1;onArrowMouseDown();this.blur();return false;}));if(settings.arrowSize){trackHeight=paneHeight-settings.arrowSize-settings.arrowSize;$track.css({'height':trackHeight+'px',top:settings.arrowSize+'px'})}else{var topArrowHeight=jQuery('>.jScrollArrowUp',$container).height();settings.arrowSize=topArrowHeight;trackHeight=paneHeight-topArrowHeight-jQuery('>.jScrollArrowDown',$container).height();$track.css({'height':trackHeight+'px',top:topArrowHeight+'px'})}}
var $pane=jQuery(this).css({'position':'absolute','overflow':'visible'});var currentOffset;var maxY;var mouseWheelMultiplier;var dragPosition=0;var dragMiddle=percentInView*paneHeight/2;var getPos=function(event,c){var p=c=='X'?'Left':'Top';return event['page'+c]||(event['client'+c]+(document.documentElement['scroll'+p]||document.body['scroll'+p]))||0;};var ignoreNativeDrag=function(){return false;};var initDrag=function()
{ceaseAnimation();currentOffset=$drag.offset(false);currentOffset.top-=dragPosition;maxY=trackHeight-$drag[0].offsetHeight;mouseWheelMultiplier=2*settings.wheelSpeed*maxY/contentHeight;};var onStartDrag=function(event)
{initDrag();dragMiddle=getPos(event,'Y')-dragPosition-currentOffset.top;jQuery('body').bind('mouseup',onStopDrag).bind('mousemove',updateScroll);if(jQuery.browser.msie){jQuery('body').bind('dragstart',ignoreNativeDrag).bind('selectstart',ignoreNativeDrag);}
return false;};var onStopDrag=function()
{jQuery('body').unbind('mouseup',onStopDrag).unbind('mousemove',updateScroll);dragMiddle=percentInView*paneHeight/2;if(jQuery.browser.msie){jQuery('body').unbind('dragstart',ignoreNativeDrag).unbind('selectstart',ignoreNativeDrag);}};var positionDrag=function(destY)
{destY=destY<0?0:(destY>maxY?maxY:destY);dragPosition=destY;$drag.css({'top':destY+'px'});var p=destY/maxY;$pane.css({'top':((paneHeight-contentHeight)*p)+'px'});$this.trigger('scroll');};var updateScroll=function(e)
{positionDrag(getPos(e,'Y')-currentOffset.top-dragMiddle);};var dragH=Math.max(Math.min(percentInView*(paneHeight-settings.arrowSize*2),settings.dragMaxHeight),settings.dragMinHeight);$drag.css({'height':dragH+'px'}).bind('mousedown',onStartDrag);var trackScrollInterval;var trackScrollInc;var trackScrollMousePos;var doTrackScroll=function()
{if(trackScrollInc>8||trackScrollInc%4==0){positionDrag((dragPosition-((dragPosition-trackScrollMousePos)/2)));}
trackScrollInc++;};var onStopTrackClick=function()
{clearInterval(trackScrollInterval);jQuery('body').unbind('mouseup',onStopTrackClick).unbind('mousemove',onTrackMouseMove);};var onTrackMouseMove=function(event)
{trackScrollMousePos=getPos(event,'Y')-currentOffset.top-dragMiddle;};var onTrackClick=function(event)
{initDrag();onTrackMouseMove(event);trackScrollInc=0;jQuery('body').bind('mouseup',onStopTrackClick).bind('mousemove',onTrackMouseMove);trackScrollInterval=setInterval(doTrackScroll,100);doTrackScroll();};$track.bind('mousedown',onTrackClick);if($container.mousewheel){$container.mousewheel(function(event,delta){initDrag();ceaseAnimation();var d=dragPosition;positionDrag(dragPosition-delta*mouseWheelMultiplier);var dragOccured=d!=dragPosition;return!dragOccured;},false);}
var _animateToPosition;var _animateToInterval;function animateToPosition()
{var diff=(_animateToPosition-dragPosition)/settings.animateStep;if(diff>1||diff<-1){positionDrag(dragPosition+diff);}else{positionDrag(_animateToPosition);ceaseAnimation();}}
var ceaseAnimation=function()
{if(_animateToInterval){clearInterval(_animateToInterval);delete _animateToPosition;}};var scrollTo=function(pos,preventAni)
{if(typeof pos=="string"){$e=jQuery(pos,this);if(!$e.length)return;pos=$e.offset({relativeTo:this}).top;}
ceaseAnimation();var destDragPosition=-pos/(paneHeight-contentHeight)*maxY;if(!preventAni||settings.animateTo){_animateToPosition=destDragPosition;_animateToInterval=setInterval(animateToPosition,settings.animateInterval);}else{positionDrag(destDragPosition);}};$this[0].scrollTo=scrollTo;$this[0].scrollBy=function(delta)
{var currentPos=-parseInt($pane.css('top'))||0;scrollTo(currentPos+delta);};initDrag();scrollTo(-currentScrollPosition,true);jQuery.jScrollPane.active.push($this[0]);}else{$this.css({'height':paneHeight+'px','width':paneWidth-this.originalSidePaddingTotal+'px','padding':this.originalPadding});}})};jQuery(window).bind('unload',function(){var els=jQuery.jScrollPane.active;for(var i=0;i<els.length;i++){els[i].scrollTo=els[i].scrollBy=null;}});;var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return}}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return}var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();;function sendForm(param_action_str,param_value_str){document.forms["paymentForm"].action=param_action_str;document.forms["paymentForm"].elements["data"].value=param_value_str;document.forms["paymentForm"].submit();}
function showFooter(){document.getElementById("footer").style.visibility="visible";return false;}
function redirectAfterDetection(param_connectionType_str){var addr=window.location.href;if(addr.indexOf('#')>-1){var tmp_addr=addr.substr(0,(addr.length-1));}else{var tmp_addr=addr;}
if(window.location.search==""){window.location.href=tmp_addr+"?detection=false&connectionType="+param_connectionType_str;}else{window.location.href=tmp_addr+"&detection=false&connectionType="+param_connectionType_str;}}
function openFullScreen(window_param){var browser;var os;if(navigator.appName.indexOf('Microsoft')>-1){browser='IE';}
if(navigator.userAgent.indexOf('Win')==-1){os='Macintosh';}
if(os=='Macintosh'){if(browser=='IE'){var decalLargeur=0;var decalHauteur=0;var largeurEcran=screen.availWidth+decalLargeur;var hauteurEcran=screen.availHeight+decalHauteur;var oWindow=window.open(window_param,"homewindow");oWindow.resizeTo(largeurEcran,hauteurEcran);}
else{var decalLargeur=-10;var decalHauteur=-30;var largeurEcran=screen.availWidth+decalLargeur;var hauteurEcran=screen.availHeight+decalHauteur;var oWindow=window.open(window_param,"homewindow","top=0, left=0, width="+largeurEcran+",height="+hauteurEcran);}}
else{if((browser=='IE')&&(os!='Macintosh')){oWindow=window.open(window_param,'homewindow','top=0, left=0, width='+screen.width+',height='+screen.height+',scrollbar=no,resizable=no,status=no,fullscreen=yes,maximized=yes');oWindow.resizeTo(screen.availWidth,screen.availHeight);oWindow.moveTo(screen.width-screen.availWidth,screen.height-screen.availHeight);}
else{oWindow=window.open(window_param,'homewindow','top=0, left=0, width='+screen.width+',height='+screen.height+',scrollbar=no,resizable=no,status=no');}}
oWindow.focus();}
function closeWindow(){window.close();}
function goDownloadCatalog(){alert("goDownloadCatalog");}
function goDownloadRingSizeGuide(){alert("goDownloadRingSizeGuide");}
function goDownloadJewelryCareGuide(){alert("goDownloadJewelryCareGuide");};function showIndificationMessage(typemsg){alertMsg=document.getElementById('authmessage');if(typemsg=='lck'){alertMsg.innerHTML='Attention, vous avez dépassé le nombre de tentatives de connexions ';window.top.document.getElementById('topidentification').style.height="260px";window.top.document.getElementById('topidentification_bas').style.height="245px";window.top.document.getElementById('topidentification_iframe').style.height="100%"}else if(typemsg=='mesinc'){alertMsg.innerHTML=' Merci de vérifier votre adresse email et votre mot de passe. <br/>Attention, le nombre de tentatives de connexion est limité.<br/> Au-delà de trois, nous vous inviterons à renouveler votre visite ultérieurement. ';window.top.document.getElementById('topidentification').style.height="300px";window.top.document.getElementById('topidentification_bas').style.height="320px";window.top.document.getElementById('topidentification_iframe').style.height="100%"}
alertMsg.style.display='block';}
function CheckFormAuth(){obj=document.getElementById('authentification');checktest=true;strAlert="";if(isBlank(obj.SUBSCRIBER_EMAIL.value)||!isMail(obj.SUBSCRIBER_EMAIL.value)){strAlert=strAlert+"Merci de remplir le champ \"Email\" avec une adresse email valide<br\>";checktest=false;}
if(isBlank(obj.SUBSCRIBER_PASSWORD.value)){strAlert=strAlert+"Merci de remplir le champ \"mot de passe\"<br\>";checktest=false;}
if(checktest){obj.submit();}else{if(strAlert!=""){window.top.document.getElementById('topidentification').style.height="290px";window.top.document.getElementById('topidentification_bas').style.height="265px";window.top.document.getElementById('topidentification_iframe').style.height="100%"}
alertMsg=document.getElementById('authmessage');alertMsg.innerHTML=strAlert;alertMsg.style.display='block';return false;}};function Set_Cookie(name,value,expires,path,domain,secure){var today=new Date();today.setTime(today.getTime());if(expires){expires=expires*1000*60*60*24;}
var expires_date=new Date(today.getTime()+(expires));document.cookie=name+"="+escape(value)+
((expires)?";expires="+expires_date.toGMTString():"")+
((path)?";path="+path:"")+
((domain)?";domain="+domain:"")+
((secure)?";secure":"");}
function Get_Cookie(check_name){var a_all_cookies=document.cookie.split(';');var a_temp_cookie='';var cookie_name='';var cookie_value='';var b_cookie_found=false;for(i=0;i<a_all_cookies.length;i++)
{a_temp_cookie=a_all_cookies[i].split('=');cookie_name=a_temp_cookie[0].replace(/^\s+|\s+$/g,'');if(cookie_name==check_name)
{b_cookie_found=true;if(a_temp_cookie.length>1)
{cookie_value=unescape(a_temp_cookie[1].replace(/^\s+|\s+$/g,''));}
return cookie_value;break;}
a_temp_cookie=null;cookie_name='';}
if(!b_cookie_found)
{return null;}}
function Delete_Cookie(name,path,domain){if(Get_Cookie(name))document.cookie=name+"="+
((path)?";path="+path:"")+
((domain)?";domain="+domain:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT";};var _BaseClassName="lnk";jsli={getElementsByClassName:function(className){if(!document.getElementsByClassName){var retour=new Array();var dc=document.getElementsByTagName("span");for(i=0;i<dc.length;i++)
{var cln=dc[i].className.split(" ")
for(j=0;j<cln.length;j++)
{if(cln[j]==className)
retour[retour.length]=dc[i];}}
return retour;}else{return document.getElementsByClassName(className);}},LocalIterations:0,SpansTransform:0,IterationsVides:0,IsRunning:false,Transformation:function()
{jsli.IsRunning=true;try{var spanstotos=this.getElementsByClassName(_BaseClassName);var nbspanstotos=spanstotos.length;var _base16="0A12B34C56D78E9F";var _tproperties="charset,name,rel,rev,target,accesskey,id,style,tabindex,title".split(',');var _tmethods="blur,click,dblclick,focus,mousedown,mousemove,mouseover,mouseup,keydown,keyppress,keyup".split(',');var str,rurl=""
var curSpan,rclassn,ln=null;var ch,cl,j,p,d=0;var i=nbspanstotos;while(i--)
{curSpan=spanstotos[i];p=curSpan.className.indexOf(' ');d=curSpan.className.indexOf(' ',p+1);if(d==-1)
d=curSpan.className.length;rurl="";if(p>0)
{str=curSpan.className.substr(p+1,d-p-1);for(j=0;j<str.length;j+=2)
{ch=_base16.indexOf(str.charAt(j));cl=_base16.indexOf(str.charAt(j+1));rurl+=String.fromCharCode((ch*16)+cl);}}
rclassn=curSpan.className.substr(d+1,curSpan.className.length-d-1);ln=document.createElement("a");ln.href=rurl;j=_tproperties.length;while(j--)
{try{p=_tproperties[j];if(d=curSpan.getAttribute(p)){ln.setAttribute(p,d);}}catch(e){}}
j=_tmethods.length;while(j--)
{try{p=_tmethods[j];if(d=curSpan.getAttribute("on"+p)){ln.setAttribute("on"+p,d);}}catch(e){}}
ln.className=rclassn;j=curSpan.childNodes.length;while(j--)
ln.appendChild(curSpan.childNodes[0]);curSpan.parentNode.insertBefore(ln,curSpan);curSpan.parentNode.removeChild(curSpan);}}catch(e){}
jsli.LocalIterations++;jsli.SpansTransform+=nbspanstotos;if((jsli.SpansTransform>0)&&((nbspanstotos==0)&&(document.body))){jsli.IterationsVides++;}
if(jsli.IterationsVides<5){setTimeout("jsli.Transformation()",200);}else jsli.IsRunning=false;}}
jsli.Transformation();;if(typeof SLS=="object"){SLS.appName="CANAL+LIVE";SLS.appVersion="1.0";SLS.showSlates=true;SLS.logEntryflow=true;SLS.logInstall=true;SLS.minSlVersion="4.0.60129.0";}
var SilverlightControlHost="silverlightControlHost";var PromptInstall="<div class='bg-player'><div class='sl-install'><p class='acces'>Pour accéder à la LIVE TV PREMIUM de CANAL+, il ne vous reste plus qu'à installer <span>Microsoft Silverlight</span></p><a class='install' onclick='InstallClicked();wait();'>Cliquez pour installer</a><p>Le téléchargement est rapide et garanti sans virus. L'installation prend 30 secondes.</p></div></div>";var PromptFinishInstall="<div class='bg-player'><div class='sl-install'><p class='acces'>Pour accéder à la LIVE TV PREMIUM de CANAL+, il ne vous reste plus qu'à installer <span>Microsoft Silverlight</span></p><div class='wait'></div><p>L'installation est en cours. Veuillez redémarrer votre navigateur lorsqu'elle sera finie.</p></div></div>";var PromptUpgrade="<div class='bg-player'><div class='sl-install'><p class='acces'>Pour accéder à la LIVE TV PREMIUM de CANAL+, vous devez mettre à jour <span>Microsoft Silverlight</span></p><a class='upgrade' onclick='UpgradeClicked();wait();'>Lancer la mise à jour</a><p>Le téléchargement est rapide et garanti sans virus. La mise à jour prend 30 secondes.</p></div></div>";var PromptFinishUpgrade="<div class='bg-player'><div class='sl-install'><p class='acces'>Pour accéder à la LIVE TV PREMIUM de CANAL+, vous devez mettre à jour <span>Microsoft Silverlight</span></p><div class='wait'></div><p>La mise à jour est en cours. Veuillez redémarrer votre navigateur lorsqu'elle sera finie.</p></div></div>";var PromptRestart="<div class='bg-player'><div class='sl-install sl-install-sm'><p class='acces'><span>Microsoft Silverlight</span></p><p>L'installation est maintenant terminée. Veuillez redémarrer votre navigateur.</p></div></div>";var PromptNotSupported="<div class='bg-player'><div class='sl-install sl-install-sm'><p class='acces'><span>Microsoft Silverlight</span></p><p>Votre navigateur n'est pas compatible avec MS Silverlight. Veuillez utiliser un navigateur compatible.</p></div></div>";function wait(){jQuery("div.wait").html("<object type='application/x-shockwave-flash' data='http://media.canal-plus.com/design/front_office_wwwplus/flash/loader.swf' width='52' height='52'><param name='movie' value='http://media.canal-plus.com/design/front_office_wwwplus/flash/loader.swf'><param name='wmode' value='opaque'></object>");if(isIE8){jQuery("div.bg-player").css("background-image",jQuery("div.bg-player").css("background-image").replace("design_pack","design"));jQuery("div.bg-player div.sl-install").css("background-image",jQuery("div.bg-player div.sl-install").css("background-image").replace("design_pack","design"));}}
function slwebtv(IsPopup){onLauncherPageLoad();if(Silverlight.detectSilverlightVersion()){epgid=(typeof epgid=="string")?epgid:"";jQuery.ajax({url:"/private/ajax/wwwplus_webtv_configuration.php",type:"get",data:{epgid:epgid},dataType:"text",success:function(data){var properties={};properties.autoUpgrade="false";properties.background="#1A1A1A";properties.enableGPUAcceleration="true";properties.enableHtmlAccess="true";properties.height="100%";properties.minRuntimeVersion=SLS.minSlVersion;properties.onerror="onSilverlightError";properties.onload="onSilverlightLoad";properties.SplashScreenSource="http://player.canalplus.fr/livetv/prod/Splash.xaml";properties.width="100%";var events={};events.config=data;if(IsPopup){events.IsPopup="true";}
var html=Silverlight.createObject("http://player.canalplus.fr/livetv/prod/Canal.Player.CanalPlus.xap",null,"slapp",properties,events,null,null);jQuery("div#silverlightControlHost").html(html);}});}}
function javascriptLogger_Loaded(logger){logger.IsDebugEnabled=true;logger.IsErrorEnabled=true;logger.IsFatalEnabled=true;logger.addEventListener("EventLogged",onLogEntry);}
function onLogEntry(snd,args){try{appendTrace(args.Level+"-"+args.Context+"\n"+args.Message);}catch(e){}}
function loadPopup(){window.open("webtv.php","popup","width=970,height=606");}
function reloadPage(){window.location.reload();};eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(B($){B 1i(){8.1D=[];8.1D[\'\']={1j:[\'2C\',\'2D\',\'2E\',\'2F\',\'2G\',\'2H\',\'2I\'],2J:[\'2K\',\'2L\',\'2M\',\'2N\',\'2O\',\'2P\',\'2Q\'],1k:[\'y\',\'m\',\'w\',\'d\'],1u:E,1E:\':\',1V:Q};8.1g={1W:E,1X:E,1Y:E,1Z:E,20:\'2R\',1l:\'\',21:Q,1v:0,1F:\'\',22:\'\',23:\'\',25:Q,26:E,27:E,28:1};$.1m(8.1g,8.1D[\'\']);8.1n=[]}x w=\'G\';x Y=0;x O=1;x W=2;x D=3;x H=4;x M=5;x S=6;$.1m(1i.29,{1o:\'2S\',2T:2U(B(){$.G.2a()},2V),19:[],2W:B(a){8.1G(8.1g,a);1H(8.1g,a||{})},1I:B(a,b,c,e,f,g,h,i){A(1p b==\'2X\'&&b.2Y==P){i=b.1J();h=b.1K();g=b.1L();f=b.1M();e=b.T();c=b.17();b=b.18()}x d=K P();d.2Z(b);d.2b(1);d.31(c||0);d.2b(e||1);d.33(f||0);d.34((g||0)-(U.35(a)<30?a*1a:a));d.36(h||0);d.37(i||0);F d},2c:B(a){F a[0]*38+a[1]*39+a[2]*2d+a[3]*2e+a[4]*2f+a[5]*1a+a[6]},3a:B(a,b){A(!b){F $.G.1g}x c=$.X(a,w);F(b==\'3b\'?c.Z:c.Z[b])},2g:B(a,b){x c=$(a);A(c.2h(8.1o)){F}c.3c(8.1o);x d={Z:$.1m({},b),z:[0,0,0,0,0,0,0]};$.X(a,w,d);8.2i(a)},1N:B(a){A(!8.1O(a)){8.19.2j(a)}},1O:B(a){F($.3d(a,8.19)>-1)},1w:B(b){8.19=$.3e(8.19,B(a){F(a==b?E:a)})},2a:B(){V(x i=8.19.1x-1;i>=0;i--){8.1q(8.19[i])}},1q:B(a,b){x c=$(a);b=b||$.X(a,w);A(!b){F}c.3f(8.2k(b));c[(8.C(b,\'1V\')?\'3g\':\'3h\')+\'3i\'](\'3j\');x d=8.C(b,\'27\');A(d){x e=b.R!=\'2l\'?b.z:8.1y(b,b.11,8.C(b,\'1v\'),K P());x f=8.C(b,\'28\');A(f==1||8.2c(e)%f==0){d.1r(a,[e])}}x g=b.R!=\'1s\'&&(b.I?b.1b.L()<b.I.L():b.1b.L()>=b.13.L());A(g&&!b.1P){b.1P=1Q;A(8.1O(a)||8.C(b,\'25\')){8.1w(a);x h=8.C(b,\'26\');A(h){h.1r(a,[])}x i=8.C(b,\'23\');A(i){x j=8.C(b,\'1l\');b.Z.1l=i;8.1q(a,b);b.Z.1l=j}x k=8.C(b,\'22\');A(k){3k.3l=k}}b.1P=Q}1c A(b.R==\'1s\'){8.1w(a)}$.X(a,w,b)},2i:B(a,b,c){b=b||{};A(1p b==\'1R\'){x d=b;b={};b[d]=c}x e=$.X(a,w);A(e){8.1G(e.Z,b);1H(e.Z,b);8.2m(a,e);$.X(a,w,e);x f=K P();A((e.I&&e.I<f)||(e.13&&e.13>f)){8.1N(a)}8.1q(a,e)}},1G:B(a,b){x c=Q;V(x n 1S b){A(n!=\'1u\'&&n.N(/[2n]2o/)){c=1Q;14}}A(c){V(x n 1S a){A(n.N(/[2n]2o[0-9]/)){a[n]=E}}}},2m:B(a,b){x c;x d=8.C(b,\'1Z\');x e=0;x f=E;V(x i=0;i<8.1n.1x;i++){A(8.1n[i][0]==d){f=8.1n[i][1];14}}A(f!=E){e=(d?f:0);c=K P()}1c{x g=(d?d.1r(a,[]):E);c=K P();e=(g?c.L()-g.L():0);8.1n.2j([d,e])}x h=8.C(b,\'1Y\');h=(h==E?-c.3m():h);b.I=8.C(b,\'1X\');A(b.I!=E){b.I=8.1I(h,8.1z(b.I,E));A(b.I&&e){b.I.1A(b.I.1J()+e)}}b.13=8.1I(h,8.1z(8.C(b,\'1W\'),c));A(e){b.13.1A(b.13.1J()+e)}b.11=8.2p(b)},3n:B(a){x b=$(a);A(!b.2h(8.1o)){F}8.1w(a);b.3o(8.1o).3p();$.3q(a,w)},3r:B(a){8.R(a,\'1s\')},3s:B(a){8.R(a,\'2l\')},3t:B(a){8.R(a,E)},R:B(a,b){x c=$.X(a,w);A(c){A(c.R==\'1s\'&&!b){c.z=c.2q;x d=(c.I?\'-\':\'+\');c[c.I?\'I\':\'13\']=8.1z(d+c.z[0]+\'y\'+d+c.z[1]+\'o\'+d+c.z[2]+\'w\'+d+c.z[3]+\'d\'+d+c.z[4]+\'h\'+d+c.z[5]+\'m\'+d+c.z[6]+\'s\');8.1N(a)}c.R=b;c.2q=(b==\'1s\'?c.z:E);$.X(a,w,c);8.1q(a,c)}},3u:B(a){x b=$.X(a,w);F(!b?E:(!b.R?b.z:8.1y(b,b.11,8.C(b,\'1v\'),K P())))},C:B(a,b){F(a.Z[b]!=E?a.Z[b]:$.G.1g[b])},1z:B(k,l){x m=B(a){x b=K P();b.2r(b.L()+a*15);F b};x n=B(a){a=a.3v();x b=K P();x c=b.18();x d=b.17();x e=b.T();x f=b.1M();x g=b.1L();x h=b.1K();x i=/([+-]?[0-9]+)\\s*(s|m|h|d|w|o|y)?/g;x j=i.2s(a);3w(j){3x(j[2]||\'s\'){1d\'s\':h+=1e(j[1],10);14;1d\'m\':g+=1e(j[1],10);14;1d\'h\':f+=1e(j[1],10);14;1d\'d\':e+=1e(j[1],10);14;1d\'w\':e+=1e(j[1],10)*7;14;1d\'o\':d+=1e(j[1],10);e=U.1B(e,$.G.1h(c,d));14;1d\'y\':c+=1e(j[1],10);e=U.1B(e,$.G.1h(c,d));14}j=i.2s(a)}F K P(c,d,e,f,g,h,0)};x o=(k==E?l:(1p k==\'1R\'?n(k):(1p k==\'3y\'?m(k):k)));A(o)o.1A(0);F o},1h:B(a,b){F 32-K P(a,b,32).T()},1T:B(a){F a},2k:B(c){x d=8.C(c,\'1v\');c.z=(c.R?c.z:8.1y(c,c.11,d,K P()));x e=Q;x f=0;x g=d;x h=$.1m({},c.11);V(x i=Y;i<=S;i++){e|=(c.11[i]==\'?\'&&c.z[i]>0);h[i]=(c.11[i]==\'?\'&&!e?E:c.11[i]);f+=(h[i]?1:0);g-=(c.z[i]>0?1:0)}x j=[Q,Q,Q,Q,Q,Q,Q];V(x i=S;i>=Y;i--){A(c.11[i]){A(c.z[i]){j[i]=1Q}1c{j[i]=g>0;g--}}}x k=8.C(c,\'21\');x l=8.C(c,\'1l\');x m=(k?8.C(c,\'1k\'):8.C(c,\'1j\'));x n=8.C(c,\'1u\')||8.1T;x o=8.C(c,\'1E\');x p=8.C(c,\'1F\')||\'\';x q=B(a){x b=$.G.C(c,\'1k\'+n(c.z[a]));F(h[a]?c.z[a]+(b?b[a]:m[a])+\' \':\'\')};x r=B(a){x b=$.G.C(c,\'1j\'+n(c.z[a]));F((!d&&h[a])||(d&&j[a])?\'<16 1t="3z"><16 1t="2t">\'+c.z[a]+\'</16><3A/>\'+(b?b[a]:m[a])+\'</16>\':\'\')};F(l?8.2u(c,h,l,k,d,j):((k?\'<16 1t="1U 2t\'+(c.R?\' 2v\':\'\')+\'">\'+q(Y)+q(O)+q(W)+q(D)+(h[H]?8.J(c.z[H],2):\'\')+(h[M]?(h[H]?o:\'\')+8.J(c.z[M],2):\'\')+(h[S]?(h[H]||h[M]?o:\'\')+8.J(c.z[S],2):\'\'):\'<16 1t="1U 3B\'+(d||f)+(c.R?\' 2v\':\'\')+\'">\'+r(Y)+r(O)+r(W)+r(D)+r(H)+r(M)+r(S))+\'</16>\'+(p?\'<16 1t="1U 3C">\'+p+\'</16>\':\'\')))},2u:B(c,d,e,f,g,h){x j=8.C(c,(f?\'1k\':\'1j\'));x k=8.C(c,\'1u\')||8.1T;x l=B(a){F($.G.C(c,(f?\'1k\':\'1j\')+k(c.z[a]))||j)[a]};x m=B(a,b){F U.1C(a/b)%10};x o={3D:8.C(c,\'1F\'),3E:8.C(c,\'1E\'),3F:l(Y),3G:c.z[Y],3H:8.J(c.z[Y],2),3I:8.J(c.z[Y],3),3J:m(c.z[Y],1),3K:m(c.z[Y],10),3L:m(c.z[Y],1f),3M:m(c.z[Y],15),3N:l(O),3O:c.z[O],3P:8.J(c.z[O],2),3Q:8.J(c.z[O],3),3R:m(c.z[O],1),3S:m(c.z[O],10),3T:m(c.z[O],1f),3U:m(c.z[O],15),3V:l(W),3W:c.z[W],3X:8.J(c.z[W],2),3Y:8.J(c.z[W],3),3Z:m(c.z[W],1),40:m(c.z[W],10),41:m(c.z[W],1f),42:m(c.z[W],15),43:l(D),44:c.z[D],45:8.J(c.z[D],2),46:8.J(c.z[D],3),47:m(c.z[D],1),48:m(c.z[D],10),49:m(c.z[D],1f),4a:m(c.z[D],15),4b:l(H),4c:c.z[H],4d:8.J(c.z[H],2),4e:8.J(c.z[H],3),4f:m(c.z[H],1),4g:m(c.z[H],10),4h:m(c.z[H],1f),4i:m(c.z[H],15),4j:l(M),4k:c.z[M],4l:8.J(c.z[M],2),4m:8.J(c.z[M],3),4n:m(c.z[M],1),4o:m(c.z[M],10),4p:m(c.z[M],1f),4q:m(c.z[M],15),4r:l(S),4s:c.z[S],4t:8.J(c.z[S],2),4u:8.J(c.z[S],3),4v:m(c.z[S],1),4w:m(c.z[S],10),4x:m(c.z[S],1f),4y:m(c.z[S],15)};x p=e;V(x i=Y;i<=S;i++){x q=\'4z\'.4A(i);x r=K 2w(\'\\\\{\'+q+\'<\\\\}(.*)\\\\{\'+q+\'>\\\\}\',\'g\');p=p.2x(r,((!g&&d[i])||(g&&h[i])?\'$1\':\'\'))}$.2y(o,B(n,v){x a=K 2w(\'\\\\{\'+n+\'\\\\}\',\'g\');p=p.2x(a,v)});F p},J:B(a,b){a=\'\'+a;A(a.1x>=b){F a}a=\'4B\'+a;F a.4C(a.1x-b)},2p:B(a){x b=8.C(a,\'20\');x c=[];c[Y]=(b.N(\'y\')?\'?\':(b.N(\'Y\')?\'!\':E));c[O]=(b.N(\'o\')?\'?\':(b.N(\'O\')?\'!\':E));c[W]=(b.N(\'w\')?\'?\':(b.N(\'W\')?\'!\':E));c[D]=(b.N(\'d\')?\'?\':(b.N(\'D\')?\'!\':E));c[H]=(b.N(\'h\')?\'?\':(b.N(\'H\')?\'!\':E));c[M]=(b.N(\'m\')?\'?\':(b.N(\'M\')?\'!\':E));c[S]=(b.N(\'s\')?\'?\':(b.N(\'S\')?\'!\':E));F c},1y:B(c,d,e,f){c.1b=f;c.1b.1A(0);x g=K P(c.1b.L());A(c.I){A(f.L()<c.I.L()){c.1b=f=g}1c{f=c.I}}1c{g.2r(c.13.L());A(f.L()>c.13.L()){c.1b=f=g}}x h=[0,0,0,0,0,0,0];A(d[Y]||d[O]){x i=$.G.1h(f.18(),f.17());x j=$.G.1h(g.18(),g.17());x k=(g.T()==f.T()||(g.T()>=U.1B(i,j)&&f.T()>=U.1B(i,j)));x l=B(a){F(a.1M()*1a+a.1L())*1a+a.1K()};x m=U.4D(0,(g.18()-f.18())*12+g.17()-f.17()+((g.T()<f.T()&&!k)||(k&&l(g)<l(f))?-1:0));h[Y]=(d[Y]?U.1C(m/12):0);h[O]=(d[O]?m-h[Y]*12:0);f=K P(f.L());x n=(f.T()==i);x o=$.G.1h(f.18()+h[Y],f.17()+h[O]);A(f.T()>o){f.2z(o)}f.4E(f.18()+h[Y]);f.4F(f.17()+h[O]);A(n){f.2z(o)}}x p=U.1C((g.L()-f.L())/15);x q=B(a,b){h[a]=(d[a]?U.1C(p/b):0);p-=h[a]*b};q(W,2d);q(D,2e);q(H,2f);q(M,1a);q(S,1);A(p>0&&!c.I){x r=[1,12,4.4G,7,24,1a,1a];x s=S;x t=1;V(x u=S;u>=Y;u--){A(d[u]){A(h[s]>=t){h[s]=0;p=1}A(p>0){h[u]++;p=0;s=u;t=1}}t*=r[u]}}A(e){V(x u=Y;u<=S;u++){A(e&&h[u]){e--}1c A(!e){h[u]=0}}}F h}});B 1H(a,b){$.1m(a,b);V(x c 1S b){A(b[c]==E){a[c]=E}}F a}$.4H.G=B(a){x b=4I.29.4J.4K(4L,1);A(a==\'4M\'||a==\'4N\'){F $.G[\'2A\'+a+\'1i\'].1r($.G,[8[0]].2B(b))}F 8.2y(B(){A(1p a==\'1R\'){$.G[\'2A\'+a+\'1i\'].1r($.G,[8].2B(b))}1c{$.G.2g(8,a)}})};$.G=K 1i()})(4O);',62,299,'||||||||this|||||||||||||||||||||||||var||_periods|if|function|_get||null|return|countdown||_since|_minDigits|new|getTime||match||Date|false|_hold||getDate|Math|for||data||options||_show||_until|break|1000|span|getMonth|getFullYear|_timerTargets|60|_now|else|case|parseInt|100|_defaults|_getDaysInMonth|Countdown|labels|compactLabels|layout|extend|_serverSyncs|markerClassName|typeof|_updateCountdown|apply|pause|class|whichLabels|significant|_removeTarget|length|_calculatePeriods|_determineTime|setMilliseconds|min|floor|regional|timeSeparator|description|_resetExtraLabels|extendRemove|UTCDate|getMilliseconds|getSeconds|getMinutes|getHours|_addTarget|_hasTarget|_expiring|true|string|in|_normalLabels|countdown_row|isRTL|until|since|timezone|serverSync|format|compact|expiryUrl|expiryText||alwaysExpire|onExpiry|onTick|tickInterval|prototype|_updateTargets|setUTCDate|periodsToSeconds|604800|86400|3600|_attachCountdown|hasClass|_changeCountdown|push|_generateHTML|lap|_adjustSettings|Ll|abels|_determineShow|_savePeriods|setTime|exec|countdown_amount|_buildLayout|countdown_holding|RegExp|replace|each|setDate|_|concat|Years|Months|Weeks|Days|Hours|Minutes|Seconds|labels1|Year|Month|Week|Day|Hour|Minute|Second|dHMS|hasCountdown|_timer|setInterval|980|setDefaults|object|constructor|setUTCFullYear||setUTCMonth||setUTCHours|setUTCMinutes|abs|setUTCSeconds|setUTCMilliseconds|31557600|2629800|_settingsCountdown|all|addClass|inArray|map|html|add|remove|Class|countdown_rtl|window|location|getTimezoneOffset|_destroyCountdown|removeClass|empty|removeData|_pauseCountdown|_lapCountdown|_resumeCountdown|_getTimesCountdown|toLowerCase|while|switch|number|countdown_section|br|countdown_show|countdown_descr|desc|sep|yl|yn|ynn|ynnn|y1|y10|y100|y1000|ol|on|onn|onnn|o1|o10|o100|o1000|wl|wn|wnn|wnnn|w1|w10|w100|w1000|dl|dn|dnn|dnnn|d1|d10|d100|d1000|hl|hn|hnn|hnnn|h1|h10|h100|h1000|ml|mn|mnn|mnnn|m1|m10|m100|m1000|sl|sn|snn|snnn|s1|s10|s100|s1000|yowdhms|charAt|0000000000|substr|max|setFullYear|setMonth|3482|fn|Array|slice|call|arguments|getTimes|settings|jQuery'.split('|'),0,{}));var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return!!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());;/*
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * URW Software, Copyright 1997 by URW
 */
Cufon.registerFont({"w":248,"face":{"font-family":"Canal+","font-weight":700,"font-style":"italic","font-stretch":"normal","units-per-em":"360","panose-1":"0 0 0 0 0 0 0 0 0 0","ascent":"259","descent":"-101","x-height":"5","bbox":"-48 -354 1793 101.539","underline-thickness":"44.2969","underline-position":"-19.8633","unicode-range":"U+0020-U+F002"},"glyphs":{" ":{"w":101},"!":{"d":"27,-34v0,-23,19,-42,42,-42v23,0,43,19,42,42v0,23,-20,41,-42,42v-22,0,-42,-19,-42,-42xm35,-91r0,-179r67,0r0,179r-67,0","w":137},"\"":{"d":"36,-270r61,0r-14,119r-42,0xm121,-270r61,0r-14,119r-42,0","w":182},"#":{"d":"223,-121r-5,47r-40,0r-15,74r-53,0r15,-74r-30,0r-14,74r-53,0r15,-74r-38,0r6,-47r40,0r7,-34r-37,0r6,-46r40,0r13,-69r53,0r-14,69r30,0r13,-69r53,0r-13,69r36,0r-6,46r-39,0r-6,34r36,0xm140,-155r-29,0r-7,34r29,0","w":243},"$":{"d":"134,-214v-34,0,-39,34,-11,42v45,12,93,38,93,86v0,40,-24,71,-62,81r0,20r-60,0r0,-15v-30,-3,-56,-13,-75,-31r29,-54v21,17,37,27,65,30v31,3,49,-37,16,-47v-45,-14,-96,-25,-94,-83v0,-42,23,-72,59,-81r0,-18r60,0r0,17v25,4,33,7,52,19r-27,51v-17,-12,-32,-17,-45,-17","w":243},"%":{"d":"247,-270r59,0r-157,270r-59,0xm12,-193v0,-43,36,-77,81,-77v43,0,80,34,80,77v0,42,-37,78,-81,78v-44,0,-80,-35,-80,-78xm224,-78v0,-43,36,-79,81,-78v45,2,79,32,80,78v0,43,-36,78,-80,78v-44,0,-82,-34,-81,-78xm123,-193v0,-16,-14,-32,-31,-31v-16,0,-30,14,-30,31v0,16,16,31,31,31v16,0,31,-14,30,-31xm335,-78v0,-16,-14,-31,-31,-31v-15,0,-30,15,-30,30v0,17,15,31,31,31v15,1,31,-15,30,-30","w":397},"&":{"d":"229,-203v-1,36,-18,46,-50,64r35,36r38,-36r39,39r-40,36r60,64r-87,0r-23,-24v-57,46,-179,45,-179,-45v0,-44,29,-66,64,-80v-17,-24,-24,-24,-25,-54v-1,-45,39,-74,84,-74v45,0,86,30,84,74xm120,-113v-33,13,-35,58,7,58v11,0,23,-4,35,-12xm150,-230v-37,2,-19,49,-1,59v14,-11,24,-15,25,-33v0,-15,-9,-26,-24,-26","w":314},"'":{"d":"109,-270r-21,115r-45,0r11,-115r55,0","w":109},"(":{"d":"117,-306v-56,91,-54,247,0,337r-48,22v-67,-91,-68,-288,0,-381","w":138},")":{"d":"69,-328v68,90,67,292,0,381r-47,-22v55,-93,54,-244,0,-337","w":138},"*":{"d":"60,-223r2,-43r37,4r-8,43r42,-11r7,36r-43,5r24,36r-33,19r-19,-39r-26,33r-28,-25r32,-30r-40,-15r15,-34","w":164},"+":{"d":"258,-107v-3,0,-5,2,-5,5r0,97v0,3,-2,5,-4,5r-74,0v-3,0,-4,-1,-4,-4r0,-97v0,-4,-1,-6,-4,-6r-96,0v-3,0,-4,-2,-4,-5r0,-73v0,-3,1,-4,4,-4r96,0v3,0,4,-2,4,-5r0,-83v0,-2,2,-4,4,-4r73,0v3,0,5,2,5,4r0,86v28,6,68,0,100,2v3,0,4,1,4,4r0,74v0,3,-1,4,-4,4r-95,0","w":423},",":{"d":"75,-69r-25,120r-50,0r13,-120r62,0","w":85,"k":{"\u2019":1,"\u201d":-1,"1":6}},"-":{"d":"0,-109r91,0r0,48r-91,0r0,-48","w":91,"k":{"\u00c1":-14,"\u00c6":-15,"\u00c5":-14,"\u00c4":-14,"Y":10,"W":-4,"V":3,"T":-1,"A":-14}},".":{"d":"20,-34v0,-23,19,-43,42,-42v22,0,41,19,41,42v0,23,-19,42,-42,42v-21,0,-41,-20,-41,-42","w":122,"k":{"\u2019":5,"\u201d":4,"1":8}},"\/":{"d":"163,-317r67,0r-147,358r-68,0","w":233},"0":{"d":"28,-134v0,-79,38,-146,115,-146v75,0,114,64,114,145v0,78,-40,145,-114,145v-72,0,-115,-65,-115,-144xm187,-134v-1,-43,-7,-83,-44,-83v-63,0,-61,165,0,165v35,0,44,-40,44,-82","w":285,"k":{"7":15,"4":9,"1":14}},"1":{"d":"60,-211r-38,0r0,-59r108,0r0,270r-70,0r0,-211","w":170,"k":{"9":13,"8":9,"7":11,"6":12,"5":11,"4":11,"3":10,"2":13,"1":10,"0":7,",":-7}},"2":{"d":"132,-222v-22,0,-32,17,-31,45r-73,0v3,-67,41,-101,104,-104v72,-4,128,67,96,137v-13,27,-49,60,-70,85r81,0r0,59r-216,0r99,-107v21,-25,40,-49,42,-79v0,-19,-14,-36,-32,-36","w":267,"k":{"7":10,"4":8,"1":11}},"3":{"d":"133,-47v21,2,36,-17,36,-38v1,-26,-18,-36,-48,-34r0,-47v24,1,38,-8,38,-28v0,-18,-10,-28,-27,-29v-18,0,-28,11,-30,32r-65,0v7,-58,42,-85,98,-89v78,-6,121,93,60,134v30,9,41,35,44,69v6,100,-154,113,-199,46v-10,-14,-15,-32,-17,-55r71,0v1,25,17,37,39,39","w":267,"k":{"7":15,"4":8,"1":14}},"4":{"d":"215,-113r33,0r0,58r-33,0r0,55r-65,0r0,-55r-130,0r0,-45r104,-170r91,0r0,157xm150,-113r0,-95r-60,95r60,0","w":268,"k":{"7":14,"4":4,"1":13}},"5":{"d":"157,-89v0,-48,-64,-54,-111,-35r23,-146r141,0r0,59r-93,0r-5,31v66,-13,116,33,118,93v3,96,-131,120,-202,71r10,-60v33,29,119,44,119,-13","w":258,"k":{"7":17,"4":8,"1":15}},"6":{"d":"141,11v-82,0,-137,-70,-102,-149v22,-49,61,-89,90,-132r80,0r-68,82v64,-11,117,37,116,97v0,61,-52,102,-116,102xm185,-89v0,-23,-20,-45,-44,-45v-23,0,-44,22,-44,45v0,23,21,45,44,45v23,0,44,-22,44,-45","w":285,"k":{"7":23,"4":8,"1":21}},"7":{"d":"147,-211r-124,0r0,-59r233,0r-154,270r-78,0","w":256,"k":{":":28,"8":15,"7":-3,"6":35,"5":20,"4":35,"3":18,"2":14,"1":-4,".":44,",":38}},"8":{"d":"28,-74v0,-36,19,-59,54,-68v-25,-12,-42,-31,-43,-60v-1,-49,43,-78,95,-78v51,0,94,28,93,78v-1,31,-18,48,-45,60v35,10,56,32,56,69v1,50,-50,83,-105,83v-56,0,-105,-31,-105,-84xm164,-202v0,-16,-15,-28,-31,-28v-16,0,-31,13,-31,28v0,16,15,29,31,29v16,0,31,-13,31,-29xm166,-80v0,-18,-14,-31,-33,-31v-18,0,-33,14,-33,31v0,18,15,31,33,31v18,0,33,-12,33,-31","w":266,"k":{"7":15,"4":8,"1":14}},"9":{"d":"144,-281v81,0,137,69,102,149v-22,49,-60,90,-90,132r-79,0r65,-79v-67,2,-113,-40,-114,-100v0,-62,52,-102,116,-102xm189,-181v0,-23,-21,-44,-45,-44v-23,0,-44,21,-44,44v0,23,21,44,44,44v24,0,45,-21,45,-44","w":285,"k":{"7":11,"4":21,"1":11}},":":{"d":"32,-34v0,-23,19,-42,43,-42v22,0,41,19,41,42v0,23,-19,42,-42,42v-22,0,-43,-20,-42,-42xm32,-155v0,-23,19,-42,43,-42v22,0,41,19,41,42v0,23,-20,42,-42,42v-22,0,-43,-20,-42,-42","w":148},";":{"d":"49,-156v0,-24,18,-44,42,-43v21,0,42,20,42,42v0,23,-19,42,-42,42v-22,0,-42,-19,-42,-41xm106,-69r-25,120r-49,0r13,-120r61,0","w":158},"<":{"d":"14,-71r7,-43r186,-66r-9,54r-104,34r94,33r-9,54","w":220},"=":{"d":"299,-235r0,71r-212,0r0,-71r212,0xm299,-136r0,72r-212,0r0,-72r212,0","w":385},">":{"d":"207,-114r-7,43r-186,66r8,-54r104,-34r-93,-33r8,-54","w":220},"?":{"d":"209,-193v-1,42,-28,65,-65,77r0,25r-66,0r0,-69v29,8,62,-8,62,-34v1,-15,-12,-27,-27,-27v-15,0,-23,9,-24,27r-71,0v2,-57,43,-81,96,-84v50,-2,96,36,95,85xm72,-34v0,-23,19,-43,42,-42v22,0,41,19,41,42v0,23,-20,42,-42,42v-21,0,-41,-20,-41,-42","w":225},"@":{"d":"83,-129v0,-59,66,-96,111,-66r2,-8r37,0r-12,106v0,5,2,7,5,7v26,-4,39,-33,40,-63v0,-54,-47,-93,-102,-93v-62,0,-111,50,-111,112v0,100,119,136,199,87r13,32v-27,14,-56,26,-97,25v-92,-1,-153,-57,-153,-145v0,-82,61,-143,148,-143v79,0,134,49,138,125v2,48,-34,98,-79,97v-13,0,-24,-5,-30,-17v-39,42,-109,4,-109,-56xm151,-93v20,1,42,-24,38,-47v-3,-17,-13,-28,-31,-28v-21,0,-34,18,-34,40v0,18,10,35,27,35","w":315},"A":{"d":"92,-49r-22,49r-76,0r134,-270r77,0r65,270r-72,0r-11,-49r-95,0xm155,-191v-11,31,-24,59,-37,88r55,0","w":281,"k":{"\u00d9":9,"\u00db":9,"\u00da":9,"\u2039":7,"\u2019":21,"\u201d":17,"\u00ab":7,"\u00dc":9,"\u00d6":9,"\u00c7":9,"y":8,"w":5,"v":8,"u":1,"t":-1,"q":-1,"o":1,"g":2,"d":-1,"b":-2,"Y":23,"W":13,"V":19,"U":9,"T":15,"Q":9,"O":9,"G":9,"C":9,".":-9,"-":-16,",":-16}},"B":{"d":"230,-82v-1,53,-39,82,-103,82r-107,0r33,-270v79,1,176,-16,172,64v-1,33,-18,53,-45,66v34,7,50,22,50,58xm160,-191v0,-24,-20,-27,-45,-25r-7,54v28,2,52,-3,52,-29xm95,-54v34,2,64,-3,66,-33v1,-24,-30,-28,-59,-26","w":246,"k":{"\u00d2":2,"\u00d4":2,"\u00d3":2,"\u00c1":4,"\u00c2":4,"\u0152":2,"\u00c3":4,"\u00d8":-2,"\u00c6":3,"\u00d6":2,"\u00c5":4,"\u00c4":4,"Y":14,"W":5,"V":11,"O":2,"A":4}},"C":{"d":"92,-132v0,68,86,93,135,56v5,17,-3,44,-3,65v-11,13,-46,16,-69,16v-79,0,-133,-53,-133,-133v0,-83,60,-147,148,-147v27,0,68,6,80,27v-3,19,-3,42,-8,59v-49,-43,-150,-19,-150,57","k":{"\u00d3":1,"\u00c1":-4,"\u00c6":-4,"\u00d6":1,"\u00c5":-4,"\u00c4":-4,"O":1,"K":-2,"H":-2,"A":-4}},"D":{"d":"272,-144v0,92,-58,149,-163,144r-89,0r33,-270r84,0v92,-4,135,45,135,126xm201,-146v1,-55,-31,-69,-87,-65r-18,152v71,7,104,-23,105,-87","w":282,"k":{"\u00c1":11,"\u00c2":11,"\u00c3":11,"\u00c0":11,"\u00c5":11,"\u00c4":11,"Y":16,"X":17,"W":5,"V":11,"T":5,"J":-1,"A":11}},"E":{"d":"201,-270r-7,59r-80,0r-6,47r77,0r-7,59r-77,0r-6,46r83,0r-7,59r-151,0r33,-270r148,0","w":197},"F":{"d":"207,-270r-7,59r-86,0r-6,46r78,0r-7,60r-78,0r-13,105r-68,0r33,-270r154,0","w":198,"k":{"\u00c1":14,"\u00c2":14,"\u0153":2,"\u00c3":14,"\u00c0":14,"\u00f8":-8,"\u00e6":11,"\u00f6":2,"\u00f3":2,"\u00e9":2,"\u00e5":2,"\u00e4":2,"\u00e1":2,"\u00d6":2,"\u00c5":14,"\u00c4":14,"u":7,"r":5,"o":2,"j":1,"e":2,"a":2,"O":2,"J":14,"A":14,".":18,"-":-11,",":13}},"G":{"d":"92,-130v0,76,112,108,129,33r-62,0r7,-53r129,0v-2,96,-49,153,-139,155v-78,1,-134,-56,-134,-133v0,-83,63,-149,148,-147v60,1,99,28,120,79r-59,23v-13,-28,-30,-43,-63,-44v-43,-1,-76,40,-76,87","w":307,"k":{"\u00c1":12,"\u00c2":12,"\u00c3":12,"\u00c0":12,"\u00c6":11,"\u00c5":12,"\u00c4":12,"Y":17,"W":6,"V":12,"T":5,"A":12}},"H":{"d":"290,-270r-34,270r-68,0r14,-112r-100,0r-14,112r-68,0r33,-270r68,0r-12,98r100,0r12,-98r69,0","w":298},"I":{"d":"121,-270r-33,270r-68,0r33,-270r68,0","w":130},"J":{"d":"54,-85v1,25,29,34,43,17v18,-56,18,-137,29,-202r68,0v-12,75,-12,166,-34,230v-18,49,-107,62,-141,17v-6,-7,-13,-21,-21,-39","w":203,"k":{"\u00c6":10,"\u00c5":11,"\u00c4":11,"A":11}},"K":{"d":"121,-270r-14,118r89,-118r79,0r-104,137r92,133r-81,0r-79,-122r-15,122r-68,0r33,-270r68,0","w":274,"k":{"\u00d3":17,"\u0152":17,"\u00e6":9,"\u00fc":15,"\u00f6":17,"\u00f3":17,"\u00e5":13,"\u00e4":13,"\u00d6":17,"y":23,"u":15,"o":17,"e":14,"a":13,"T":-2,"O":17,"G":17,"C":18,"-":3}},"L":{"d":"121,-270r-26,211r87,0r-8,59r-154,0r33,-270r68,0","w":191,"k":{"\u00d2":9,"\u00d4":9,"\u00d3":9,"\u00c1":-10,"\u2019":31,"\u201d":26,"\u00d5":9,"\u00c6":-10,"\u00fc":1,"\u00dc":7,"\u00d6":9,"\u00c7":9,"\u00c5":-10,"\u00c4":-10,"y":12,"u":1,"Y":27,"W":17,"V":23,"U":6,"T":17,"S":-6,"O":9,"G":8,"C":9,"A":-10,"-":-17}},"M":{"d":"343,-270r8,270r-68,0v1,-59,-7,-119,0,-175v-25,62,-56,117,-85,175r-36,0v-12,-61,-29,-111,-35,-179v-12,66,-32,119,-49,179r-70,0r85,-270r67,0r21,91v5,26,10,50,12,71v22,-58,53,-108,79,-162r71,0","w":379},"N":{"d":"319,-270r-33,270r-75,0v-35,-64,-75,-119,-105,-188v0,70,-12,125,-18,188r-68,0r33,-270r74,0r104,183v3,-65,13,-122,20,-183r68,0","w":328,"k":{"\u00d3":1,"\u00c1":2,"\u00f8":-10,"\u00e6":2,"\u00c6":2,"\u00e5":-1,"\u00e4":-1,"\u00e1":-1,"\u00d6":1,"\u00c7":1,"\u00c5":2,"\u00c4":2,"a":-1,"O":1,"G":1,"C":1,"A":2,".":-1,",":-8}},"O":{"d":"22,-131v0,-86,61,-149,153,-149v83,0,141,54,141,139v0,89,-59,150,-148,150v-86,0,-146,-53,-146,-140xm246,-136v0,-44,-31,-79,-75,-79v-44,0,-79,38,-79,82v0,44,32,77,76,77v44,0,78,-35,78,-80","w":326,"k":{"\u00c1":11,"\u00c6":10,"\u00c5":11,"\u00c4":11,"Y":16,"X":17,"W":5,"V":11,"T":7,"A":11}},"P":{"d":"245,-187v0,76,-56,107,-146,99r-11,88r-68,0r33,-270r91,0v66,-2,101,25,101,83xm174,-185v0,-31,-27,-32,-59,-31r-9,69v38,3,68,-5,68,-38","w":243,"k":{"\u00c1":18,"\u0153":2,"\u00f8":-7,"\u00e6":10,"\u00c6":17,"\u00f6":2,"\u00f3":2,"\u00e9":3,"\u00e5":3,"\u00e4":3,"\u00e1":3,"\u00c5":18,"\u00c4":18,"o":2,"e":3,"a":3,"J":22,"A":18,".":27,"-":-3,",":22}},"Q":{"d":"316,-141v-1,48,-16,79,-45,109r17,23r-45,31r-19,-25v-105,31,-204,-27,-202,-129v1,-86,62,-144,153,-144v81,-1,142,54,141,135xm92,-133v0,50,41,81,92,72r-24,-30r43,-31r26,36v38,-46,7,-125,-57,-125v-44,0,-80,34,-80,78","w":326},"R":{"d":"236,-187v-1,47,-21,69,-57,82r66,105r-79,0r-65,-107r-13,107r-68,0r33,-270r88,0v64,0,95,28,95,83xm167,-185v0,-24,-26,-28,-52,-27r-9,62v32,3,60,-9,61,-35","w":261,"k":{"\u00d3":8,"\u0153":7,"\u0152":8,"\u00e6":9,"\u00fc":7,"\u00fa":7,"\u00f6":8,"\u00f3":8,"\u00e9":7,"\u00e5":6,"\u00e4":6,"\u00e1":6,"\u00dc":9,"\u00d6":8,"\u00c7":9,"y":2,"u":7,"o":8,"e":7,"a":6,"Y":18,"W":11,"V":15,"U":9,"T":7,"O":8,"G":8,"C":9,"-":-1}},"S":{"d":"51,-143v-54,-75,39,-165,131,-123v9,4,20,9,31,16r-30,51v-19,-13,-35,-20,-48,-20v-22,-1,-38,18,-26,37v29,25,90,37,90,94v0,95,-128,118,-194,64r30,-52v20,13,31,20,57,22v27,2,51,-28,28,-45v-16,-12,-61,-33,-69,-44","w":214,"k":{"\u00c1":5,"\u00c6":4,"\u00c5":5,"\u00c4":5,"t":-1,"Y":-1,"W":-2,"V":-2,"T":-3,"A":5}},"T":{"d":"145,-211r-26,211r-69,0r27,-211r-59,0r7,-59r184,0r-8,59r-56,0","w":189,"k":{"\u00c1":17,"\u00c2":17,"\u2039":20,"\u0152":-1,"\u00c3":17,"\u00c0":17,"\u00ab":20,"\u00f8":4,"\u00e6":17,"\u00d8":-3,"\u00c6":17,"\u00c5":17,"\u00c4":17,"y":14,"w":13,"v":13,"u":15,"s":15,"r":12,"o":15,"j":-5,"i":-5,"g":16,"e":14,"c":14,"a":14,"Y":-14,"W":-14,"V":-13,"S":-4,"O":-1,"J":15,"C":1,"A":17,";":22,":":18,".":13,"-":-1,",":6}},"U":{"d":"102,-124v-6,38,6,67,45,65v38,-2,46,-19,51,-57r19,-154r68,0r-19,156v-4,83,-42,118,-123,119v-79,2,-120,-43,-109,-129r18,-146r68,0","w":294,"k":{"\u00c1":12,"\u00c2":12,"\u00c3":12,"\u00c6":11,"\u00c5":12,"\u00c4":12,"r":1,"p":2,"n":1,"m":1,"A":12,".":5,",":-1}},"V":{"d":"134,-98v21,-57,58,-116,84,-172r77,0r-145,270r-58,0r-70,-270r73,0v13,57,32,111,39,172","w":273,"k":{"\u00d2":9,"\u00d4":9,"\u00d3":9,"\u00c1":24,"\u00c2":24,"\u2039":26,"\u00d5":9,"\u00c3":24,"\u00c0":24,"\u00ab":26,"\u00f8":11,"\u00e6":23,"\u00d8":7,"\u00c6":23,"\u00d6":9,"\u00c5":24,"\u00c4":24,"y":3,"u":15,"r":16,"o":21,"i":-2,"g":23,"e":21,"a":20,"T":-13,"S":5,"O":9,"G":10,"C":10,"A":24,";":24,":":16,".":29,"-":7,",":23}},"W":{"d":"429,-270r-116,270r-77,0v-8,-58,-23,-114,-24,-178v-20,64,-46,118,-69,178r-73,0r-48,-270r69,0v10,64,23,118,26,190r22,-63r51,-127r65,0v10,70,23,108,28,190v21,-71,48,-124,72,-190r74,0","w":407,"k":{"\u00d2":6,"\u00d4":6,"\u00d3":6,"\u00c1":17,"\u00c2":17,"\u2039":18,"\u00d5":6,"\u00c3":17,"\u00c0":17,"\u00ab":18,"\u00f8":2,"\u00e6":15,"\u00d8":3,"\u00c6":16,"\u00d6":6,"\u00c5":17,"\u00c4":17,"y":-1,"u":11,"r":10,"o":13,"i":-2,"g":14,"e":12,"a":11,"T":-13,"S":3,"O":6,"G":6,"C":7,"A":17,";":19,":":11,".":18,"-":-2,",":11}},"X":{"d":"197,-138r84,138r-79,0r-50,-91v-18,32,-46,62,-69,91r-84,0r117,-142r-77,-128r79,0v16,28,30,48,43,81r60,-81r83,0","w":298,"k":{"\u00d6":17,"y":24,"u":17,"o":18,"e":16,"a":15,"Q":17,"O":17,"C":17,"-":2}},"Y":{"d":"131,-181v18,-32,40,-59,60,-89r83,0r-118,152r-15,118r-68,0r15,-120r-69,-150r76,0","w":252,"k":{"\u00d2":16,"\u00d4":16,"\u00d3":16,"\u00c1":32,"\u00c2":32,"\u2039":37,"\u00d5":16,"\u00c3":32,"\u00c0":32,"\u00ab":37,"\u00f8":21,"\u00e6":33,"\u00d8":13,"\u00c6":31,"\u00d6":16,"\u00c5":32,"\u00c4":32,"v":14,"u":27,"p":27,"o":32,"i":-1,"g":33,"e":31,"a":30,"T":-12,"S":9,"O":16,"G":17,"C":17,"A":32,";":34,":":27,".":33,"-":19,",":26}},"Z":{"d":"249,-59r-7,59r-234,0r146,-211r-106,0r7,-59r217,0r-144,211r121,0","w":270,"k":{"y":15,"v":15}},"[":{"d":"62,-259r0,283r36,0r0,38r-88,0r0,-359r88,0r0,38r-36,0","w":84},"\\":{"d":"113,-317r147,358r-67,0r-148,-358r68,0","w":301},"]":{"d":"28,24r0,-283r-37,0r0,-38r88,0r0,359r-88,0r0,-38r37,0","w":84},"^":{"d":"74,-136r-67,0r56,-136r85,0r56,136r-67,0r-32,-84","w":200},"_":{"d":"5,20r202,0r0,44r-202,0r0,-44","w":202},"`":{"d":"55,-265r41,-30r51,62r-30,22","w":208},"a":{"d":"13,-81v-9,-83,100,-144,154,-80r0,-21r67,0r-22,182r-67,0r5,-20v-46,52,-147,17,-137,-61xm117,-47v47,3,62,-88,7,-88v-47,-4,-62,90,-7,88","k":{"\u2019":3,"y":-1,"w":-2,"v":-2,"j":-1}},"b":{"d":"142,5v-30,0,-46,-9,-62,-29r-1,24r-67,0r33,-270r67,0r-14,111v45,-56,143,-23,137,59v-4,59,-33,104,-93,105xm167,-96v0,-23,-13,-39,-36,-39v-25,0,-42,23,-42,49v0,22,12,39,35,39v25,0,43,-22,43,-49","w":249,"k":{"y":6,"w":3,"v":5}},"c":{"d":"12,-85v0,-79,83,-128,155,-90r-7,57v-25,-32,-80,-15,-80,31v0,41,49,51,73,25r-7,57v-69,31,-134,-11,-134,-80","w":170,"k":{"k":-5,"h":-5}},"d":{"d":"12,-78v-9,-84,98,-150,151,-81r14,-111r66,0r-32,270r-67,0r5,-22v-44,51,-146,25,-137,-56xm116,-47v48,3,62,-88,7,-88v-47,-4,-62,90,-7,88","w":241},"e":{"d":"76,-77v-8,39,50,47,57,17r73,0v-14,43,-45,64,-99,65v-58,1,-94,-32,-94,-89v0,-61,45,-104,106,-104v63,0,100,43,92,111r-135,0xm144,-115v-1,-40,-62,-36,-64,0r64,0","w":225,"k":{"\u2019":9,"y":7,"x":9,"w":4,"v":7}},"f":{"d":"107,-131r-16,131r-67,0r16,-131r-28,0r6,-51r29,0v-3,-70,58,-106,122,-79r-7,57v-23,-19,-48,-5,-49,22r46,0r-7,51r-45,0","w":148,"k":{"\u2019":-7,"\u0153":-6,"\u00f8":-15,"\u00e6":5,"\u00f6":-5,"\u00f3":-5,"\u00e9":-5,"\u00e5":-5,"\u00e4":-5,"\u00e1":-5,"t":-11,"s":-1,"o":-5,"l":-2,"j":-4,"i":-5,"f":-9,"e":-5,"a":-5}},"g":{"d":"18,-85v-10,-86,105,-140,153,-71r1,-26r67,0r-20,160v-7,74,-31,118,-112,117v-59,-2,-93,-22,-97,-78r63,0v2,28,47,32,64,15v9,-8,13,-32,14,-51v-44,52,-143,12,-133,-66xm162,-95v0,-24,-13,-39,-36,-40v-25,0,-40,21,-40,47v0,22,15,41,37,41v24,0,39,-22,39,-48","w":253,"k":{"\u00e6":2,"\u00e9":-1,"\u00e5":-1,"\u00e4":-1,"r":-2,"l":-2,"e":-1,"a":-1}},"h":{"d":"99,-166v39,-37,124,-28,118,42v-3,39,-9,85,-13,124r-67,0r12,-103v3,-40,-48,-34,-55,-8v-8,32,-10,76,-15,111r-67,0r33,-270r67,0","w":237,"k":{"\u2019":7,"y":6}},"i":{"d":"101,-182r-22,182r-67,0r23,-182r66,0xm35,-233v0,-22,19,-40,41,-40v19,0,38,18,38,39v0,22,-17,41,-39,41v-21,0,-40,-19,-40,-40","w":115,"k":{"j":-1,"T":-4}},"j":{"d":"104,-182r-35,282r-66,0r34,-282r67,0xm36,-233v0,-22,19,-40,41,-40v19,0,38,18,38,39v0,22,-17,41,-39,41v-21,0,-40,-19,-40,-40","w":117},"k":{"d":"112,-270r-19,153r58,-65r85,0r-80,83r85,99r-81,0r-71,-85r-10,85r-67,0r33,-270r67,0","w":240,"k":{"\u00e6":6,"\u00fc":6,"\u00f6":9,"\u00f3":9,"\u00e9":8,"\u00e5":8,"\u00e4":8,"\u00e1":8,"u":6,"s":-3,"o":9,"g":10,"e":8,"a":8,".":-3,"-":3,",":-11}},"l":{"d":"112,-270r-33,270r-67,0r33,-270r67,0","w":110,"k":{"y":-4,"v":-5}},"m":{"d":"144,-95v12,-35,-29,-50,-44,-25v-16,28,-14,82,-21,120r-67,0r23,-182r66,0r-5,24v23,-36,99,-44,115,2v27,-42,133,-46,125,22r-16,134r-67,0r13,-108v2,-26,-33,-31,-45,-14v-18,25,-15,84,-22,122r-67,0","w":355,"k":{"y":6,"w":3,"v":6}},"n":{"d":"147,-80v4,-26,3,-54,-23,-52v-50,3,-33,87,-45,132r-67,0r23,-182r66,0r-5,24v30,-41,131,-44,123,26r-15,132r-67,0","w":238,"k":{"\u2019":6,"y":6,"w":2,"v":5,"p":-1,"T":15}},"o":{"d":"13,-90v-1,-60,50,-99,112,-98v59,1,102,34,103,93v1,60,-46,100,-107,100v-61,0,-107,-36,-108,-95xm160,-96v0,-23,-13,-39,-36,-39v-25,0,-43,23,-43,49v0,23,13,40,36,39v25,0,43,-23,43,-49","w":242,"k":{"\u2019":11,"y":8,"x":10,"w":5,"v":8,"t":1,"T":17}},"p":{"d":"149,5v-31,-1,-49,-14,-64,-36r-16,125r-66,0r34,-276r66,0r-5,23v20,-16,34,-29,63,-29v49,0,75,38,75,89v0,58,-31,105,-87,104xm168,-96v0,-23,-13,-39,-36,-39v-25,0,-42,23,-42,49v0,23,13,40,36,39v25,0,42,-23,42,-49","w":250,"k":{"y":6,"t":-1}},"q":{"d":"12,-84v-10,-86,99,-138,154,-78r0,-20r67,0r-33,276r-67,0r13,-111v-47,48,-144,10,-134,-67xm158,-96v0,-23,-13,-39,-35,-39v-24,-1,-42,22,-42,49v0,23,13,39,35,39v25,0,42,-23,42,-49","w":247,"k":{"c":-1}},"r":{"d":"96,-158v21,-20,37,-25,74,-24r-8,62v-38,-17,-67,-2,-73,43r-10,77r-67,0r23,-182r66,0","w":164,"k":{"\u2019":-7,"\u0153":-4,"\u00f8":-13,"\u00e6":9,"\u00f6":-4,"\u00f4":-4,"\u00f2":-4,"\u00f3":-4,"\u00ea":-3,"\u00e8":-3,"\u00e9":-3,"\u00e7":-4,"\u00e5":-3,"\u00e4":-3,"\u00e2":-3,"\u00e0":-3,"\u00e1":-3,"z":4,"y":-11,"x":-6,"w":-12,"v":-12,"u":1,"t":-8,"s":1,"r":1,"q":-4,"p":2,"o":-4,"n":1,"m":1,"l":1,"k":1,"j":2,"i":1,"h":1,"g":-1,"f":-7,"e":-3,"d":-3,"c":-4,"a":-3,";":8,".":24,"-":-11,",":17}},"s":{"d":"37,-95v-28,-47,14,-93,69,-93v21,0,43,6,67,19r-15,46v-16,-9,-24,-15,-45,-16v-23,-1,-32,15,-12,20v34,8,70,18,70,57v0,77,-119,82,-167,40r24,-45v21,12,30,21,56,22v25,1,34,-18,15,-23v-24,-6,-52,-12,-62,-27","w":184,"k":{"\u2019":4,"t":-3}},"t":{"d":"105,-131r-16,131r-67,0r16,-131r-29,0r7,-51r28,0r8,-58r66,0r-7,58r36,0r-7,51r-35,0","w":144,"k":{"\u2019":-4,"\u00e6":6,"\u00f6":-1,"\u00f3":-1,"\u00e9":-1,"\u00e5":-1,"\u00e4":-1,"\u00e1":-1,"o":-1,"h":1,"e":-1,"a":-1,"S":1,";":9,":":1}},"u":{"d":"111,5v-63,0,-98,-30,-89,-96r12,-91r67,0r-13,107v-4,26,37,33,49,17v20,-27,15,-84,23,-124r67,0v-14,90,0,187,-116,187","w":241,"k":{"\u2019":3}},"v":{"d":"243,-182r-122,182r-45,0r-71,-182r70,0v12,34,25,61,33,101r61,-101r74,0","w":232,"k":{"\u00f8":-2,"\u00e6":8,"\u00f6":7,"\u00f2":7,"\u00f3":7,"\u00ea":8,"\u00e8":8,"\u00e9":8,"\u00e5":8,"\u00e3":8,"\u00e4":8,"\u00e2":8,"\u00e0":8,"\u00e1":8,"s":7,"o":7,"g":9,"e":8,"c":7,"a":8,";":8,".":24,"-":-1,",":18}},"w":{"d":"345,-182r-105,182r-47,0v-9,-35,-21,-68,-26,-106v-16,38,-35,71,-54,106r-48,0r-60,-182r68,0v10,34,22,61,29,99v11,-34,33,-68,49,-99r45,0r27,94v13,-33,34,-64,50,-94r72,0","w":334,"k":{"\u00f8":-4,"\u00e6":8,"\u00f6":6,"\u00f2":6,"\u00f3":6,"\u00ea":6,"\u00e8":6,"\u00e9":6,"\u00e5":6,"\u00e3":6,"\u00e4":6,"\u00e2":6,"\u00e0":6,"\u00e1":6,"s":6,"o":6,"g":7,"e":6,"c":5,"a":6,";":8,".":17,"-":-5,",":12}},"x":{"d":"167,-94r72,94r-82,0v-13,-17,-26,-34,-36,-53r-46,53r-86,0r93,-97r-65,-85r83,0v9,17,21,27,28,47v12,-22,24,-30,38,-47r87,0","w":250,"k":{"\u00e9":9,"q":8,"o":10,"e":9,"c":9,"a":8}},"y":{"d":"251,-182r-171,276r-75,0r66,-108r-64,-168r74,0r36,93r58,-93r76,0","w":240,"k":{"\u00f8":-3,"\u00e6":7,"\u00f6":6,"\u00f2":6,"\u00f3":6,"\u00ea":7,"\u00e8":7,"\u00e9":7,"\u00e5":7,"\u00e3":7,"\u00e4":7,"\u00e2":7,"\u00e0":7,"\u00e1":7,"s":6,"o":6,"g":8,"e":7,"c":6,"a":7,";":8,".":20,"-":-4,",":14}},"z":{"d":"210,-52r-8,52r-201,0r111,-131r-79,0r9,-51r191,0r-111,130r88,0","w":236},"{":{"d":"86,-229v0,47,10,96,-24,112v33,15,24,65,24,111v0,23,9,23,32,23r0,46v-53,3,-84,-3,-84,-58v0,-38,13,-97,-22,-103r0,-44v61,-17,-31,-177,93,-156r13,0r0,46v-22,0,-32,0,-32,23","w":110},"|":{"d":"112,-270r-33,270r-67,0r33,-270r67,0","w":129},"}":{"d":"31,-6v0,-46,-11,-95,24,-111v-33,-15,-24,-65,-24,-112v0,-23,-10,-23,-32,-23r0,-46v52,-3,83,4,83,58v0,38,-14,98,23,102r0,44v-62,18,30,180,-93,157r-13,0r0,-46v22,0,32,-1,32,-23","w":111},"~":{"d":"114,-249v-22,-10,-36,4,-44,22r-29,-19v17,-45,50,-73,104,-45v22,10,56,15,64,-12r29,18v-21,56,-66,63,-124,36","w":269},"\u00c4":{"d":"92,-49r-22,49r-76,0r134,-270r77,0r65,270r-72,0r-11,-49r-95,0xm155,-191v-11,31,-24,59,-37,88r55,0xm94,-312v-1,-18,14,-33,32,-32v17,0,31,15,31,32v0,18,-14,31,-32,31v-17,0,-31,-14,-31,-31xm175,-312v0,-18,13,-32,31,-32v17,0,31,15,31,32v0,17,-14,31,-31,31v-17,0,-31,-14,-31,-31","w":281,"k":{"\u2039":7,"\u2019":21,"\u201d":17,"\u00ab":7,"y":8,"w":5,"v":8,"u":1,"t":-1,"q":-1,"o":1,"g":2,"d":-1,"b":-2,"Y":23,"W":13,"V":19,"U":9,"T":15,"Q":9,"O":9,"G":9,"C":9,".":-9,"-":-16,",":-16}},"\u00c5":{"d":"92,-49r-22,49r-76,0r134,-270r77,0r65,270r-72,0r-11,-49r-95,0xm155,-191v-11,31,-24,59,-37,88r55,0xm141,-310v0,-15,12,-28,28,-28v15,0,28,13,28,28v0,15,-12,28,-28,28v-15,0,-28,-13,-28,-28xm180,-310v0,-18,-22,-13,-23,0v0,6,6,11,12,11v6,0,11,-5,11,-11","w":281,"k":{"\u2039":7,"\u2019":21,"\u201d":17,"\u00ab":7,"y":8,"w":5,"v":8,"u":1,"t":-1,"q":-1,"o":1,"g":2,"d":-1,"b":-2,"Y":23,"W":13,"V":19,"U":9,"T":15,"Q":9,"O":9,"G":9,"C":9,".":-9,"-":-16,",":-16}},"\u00c7":{"d":"92,-131v0,69,87,91,135,55v5,15,-6,45,-6,65v-8,10,-31,15,-47,16r-3,21r-54,0r3,-25v-60,-17,-98,-58,-98,-129v0,-87,61,-144,148,-147v23,0,67,8,80,27v-3,19,-2,45,-9,60v-15,-11,-40,-22,-65,-23v-47,-1,-84,34,-84,80","k":{"A":-3}},"\u00c9":{"d":"201,-270r-7,59r-80,0r-6,47r77,0r-7,59r-77,0r-6,46r83,0r-7,59r-151,0r33,-270r24,0r8,-11r100,0r-8,11r24,0","w":197},"\u00d1":{"d":"319,-270r-33,270r-75,0v-35,-64,-75,-119,-105,-188v0,70,-12,125,-18,188r-68,0r33,-270r74,0r104,183v3,-65,13,-122,20,-183r68,0xm219,-280v-23,0,-57,-28,-64,0r-31,0v-2,-29,15,-51,40,-52v14,-4,67,27,71,-1r32,0v-5,35,-21,53,-48,53","w":328},"\u00d6":{"d":"175,-275v79,0,141,50,141,131v0,88,-59,149,-147,149v-84,0,-148,-54,-147,-136v0,-86,63,-144,153,-144xm246,-132v2,-48,-29,-78,-75,-79v-44,-1,-79,34,-79,78v0,44,33,74,76,74v43,0,76,-29,78,-73xm105,-312v-1,-18,14,-33,32,-32v17,0,31,15,31,32v0,18,-14,31,-32,31v-17,0,-31,-14,-31,-31xm185,-312v0,-17,14,-32,32,-32v17,0,31,15,31,32v0,17,-14,31,-31,31v-18,0,-32,-13,-32,-31","w":326,"k":{"Y":16,"X":17,"W":5,"V":11,"T":6,"A":11}},"\u00dc":{"d":"143,5v-82,2,-119,-44,-109,-129r18,-146r68,0r-20,168v-7,53,84,56,93,13v11,-55,16,-122,24,-181r68,0r-19,156v-4,83,-40,117,-123,119xm98,-312v0,-18,13,-32,31,-32v17,0,31,14,31,32v0,17,-14,31,-31,31v-17,0,-31,-14,-31,-31xm178,-312v0,-17,14,-32,32,-32v17,0,31,15,31,32v0,17,-14,31,-31,31v-18,0,-32,-13,-32,-31","w":294,"k":{"r":1,"p":2,"n":1,"m":1,"b":1,"A":12,".":5,",":-1}},"\u00e1":{"d":"13,-81v-9,-83,100,-144,154,-80r0,-21r67,0r-22,182r-67,0r5,-20v-46,52,-147,17,-137,-61xm117,-47v47,3,62,-88,7,-88v-47,-4,-62,90,-7,88xm200,-254r-62,42r-24,-23r52,-50","k":{"y":-1,"w":-2,"v":-2}},"\u00e0":{"d":"13,-81v-9,-83,100,-144,154,-80r0,-21r67,0r-22,182r-67,0r5,-20v-46,52,-147,17,-137,-61xm117,-47v47,3,62,-88,7,-88v-47,-4,-62,90,-7,88xm82,-256r34,-31r53,50r-25,23","k":{"y":-1,"w":-2,"v":-2}},"\u00e2":{"d":"13,-81v-9,-83,100,-144,154,-80r0,-21r67,0r-22,182r-67,0r5,-20v-46,52,-147,17,-137,-61xm117,-47v47,3,62,-88,7,-88v-47,-4,-62,90,-7,88xm64,-242r79,-45r79,45r-17,27r-62,-28r-62,28"},"\u00e4":{"d":"13,-81v-9,-83,100,-144,154,-80r0,-21r67,0r-22,182r-67,0r5,-20v-46,52,-147,17,-137,-61xm117,-47v47,3,62,-88,7,-88v-47,-4,-62,90,-7,88xm151,-248v-1,-18,15,-32,33,-32v18,0,32,16,32,32v0,18,-14,33,-32,33v-17,1,-33,-16,-33,-33xm69,-248v0,-18,15,-32,33,-32v18,0,33,14,33,32v0,18,-14,34,-33,33v-18,0,-33,-15,-33,-33","k":{"y":-1,"w":-2,"v":-2}},"\u00e3":{"d":"13,-81v-9,-83,100,-144,154,-80r0,-21r67,0r-22,182r-67,0r5,-20v-46,52,-147,17,-137,-61xm117,-47v47,3,62,-88,7,-88v-47,-4,-62,90,-7,88xm168,-222v-22,0,-56,-26,-64,0r-30,0v-2,-28,15,-51,40,-51v17,-4,61,26,71,-1r31,0v-5,35,-20,52,-48,52"},"\u00e5":{"d":"13,-81v-9,-83,100,-144,154,-80r0,-21r67,0r-22,182r-67,0r5,-20v-46,52,-147,17,-137,-61xm117,-47v47,3,62,-88,7,-88v-47,-4,-62,90,-7,88xm116,-255v0,-15,12,-28,28,-28v15,0,28,14,28,28v0,14,-12,28,-28,28v-15,0,-28,-12,-28,-28xm155,-255v0,-6,-5,-11,-11,-11v-18,0,-13,22,0,23v6,0,11,-6,11,-12","k":{"y":-1,"w":-2,"v":-2}},"\u00e7":{"d":"80,-87v0,40,49,50,73,25r-7,57v-6,2,-14,5,-25,8r-2,16r-42,0r2,-15v-42,-12,-67,-44,-67,-89v0,-79,83,-128,155,-90r-7,57v-25,-32,-80,-15,-80,31","w":170},"\u00e9":{"d":"76,-77v-8,39,50,47,57,17r73,0v-14,43,-45,64,-99,65v-58,1,-94,-32,-94,-89v0,-61,45,-104,106,-104v63,0,100,43,92,111r-135,0xm144,-115v-1,-40,-62,-36,-64,0r64,0xm189,-254r-62,42r-24,-23r53,-50","w":225,"k":{"y":7,"w":4,"v":7}},"\u00e8":{"d":"76,-77v-8,39,50,47,57,17r73,0v-14,43,-45,64,-99,65v-58,1,-94,-32,-94,-89v0,-61,45,-104,106,-104v63,0,100,43,92,111r-135,0xm144,-115v-1,-40,-62,-36,-64,0r64,0xm72,-256r33,-31r53,50r-24,23","w":225},"\u00ea":{"d":"76,-77v-8,39,50,47,57,17r73,0v-14,43,-45,64,-99,65v-58,1,-94,-32,-94,-89v0,-61,45,-104,106,-104v63,0,100,43,92,111r-135,0xm144,-115v-1,-40,-62,-36,-64,0r64,0xm49,-242r79,-45r80,45r-18,27r-62,-28r-61,28","w":225,"k":{"y":7,"w":4,"v":7}},"\u00eb":{"d":"76,-77v-8,39,50,47,57,17r73,0v-14,43,-45,64,-99,65v-58,1,-94,-32,-94,-89v0,-61,45,-104,106,-104v63,0,100,43,92,111r-135,0xm144,-115v-1,-40,-62,-36,-64,0r64,0xm140,-248v-1,-18,15,-32,33,-32v18,0,32,16,32,32v0,18,-14,33,-32,33v-17,1,-33,-16,-33,-33xm58,-248v0,-18,15,-32,33,-32v18,0,33,14,33,32v0,18,-14,34,-33,33v-18,0,-33,-15,-33,-33","w":225},"\u00ed":{"d":"101,-182r-22,182r-67,0r23,-182r66,0xm125,-254r-62,42r-25,-23r53,-50","w":140},"\u00ec":{"d":"82,-182r-23,182r-66,0r22,-182r67,0xm8,-256r34,-31r53,50r-25,23","w":83},"\u00ee":{"d":"113,-182r-23,182r-66,0r22,-182r67,0xm4,-242r80,-45r79,45r-18,27r-61,-28r-62,28","w":156},"\u00ef":{"d":"82,-182r-23,182r-67,0r23,-182r67,0xm62,-248v-1,-18,14,-33,32,-32v17,0,33,15,33,32v0,17,-14,33,-32,33v-18,0,-33,-16,-33,-33xm-14,-248v0,-18,14,-33,32,-32v18,0,33,14,33,32v0,17,-14,34,-32,33v-18,0,-33,-14,-33,-33","w":112},"\u00f1":{"d":"147,-80v4,-26,3,-54,-23,-52v-50,3,-33,87,-45,132r-67,0r23,-182r66,0r-5,24v30,-41,131,-44,123,26r-15,132r-67,0xm161,-223v-22,0,-58,-27,-63,0r-31,0v-1,-33,21,-59,56,-49v19,1,49,21,55,-3r32,0v-5,35,-21,52,-49,52","w":240},"\u00f3":{"d":"13,-90v-1,-60,50,-99,112,-98v59,1,102,34,103,93v1,60,-46,100,-107,100v-61,0,-107,-36,-108,-95xm160,-96v0,-23,-13,-39,-36,-39v-25,0,-43,23,-43,49v0,23,13,40,36,39v25,0,43,-23,43,-49xm197,-254r-62,42r-25,-23r53,-50","w":242,"k":{"y":8,"w":5,"v":8}},"\u00f2":{"d":"13,-90v-1,-60,50,-99,112,-98v59,1,102,34,103,93v1,60,-46,100,-107,100v-61,0,-107,-36,-108,-95xm160,-96v0,-23,-13,-39,-36,-39v-25,0,-43,23,-43,49v0,23,13,40,36,39v25,0,43,-23,43,-49xm82,-256r34,-31r53,50r-25,23","w":242,"k":{"y":8,"w":5,"v":8}},"\u00f4":{"d":"13,-90v-1,-60,50,-99,112,-98v59,1,102,34,103,93v1,60,-46,100,-107,100v-61,0,-107,-36,-108,-95xm160,-96v0,-23,-13,-39,-36,-39v-25,0,-43,23,-43,49v0,23,13,40,36,39v25,0,43,-23,43,-49xm56,-242r79,-45r79,45r-17,27r-62,-28r-62,28","w":242,"k":{"t":1}},"\u00f6":{"d":"13,-90v-1,-60,50,-99,112,-98v59,1,102,34,103,93v1,60,-46,100,-107,100v-61,0,-107,-36,-108,-95xm160,-96v0,-23,-13,-39,-36,-39v-25,0,-43,23,-43,49v0,23,13,40,36,39v25,0,43,-23,43,-49xm148,-248v-1,-18,15,-32,33,-32v18,0,32,16,32,32v0,18,-14,33,-32,33v-17,1,-33,-16,-33,-33xm66,-248v0,-18,15,-32,33,-32v18,0,33,14,33,32v0,18,-14,34,-33,33v-18,0,-33,-15,-33,-33","w":242,"k":{"y":8,"x":10,"w":5,"v":8,"t":1}},"\u00f5":{"d":"13,-90v-1,-60,50,-99,112,-98v59,1,102,34,103,93v1,60,-46,100,-107,100v-61,0,-107,-36,-108,-95xm160,-96v0,-23,-13,-39,-36,-39v-25,0,-43,23,-43,49v0,23,13,40,36,39v25,0,43,-23,43,-49xm154,-222v-22,0,-56,-26,-64,0r-31,0v-2,-28,15,-51,40,-51v19,0,31,8,58,11v10,0,10,-4,14,-12r31,0v-5,35,-20,52,-48,52","w":242},"\u00fa":{"d":"111,5v-63,0,-98,-30,-89,-96r12,-91r67,0r-13,107v-4,26,37,33,49,17v20,-27,15,-84,23,-124r67,0v-14,90,0,187,-116,187xm182,-254r-62,42r-24,-23r52,-50","w":241},"\u00f9":{"d":"111,5v-63,0,-98,-30,-89,-96r12,-91r67,0r-13,107v-4,26,37,33,49,17v20,-27,15,-84,23,-124r67,0v-14,90,0,187,-116,187xm86,-256r34,-31r52,50r-24,23","w":241},"\u00fb":{"d":"111,5v-63,0,-98,-30,-89,-96r12,-91r67,0r-13,107v-4,26,37,33,49,17v20,-27,15,-84,23,-124r67,0v-14,90,0,187,-116,187xm56,-242r79,-45r79,45r-17,27r-62,-28r-62,28","w":241},"\u00fc":{"d":"111,5v-63,0,-98,-30,-89,-96r12,-91r67,0r-13,107v-4,26,37,33,49,17v20,-27,15,-84,23,-124r67,0v-14,90,0,187,-116,187xm146,-248v-1,-18,15,-32,33,-32v18,0,32,16,32,32v0,18,-14,33,-32,33v-17,1,-33,-16,-33,-33xm64,-248v0,-18,15,-32,33,-32v18,0,33,14,33,32v0,18,-14,34,-33,33v-18,0,-33,-15,-33,-33","w":241},"\u2020":{"d":"242,-189r-9,59r-67,0r-30,219r-68,0r30,-219r-67,0r8,-59r68,0r10,-81r68,0r-11,81r68,0","w":253},"\u00b0":{"d":"80,-220v0,-29,25,-54,55,-54v28,0,53,26,53,54v0,28,-26,54,-54,54v-28,0,-54,-26,-54,-54xm160,-220v0,-13,-13,-26,-26,-26v-13,0,-26,12,-26,25v0,14,12,27,26,27v13,0,26,-13,26,-26","w":228},"\u00a2":{"d":"58,-135v-2,-56,46,-107,104,-104r4,-36r20,0r-5,37v12,2,24,6,36,12r-7,58v-11,-8,-24,-13,-37,-14r-10,78v15,0,28,-5,39,-12r-8,61v-11,6,-23,9,-39,10r-7,48r-19,0r6,-48v-49,-9,-75,-38,-77,-90xm153,-179v-30,10,-35,55,-9,69","w":253},"\u00a3":{"d":"120,-65v19,6,55,29,59,-3r50,0v3,73,-68,87,-125,58v-19,-10,-39,-10,-44,10r-49,0v10,-37,16,-59,53,-69v5,-17,8,-29,5,-44r-42,0r5,-41r32,0v-18,-75,21,-122,94,-122v57,0,87,28,86,85r-63,0v-2,-21,-7,-33,-26,-34v-30,-2,-34,38,-27,71r74,0r-5,41r-65,0v-1,17,-5,33,-12,48","w":227},"\u00a7":{"d":"108,-300v48,1,84,27,81,76r-56,0v4,-37,-47,-39,-47,-9v0,29,57,33,74,47v42,19,49,77,20,109v-7,7,-17,11,-23,19v11,9,30,27,30,54v0,39,-38,69,-80,69v-48,0,-82,-29,-80,-79v18,2,43,-4,57,2v0,18,8,29,25,30v25,2,35,-36,12,-47v-40,-19,-103,-27,-99,-89v2,-34,13,-52,39,-64v-8,-8,-34,-29,-29,-54v-1,-39,35,-65,76,-64xm139,-120v0,-15,-14,-29,-30,-29v-15,0,-29,13,-29,29v0,16,14,30,29,30v16,0,30,-14,30,-30","w":208},"\u2022":{"d":"88,-137v0,-29,26,-56,56,-56v30,0,56,25,56,56v0,30,-26,56,-56,56v-30,0,-56,-26,-56,-56","w":268},"\u00b6":{"d":"23,-197v0,-99,132,-68,226,-73r-5,40r-30,0r-33,267r-44,0r33,-267r-28,0r-33,267r-44,0r21,-167v-42,2,-63,-27,-63,-67","w":228},"\u00df":{"d":"171,-215v1,-26,-30,-39,-48,-23v-5,5,-9,15,-11,29r-26,209r-66,0v12,-81,12,-183,36,-252v11,-31,43,-47,85,-48v53,0,93,28,93,79v0,33,-18,57,-48,68v35,11,51,31,51,70v0,64,-49,91,-132,83r8,-57v31,4,56,-6,56,-35v0,-26,-18,-37,-48,-32r7,-60v26,3,42,-9,43,-31","w":252},"\u00ae":{"d":"17,-135v0,-75,56,-142,141,-141v81,1,140,59,140,141v0,81,-59,141,-140,141v-81,0,-141,-60,-141,-141xm269,-135v0,-61,-49,-118,-111,-116v-66,2,-110,50,-113,116v-2,62,52,117,113,116v61,-1,111,-48,111,-116xm104,-216v58,-1,120,-7,120,52v0,23,-11,39,-34,48r43,62r-57,0r-37,-57r-7,57r-48,0xm174,-163v1,-16,-10,-16,-27,-16r-4,35v18,0,31,-3,31,-19","w":307},"\u00a9":{"d":"17,-135v0,-75,56,-142,141,-141v81,1,140,59,140,141v0,81,-59,141,-140,141v-81,0,-141,-60,-141,-141xm269,-135v0,-61,-49,-118,-111,-116v-66,2,-110,50,-113,116v-2,62,52,117,113,116v61,-1,111,-48,111,-116xm76,-131v0,-69,83,-111,147,-74r-6,46v-28,-28,-92,-21,-92,25v0,42,56,49,86,29v-4,14,-1,35,-8,46v-58,24,-127,-9,-127,-72","w":307},"\u2122":{"d":"102,-232r-15,116r-46,0r14,-116r-35,0r5,-38r115,0r-4,38r-34,0xm335,-270r7,154r-46,0r-3,-82r-45,82r-25,0r-20,-85r-26,85r-48,0r51,-154r45,0r20,82r43,-82r47,0","w":300},"\u00b4":{"d":"167,-265r-62,54r-30,-22r51,-62","w":157},"\u00a8":{"d":"137,-246v-1,-18,15,-32,33,-32v18,0,32,16,32,32v0,18,-14,33,-32,33v-17,1,-33,-16,-33,-33xm55,-246v0,-18,15,-32,33,-32v18,0,33,14,33,32v0,18,-14,34,-33,33v-18,0,-33,-15,-33,-33","w":201},"\u2260":{"d":"120,-200r29,-53r45,24r-17,29r30,0r0,61r-54,0r-16,28r69,0r0,60r-91,0r-24,44r-45,-25r12,-19r-27,0r0,-60r49,0r16,-28r-65,0r0,-61r89,0","w":202},"\u00c6":{"d":"295,-270r15,59r-86,0r12,46r83,0r14,60r-81,0r12,46r84,0r14,59r-151,0r-12,-49r-110,0r-23,49r-72,0r131,-270r170,0xm114,-102r74,0r-25,-110v-13,33,-33,76,-49,110","w":373},"\u00d8":{"d":"166,-275v39,0,65,9,92,26r14,-13r28,32r-11,10v68,91,-8,225,-123,225v-34,0,-66,-9,-93,-28r-15,13r-28,-31r11,-11v-18,-21,-26,-47,-26,-79v3,-88,61,-144,151,-144xm125,-70v62,33,140,-27,109,-101xm206,-202v-63,-33,-140,28,-110,101","w":317,"k":{"A":7}},"\u221e":{"d":"281,-138v0,69,-92,89,-127,31v-17,19,-36,35,-65,35v-37,0,-66,-27,-65,-65v0,-71,91,-88,128,-31v36,-56,129,-41,129,30xm232,-137v-1,-36,-51,-21,-56,0v11,15,22,22,32,22v12,1,24,-9,24,-22xm73,-137v0,29,41,26,51,6v4,-4,5,-6,5,-6v-10,-25,-56,-33,-56,0","w":270},"\u00b1":{"d":"38,-162r73,0r0,-74r45,0r0,74r73,0r0,43r-73,0r0,74r-45,0r0,-74r-73,0r0,-43xm38,-27r191,0r0,43r-191,0r0,-43","w":253},"\u2264":{"d":"207,-269r0,68r-97,26r96,27r0,68r-175,-64r0,-61xm207,-69r0,64r-176,0r0,-64r176,0","w":202},"\u2265":{"d":"31,-80r0,-68r96,-27r-96,-26r0,-68r176,64r0,61xm31,-5r0,-64r176,0r0,64r-176,0","w":202},"\u00a5":{"d":"86,0r9,-63r-40,0r6,-41r40,0r2,-16r-53,0r6,-41r29,0r-50,-109r71,0r37,85r50,-85r75,0r-70,109r28,0r-6,41r-48,0r-2,16r39,0r-6,41r-39,0r-9,63r-69,0","w":253},"\u00b5":{"d":"211,-83v0,79,-78,99,-150,80r0,73r-67,0r35,-254r67,0r-14,106v-1,26,35,35,52,19v17,-27,15,-87,24,-125r66,0","w":228},"\u2202":{"d":"149,-161v-18,-38,-60,-49,-111,-54r8,-53v102,9,165,55,168,158v2,67,-33,112,-97,113v-55,1,-94,-40,-94,-93v0,-64,73,-110,126,-71xm152,-88v0,-20,-15,-35,-34,-36v-18,-1,-34,18,-34,36v0,20,15,37,34,37v19,0,34,-18,34,-37","w":202},"\u2211":{"d":"273,-304r0,107r-62,0r-8,-43r-95,0r98,133r-97,145r98,0r4,-47r66,0r0,110r-246,0r0,-73r93,-135r-93,-123r0,-74r242,0","w":270},"\u220f":{"d":"24,-304r257,0r0,55r-29,0r0,295r29,0r0,55r-115,0r0,-55r25,0r0,-295r-77,0r0,295r25,0r0,55r-115,0r0,-55r29,0r0,-295r-29,0r0,-55","w":270},"\u03c0":{"d":"55,0r0,-143r-29,0r0,-51r245,0r0,51r-29,0r0,143r-65,0r0,-143r-57,0r0,143r-65,0","w":262},"\u222b":{"d":"156,-39v13,98,-31,158,-128,136r11,-65v35,16,42,-14,42,-57r1,-186v-2,-75,54,-105,128,-89r-12,66v-26,-10,-42,-1,-42,33r0,162","w":202},"\u00aa":{"d":"35,-213v0,-45,53,-79,86,-47r2,-11r38,0r-14,104r-38,0r1,-10v-29,27,-75,6,-75,-36xm4,-108r3,-23r165,0r-3,23r-165,0xm94,-197v25,2,34,-44,4,-44v-25,-1,-31,45,-4,44","w":168},"\u00ba":{"d":"37,-217v0,-35,28,-56,64,-56v33,0,60,20,60,51v-1,35,-28,57,-63,57v-33,0,-61,-20,-61,-52xm4,-108r3,-23r165,0r-3,23r-165,0xm122,-220v0,-12,-9,-22,-22,-22v-27,0,-32,45,-2,45v14,0,24,-11,24,-23","w":168},"\u2126":{"d":"153,-216v-70,0,-73,141,-14,161r0,55r-110,0r0,-60r49,0v-32,-19,-50,-49,-51,-90v-2,-70,57,-128,126,-127v70,1,124,53,125,127v0,43,-21,73,-51,90r49,0r0,60r-110,0r0,-55v58,-21,58,-161,-13,-161","w":269},"\u00e6":{"d":"248,-188v62,0,89,41,88,108r-135,1v-5,38,50,49,65,21r64,0v-7,67,-121,82,-164,38v-40,38,-153,36,-153,-34v0,-60,86,-75,127,-41v14,-59,-55,-57,-94,-35r3,-49v54,-13,100,-15,132,14v18,-16,39,-23,67,-23xm72,-54v1,24,60,27,59,0v-1,-25,-58,-24,-59,0xm275,-118v-1,-28,-37,-33,-57,-20v-5,4,-8,11,-11,20r68,0","w":349,"k":{"y":7,"w":4,"v":7}},"\u00f8":{"d":"12,-32v-52,-69,10,-157,95,-157v25,0,47,6,68,18r13,-11r16,19r-10,9v55,66,-6,158,-93,158v-26,0,-50,-6,-71,-19r-10,9r-17,-19xm80,-57v34,23,79,-13,63,-54xm126,-130v-33,-18,-75,15,-61,53","w":208},"\u00bf":{"d":"22,-17v1,-39,25,-62,64,-76r0,-25r66,0r0,67v-32,-2,-60,8,-61,36v0,15,12,27,27,27v17,0,23,-11,24,-28r72,0v-3,56,-41,82,-97,84v-50,2,-96,-36,-95,-85xm76,-175v0,-23,19,-42,42,-42v21,0,42,20,42,42v0,22,-20,42,-42,42v-23,0,-43,-19,-42,-42","w":188},"\u00a1":{"d":"26,-175v0,-22,19,-42,42,-42v22,0,41,20,41,42v0,23,-19,42,-41,42v-23,0,-42,-19,-42,-42xm102,-118r0,179r-68,0r0,-179r68,0","w":137},"\u00ac":{"d":"123,0r0,-53r-101,0r0,-68r176,0r0,121r-75,0","w":201},"\u221a":{"d":"288,-335r0,57r-65,0r-67,278r-81,0r-20,-98r-38,0r0,-57r77,0v8,34,13,49,16,97r3,0v13,-107,38,-182,59,-277r116,0","w":270},"\u0192":{"d":"204,-148r-2,52r-50,0v-10,42,-17,95,-30,131v-25,71,-144,69,-165,3v-2,-5,-3,-12,-5,-21r64,0v8,19,27,23,39,9v11,-35,20,-84,29,-122r-43,0r3,-52r50,0v14,-64,17,-139,98,-137v37,1,68,19,81,49r-43,25v-9,-27,-40,-34,-51,-9v-4,10,-13,54,-16,72r41,0","w":253},"\u2248":{"d":"80,-159v-12,1,-17,9,-24,18r-35,-25v14,-49,55,-73,107,-46v21,11,42,15,54,-9r35,24v-13,34,-29,57,-64,60v-12,1,-60,-24,-73,-22xm153,-43v-35,2,-79,-44,-97,-2r-35,-25v15,-61,68,-68,122,-41v20,10,27,0,39,-15r35,25v-14,36,-27,55,-64,58","w":202},"\u2206":{"d":"21,0r93,-270r72,0r95,270r-260,0xm109,-60r83,0r-41,-137","w":266},"\u00ab":{"d":"156,-92r46,62r-36,26r-62,-88r62,-88r35,25xm67,-92r46,62r-37,26r-61,-88r61,-88r36,25","w":191},"\u00bb":{"d":"66,-92r-45,-63r36,-25r61,88r-61,88r-37,-26xm155,-92r-45,-63r36,-25r61,88r-61,88r-37,-26","w":191,"k":{"\u00c1":-6,"\u00c6":-7,"\u00c5":-6,"\u00c4":-6,"Y":14,"W":1,"V":9,"T":5,"A":-6}},"\u2026":{"d":"23,-34v0,-23,19,-42,42,-42v22,-1,42,19,42,42v0,23,-19,42,-42,42v-22,0,-43,-20,-42,-42xm146,-34v0,-23,19,-42,42,-42v22,0,42,20,42,42v0,23,-21,41,-42,42v-22,0,-42,-20,-42,-42xm269,-34v0,-23,19,-43,42,-42v22,0,42,19,42,42v0,23,-21,41,-42,42v-22,0,-42,-20,-42,-42","w":322},"\u00c0":{"d":"92,-49r-22,49r-76,0r134,-270r77,0r65,270r-72,0r-11,-49r-95,0xm155,-191v-11,31,-24,59,-37,88r55,0xm126,-323r33,-31r53,50r-24,23","w":281,"k":{"Y":23,"W":13,"V":19,"U":9,"T":15,"Q":9,"O":9,"G":9,"C":9,".":-9,",":-16}},"\u00c3":{"d":"92,-49r-22,49r-76,0r134,-270r77,0r65,270r-72,0r-11,-49r-95,0xm155,-191v-11,31,-24,59,-37,88r55,0xm234,-333v-5,62,-56,57,-100,41v-6,-1,-11,5,-12,12r-30,0v-2,-29,14,-52,40,-52v14,-4,65,27,71,-1r31,0","w":281,"k":{"Y":23,"W":13,"V":19,"U":9,"T":15,"Q":9,"O":9,"G":9,"C":9,".":-9,",":-16}},"\u00d5":{"d":"175,-275v79,0,141,50,141,131v0,88,-59,149,-147,149v-84,0,-148,-54,-147,-136v0,-86,63,-144,153,-144xm246,-132v2,-48,-29,-78,-75,-79v-44,-1,-79,34,-79,78v0,44,33,74,76,74v43,0,76,-29,78,-73xm204,-280v-24,1,-56,-27,-64,0r-30,0v-2,-29,15,-51,40,-52v14,-4,66,27,71,-1r31,0v-5,35,-21,53,-48,53","w":326,"k":{"Y":16,"V":11,"T":6}},"\u0152":{"d":"22,-131v0,-123,151,-193,247,-117v-2,-5,1,-15,1,-22r148,0r-8,59r-79,0r-6,47r77,0r-7,60r-77,0r-5,45r82,0r-7,59r-151,0r1,-6v-100,43,-216,-14,-216,-125xm246,-136v0,-44,-31,-79,-75,-79v-44,0,-79,38,-79,82v0,44,32,77,76,77v44,0,78,-35,78,-80","w":428},"\u0153":{"d":"185,-160v59,-56,188,-24,166,82r-131,0v-2,38,47,46,66,23r62,0v-18,40,-37,60,-90,60v-34,0,-60,-9,-79,-29v-53,56,-176,27,-166,-64v-10,-92,116,-130,172,-72xm159,-96v0,-23,-13,-39,-36,-39v-25,0,-42,23,-42,49v0,23,13,39,36,39v25,0,42,-23,42,-49xm295,-116v-2,-39,-65,-38,-68,0r68,0","w":365},"\u2013":{"d":"29,-123r192,0r0,54r-192,0r0,-54","w":219},"\u2014":{"d":"298,-189r0,82r-252,0r0,-82r252,0","w":424},"\u201c":{"d":"122,-155r8,-115r44,0r4,115r-56,0xm36,-155r7,-115r45,0r3,115r-55,0","w":177,"k":{"\u00c1":14,"\u00c6":13,"\u00c5":14,"\u00c4":14,"Y":-6,"W":-14,"V":-11,"T":-8,"A":14}},"\u201d":{"d":"92,-270r-8,115r-44,0r-4,-115r56,0xm178,-270r-8,115r-44,0r-4,-115r56,0","w":177,"k":{"\u00c1":16,"\u00c6":15,"\u00c5":16,"\u00c4":16,"Y":-5,"W":-13,"V":-10,"T":-7,"A":16}},"\u2018":{"d":"43,-155r22,-115r45,0r-11,115r-56,0","w":109,"k":{"\u00c1":17,"\u00c6":16,"\u00c5":17,"\u00c4":17,"Y":-5,"W":-12,"V":-9,"T":-6,"A":17}},"\u2019":{"d":"109,-270r-21,115r-45,0r11,-115r55,0","w":109,"k":{"\u00c1":20,"\u00c6":19,"\u00c5":20,"\u00c4":20,"y":-7,"w":-9,"v":-8,"t":-9,"s":2,"r":-1,"o":2,"d":1,"A":20,".":9,",":2}},"\u00f7":{"d":"278,-189r0,82r-253,0r0,-82r253,0xm114,-246v0,-19,18,-36,38,-36v20,0,36,17,36,36v0,20,-16,37,-37,37v-20,0,-37,-17,-37,-37xm114,-49v0,-20,16,-37,37,-37v20,0,37,16,37,36v0,20,-16,37,-37,37v-20,0,-37,-16,-37,-36","w":286},"\u25ca":{"d":"139,-281r105,146r-105,145r-106,-145xm139,-245r-80,110r80,110r79,-110","w":246},"\u00ff":{"d":"251,-177r-171,276r-75,0r66,-108r-64,-168r74,0r36,93r58,-93r76,0xm149,-246v-1,-18,15,-32,33,-32v18,0,32,16,32,32v0,18,-14,33,-32,33v-17,1,-33,-16,-33,-33xm67,-246v0,-18,15,-32,33,-32v18,0,33,14,33,32v0,18,-14,34,-33,33v-18,0,-33,-15,-33,-33","w":244},"\u0178":{"d":"135,-181v18,-31,39,-59,59,-89r84,0r-119,152r-14,118r-68,0r14,-120r-68,-150r76,0xm76,-312v-1,-18,14,-33,32,-32v17,0,31,14,31,32v0,18,-14,31,-32,31v-17,0,-31,-14,-31,-31xm157,-312v0,-18,13,-32,31,-32v17,0,31,15,32,32v0,17,-15,31,-32,31v-17,0,-31,-14,-31,-31","w":223},"\u2215":{"w":0},"\u00a4":{"d":"221,0r-82,0r0,-140r-47,57r-56,-55r146,-143r143,143r-56,55r-48,-57r0,140","w":361},"\u2039":{"d":"67,-92r46,62r-37,26r-61,-88r61,-88r36,25","w":119},"\u203a":{"d":"66,-92r-45,-63r36,-25r61,88r-61,88r-37,-26","w":119,"k":{"\u00c1":2,"\u00c6":2,"\u00c5":2,"\u00c4":2,"Y":23,"W":10,"V":17,"T":14,"A":2}},"\uf001":{"d":"172,-284r-7,52v-37,-18,-45,14,-46,48r40,0r-7,53r-41,0r-17,131r-67,0r18,-131r-31,0r7,-53r31,0v6,-30,6,-67,24,-85v22,-22,61,-28,96,-15xm244,-184r-25,184r-67,0r25,-184r67,0xm182,-253v0,-21,18,-39,39,-38v21,0,38,16,38,36v0,22,-18,38,-39,38v-21,0,-39,-15,-38,-36","w":253},"\uf002":{"d":"172,-284r-7,52v-37,-18,-45,14,-46,48r40,0r-7,53r-41,0r-17,131r-67,0r18,-131r-31,0r7,-53r31,0v6,-30,6,-67,24,-85v22,-22,61,-28,96,-15xm256,-284r-39,284r-67,0r39,-284r67,0","w":246},"\u2021":{"d":"156,-51r66,0r-8,59r-66,0r-12,81r-67,0r12,-81r-70,0r8,-59r69,0r10,-79r-67,0r8,-59r68,0r10,-81r68,0r-11,81r68,0r-9,59r-67,0","w":253},"\u2219":{"d":"4,-139v0,-13,11,-24,24,-24v13,0,26,12,25,24v0,13,-11,26,-25,25v-12,0,-24,-11,-24,-25","w":48},"\u201a":{"d":"73,-69r-10,120r-50,0r-2,-120r62,0","w":105},"\u201e":{"d":"86,47r8,-115r44,0r4,115r-56,0xm0,47r7,-115r45,0r3,115r-55,0","w":141,"k":{"\u00c6":-24,"Y":8,"V":10,"T":-3,"A":-24}},"\u2030":{"d":"236,-270r59,0r-157,270r-59,0xm1,-193v0,-43,35,-78,80,-77v46,1,80,31,81,77v1,42,-37,78,-81,78v-43,0,-80,-35,-80,-78xm213,-78v0,-43,36,-79,80,-78v45,2,80,31,81,78v1,44,-37,78,-81,78v-43,0,-80,-35,-80,-78xm112,-193v0,-16,-14,-32,-31,-31v-16,0,-30,14,-30,31v0,16,15,31,30,31v16,0,31,-14,31,-31xm324,-79v0,-16,-14,-31,-31,-30v-15,0,-30,14,-30,30v0,17,14,31,30,31v16,0,32,-14,31,-31xm391,-78v0,-44,36,-79,81,-78v45,1,79,32,80,78v1,44,-36,78,-80,78v-44,0,-81,-35,-81,-78xm502,-79v0,-15,-14,-31,-30,-30v-16,0,-31,13,-31,30v0,17,15,31,31,31v16,0,31,-14,30,-31","w":551},"\u00c2":{"d":"92,-49r-22,49r-76,0r134,-270r77,0r65,270r-72,0r-11,-49r-95,0xm155,-191v-11,31,-24,59,-37,88r55,0xm90,-308r79,-44r79,44r-17,28r-62,-29r-61,29","w":281,"k":{"Y":23,"W":13,"V":19,"U":9,"T":15,"Q":9,"O":9,"G":9,"C":9,".":-9,",":-16}},"\u00ca":{"d":"201,-270r-7,59r-80,0r-6,47r77,0r-7,59r-77,0r-6,46r83,0r-7,59r-151,0r33,-270r24,0r8,-11r80,0r8,11r28,0","w":197},"\u00c1":{"d":"92,-49r-22,49r-76,0r134,-270r77,0r65,270r-72,0r-11,-49r-95,0xm155,-191v-11,31,-24,59,-37,88r55,0xm212,-323r-62,42r-24,-23r53,-50","w":281,"k":{"\u2039":7,"\u2019":21,"\u00ab":7,"y":8,"w":5,"v":8,"u":1,"t":-1,"q":-1,"o":1,"g":2,"d":-1,"b":-2,"Y":23,"W":13,"V":19,"U":9,"T":15,"Q":9,"O":9,"G":9,"C":9,".":-9,"-":-16,",":-16}},"\u00cb":{"d":"201,-270r-7,59r-80,0r-6,47r77,0r-7,59r-77,0r-6,46r83,0r-7,59r-151,0r33,-270r148,0xm58,-312v-1,-18,14,-33,32,-32v17,0,31,14,31,32v0,18,-14,31,-32,31v-17,0,-31,-14,-31,-31xm139,-312v0,-18,13,-32,31,-32v17,0,31,15,32,32v0,17,-15,31,-32,31v-17,0,-31,-14,-31,-31","w":209},"\u00c8":{"d":"201,-270r-7,59r-80,0r-6,47r77,0r-7,59r-77,0r-6,46r83,0r-7,59r-151,0r33,-270r24,0r-9,-11r101,0r8,11r24,0","w":197},"\u00cd":{"d":"71,0r-72,0r33,-269r72,0xm115,-323r-62,42r-25,-23r53,-50","w":114},"\u00ce":{"d":"128,-270r-33,270r-69,0r33,-270r69,0xm18,-308r79,-44r79,44r-17,28r-62,-29r-61,29","w":113},"\u00cf":{"d":"125,-270r-33,270r-69,0r34,-270r68,0xm22,-312v-1,-18,14,-33,32,-32v18,0,31,14,31,32v0,18,-14,31,-32,31v-17,0,-31,-14,-31,-31xm103,-312v0,-18,13,-32,31,-32v17,0,31,15,32,32v0,17,-15,31,-32,31v-17,0,-31,-14,-31,-31","w":114},"\u00cc":{"d":"125,-270r-33,270r-69,0r33,-270r69,0xm50,-323r34,-31r53,50r-25,23","w":113},"\u00d3":{"d":"175,-275v79,0,141,50,141,131v0,88,-59,149,-147,149v-84,0,-148,-54,-147,-136v0,-86,63,-144,153,-144xm246,-132v2,-48,-29,-78,-75,-79v-44,-1,-79,34,-79,78v0,44,33,74,76,74v43,0,76,-29,78,-73xm212,-323r-62,42r-24,-23r53,-50","w":326,"k":{"Y":16,"W":5,"V":11,"T":6,"A":11}},"\u00d4":{"d":"175,-275v79,0,141,50,141,131v0,88,-59,149,-147,149v-84,0,-148,-54,-147,-136v0,-86,63,-144,153,-144xm246,-132v2,-48,-29,-78,-75,-79v-44,-1,-79,34,-79,78v0,44,33,74,76,74v43,0,76,-29,78,-73xm97,-308r79,-44r80,44r-18,28r-62,-29r-61,29","w":326,"k":{"Y":16,"V":11,"T":6}},"\u00d2":{"d":"175,-275v79,0,141,50,141,131v0,88,-59,149,-147,149v-84,0,-148,-54,-147,-136v0,-86,63,-144,153,-144xm246,-132v2,-48,-29,-78,-75,-79v-44,-1,-79,34,-79,78v0,44,33,74,76,74v43,0,76,-29,78,-73xm126,-323r33,-31r53,50r-24,23","w":326,"k":{"Y":16,"V":11,"T":6}},"\u00da":{"d":"143,5v-82,2,-119,-44,-109,-129r18,-146r68,0r-20,168v-7,53,84,56,93,13v11,-55,16,-122,24,-181r68,0r-19,156v-4,83,-40,117,-123,119xm216,-323r-62,42r-25,-23r53,-50","w":294,"k":{"r":1,"p":2,"n":1,"m":1,"A":12,".":5,",":-1}},"\u00db":{"d":"143,5v-82,2,-119,-44,-109,-129r18,-146r68,0r-20,168v-7,53,84,56,93,13v11,-55,16,-122,24,-181r68,0r-19,156v-4,83,-40,117,-123,119xm90,-308r79,-44r79,44r-17,28r-62,-29r-61,29","w":294,"k":{"A":12}},"\u00d9":{"d":"143,5v-82,2,-119,-44,-109,-129r18,-146r68,0r-20,168v-7,53,84,56,93,13v11,-55,16,-122,24,-181r68,0r-19,156v-4,83,-40,117,-123,119xm126,-323r33,-31r53,50r-24,23","w":294,"k":{"A":12}},"\u0131":{"d":"115,-181r-23,181r-67,0r23,-181r67,0","w":183},"\u02c6":{"d":"135,-248r-22,34r-54,0r45,-69r74,0r24,69r-52,0","w":199},"\u02dc":{"d":"94,-278v17,-7,68,43,71,-1r43,0v-3,39,-15,62,-48,65v-20,2,-43,-20,-59,-20v-11,0,-13,7,-13,19r-44,0v3,-37,17,-62,50,-63","w":200},"\u02c9":{"d":"31,-256r161,0r0,40r-161,0r0,-40","w":202},"\u02d8":{"d":"75,-276v1,37,55,29,59,0r41,0v0,79,-137,85,-140,7r0,-7r40,0","w":180},"\u02d9":{"d":"68,-248v0,-17,16,-33,34,-33v17,0,34,15,34,33v0,19,-15,35,-34,35v-19,1,-34,-16,-34,-35","w":183},"\u02da":{"d":"221,-47v-35,21,-76,19,-108,0r-43,41r-38,-37r43,-43v-19,-36,-19,-68,1,-104r-43,-43r38,-38r44,44v30,-18,72,-18,102,0r44,-44r38,38r-42,42v19,34,20,71,2,105r42,42r-38,39xm215,-137v0,-26,-21,-49,-48,-49v-26,0,-48,22,-48,49v0,27,22,49,48,49v26,0,49,-22,48,-49","w":321},"\u00b8":{"d":"139,43r-48,45r-24,-25r43,-47","w":189},"\u02dd":{"d":"126,-265r-56,54r-24,-22r46,-62xm199,-265r-56,54r-25,-22r47,-62","w":155},"\u02db":{"d":"76,46v1,-29,25,-51,66,-46v-16,9,-26,15,-27,30v2,18,20,17,35,6r-13,35v-26,15,-62,6,-61,-25","w":189},"\u02c7":{"d":"91,-249r23,-34r53,0r-44,69r-74,0r-24,-69r52,0","w":165},"\u00a0":{"w":101},"\u00a6":{"d":"110,-277r-15,114r-70,0r14,-114r71,0xm90,-114r-14,114r-71,0r15,-114r70,0","w":110},"\u00ad":{"d":"0,-109r91,0r0,48r-91,0r0,-48","w":91},"\u00b2":{"d":"64,-249v-11,0,-14,7,-14,20r-33,0v2,-31,19,-45,47,-47v44,-3,63,54,29,81r-17,19r36,0r0,27r-97,0v20,-28,54,-47,64,-84v0,-9,-6,-16,-15,-16","w":129},"\u00b3":{"d":"47,-188v1,22,35,22,34,0v0,-11,-8,-16,-22,-15v1,-6,-3,-18,2,-21v10,0,16,-5,16,-13v0,-9,-5,-13,-13,-13v-8,0,-12,5,-13,15r-29,0v-2,-51,84,-53,84,-5v0,10,-5,19,-14,25v39,17,16,75,-27,71v-24,-2,-49,-18,-50,-44r32,0","w":132},"\u00b7":{"d":"4,-139v0,-13,11,-24,24,-24v13,0,26,12,25,24v0,13,-11,26,-25,25v-12,0,-24,-11,-24,-25","w":48},"\u00b9":{"d":"29,-249r-17,0r0,-27r49,0r0,121r-32,0r0,-94","w":76},"\u00bc":{"d":"156,-270r59,0r-157,270r-59,0xm29,-249r-17,0r0,-27r49,0r0,121r-32,0r0,-94xm199,-51r15,0r0,26r-15,0r0,25r-29,0r0,-25r-59,0r0,-20r47,-76r41,0r0,70xm170,-51r0,-43r-28,43r28,0","w":219},"\u00bd":{"d":"156,-270r59,0r-157,270r-59,0xm29,-249r-17,0r0,-27r49,0r0,121r-32,0r0,-94xm167,-33v9,-9,55,-55,19,-67v-9,0,-14,7,-14,20r-33,0v1,-31,19,-45,47,-46v43,-2,64,55,28,80r-17,19r37,0r0,27r-98,0","w":245},"\u00be":{"d":"195,-270r60,0r-157,270r-60,0xm238,-51r15,0r0,26r-15,0r0,25r-29,0r0,-25r-59,0r0,-20r47,-76r41,0r0,70xm209,-51r0,-43r-27,43r27,0xm47,-188v1,22,35,22,34,0v0,-11,-8,-16,-22,-15v1,-6,-3,-18,2,-21v10,0,16,-5,16,-13v0,-9,-5,-13,-13,-13v-8,0,-12,5,-13,15r-29,0v-2,-51,84,-53,84,-5v0,10,-5,19,-14,25v39,17,16,75,-27,71v-24,-2,-49,-18,-50,-44r32,0","w":264},"\u00d0":{"d":"191,-135v0,-51,-36,-81,-92,-76r0,48r72,0r0,40r-72,0r0,64v56,5,92,-24,92,-76xm265,-135v0,76,-56,135,-133,135r-104,0r0,-123r-27,0r0,-40r27,0r0,-107r104,0v76,3,133,60,133,135","w":280},"\u00d7":{"w":0},"\u00dd":{"d":"493,-264r54,261v-15,8,-46,0,-66,3v-13,-9,-5,-38,-20,-46r-88,0v-19,7,-13,41,-34,46r-70,0v-2,0,-3,-1,-2,-4r131,-265v27,-3,60,0,89,-1v3,0,5,2,6,6xm873,-270v4,1,5,1,5,5r-36,261v-14,10,-47,1,-68,4v-4,0,-7,-2,-9,-5r-91,-159r-23,159v-13,11,-50,3,-71,4r35,-264v0,-3,2,-5,6,-5r73,1v33,45,54,104,88,149v0,-1,7,-50,21,-147v17,-8,48,-1,70,-3xm877,0v-3,0,-3,-2,-3,-5r131,-264v27,-2,62,-2,89,0r56,268v-19,3,-44,0,-65,1v-15,-5,-8,-32,-16,-45v-28,0,-73,-6,-96,3r-20,38v-16,10,-52,1,-76,4xm1180,-3r37,-261v1,-4,3,-6,5,-6r71,0v-4,67,-19,137,-26,205v0,3,1,4,4,4r72,0v10,12,-4,39,-3,57v0,3,-2,4,-5,4r-152,0v-2,0,-3,-1,-3,-3xm1536,-105v-3,30,0,68,-1,100v0,3,-2,5,-4,5r-73,0v-3,0,-4,-1,-4,-4r0,-97v0,-4,-2,-6,-5,-6r-96,0v-3,0,-4,-1,-4,-4r0,-74v0,-3,1,-4,4,-4r96,0v3,0,5,-2,5,-5v2,-28,-5,-65,3,-87r74,0v3,0,4,2,4,4r0,87v31,3,67,0,100,1v3,0,4,1,4,4r0,74v0,3,-1,4,-4,4v-32,2,-71,-3,-99,2xm192,-280v34,0,75,10,95,30v-5,19,-6,43,-14,60v-17,-9,-47,-22,-73,-22v-46,0,-83,33,-83,80v0,42,31,76,72,76v18,0,51,-13,63,-12v-1,23,-5,44,-9,64v-90,47,-212,-17,-207,-125v4,-89,63,-150,156,-151xm432,-191v-14,26,-26,54,-37,84v16,2,43,3,58,-1v-8,-27,-11,-58,-21,-83xm1038,-194v-12,25,-28,56,-38,86v13,5,36,1,53,2v4,0,5,-4,3,-6","w":1675},"\u00de":{"d":"36,91r0,-442r1757,0r0,442r-1757,0xm624,-3r-53,-261v-1,-4,-4,-6,-7,-6r-87,1v-48,84,-87,178,-133,265v-1,3,1,4,3,4v26,-2,60,5,79,-4v9,-13,10,-35,25,-42r88,0v4,0,5,2,5,5v6,13,4,33,15,41v21,-2,50,4,65,-3xm889,-270v-5,0,-7,0,-7,5r-22,145r-85,-148v-21,-5,-52,0,-76,-2v-3,0,-5,2,-5,5r-35,264v19,3,45,0,66,1v3,0,6,-2,6,-5r22,-159r93,162v18,5,46,0,68,2v4,0,7,-1,7,-4r36,-262v0,-3,-1,-4,-4,-4r-64,0xm1225,0v5,0,4,-2,4,-6r-56,-263v-27,-2,-62,-2,-89,0r-130,264v-2,3,-1,5,2,5v24,-2,59,5,76,-4r22,-41v28,-1,67,-3,94,1v8,11,2,38,15,44r62,0xm1346,-65r27,-202v-17,-8,-50,0,-72,-3v-2,0,-3,2,-4,6r-38,261v0,2,2,3,4,3r151,0v3,0,5,-1,5,-4v0,-18,10,-42,4,-57r-72,0v-3,0,-5,-1,-5,-4xm1616,-106v28,-3,63,0,93,-1v2,0,4,-1,4,-4r0,-73v0,-3,-2,-5,-4,-5r-90,0v-2,0,-4,-2,-4,-5r0,-83v0,-2,-1,-4,-4,-4r-74,0v-3,0,-3,2,-3,4r0,83v0,3,-2,5,-5,5r-96,0v-3,0,-4,1,-4,4r0,74v0,3,1,4,4,4r96,0v3,0,5,2,5,6r0,97v0,3,1,4,4,4r73,0v3,0,4,-2,4,-5xm330,-64v2,-10,-7,-1,-11,-2v-65,27,-122,-2,-125,-66v-3,-80,103,-99,156,-58v8,-11,9,-41,14,-59v-14,-22,-60,-30,-95,-30v-92,0,-152,59,-156,150v-5,104,108,171,205,128v9,-15,7,-44,12,-63xm509,-191v10,25,13,56,21,83v-11,4,-45,4,-58,0xm1079,-110r38,-84r19,86v-13,5,-36,0,-53,2v-4,0,-5,-2,-4,-4","w":1829},"\u00f0":{"d":"89,-53v39,4,53,-67,9,-69v-38,-3,-54,68,-9,69xm-1,-72v-1,-66,36,-102,92,-102v17,0,31,4,41,13v-8,-23,-27,-34,-44,-41r-35,31r-25,-29v3,-4,19,-11,7,-12r-7,0r15,-55v19,2,36,5,50,9r40,-34r25,29r-25,21v41,26,57,45,60,109v3,75,-36,134,-112,136v-46,2,-82,-31,-82,-75","w":202},"\u00fd":{"d":"80,-25r-70,-157r76,0r37,93r59,-93r75,0r-183,276r-73,0xm185,-256r-67,42r-22,-23r59,-50","w":246},"\u00fe":{"d":"123,-50v49,0,66,-83,9,-83v-27,0,-49,22,-46,54v1,18,18,29,37,29xm237,-104v0,82,-100,145,-159,86r-13,112r-65,0r44,-364r65,0r-13,108v40,-49,141,-23,141,58","w":250},"\u0141":{"d":"109,-240r-8,61r41,-26r-7,51r-40,24r-9,77r77,0r-7,53r-137,0r11,-95r-28,19r6,-50r28,-18r12,-96r61,0","w":152},"\u0142":{"d":"107,-262r-12,95r30,-20r-6,52r-30,18r-14,117r-60,0r11,-86r-29,19r6,-51r29,-18r16,-126r59,0","w":85},"\u0160":{"d":"29,-172v4,-59,30,-88,78,-102r-50,-40r32,-32r47,40r56,-40r25,32r-59,40v21,4,40,9,57,19r-35,55v-25,-37,-103,-8,-64,24v41,15,90,25,90,75v0,103,-135,139,-208,77r37,-56v19,18,39,27,58,27v28,0,53,-29,29,-45v-31,-21,-96,-17,-93,-74","w":231},"\u0161":{"d":"39,-85v-36,-38,3,-97,50,-101r-49,-40r31,-32r47,40r56,-40r25,32r-59,39v10,2,21,5,32,10r-27,42v-17,-10,-49,-16,-55,5v0,10,9,11,18,12v30,7,57,16,56,48v0,76,-107,98,-167,56r29,-46v24,16,51,28,71,11v16,-28,-46,-23,-58,-36","w":182},"\u017d":{"w":0},"\u017e":{"w":0},"\u2212":{"d":"27,-99r0,-47r180,0r0,47r-180,0","w":0}}});;jQuery(document).ready(function(){makeCufon();});function makeCufon(){switch(tpid){case"488":Cufon.replace("h2.title_accroche");Cufon.replace("h3.title_texte_accroche");break;case"491":Cufon.replace("h2.title_accroche");Cufon.replace("h3.title_texte_accroche");Cufon.replace("h3.avis_commentaire_libelle");Cufon.replace("h3.title_film_les_mieux_notes");Cufon.replace("h3.title_calendrier_sorties");Cufon.replace("h3.title_bloc_libre");Cufon.replace("h3.title_article_vitrine_secondaire");Cufon.replace("h3.title_video_exclu");Cufon.replace("h3.title_breves");Cufon.replace("h3.title_content");Cufon.replace("h3.description_video_exclu");Cufon.replace("h3.en_savoir_plus_video_exclus");Cufon.replace("h3.mea_lien_link");Cufon.replace("h3.mea_simple_link");Cufon.replace("h3.title_mea_simple, h3.title_mea_simple_liens, h3.title_mea_multiple");break;case"492":Cufon.replace("h2.title_accroche");Cufon.replace("h3.title_texte_accroche");Cufon.replace("h3.note_de_la_semaine");Cufon.replace("h3.title_critique");Cufon.replace("h3.voir_fiche_film");Cufon.replace("h3.note_chroniqueur");break;case"495":case"496":case"497":Cufon.replace("h3.recherche_films_libelle");Cufon.replace("h3.recherche_films_acces_direct");Cufon.replace("h3.recherche_films_tous_les_bleu");Cufon.replace("h3.recherche_films_tous_les");Cufon.replace("h3.calendrier_sorties");Cufon.replace("h3.trier_par");Cufon.replace("h3.title_films");Cufon.replace("h3.sortiesdelasemaine");Cufon.replace("h3.mercredicourant");Cufon.replace("h3.affiner_recherche");Cufon.replace("h3.notes_internautes");Cufon.replace("h3.notes_canal");Cufon.replace("h3.bande_annonces_bonus");break;case"589":case"593":case"596":case"597":case"607":case"609":Cufon.replace("div#bloc_fil_video h2.h2-img-cuffon-filVideo");Cufon.replace("div.curcanalplus h2.h2-img-cuffon-mea-edio-principale");Cufon.replace("div.reagir h2.h2-img-cuffon-mea-edio-principale");Cufon.replace("div.cesoirsur h2.h2-img-cuffon-epg");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-grey");Cufon.replace("h2.h2-img-cuffon-recherche-serie");Cufon.replace("div.section-closed h2.h2-img-cuffon-section a");Cufon.replace("div.section h2.h2-img-cuffon-section a");Cufon.replace("h3.h3-img-cufon-thematique");break;case"501":Cufon.replace("h3.recherche_films_libelle");Cufon.replace("h3.recherche_films_acces_direct");Cufon.replace("h3.recherche_serie_tous_les_rouge");Cufon.replace("h3.recherche_serie_tous_les_noir");Cufon.replace("h3.onglet_galerie_film");Cufon.replace("h3.onglet_galerie_film_actif");Cufon.replace("h3.showDiapoandVideo");Cufon.replace("h3.tagcloud_libelle");Cufon.replace("h3.boxoffice_libelle");Cufon.replace("h3.topba_libelle");Cufon.replace("h3.mea_rubrique_cine");break;case"535":Cufon.replace("h3.recherche_films_libelle");Cufon.replace("h3.recherche_films_acces_direct");Cufon.replace("h3.recherche_serie_tous_les_rouge");Cufon.replace("h3.recherche_serie_tous_les_noir");Cufon.replace("h3.fiche_series_bonus");Cufon.replace("h3.recherche_serie_libelle");Cufon.replace("h3.search_result");Cufon.replace("h3.recherche_serie_acces_direct");Cufon.replace("h3.mea_home_serie");Cufon.replace("h3.recherche_serie_tous_les_rouge");Cufon.replace("h3.avis_commentaire_libelle");Cufon.replace("h3.votre_note, h3.votre_commentaire");Cufon.replace("h3.recherche_serie_tous_les_noir");Cufon.replace("h3.tagcloud_libelle");break;case"537":Cufon.replace("div.titre_liste h2.titre_liste_series_moment");Cufon.replace("div.sous_titre_liste h2.sous_titre_liste_series_moment");Cufon.replace("div#critiqueTitle h3.mini_fiche_series_note_internautes");Cufon.replace("h3.fiche_series_bonus");Cufon.replace("h3.recherche_serie_libelle");Cufon.replace("h3.recherche_serie_acces_direct");Cufon.replace("h3.recherche_serie_tous_les_rouge");Cufon.replace("h3.recherche_serie_tous_les_noir");Cufon.replace("h3.avis_commentaire_libelle");break;case"594":case"650":Cufon.replace("div.planifier h3.h3-img-cuffon");Cufon.replace("div.featurebar h3.h3-img-cuffon");Cufon.replace("div.leprogrammedelajournee h3.h3-img-cuffon");break;case"598":case"600":Cufon.replace("div#content h2.h2-img-cuffon-SeriesDuMois");break;case"599":Cufon.replace("h2.h2-rechercheprogrammes-cufon");break;case"601":Cufon.replace("h3.recherche_globale");break;case"602":case"612":Cufon.replace("h2.h2-img-Cuffon-geneV2-with-filAriane");Cufon.replace("h2.h2-img-Cuffon-geneV2-without-filAriane");break;case"603":Cufon.replace("h2.h2-img-progV3-taille2");Cufon.replace("h2.h2-img-progV3");Cufon.replace("h2.h2-img-cuffon-vitrine-prog-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-grey");break;case"608":case"614":Cufon.replace("h2.h2-img-progV3-taille2");Cufon.replace("h2.h2-img-progV3");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-grey");break;case"611":case"613":Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div#rightSection h2.h2-img-cuffon-vitrine-prog-black");break;case"615":case"616":Cufon.replace("h2.h2-img-ead-taille2");Cufon.replace("h2.h2-img-ead");break;case"632":Cufon.replace("h2.h2-img-cuffon-vitrine-prog-black");Cufon.replace("h2.h2-img-progV3-taille2");Cufon.replace("h2.h2-img-progV3");Cufon.replace("div.texte_presentation h2.h2-img-liveContenuCentral");Cufon.replace("h2.h2-img-templateLive");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude-noPadding-top");break;case"630":Cufon.replace("h2.h2-img-cuffon-vitrine-prog-black");Cufon.replace("div.texte_presentation h2.h2-img-liveContenuCentral");Cufon.replace("div#livetvtop h2.h2-img-liveTop");Cufon.replace("h2.h2-img-templateLive");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude-noPadding-top");Cufon.replace("h2.h2-vitrine-live-premium");break;case"633":Cufon.replace("h2.h2-img-cuffon-vitrine-prog-black");Cufon.replace("h2.h2-img-progV3-taille2");Cufon.replace("h2.h2-img-progV3");Cufon.replace("div.texte_presentation h2.h2-img-liveContenuCentral");Cufon.replace("h2.h2-img-templateLive");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude-noPadding-top");Cufon.replace("div.precedentesEmissions h2.h2-img-templateLive");break;case"647":Cufon.replace("h2.note_match_titre_rencontre");break;case"655":Cufon.replace("h2.h2-cinema-v3");Cufon.replace("h3.h3-cinema-colonne");break;case"656":Cufon.replace("h2.h2-cinema-v3");break;case"657":Cufon.replace("div#bloc_fil_video h2.h2-img-cuffon-filVideo");Cufon.replace("div.curcanalplus h2.h2-img-cuffon-mea-edio-principale");Cufon.replace("div.reagir h2.h2-img-cuffon-mea-edio-principale");Cufon.replace("div.cesoirsur h2.h2-img-cuffon-epg");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-grey");Cufon.replace("h2.h2-img-cuffon-recherche-serie");Cufon.replace("div.section-closed h2.h2-img-cuffon-section a");Cufon.replace("div.section h2.h2-img-cuffon-section a");Cufon.replace("h3.h3-img-cufon-thematique");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude-noPadding-top");Cufon.replace("h2.h2-img-cuffon-vitrine-prog-black");Cufon.replace("h2.h2-img-actuV3-taille2");Cufon.replace("h2.h2-img-actuV3");Cufon.replace("h2.h2-img-actuV3-sectionTitle ");break;case"660":case"661":case"662":case"664":case"665":case"666":Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-grey");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");break;case"663":Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-grey");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("h2.h2-img-templateLive");break;}
if(typeof(cntid)=="string"){switch(cntid){case"218":Cufon.replace("h2.h2-img-cinemaV3-taille2");Cufon.replace("h2.h2-img-cinemaV3");Cufon.replace("h2.h2-img-cinemaV3-sectionTitle");Cufon.replace("div#bloc_fil_video h2.h2-img-cuffon-filVideo");Cufon.replace("div.curcanalplus h2.h2-img-cuffon-mea-edio-principale");Cufon.replace("div.reagir h2.h2-img-cuffon-mea-edio-principale");Cufon.replace("div.cesoirsur h2.h2-img-cuffon-epg");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-black");Cufon.replace("div.col h3.h3-img-cuffon-vitrine-home-grey");Cufon.replace("h2.h2-img-cuffon-recherche-serie");Cufon.replace("div.section-closed h2.h2-img-cuffon-section a");Cufon.replace("div.section h2.h2-img-cuffon-section a");Cufon.replace("h3.h3-img-cufon-thematique");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude-noPadding-top");Cufon.replace("h2.h2-img-cuffon-vitrine-prog-black");break;case"322":Cufon.replace("h2.h2-img-actuV3-taille2");Cufon.replace("h2.h2-img-actuV3");Cufon.replace("h2.h2-img-actuV3-sectionTitle ");break;case"249":Cufon.replace("h2.h2-img-bio-titre");Cufon.replace("h3.h3-img-bio-titre");Cufon.replace("div.col h2.h2-img-Vitrine-non-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude");Cufon.replace("div.col h2.h2-img-Vitrine-Extrude-noPadding-top");break;}}
Cufon.replace("li a.nav-cufon");Cufon.replace("#header ul.nav-header li a");Cufon.replace("#header ul.nav-header li span.encodeLink");Cufon.replace("div.videos-bar h3.h3-img-cuffon");Cufon.replace("div.titleAuthenticate");Cufon.replace("h3.h3-service-indisponible");Cufon.replace("#lb-compte h2");if(location.href.search(/error.php/i)){Cufon.replace(".liveTvErrorTitle h2");}};var allowRefresh=true;piximedia.custom.canal.addEvent('InteractionPixiHeavy',cpPausePlayer);piximedia.custom.canal.addEvent('InteractionPixiHeavy',cpPauseRefresh);piximedia.custom.canal.addEvent('InteractionPixiEnd',cpPlayRefresh);function cpPausePlayer(){if(document.getElementById('CanalPlayerEmbarque')){if(typeof(document.getElementById('CanalPlayerEmbarque').playerPause)=='function'){document.getElementById('CanalPlayerEmbarque').playerPause();}}}
function cpPlayPlayer(){if(document.getElementById('CanalPlayerEmbarque')){if(typeof(document.getElementById('CanalPlayerEmbarque').playerPlay)=='function'){document.getElementById('CanalPlayerEmbarque').playerPlay();}}}
function cpPauseRefresh(){allowRefresh=false;}
function cpPlayRefresh(){allowRefresh=true;}
function cpPauseCarrousel(){if(document.getElementById('carrousel_home')){document.getElementById('carrousel_home').playerPause();}
if(document.getElementById('carrousel_tematic')){document.getElementById('carrousel_tematic').playerPause();}}
function cpPlayCarrousel(){if(document.getElementById('carrousel_home')){document.getElementById('carrousel_home').playerPlay();}
if(document.getElementById('carrousel_tematic')){document.getElementById('carrousel_tematic').playerPlay();}};var s=s_gi(s_account);function productsTracker(obj,produit,event){var s=s_gi(s_account);s.linkTrackVars="events,products";s.linkTrackEvents=event;s.events=event;s.eVar27="";s.products=produit;s.tl(obj,'o');}
function subscribeTracker(obj,transac,event){var s=s_gi(s_account);if(transac!=""){s.linkTrackVars="events,eVar27";s.eVar27=transac;}
else{s.linkTrackVars="events";}
s.linkTrackEvents=event;s.events=event;s.products="";s.tl(obj,'o');}
function siteLienExterne(nomLienExterne){s.linkTrackVars="events,eVar24";s.linkTrackEvents="event10";s.events="event10";s.eVar24=nomLienExterne;void(s.tl(true,'o',nomLienExterne));}
s.charSet="ISO-8859-1";s.currencyCode="EUR";s.trackDownloadLinks=true;s.trackExternalLinks=true;s.trackInlineStats=true;s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx";s.linkInternalFilters=s_linkInternalFilters;s.linkLeaveQueryString=false;s.linkTrackVars="events";s.linkTrackEvents="event9,event10";s.usePlugins=true;function s_doPlugins(s){s.detectRIA('s_ria','prop8','prop20','','','');tempVar=s.getQueryParam('origref');if(tempVar){s.referrer=tempVar};s.server=window.location.hostname;s.prop23=s.pageName;var sc_cmpid=s.getQueryParam('sc_cmpid');var clkid=s.getQueryParam('clkid');var cpmid=s.getQueryParam('cpmid');var kwid=s.getQueryParam('kwid');if(sc_cmpid){s.campaign=sc_cmpid;s.prop23="CMP: "+s.pageName;}
else if(clkid){s.campaign="CC"+clkid;s.prop23="CC: "+s.pageName;}
else if(cpmid){s.campaign="BN"+cpmid;s.prop23="BN: "+s.pageName;}
else if(kwid){s.campaign="PS"+kwid;s.prop23="PS: "+s.pageName;}
s.campaign=s.getValOnce(s.campaign,'s_campaign',0);var esvcid=s.getQueryParam('esvcid');if(esvcid){s.eVar18=esvcid};if(!s.eVar2){s.eVar2=s.getQueryParam('sc_intcmp');s.eVar2=s.getValOnce(s.eVar2,'ev2',0);}
if(!s.prop1){s.prop1=s.getQueryParam('mot');}
if(!s.prop1){s.prop1=s.getQueryParam('KEYWORDS');}
if(!s.prop1){s.prop1=s.getQueryParam('kw');}
if(!s.prop1){s.prop1=s.getQueryParam('Search_text2');}
if(s.prop1){s.prop1=s.prop1.toLowerCase();s.eVar1=s.prop1;var t_search=s.getValOnce(s.eVar1,'ev1',0);if(t_search){s.events=s.apl(s.events,'event1',',',1);}}
if(s.pageName){s.eVar8=s.pageName;s.events=s.events?s.events+',event3':'event3';};s.prop22=s.getQueryParam('zonepp')
if(s.channel){s.eVar3=s.channel;s.hier1="Web Canal|"+s.channel;if(s.prop4){s.eVar4=s.prop4;s.hier1=s.hier1+'|'+s.prop4;if(s.prop5){s.eVar5=s.prop5;s.hier1=s.hier1+'|'+s.prop5;if(s.prop6){s.eVar6=s.prop6;s.hier1=s.hier1+'|'+s.prop6;if(s.prop7){s.eVar7=s.prop7;s.hier1=s.hier1+'|'+s.prop7;}}}}}
if(s.prop11){s.eVar11=s.prop11;}
if(s.prop12){s.eVar12=s.prop12;}
if(s.prop13){s.eVar13=s.prop13;}
if(s.prop14){s.eVar14=s.prop14;}
if(s.prop15){s.eVar15=s.prop15;}
if(s.prop16){s.eVar16=s.prop16;}
if(s.prop17){s.eVar17=s.prop17;}
if(s.prop19){s.eVar19=s.prop19;}
if(s.prop22){s.eVar22=s.prop22;}
if(s.purchaseID){s.eVar39=s.purchaseID;}
if(s.prop43){s.eVar43=s.prop43;}
if(s.prop44){s.eVar44=s.prop44;}
if(s.prop45){s.eVar45=s.prop45;}
if(s.prop46){s.eVar46=s.prop46;}
if(s.prop47){s.eVar47=s.prop47;}
if(s.prop48){s.eVar48=s.prop48;}
if(s.prop49){s.eVar49=s.prop49;}
if(s.prop50){s.eVar50=s.prop50;}
s.prop30=s.getNewRepeat();s.eVar30=s.prop30;s.eVar30=s.getValOnce(s.eVar30,'ev30',0);s.eVar33=s.crossVisitParticipation(s.campaign,'s_cpm','90','10','>','purchase');s.eVar34=s.referrer;tempVar=s.getQueryParam('ESVreferrer');if(tempVar){s.eVar34=tempVar;}}
s.doPlugins=s_doPlugins
s.crossVisitParticipation=new Function("v","cn","ex","ct","dl","ev",""
+"var s=this;var ay=s.split(ev,',');for(var u=0;u<ay.length;u++){if(s"
+".events&&s.events.indexOf(ay[u])!=-1){s.c_w(cn,'');return '';}}if(!"
+"v||v=='')return '';var arry=new Array();var a=new Array();var c=s.c"
+"_r(cn);var g=0;var h=new Array();if(c&&c!='') arry=eval(c);var e=ne"
+"w Date();e.setFullYear(e.getFullYear()+5);if(arry.length>0&&arry[ar"
+"ry.length-1][0]==v)arry[arry.length-1]=[v, new Date().getTime()];el"
+"se arry[arry.length]=[v, new Date().getTime()];var data=s.join(arry"
+",{delim:',',front:'[',back:']',wrap:'\\''});var start=arry.length-c"
+"t < 0?0:arry.length-ct;s.c_w(cn,data,e);for(var x=start;x<arry.leng"
+"th;x++){var diff=Math.round(new Date()-new Date(parseInt(arry[x][1]"
+")))/86400000;if(diff<ex){h[g]=arry[x][0];a[g++]=arry[x];}}var r=s.j"
+"oin(h,{delim:dl});return r;");s.join=new Function("v","p",""
+"var s = this;var f,b,d,w;if(p){f=p.front?p.front:'';b=p.back?p.back"
+":'';d=p.delim?p.delim:'';w=p.wrap?p.wrap:'';}var str='';for(var x=0"
+";x<v.length;x++){if(typeof(v[x])=='object' )str+=s.join( v[x],p);el"
+"se str+=w+v[x]+w;if(x<v.length-1)str+=d;}return f+str+b;");s.split=new Function("l","d",""
+"var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x"
+"++]=l.substring(0,i);l=l.substring(i+d.length);}return a");s.getQueryParam=new Function("p","d","u",""
+"var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.locati"
+"on);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p"
+".length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-"
+"1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i="
+"=p.length?i:i+1)}return v");s.p_gpv=new Function("k","u",""
+"var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v"
+"=s.pt(q,'&','p_gvf',k)}return v");s.p_gvf=new Function("t","k",""
+"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T"
+"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s."
+"epa(v)}return ''");s.apl=new Function("L","v","d","u",""
+"var s=this,m=0;if(!L)L='';if(u){var i,n,a=s.split(L,d);for(i=0;i<a."
+"length;i++){n=a[i];m=m||(u==1?(n==v):(n.toLowerCase()==v.toLowerCas"
+"e()));}}if(!m)L=L?L+d+v:v;return L");s.getValOnce=new Function("v","c","e",""
+"var s=this,a=new Date,v=v?v:v='',c=c?c:c='s_gvo',e=e?e:0,k=s.c_r(c"
+");if(v){a.setTime(a.getTime()+e*86400000);s.c_w(c,v,e?a:0);}return"
+" v==k?'':v");s.detectRIA=new Function("cn","fp","sp","mfv","msv","sf",""
+"cn=cn?cn:'s_ria';msv=msv?msv:2;mfv=mfv?mfv:10;var s=this,sv='',fv=-"
+"1,dwi=0,fr='',sr='',w,mt=s.n.mimeTypes,uk=s.c_r(cn),k=s.c_w('s_cc',"
+"'true',0)?'Y':'N';fk=uk.substring(0,uk.indexOf('|'));sk=uk.substrin"
+"g(uk.indexOf('|')+1,uk.length);if(k=='Y'&&s.p_fo('detectRIA')){if(u"
+"k&&!sf){if(fp){s[fp]=fk;}if(sp){s[sp]=sk;}return false;}if(!fk&&fp)"
+"{if(s.pl&&s.pl.length){if(s.pl['Shockwave Flash 2.0'])fv=2;x=s.pl['"
+"Shockwave Flash'];if(x){fv=0;z=x.description;if(z)fv=z.substring(16"
+",z.indexOf('.'));}}else if(navigator.plugins&&navigator.plugins.len"
+"gth){x=navigator.plugins['Shockwave Flash'];if(x){fv=0;z=x.descript"
+"ion;if(z)fv=z.substring(16,z.indexOf('.'));}}else if(mt&&mt.length)"
+"{x=mt['application/x-shockwave-flash'];if(x&&x.enabledPlugin)fv=0;}"
+"if(fv<=0)dwi=1;w=s.u.indexOf('Win')!=-1?1:0;if(dwi&&s.isie&&w&&exec"
+"Script){result=false;for(var i=mfv;i>=3&&result!=true;i--){execScri"
+"pt('on error resume next: result = IsObject(CreateObject(\"Shockwav"
+"eFlash.ShockwaveFlash.'+i+'\"))','VBScript');fv=i;}}fr=fv==-1?'flas"
+"h not detected':fv==0?'flash enabled (no version)':'flash '+fv;}if("
+"!sk&&sp&&s.apv>=4.1){var tc='try{x=new ActiveXObject(\"AgControl.A'"
+"+'gControl\");for(var i=msv;i>0;i--){for(var j=9;j>=0;j--){if(x.is'"
+"+'VersionSupported(i+\".\"+j)){sv=i+\".\"+j;break;}}if(sv){break;}'"
+"+'}}catch(e){try{x=navigator.plugins[\"Silverlight Plug-In\"];sv=x'"
+"+'.description.substring(0,x.description.indexOf(\".\")+2);}catch('"
+"+'e){}}';eval(tc);sr=sv==''?'silverlight not detected':'silverlight"
+" '+sv;}if((fr&&fp)||(sr&&sp)){s.c_w(cn,fr+'|'+sr,0);if(fr)s[fp]=fr;"
+"if(sr)s[sp]=sr;}}");s.p_fo=new Function("n",""
+"var s=this;if(!s.__fo){s.__fo=new Object;}if(!s.__fo[n]){s.__fo[n]="
+"new Object;return 1;}else {return 0;}");s.getNewRepeat=new Function(""
+"var s=this,e=new Date(),cval,ct=e.getTime(),y=e.getYear();e.setTime"
+"(ct+30*24*60*60*1000);cval=s.c_r('s_nr');if(cval.length==0){s.c_w("
+"'s_nr',ct,e);return 'New';}if(cval.length!=0&&ct-cval<30*60*1000){s"
+".c_w('s_nr',ct,e);return 'New';}if(cval<1123916400001){e.setTime(cv"
+"al+30*24*60*60*1000);s.c_w('s_nr',ct,e);return 'Repeat';}else retur"
+"n 'Repeat';");s.setupFormAnalysis=new Function(""
+"var s=this;if(!s.fa){s.fa=new Object;var f=s.fa;f.ol=s.wd.onload;s."
+"wd.onload=s.faol;f.uc=s.useCommerce;f.vu=s.varUsed;f.vl=f.uc?s.even"
+"tList:'';f.tfl=s.trackFormList;f.fl=s.formList;f.va=new Array('',''"
+",'','')}");s.sendFormEvent=new Function("t","pn","fn","en",""
+"var s=this,f=s.fa;t=t=='s'?t:'e';f.va[0]=pn;f.va[1]=fn;f.va[3]=t=='"
+"s'?'Success':en;s.fasl(t);f.va[1]='';f.va[3]='';");s.faol=new Function("e",""
+"var s=s_c_il["+s._in+"],f=s.fa,r=true,fo,fn,i,en,t,tf;if(!e)e=s.wd."
+"event;f.os=new Array;if(f.ol)r=f.ol(e);if(s.d.forms&&s.d.forms.leng"
+"th>0){for(i=s.d.forms.length-1;i>=0;i--){fo=s.d.forms[i];fn=fo.name"
+";tf=f.tfl&&s.pt(f.fl,',','ee',fn)||!f.tfl&&!s.pt(f.fl,',','ee',fn);"
+"if(tf){f.os[fn]=fo.onsubmit;fo.onsubmit=s.faos;f.va[1]=fn;f.va[3]='"
+"No Data Entered';for(en=0;en<fo.elements.length;en++){el=fo.element"
+"s[en];t=el.type;if(t&&t.toUpperCase){t=t.toUpperCase();var md=el.on"
+"mousedown,kd=el.onkeydown,omd=md?md.toString():'',okd=kd?kd.toStrin"
+"g():'';if(omd.indexOf('.fam(')<0&&okd.indexOf('.fam(')<0){el.s_famd"
+"=md;el.s_fakd=kd;el.onmousedown=s.fam;el.onkeydown=s.fam}}}}}f.ul=s"
+".wd.onunload;s.wd.onunload=s.fasl;}return r;");s.faos=new Function("e",""
+"var s=s_c_il["+s._in+"],f=s.fa,su;if(!e)e=s.wd.event;if(f.vu){s[f.v"
+"u]='';f.va[1]='';f.va[3]='';}su=f.os[this.name];return su?su(e):tru"
+"e;");s.fasl=new Function("e",""
+"var s=s_c_il["+s._in+"],f=s.fa,a=f.va,l=s.wd.location,ip=s.trackPag"
+"eName,p=s.pageName;if(a[1]!=''&&a[3]!=''){a[0]=!p&&ip?l.host+l.path"
+"name:a[0]?a[0]:p;if(!f.uc&&a[3]!='No Data Entered'){if(e=='e')a[2]="
+"'Error';else if(e=='s')a[2]='Success';else a[2]='Abandon'}else a[2]"
+"='';var tp=ip?a[0]+':':'',t3=e!='s'?':('+a[3]+')':'',ym=!f.uc&&a[3]"
+"!='No Data Entered'?tp+a[1]+':'+a[2]+t3:tp+a[1]+t3,ltv=s.linkTrackV"
+"ars,lte=s.linkTrackEvents,up=s.usePlugins;if(f.uc){s.linkTrackVars="
+"ltv=='None'?f.vu+',events':ltv+',events,'+f.vu;s.linkTrackEvents=lt"
+"e=='None'?f.vl:lte+','+f.vl;f.cnt=-1;if(e=='e')s.events=s.pt(f.vl,'"
+",','fage',2);else if(e=='s')s.events=s.pt(f.vl,',','fage',1);else s"
+".events=s.pt(f.vl,',','fage',0)}else{s.linkTrackVars=ltv=='None'?f."
+"vu:ltv+','+f.vu}s[f.vu]=ym;s.usePlugins=false;var faLink=new Object"
+"();faLink.href='#';s.tl(faLink,'o','Form Analysis');s[f.vu]='';s.us"
+"ePlugins=up}return f.ul&&e!='e'&&e!='s'?f.ul(e):true;");s.fam=new Function("e",""
+"var s=s_c_il["+s._in+"],f=s.fa;if(!e) e=s.wd.event;var o=s.trackLas"
+"tChanged,et=e.type.toUpperCase(),t=this.type.toUpperCase(),fn=this."
+"form.name,en=this.name,sc=false;if(document.layers){kp=e.which;b=e."
+"which}else{kp=e.keyCode;b=e.button}et=et=='MOUSEDOWN'?1:et=='KEYDOW"
+"N'?2:et;if(f.ce!=en||f.cf!=fn){if(et==1&&b!=2&&'BUTTONSUBMITRESETIM"
+"AGERADIOCHECKBOXSELECT-ONEFILE'.indexOf(t)>-1){f.va[1]=fn;f.va[3]=e"
+"n;sc=true}else if(et==1&&b==2&&'TEXTAREAPASSWORDFILE'.indexOf(t)>-1"
+"){f.va[1]=fn;f.va[3]=en;sc=true}else if(et==2&&kp!=9&&kp!=13){f.va["
+"1]=fn;f.va[3]=en;sc=true}if(sc){nface=en;nfacf=fn}}if(et==1&&this.s"
+"_famd)return this.s_famd(e);if(et==2&&this.s_fakd)return this.s_fak"
+"d(e);");s.ee=new Function("e","n",""
+"return n&&n.toLowerCase?e.toLowerCase()==n.toLowerCase():false;");s.fage=new Function("e","a",""
+"var s=this,f=s.fa,x=f.cnt;x=x?x+1:1;f.cnt=x;return x==a?e:'';");s.loadModule("Media")
s.Media.autoTrack=false
s.Media.trackWhilePlaying=true
s.Media.trackVars="None"
s.Media.trackEvents="None"
s.visitorNamespace="canalplus"
s.trackingServer="stat.canal-plus.com"
s.trackingServerSecure="secure-stat.canal-plus.com"
s.dc=112
s.vmk="476E98E2"
s.m_Media_c="(`OWhilePlaying~='s_media_'+m._in+'_~unc^D(~;`E~m.ae(mn,l,\"'+p+'\",~){var m=this~o;w.percent=((w.off^e+1)/w`X)*100;w.percent=w.percent>1~o.'+f~=new ~o.Get~:Math.floor(w.percent);w.timeP"
+"layed=i.t~}`x p');p=tcf(o)~Time~x,x!=2?p:-1,o)}~if(~m.monitor)m.monitor(m.s,w)}~m.s.d.getElementsByTagName~ersionInfo~'^N_c_il['+m._in+'],~'o','var e,p=~else~i.to~=Math.floor(~}catch(e){p=~m.track~"
+"s.wd.addEventListener~.name~m.s.rep(~layState~||^8~Object~m.s.wd[f1]~^A+=i.t+d+i.s+d+~.length~parseInt(~Player '+~s.wd.attachEvent~'a','b',c~Media~pe='m~;o[f1]~m.s.isie~.current~);i.~p<p2||p-p2>5)~"
+".event=~m.close~i.lo~vo.linkTrack~=v+',n,~.open~){w.off^e=~;n=m.cn(n);~){this.e(n,~v=e='None';~Quick~MovieName()~);o[f~out(\"'+v+';~return~1000~i.lx~m.ol~o.controls~m.s.ape(i.~load',m.as~)}};m.~scr"
+"ipt';x.~,t;try{t=~Version()~n==~'--**--',~pev3~o.id~i.ts~tion~){mn=~1;o[f7]=~();~(x==~){p='~&&m.l~l[n])~:'')+i.e~':'E')+o~var m=s~!p){tcf~xc=m.s.~Title()~()/~7+'~+1)/i.l~;i.e=''~3,p,o);~m.l[n]=~Dat"
+"e~5000~;if~i.lt~';c2='~tm.get~Events~set~Change~)};m~',f~(x!=~4+'=n;~~^N.m_i('`c');m.cn=f`2n`5;`x `Rm.s.rep(`Rn,\"\\n\",''),\"\\r\",''),^9''^g`o=f`2n,l,p,b`5,i`8`U,tm`8^X,a='',x`ql=`Yl)`3!l)l=1`3n&"
+"&p){`E!m.l)m.l`8`U`3m.^K`k(n)`3b&&b.id)a=b.id;for (x in m.l)`Em.l[x]^J[x].a==a)`k(m.l[x].n`hn=n;i.l=l;i.p=m.cn(p`ha=a;i.t=0;^C=0;i.s`M^c`C^R`y`hlx=0;^a=i.s;`l=0^U;`L=-1;^Wi}};`k=f`2n`r0,-1^g.play=f"
+"`2n,o`5,i;i=m.e(n,1,o`hm`8F`2`Ii`3m.l){i=m.l[\"'+`Ri.n,'\"','\\\\\"')+'\"]`3i){`E`z==1)m.e(i.n,3,-1`hmt=^e`Cout(i.m,^Y)}}'`hm(^g.stop=f`2n,o`r2,o)};`O=f`2n`5^Z `0) {m.e(n,4,-1^4e=f`2n,x,o`5,i,tm`8^"
+"X,ts`M^c`C^R`y),ti=`OSeconds,tp=`OMilestones,z`8Array,j,d=^9t=1,b,v=`OVars,e=`O^d,`dedia',^A,w`8`U,vo`8`U`qi=n^J&&m.l[n]?m.l[n]:0`3i){w`Q=n;w`X=i.l;w.playerName=i.p`3`L<0)w`j\"OPEN\";`K w`j^H1?\"PL"
+"AY\":^H2?\"STOP\":^H3?\"MONITOR\":\"CLOSE\")));w`o`C`8^X^Gw`o`C.^e`C(i.s*`y)`3x>2||^i`z&&^i2||`z==1))) {b=\"`c.\"+name;^A = ^2n)+d+i.l+d+^2p)+d`3x){`Eo<0&&^a>0){o=(ts-^a)+`l;o=o<i.l?o:i.l-1}o`Mo)`3"
+"x>=2&&`l<o){i.t+=o-`l;^C+=o-`l;}`Ex<=2){i.e+=^H1?'S^M;`z=x;}`K `E`z!=1)m.e(n,1,o`hlt=ts;`l=o;`W`0&&`L>=0?'L'+`L^L+^i2?`0?'L^M:'')^Z`0){b=0;`d_o'`3x!=4`p`600?100`A`3`F`E`L<0)`d_s';`K `Ex==4)`d_i';`K"
+"{t=0;`sti=ti?`Yti):0;z=tp?m.s.sp(tp,','):0`3ti&&^C>=ti)t=1;`K `Ez){`Eo<`L)`L=o;`K{for(j=0;j<z`X;j++){ti=z[j]?`Yz[j]):0`3ti&&((`L^T<ti/100)&&((o^T>=ti/100)){t=1;j=z`X}}}}}}}`K{m.e(n,2,-1)^Z`0`pi.l`6"
+"00?100`A`3`F^W0`3i.e){`W`0&&`L>=0?'L'+`L^L^Z`0){`s`d_o'}`K{t=0;m.s.fbr(b)}}`K t=0;b=0}`Et){`mVars=v;`m^d=e;vo.pe=pe;vo.^A=^A;m.s.t(vo,b)^Z`0){^C=0;`L=o^U}}}}`x i};m.ae=f`2n,l,p,x,o,b){`En&&p`5`3!m."
+"l||!m.^Km`o(n,l,p,b);m.e(n,x,o^4a=f`2o,t`5,i=^B?^B:o`Q,n=o`Q,p=0,v,c,c1,c2,^Ph,x,e,f1,f2`1oc^h3`1t^h4`1s^h5`1l^h6`1m^h7`1c',tcf,w`3!i){`E!m.c)m.c=0;i`1'+m.c;m.c++}`E!^B)^B=i`3!o`Q)o`Q=n=i`3!^0)^0`8"
+"`U`3^0[i])`x;^0[i]=o`3!xc)^Pb;tcf`8F`2`J0;try{`Eo.v`H&&o`g`c&&^1)p=1`N0`B`3^O`8F`2`J0^6`9`t`C^7`3t)p=2`N0`B`3^O`8F`2`J0^6`9V`H()`3t)p=3`N0`B}}v=\"^N_c_il[\"+m._in+\"],o=^0['\"+i+\"']\"`3p==1^IWindo"
+"ws `c `Zo.v`H;c1`np,l,x=-1,cm,c,mn`3o){cm=o`g`c;c=^1`3cm&&c^Ecm`Q?cm`Q:c.URL;l=cm.dura^D;p=c`gPosi^D;n=o.p`S`3n){`E^88)x=0`3^83)x=1`3^81`T2`T4`T5`T6)x=2;}^b`Ex>=0)`4`D}';c=c1+c2`3`f&&xc){x=m.s.d.cr"
+"eateElement('script');x.language='j^5type='text/java^5htmlFor=i;x`j'P`S^f(NewState)';x.defer=true;x.text=c;xc.appendChild(x`v6]`8F`2c1+'`E^83){x=3;'+c2+'}^e`Cout(`76+',^Y)'`v6]()}}`Ep==2^I`t`C `Z(`"
+"9Is`t`CRegistered()?'Pro ':'')+`9`t`C^7;f1=f2;c`nx,t,l,p,p2,mn`3o^E`9`u?`9`u:`9URL^Gn=`9Rate^Gt=`9`CScale^Gl=`9Dura^D^Rt;p=`9`C^Rt;p2=`75+'`3n!=`74+'||`i{x=2`3n!=0)x=1;`K `Ep>=l)x=0`3`i`42,p2,o);`4"
+"`D`En>0&&`7^S>=10){`4^V`7^S=0}`7^S++;`7^j`75+'=p;^e`C`w`72+'(0,0)\",500)}'`e`8F`2`b`v4]=-^F0`e(0,0)}`Ep==3^IReal`Z`9V`H^Gf1=n+'_OnP`S^f';c1`nx=-1,l,p,mn`3o^E`9^Q?`9^Q:`9Source^Gn=`9P`S^Gl=`9Length^"
+"R`y;p=`9Posi^D^R`y`3n!=`74+'){`E^83)x=1`3^80`T2`T4`T5)x=2`3^80&&(p>=l||p==0))x=0`3x>=0)`4`D`E^83&&(`7^S>=10||!`73+')){`4^V`7^S=0}`7^S++;`7^j^b`E`72+')`72+'(o,n)}'`3`V)o[f2]=`V;`V`8F`2`b1+c2)`e`8F`2"
+"`b1+'^e`C`w`71+'(0,0)\",`73+'?500:^Y);'+c2`v4]=-1`3`f)o[f3]=^F0`e(0,0^4as`8F`2'e',`Il,n`3m.autoTrack&&`G){l=`G(`f?\"OBJECT\":\"EMBED\")`3l)for(n=0;n<l`X;n++)m.a(^K;}')`3`a)`a('on^3);`K `E`P)`P('^3,"
+"false)";s.m_i("Media");var s_code='',s_objectID;function s_gi(un,pg,ss){var c="=fun`o(~.substring(~){`Ps=^O~.indexOf(~#2 ~;$2~`b$2~=new Fun`o(~.length~.toLowerCase()~`Ps#8c_#k^an+'],~=new Object~};s.~`YMigrationServer~.toU"
+"pperCase~){$2~','~s.wd~);s.~')q='~=new Array~ookieDomainPeriods~.location~^LingServer~dynamicAccount~var ~link~s.m_~=='~s.apv~BufferedRequests~Element~)$2x^b!Object#WObject.prototype#WObject.protot"
+"ype[x])~etTime~visitor~$w@c(~referrer~else ~s.pt(~s.maxDelay~}c#E(e){~#i+~=''~.lastIndexOf(~^wc_i~}$2~.protocol~=new Date~^wobjectID=s.ppu=$I=$Iv1=$Iv2=$Iv3~for(i=~ction~javaEnabled~onclick~Name~te"
+"rnalFilters~javascript~s.dl~@6s.b.addBehavior(\"# default# ~=parseFloat(~typeof(v)==\"~window~cookie~while(~s.vl_g~Type~;i#U{~tfs~s.un~&&s.~o^woid~browser~.parent~document~colorDepth~String~.host~s"
+".fl(~s.rep(~s.eo~'+tm@S~s.sq~parseInt(~t=s.ot(o)~track~nload~j='1.~this~#PURL~}else{~s.vl_l~lugins~'){q='~dynamicVariablePrefix~');~;for(~Sampling~s.rc[un]~Event~._i~&&(~loadModule~resolution~s.c_r"
+"(~s.c_w(~s.eh~s.isie~\"m_\"+n~Secure~Height~tcf~isopera~ismac~escape(~'s_~.href~screen.~s#8gi(~Version~harCode~variableProvider~.s_~)s_sv(v,n[k],i)}~')>=~){s.~)?'Y':'N'~u=m[t+1](~i)clearTimeout(~e&"
+"&l$bSESSION'~name~home#P~;try{~,$m)~s.ssl~s.oun~s.rl[u~Width~o.type~s.vl_t~=s.sp(~Lifetime~s.gg('objectID~sEnabled~'+n+'~.mrq(@wun+'\"~ExternalLinks~charSet~lnk~onerror~http~currencyCode~.src~disab"
+"le~.get~MigrationKey~(''+~&&!~f',~){t=~r=s[f](~u=m[t](~Opera~Math.~s.ape~s.fsg~s.ns6~conne~InlineStats~&&l$bNONE'~Track~'0123456789~true~+\"_c\"]~s.epa(~t.m_nl~s.va_t~m._d~n=s.oid(o)~,'sqs',q);~Lea"
+"veQuery~?'&~'=')~n){~\"'+~){n=~'_'+~'+n;~\",''),~,255)}~if(~vo)~s.sampled~=s.oh(o);~+(y<1900?~n]=~1);~&&o~:'';h=h?h~;'+(n?'o.~sess~campaign~lif~ in ~s.co(~ffset~s.pe~m._l~s.c_d~s.brl~s.nrs~s[mn]~,'"
+"vo~s.pl~=(apn~space~\"s_gs(\")~vo._t~b.attach~2o7.net'~Listener~Year(~d.create~=s.n.app~)}}}~!='~'||t~)+'/~s()+'~){p=~():''~a['!'+t]~&&c){~://')i+=~){v=s.n.~channel~100~rs,~.target~o.value~s_si(t)~"
+"')dc='1~\".tl(\")~etscape~s_')t=t~omePage~='+~&&t~[b](e);~\"){n[k]~';s.va_~a+1,b):~return~mobile~height~events~random~code~=s_~=un~,pev~'MSIE ~'fun~floor(~atch~transa~s.num(~m._e~s.c_gd~,'lt~tm.g~."
+"inner~;s.gl(~,f1,f2~',s.bc~page~Group,~.fromC~sByTag~')<~++)~)){~||!~+';'~i);~y+=~l&&~''+x~[t]=~[i]=~[n];~' '+~'+v]~>=5)~:'')~+1))~il['+s~!a[t])~~s._c=^pc';`H=`y`5!`H`i@v`H`il`K;`H`in=0;}s^al=`H`il"
+";s^an=`H`in;s^al[s^a$7s;`H`in++;s.an#8an;s.cls`0x,c){`Pi,y`g`5!c)c=^O.an;`n0;i<x`8^3n=x`1i,i+1)`5c`3n)>=0)#Zn}`4y`Cfl`0x,l){`4x?@Ux)`10,l):x`Cco`0o`F!o)`4o;`Pn`B,x^Wx$Fo)$2x`3'select#T0&&x`3'filter"
+"#T0)n[x]=o[x];`4n`Cnum`0x){x`g+x^W`Pp=0;p<x`8;p#U$2(@j')`3x`1p,p#j<0)`40;`41`Crep#8rep;s.sp#8sp;s.jn#8jn;@c`0x`2,h=@jABCDEF',i,c=s.@L,n,l,e,y`g;c=c?c`E$g`5x){x`g+x`5c`SAUTO'^b'').c^uAt){`n0;i<x`8^3"
+"c=x`1i,i+$8n=x.c^uAt(i)`5n>127){l=0;e`g;^0n||l<4){e=h`1n%16,n%16+1)+e;n=(n-n%16)/16;l++}#Z'%u'+e}`6c`S+')#Z'%2B';`b#Z^oc)}x=y^Qx=x?^F^o#b),'+`G%2B'):x`5x&&c^6em==1&&x`3'%u#T0&&x`3'%U#T0){i=x`3'%^V^"
+"0i>=0){i++`5h`18)`3x`1i,i+1)`E())>=0)`4x`10,i)+'u00'+x`1#Yi=x`3'%',i$a}`4x`Cepa`0x`2;`4x?un^o^F#b,'+`G ')):x`Cpt`0x,d,f,a`2,t=x,z=0,y,r;^0t){y=t`3d);y=y<0?t`8:y;t=t`10,y);@Yt,a)`5r)`4r;z+=y+d`8;t=x"
+"`1z,x`8);t=z<x`8?t:''}`4''`Cisf`0t,a){`Pc=a`3':')`5c>=0)a=a`10,c)`5t`10,2)`S$u`12);`4(t!`g$x==a)`Cfsf`0t,a`2`5`ca,`G,'is@Wt))@d+=(@d!`g?`G`ft;`40`Cfs`0x,f`2;@d`g;`cx,`G,'fs@Wf);`4@d`Csi`0wd`2,c`g+s"
+"_gi,a=c`3\"{\"),b=c`h\"}\"),m;c#8fe(a>0&&b>0?c`1#10)`5wd&&wd.^A$iwd.s`Xout(#C`o s_sv(o,n,k){`Pv=o[k],i`5v`F`xstring\"||`xnumber\")n[k]=v;`bif (`xarray$z`K;`n0;i<v`8;i++^x`bif (`xobject$z`B^Wi$Fv^x}"
+"}fun`o $q{`Pwd=`y,s,i,j,c,a,b;wd^wgi`7\"un\",\"pg\",\"ss\",@wc+'\");wd.^s@w@9+'\");s=wd.s;s.sa(@w^5+'\"`I^4=wd;`c^1,\",\",\"vo1\",t`I@M=^G=s.`Q`r=s.`Q^2=`H`m=\\'\\'`5t.m_#a@n)`n0;i<@n`8^3n=@n[i]`5@"
+"vm=t#ec=t[^i]`5m$ic=\"\"+c`5c`3\"fun`o\")>=0){a=c`3\"{\");b=c`h\"}\");c=a>0&&b>0?c`1#10;s[^i@l=c`5#H)s.^c(n)`5s[n])for(j=0;j<$J`8;j#Us_sv(m,s[n],$J[j]$a}}`Pe,o,t@6o=`y.opener`5o$9^wgi@Xo^wgi(@w^5+'"
+"\")`5t)$q}`e}',1)}`Cc_d`g;#If`0t,a`2`5!#Gt))`41;`40`Cc_gd`0`2,d=`H`M^D@4,n=s.fpC`L,p`5!n)n=s.c`L`5d@V$K@xn?^Jn):2;n=n>2?n:2;p=d`h'.')`5p>=0){^0p>=0&&n>1$fd`h'.',p-$8n--}$K=p>0&&`cd,'.`Gc_gd@W0)?d`1"
+"p):d}}`4$K`Cc_r`0k`2;k=@c(k);`Pc=#fs.d.`z,i=c`3#fk+@u,e=i<0?i:c`3';',i),v=i<0?'':@mc`1i+2+k`8,e<0?c`8:e));`4v$b[[B]]'?v:''`Cc_w`0k,v,e`2,d=#I(),l=s.`z@F,t;v`g+v;l=l?@Ul)`E$g`5@3@h@X(v!`g?^Jl?l:0):-"
+"60)`5t){e`l;e.s`X(e.g`X()+(t*$m0))}`jk@h^zd.`z=k+'`Zv!`g?v:'[[B]]')+'; path=/;'+(@3?' expires$we.toGMT^C()#X`f(d?' domain$wd#X:'^V`4^ek)==v}`40`Ceh`0o,e,r,f`2,b=^p'+e+@ys^an,n=-1,l,i,x`5!^gl)^gl`K;"
+"l=^gl;`n0;i<l`8&&n<0;i++`Fl[i].o==o&&l[i].e==e)n=i`jn<0@xi;l[n]`B}x=l#ex.o=o;x.e=e;f=r?x.b:f`5r||f){x.b=r?0:o[e];x.o[e]=f`jx.b){x.o[b]=x.b;`4b}`40`Ccet`0f,a,t,o,b`2,r,^l`5`T>=5^b!s.^m||`T>=7#V^l`7'"
+"s`Gf`Ga`Gt`G`Pe,r@6@Ya)`er=s[t](e)}`4r^Vr=^l(s,f,a,t)^Q$2s.^n^6u`3#B4^y0)r=s[b](a);else{^g(`H,'@N',0,o);@Ya`Ieh(`H,'@N',1)}}`4r`Cg^4et`0e`2;`4s.^4`Cg^4oe`7'e`G`Ac;^g(`y,\"@N\",1`Ie^4=1;c=s.t()`5c)s"
+".d.write(c`Ie^4=0;`4@k'`Ig^4fb`0a){`4`y`Cg^4f`0w`2,p=w^9,l=w`M;s.^4=w`5p&&p`M!=#ap`M^D==l^D^z^4=p;`4s.g^4f(s.^4)}`4s.^4`Cg^4`0`2`5!s.^4^z^4=`H`5!s.e^4)s.^4=s.cet('g^4@Ws.^4,'g^4et',s.g^4oe,'g^4fb')"
+"}`4s.^4`Cmrq`0u`2,l=@A],n,r;@A]=0`5l)for(n=0;n<l`8;n#U{r=l#es.mr(0,0,r.r,0,r.t,r.u)}`Cbr`0id,rs`2`5s.@R`U#W^f^pbr',rs))$L=rs`Cflush`U`0){^O.fbr(0)`Cfbr`0id`2,br=^e^pbr')`5!br)br=$L`5br`F!s.@R`U)^f^"
+"pbr`G'`Imr(0,0,br)}$L=0`Cmr`0$C,q,$nid,ta,u`2,dc=s.dc,t1=s.`N,t2=s.`N^j,tb=s.`NBase,p='.sc',ns=s.`Y`r$R,un=s.cls(u?u:(ns?ns:s.fun)),r`B,l,imn=^pi_'+(un),im,b,e`5!rs`Ft1`Ft2^6ssl)t1=t2^Q$2!tb)tb='$V"
+"`5dc)dc=@Udc)`9;`bdc='d1'`5tb`S$V`Fdc`Sd1$r12';`6dc`Sd2$r22';p`g}t1#9+'.'+dc+'.'+p+tb}rs='@O'+(@8?'s'`f'://'+t1+'/b/ss/'+^5+'/'+(s.#3?'5.1':'1'$dH.20.3/'+$C+'?AQB=1&ndh=1'+(q?q`f'&AQE=1'`5^h@Vs.^n`"
+"F`T>5.5)rs=^E$n4095);`brs=^E$n2047)`jid^zbr(id,rs);#2}`js.d.images&&`T>=3^b!s.^m||`T>=7)^b@e<0||`T>=6.1)`F!s.rc)s.rc`B`5!^Y){^Y=1`5!s.rl)s.rl`B;@An]`K;s`Xout('$2`y`il)`y`il['+s^an+']@J)',750)^Ql=@A"
+"n]`5l){r.t=ta;r.u#9;r.r=rs;l[l`8]=r;`4''}imn+=@y^Y;^Y++}im=`H[imn]`5!im)im=`H[im$7new Image;im^wl=0;im.o^M`7'e`G^O^wl=1;`Pwd=`y,s`5wd`il){s=wd`il['+s^an+'];s@J`Inrs--`5!$M)`Rm(\"rr\")}')`5!$M^znrs="
+"1;`Rm('rs')}`b$M++;im@Q=rs`5rs`3'&pe=^y0^b!ta||ta`S_self$ca`S_top'||(`H.@4$xa==`H.@4)#Vb=e`l;^0!im^w#ae.g`X()-b.g`X()<500)e`l}`4''}`4'<im'+'g sr'+'c=@wrs+'\" width=1 #4=1 border=0 alt=\"\">'`Cgg`0v"
+"`2`5!`H[^p#g)`H[^p#g`g;`4`H[^p#g`Cglf`0t,a`Ft`10,2)`S$u`12);`Ps=^O,v=s.gg(t)`5v)s#cv`Cgl`0v`2`5s.pg)`cv,`G,'gl@W0)`Crf`0x`2,y,i,j,h,l,a,b`g,c`g,t`5x){y`g+x;i=y`3'?')`5i>0){a=y`1i+$8y=y`10,#Yh=y`9;i"
+"=0`5h`10,7)`S@O$j7;`6h`10,8)`S@Os$j8;h=h`1#Yi=h`3\"/\")`5i>0){h=h`10,i)`5h`3'google^y0){a@Ea,'&')`5a`8>1){l=',q,ie,start,search_key,word,kw,cd,'^Wj=0;j<a`8;j++@Xa[j];i=t`3@u`5i>0&&l`3`G+t`10,i)+`G)"
+">=0)b+=(b@t'`ft;`bc+=(c@t'`ft`jb$i#Z'?'+b+'&'+c`5#b!=y)x=y}}}}}}`4x`Chav`0`2,qs`g,fv=s.`Q@iVa$nfe=s.`Q@i^Zs,mn,i`5$I){mn=$I`10,1)`E()+$I`11)`5$N){fv=$N.^LVars;fe=$N.^L^Zs}}fv=fv?fv+`G+^R+`G+^R2:'';"
+"`n0;i<@o`8^3`Pk=@o[i],v=s[k],b=k`10,4),x=k`14),n=^Jx),q=k`5v&&k$b`Q`r'&&k$b`Q^2'`F$I||s.@M||^G`Ffv^b`G+fv+`G)`3`G+k+`G)<0)v`g`5k`S#5'&&fe)v=s.fs(v,fe)`jv`Fk`S^U`JD';`6k`S`YID`Jvid';`6k`S^P^Tg';v=^E"
+"v$1`6k`S`a^Tr';v=^Es.rf(v)$1`6k`Svmk'||k`S`Y@T`Jvmt';`6k`S`D^Tvmf'`5@8^6`D^j)v`g}`6k`S`D^j^Tvmf'`5!@8^6`D)v`g}`6k`S@L^Tce'`5v`E()`SAUTO')v='ISO8859-1';`6s.em==2)v='UTF-8'}`6k`S`Y`r$R`Jns';`6k`Sc`L`"
+"Jcdp';`6k`S`z@F`Jcl';`6k`S^v`Jvvp';`6k`S@P`Jcc';`6k`S$l`Jch';`6k`S#F`oID`Jxact';`6k`S$D`Jv0';`6k`S^d`Js';`6k`S^B`Jc';`6k`S`t^t`Jj';`6k`S`p`Jv';`6k`S`z@H`Jk';`6k`S^8@B`Jbw';`6k`S^8^k`Jbh';`6k`S@f`o^"
+"2`Jct';`6k`S@5`Jhp';`6k`Sp^S`Jp';`6#Gx)`Fb`Sprop`Jc@z`6b`SeVar`Jv@z`6b`Slist`Jl@z`6b`Shier^Th@zv=^Ev$1`jv)qs+='&'+q+'$w(k`10,3)$bpev'?@c(v):v$a`4qs`Cltdf`0t,h@Xt?t`9$A`9:'';`Pqi=h`3'?^Vh=qi>=0?h`10"
+",qi):h`5t&&h`1h`8-(t`8#j`S.'+t)`41;`40`Cltef`0t,h@Xt?t`9$A`9:''`5t&&h`3t)>=0)`41;`40`Clt`0h`2,lft=s.`QDow^MFile^2s,lef=s.`QEx`s,$E=s.`QIn`s;$E=$E?$E:`H`M^D@4;h=h`9`5s.^LDow^MLinks&&lft&&`clft,`G#Jd"
+"@Wh))`4'd'`5s.^L@K&&h`10,1)$b# '^blef||$E)^b!lef||`clef,`G#Je@Wh))^b!$E#W`c$E,`G#Je@Wh)))`4'e';`4''`Clc`7'e`G`Ab=^g(^O,\"`q\"`I@M=$G^O`It(`I@M=0`5b)`4^O$y`4@k'`Ibc`7'e`G`Af,^l`5s.d^6d.all^6d.all.cp"
+"pXYctnr)#2;^G=e@Q`V?e@Q`V:e$o;^l`7\"s\",\"`Pe@6$2^G^b^G.tag`r||^G^9`V||^G^9Node))s.t()`e}\");^l(s`Ieo=0'`Ioh`0o`2,l=`H`M,h=o^q?o^q:'',i,j,k,p;i=h`3':^Vj=h`3'?^Vk=h`3'/')`5h^bi<0||(j>=0&&i>j)||(k>=0"
+"&&i>k))$fo`k$9`k`8>1?o`k:(l`k?l`k:'^Vi=l.path@4`h'/^Vh=(p?p+'//'`f(o^D?o^D:(l^D?l^D#i)+(h`10,1)$b/'?l.path@4`10,i<0?0:i$d'`fh}`4h`Cot`0o){`Pt=o.tag`r;t=t$x`E?t`E$g`5t`SSHAPE')t`g`5t`Ft`SINPUT'&&@C&"
+"&@C`E)t=@C`E();`6!t$9^q)t='A';}`4t`Coid`0o`2,^K,p,c,n`g,x=0`5t@V^7$fo`k;c=o.`q`5o^q^bt`SA$c`SAREA')^b!c#Wp||p`9`3'`t#T0))n$5`6c@x^Fs.rep(^Fs.rep@Uc,\"\\r$0\"\\n$0\"\\t$0' `G^Vx=2}`6$p^bt`SINPUT$c`S"
+"SUBMIT')@x$p;x=3}`6o@Q$x`SIMAGE')n=o@Q`5@v^7=^En@7;^7t=x}}`4^7`Crqf`0t,un`2,e=t`3@u,u=e>=0?`G+t`10,e)+`G:'';`4u&&u`3`G+un+`G)>=0?@mt`1e#j:''`Crq`0un`2,c#9`3`G),v=^e^psq'),q`g`5c<0)`4`cv,'&`Grq@Wun)"
+";`4`cun,`G,'rq',0)`Csqp`0t,a`2,e=t`3@u,q=e<0?'':@mt`1e+1)`Isqq[q]`g`5e>=0)`ct`10,e),`G@r`40`Csqs`0un,q`2;^Iu[u$7q;`40`Csq`0q`2,k=^psq',v=^ek),x,c=0;^Iq`B;^Iu`B;^Iq[q]`g;`cv,'&`Gsqp',0`Ipt(^5,`G@rv`"
+"g^Wx$F^Iu`W)^Iq[^Iu[x]]+=(^Iq[^Iu[x]]?`G`fx^Wx$F^Iq`W^6sqq[x]^bx==q||c<2#Vv+=(v@t'`f^Iq[x]+'`Zx);c++}`4^fk,v,0)`Cwdl`7'e`G`Ar=@k,b=^g(`H,\"o^M\"),i,o,oc`5b)r=^O$y`n0;i<s.d.`Qs`8^3o=s.d.`Qs[i];oc=o."
+"`q?\"\"+o.`q:\"\"`5(oc`3$S<0||oc`3\"^woc(\")>=0)$9c`3$s<0)^g(o,\"`q\",0,s.lc);}`4r^V`Hs`0`2`5`T>3^b!^h#Ws.^n||`T#h`Fs.b^6$U^Z)s.$U^Z('`q#O);`6s.b^6b.add^Z$W)s.b.add^Z$W('click#O,false);`b^g(`H,'o^M"
+"',0,`Hl)}`Cvs`0x`2,v=s.`Y^X,g=s.`Y^X#Qk=^pvsn_'+^5+(g?@yg#i,n=^ek),e`l,y=e@S$X);e.set$Xy+10$61900:0))`5v){v*=$m`5!n`F!^fk,x,e))`40;n=x`jn%$m00>v)`40}`41`Cdyasmf`0t,m`Ft&&m&&m`3t)>=0)`41;`40`Cdyasf`"
+"0t,m`2,i=t?t`3@u:-1,n,x`5i>=0&&m){`Pn=t`10,i),x=t`1i+1)`5`cx,`G,'dyasm@Wm))`4n}`40`Cuns`0`2,x=s.`OSele`o,l=s.`OList,m=s.`OM#E,n,i;^5=^5`9`5x&&l`F!m)m=`H`M^D`5!m.toLowerCase)m`g+m;l=l`9;m=m`9;n=`cl,"
+"';`Gdyas@Wm)`5n)^5=n}i=^5`3`G`Ifun=i<0?^5:^5`10,i)`Csa`0un`2;^5#9`5!@9)@9#9;`6(`G+@9+`G)`3`G+un+`G)<0)@9+=`G+un;^5s()`Cm_i`0n,a`2,m,f=n`10,1),r,l,i`5!`Rl)`Rl`B`5!`Rnl)`Rnl`K;m=`Rl[n]`5!a&&m&&#H@Vm^"
+"a)`Ra(n)`5!m){m`B,m._c=^pm';m^an=`H`in;m^al=s^al;m^al[m^a$7m;`H`in++;m.s=s;m._n=n;$J`K('_c`G_in`G_il`G_i`G_e`G_d`G_dl`Gs`Gn`G_r`G_g`G_g1`G_t`G_t1`G_x`G_x1`G_rs`G_rr`G_l'`Im_l[$7m;`Rnl[`Rnl`8]=n}`6m"
+"._r@Vm._m){r=m._r;r._m=m;l=$J;`n0;i<l`8;i#U$2m[l[i]])r[l[i]]=m[l[i]];r^al[r^a$7r;m=`Rl[$7r`jf==f`E())s[$7m;`4m`Cm_a`7'n`Gg`Ge`G$2!g)g=^i;`Ac=s[g@l,m,x,f=0`5!c)c=`H[\"s_\"+g@l`5c&&s_d)s[g]`7\"s\",s_"
+"ft(s_d(c)));x=s[g]`5!x)x=`H[\\'s_\\'+g]`5!x)x=`H[g];m=`Ri(n,1)`5x^b!m^a||g!=^i#Vm^a=f=1`5(\"\"+x)`3\"fun`o\")>=0)x(s);`b`Rm(\"x\",n,x,e)}m=`Ri(n,1)`5@pl)@pl=@p=0;`ut();`4f'`Im_m`0t,n,d,e@X@yt;`Ps=^"
+"O,i,x,m,f=@yt,r=0,u`5`R#a`Rnl)`n0;i<`Rnl`8^3x=`Rnl[i]`5!n||x==@vm=`Ri(x);u=m[t]`5u`F@Uu)`3#C`o^y0`Fd&&e)@Zd,e);`6d)@Zd);`b@Z)}`ju)r=1;u=m[t+1]`5u@Vm[f]`F@Uu)`3#C`o^y0`Fd&&e)@1d,e);`6d)@1d);`b@1)}}m"
+"[f]=1`5u)r=1}}`4r`Cm_ll`0`2,g=`Rdl,i,o`5g)`n0;i<g`8^3o=g[i]`5o)s.^c(o.n,o.u,o.d,o.l,o.e,$8g#d0}`C^c`0n,u,d,l,e,ln`2,m=0,i,g,o=0#N,c=s.h?s.h:s.b,b,^l`5@vi=n`3':')`5i>=0){g=n`1i+$8n=n`10,i)}`bg=^i;m="
+"`Ri(n)`j(l||(n@V`Ra(n,g)))&&u^6d&&c^6$Y`V`Fd){@p=1;@pl=1`jln`F@8)u=^Fu,'@O:`G@Os:^Vi=^ps:'+s^an+':@I:'+g;b='`Ao=s.d@S`VById(@wi+'\")`5s$9`F!o.#a`H.'+g+'){o.l=1`5o.@2o.#Yo.i=0;`Ra(\"@I\",@wg+'@w(e?'"
+",@we+'\"'`f')}';f2=b+'o.c++`5!`d)`d=250`5!o.l$9.c<(`d*2)/$m)o.i=s`Xout(o.f2@7}';f1`7'e',b+'}^V^l`7's`Gc`Gi`Gu`Gf1`Gf2`G`Pe,o=0@6o=s.$Y`V(\"script\")`5o){@C=\"text/`t\"$Bid=i;o.defer=@k;o.o^M=o.onre"
+"adystatechange=f1;o.f2=f2;o.l=0;'`f'o@Q=u;c.appendChild(o)$Bc=0;o.i=s`Xout(f2@7'`f'}`eo=0}`4o^Vo=^l(s,c,i,u#N)^Qo`B;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=`Rdl`5!g)g=`Rdl`K;i=0;^0i<g`8&&g[i])i++;g#d"
+"o}}`6@vm=`Ri(n);#H=1}`4m`Cvo1`0t,a`Fa[t]||$h)^O#ca[t]`Cvo2`0t,a`F#l{a#c^O[t]`5#l$h=1}`Cdlt`7'`Ad`l,i,vo,f=0`5`ul)`n0;i<`ul`8^3vo=`ul[i]`5vo`F!`Rm(\"d\")||d.g`X()-$T>=`d){`ul#d0;s.t($3}`bf=1}`j`u@2`"
+"ui`Idli=0`5f`F!`ui)`ui=s`Xout(`ut,`d)}`b`ul=0'`Idl`0vo`2,d`l`5!$3vo`B;`c^1,`G$O2',$3;$T=d.g`X()`5!`ul)`ul`K;`ul[`ul`8]=vo`5!`d)`d=250;`ut()`Ct`0vo,id`2,trk=1,tm`l,sed=Math&&@b#6?@b#D@b#6()*$m000000"
+"00000):#K`X(),$C='s'+@b#D#K`X()/10800000)%10+sed,y=tm@S$X),vt=tm@SDate($d^HMonth($d'$6y+1900:y)+' ^HHour$e:^HMinute$e:^HSecond$e ^HDay()+#f#K`XzoneO$H(),^l,^4=s.g^4(),ta`g,q`g,qs`g,#7`g,vb`B#M^1`Iu"
+"ns(`Im_ll()`5!s.td){`Ptl=^4`M,a,o,i,x`g,c`g,v`g,p`g,bw`g,bh`g,^N0',k=^f^pcc`G@k',0@0,hp`g,ct`g,pn=0,ps`5^C&&^C.prototype){^N1'`5j.m#E){^N2'`5tm.setUTCDate){^N3'`5^h^6^n&&`T#h^N4'`5pn.toPrecisio@v^N"
+"5';a`K`5a.forEach){^N6';i=0;o`B;^l`7'o`G`Pe,i=0@6i=new Iterator(o)`e}`4i^Vi=^l(o)`5i&&i.next)^N7'}}}}`j`T>=4)x=^rwidth+'x'+^r#4`5s.isns||s.^m`F`T>=3$k`p(@0`5`T>=4){c=^rpixelDepth;bw=`H#L@B;bh=`H#L^"
+"k}}$P=s.n.p^S}`6^h`F`T>=4$k`p(@0;c=^r^B`5`T#h{bw=s.d.^A`V.o$H@B;bh=s.d.^A`V.o$H^k`5!s.^n^6b){^l`7's`Gtl`G`Pe,hp=0`vh$v\");hp=s.b.isH$v(tl)?\"Y\":\"N\"`e}`4hp^Vhp=^l(s,tl);^l`7's`G`Pe,ct=0`vclientCa"
+"ps\");ct=s.b.@f`o^2`e}`4ct^Vct=^l(s$a`br`g`j$P)^0pn<$P`8&&pn<30){ps=^E$P[pn].@4@7#X`5p`3ps)<0)p+=ps;pn++}s.^d=x;s.^B=c;s.`t^t=j;s.`p=v;s.`z@H=k;s.^8@B=bw;s.^8^k=bh;s.@f`o^2=ct;s.@5=hp;s.p^S=p;s.td="
+"1`j$3{`c^1,`G$O2',vb`Ipt(^1,`G$O1',$3`js.useP^S)s.doP^S(s);`Pl=`H`M,r=^4.^A.`a`5!s.^P)s.^P=l^q?l^q:l`5!s.`a@Vs._1_`a^z`a=r;s._1_`a=1`j(vo&&$T)#W`Rm('d'#V`Rm('g')`5s.@M||^G){`Po=^G?^G:s.@M`5!o)`4'';"
+"`Pp=s.#P`r,w=1,^K,@q,x=^7t,h,l,i,oc`5^G$9==^G){^0o@Vn$x$bBODY'){o=o^9`V?o^9`V:o^9Node`5!o)`4'';^K;@q;x=^7t}oc=o.`q?''+o.`q:''`5(oc`3$S>=0$9c`3\"^woc(\")<0)||oc`3$s>=0)`4''}ta=n?o$o:1;h$5i=h`3'?^Vh="
+"s.`Q@s^C||i<0?h:h`10,#Yl=s.`Q`r;t=s.`Q^2?s.`Q^2`9:s.lt(h)`5t^bh||l))q+='&pe=@M_'+(t`Sd$c`Se'?@c(t):'o')+(h@tpev1`Zh)`f(l@tpev2`Zl):'^V`btrk=0`5s.^L@g`F!p$fs.^P;w=0}^K;i=o.sourceIndex`5@G')@x@G^Vx=1"
+";i=1`jp&&n$x)qs='&pid`Z^Ep,255))+(w@tpidt$ww`f'&oid`Z^En@7)+(x@toidt$wx`f'&ot`Zt)+(i@toi$wi#i}`j!trk@Vqs)`4'';$4=s.vs(sed)`5trk`F$4)#7=s.mr($C,(vt@tt`Zvt)`fs.hav()+q+(qs?qs:s.rq(^5)),0,id,ta);qs`g;"
+"`Rm('t')`5s.p_r)s.p_r(`I`a`g}^I(qs);^Q`u($3;`j$3`c^1,`G$O1',vb`I@M=^G=s.`Q`r=s.`Q^2=`H`m`g`5s.pg)`H^w@M=`H^weo=`H^w`Q`r=`H^w`Q^2`g`5!id@Vs.tc^ztc=1;s.flush`U()}`4#7`Ctl`0o,t,n,vo`2;s.@M=$Go`I`Q^2=t"
+";s.`Q`r=n;s.t($3}`5pg){`H^wco`0o){`P^s\"_\",1,$8`4$Go)`Cwd^wgs`0u@v`P^sun,1,$8`4s.t()`Cwd^wdc`0u@v`P^sun,$8`4s.t()}}@8=(`H`M`k`9`3'@Os^y0`Id=^A;s.b=s.d.body`5s.d@S`V#S`r^zh=s.d@S`V#S`r('HEAD')`5s.h"
+")s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;@e=s.u`3'N$t6/^V`Papn$Z`r,v$Z^t,ie=v`3#B'),o=s.u`3'@a '),i`5v`3'@a^y0||o>0)apn='@a';^h$Q`SMicrosoft Internet Explorer'`Iisns$Q`SN$t'`I^m$Q`S@a'`I^n=(s.u`"
+"3'Mac^y0)`5o>0)`T`ws.u`1o+6));`6ie>0){`T=^Ji=v`1ie+5))`5`T>3)`T`wi)}`6@e>0)`T`ws.u`1@e+10));`b`T`wv`Iem=0`5^C#R^u){i=^o^C#R^u(256))`E(`Iem=(i`S%C4%80'?2:(i`S%U0$m'?1:0))}s.sa(un`Ivl_l='^U,`YID,vmk,"
+"`Y@T,`D,`D^j,ppu,@L,`Y`r$R,c`L,`z@F,#P`r,^P,`a,@P#0l@E^R,`G`Ivl_t=^R+',^v,$l,server,#P^2,#F`oID,purchaseID,$D,state,zip,#5,products,`Q`r,`Q^2'^W`Pn=1;n<51;n#U@D+=',prop@I,eVar@I,hier@I,list@z^R2=',"
+"tnt,pe#A1#A2#A3,^d,^B,`t^t,`p,`z@H,^8@B,^8^k,@f`o^2,@5,p^S';@D+=^R2;@o@E@D,`G`Ivl_g=@D+',`N,`N^j,`NBase,fpC`L,@R`U,#3,`Y^X,`Y^X#Q`OSele`o,`OList,`OM#E,^LDow^MLinks,^L@K,^L@g,`Q@s^C,`QDow^MFile^2s,`"
+"QEx`s,`QIn`s,`Q@iVa$n`Q@i^Zs,`Q`rs,@M,eo,_1_`a#0g@E^1,`G`Ipg=pg#M^1)`5!ss)`Hs()",w=window,l=w.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf('MSIE '),m=u.indexOf('Netscape6/'),a,i,s;if(un){un=un.toLowerCase();if(l)for(i=0;i<l.length;i++){s=l[i];if(!s._c||s._c=='s_c'){if(s.oun==un)return s;else if(s.fs&&s.sa&&s.fs(s.oun,un)){s.sa(un);return s}}}}w.s_an='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';w.s_sp=new Function("x","d","var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i<x.length;i++)a[a.length]=x.substring(i,i+1);else while(i>=0){j=x.indexOf(d,i);a[a.length]=x.subst"
+"ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");w.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i<j;i++)x+=d+a[i]}}return x");w.s_rep=new Function("x","o","n","return s_jn(s_sp(x,o),n)");w.s_d=new Function("x","var t='`^@$#',l=s_an,l2=new Object,x2,d,b=0,k,i=x.lastIndexOf('~~'),j,v,w;if(i>0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d"
+"=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j<x2.length;j++){k=x2[j].substring(0,1);w=t[i]+k;if(k!=' '){v=1;w=d[b+l2[k]]}x2[j]=w+x2[j].substring(1)}}if(v)x=s_jn("
+"x2,'');else{w=t[i]+' ';if(x.indexOf(w)>=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x");w.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");w.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')a+='\",\"';else if((\"\\n\\r\\t \").indexOf(c)<0)a+=c;s++}return a?'\"'+a+'\"':"
+"a");w.s_ft=new Function("c","c+='';var s,e,o,a,d,q,f,h,x;s=c.indexOf('=function(');while(s>=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i"
+"f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")"
+"'+c.substring(e+1);s=c.indexOf('=function(')}return c;");c=s_d(c);if(e>0){a=parseInt(i=v.substring(e+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10));else a=parseFloat(v);if(a>=5&&v.indexOf('Opera')<0&&u.indexOf('Opera')<0){w.s_c=new Function("un","pg","ss","var s=this;"+c);return new s_c(un,pg,ss)}else s=new Function("un","pg","ss","var s=new Object;"+s_ft(c)+";return s");return s(un,pg,ss)};
