\n');if(window.hasFlash!=null)return window.hasFlash}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){var b=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;return parseInt(b.substr(b.indexOf(".")-2,2),10)>=a}return false}();String.prototype.normalize=function(){return this.replace(/\s+/g," ")};if(Array.prototype.push==null){Array.prototype.push=function(){var i=0,a=this.length,b=arguments.length;while(i`]*)(#|\.|\>|\`)(.+)$/;function r(s,t){var u=s.split(/\s*\,\s*/);var v=[];for(var i=0;i")h=m(d,f[1]);else h=d.childNodes;for(i=0,n=h.length;i":if(e!=">")h=m(d,f[1]);else h=d.childNodes;for(i=0,n=h.length;i");l=l.concat(j)}return l;case"`":h=m(d,f[1]);for(i=0,n=h.length;i")h=m(d,f[1]);else h=d.childNodes;for(i=0,n=h.length;i-1,b:g.indexOf("safari")>-1,c:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,d:g.indexOf("opera")>-1,e:al.contentType!=null&&al.contentType.indexOf("xml")>-1,f:true,g:true,h:null,i:null,j:null,k:null};f.l=f.a||f.c;f.m=!f.a&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";if(f.m&&g.match(/.*gecko\/(\d{8}).*/))f.j=new Number(g.match(/.*gecko\/(\d{8}).*/)[1]);f.n=g.indexOf("msie")>-1&&!f.d&&!f.l&&!f.m;f.o=f.n&&g.match(/.*mac.*/)!=null;if(f.d&&g.match(/.*opera(\s|\/)(\d+\.\d+)/))f.i=new Number(g.match(/.*opera(\s|\/)(\d+\.\d+)/)[2]);if(f.n||(f.d&&f.i<7.6))f.g=false;if(f.a&&g.match(/.*applewebkit\/(\d+).*/))f.k=new Number(g.match(/.*applewebkit\/(\d+).*/)[1]);if(am.hasFlash&&(!f.n||f.o)){var aj=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;f.h=parseInt(aj.charAt(aj.indexOf(".")-1))}if(g.match(/.*(windows|mac).*/)==null||f.o||f.c||(f.d&&(g.match(/.*mac.*/)!=null||f.i<7.6))||(f.b&&f.h<7)||(!f.b&&f.a&&f.k<312)||(f.m&&f.j<20020523))f.f=false;if(!f.o&&!f.m&&al.createElementNS)try{al.createElementNS(a,"i").innerHTML=""}catch(e){f.e=true}f.p=f.c||(f.a&&f.k<312);return f}();function at(){return{bIsWebKit:f.a,bIsSafari:f.b,bIsKonq:f.c,bIsOpera:f.d,bIsXML:f.e,bHasTransparencySupport:f.f,bUseDOM:f.g,nFlashVersion:f.h,nOperaVersion:f.i,nGeckoBuildDate:f.j,nWebKitVersion:f.k,bIsKHTML:f.l,bIsGecko:f.m,bIsIE:f.n,bIsIEMac:f.o,bUseInnerHTMLHack:f.p}}if(am.hasFlash==false||!al.getElementsByTagName||!al.getElementById||(f.e&&(f.p||f.n)))return{UA:at()};function af(e){if((!k.bAutoInit&&(am.event||e)!=null)||!l(e))return;b=true;for(var i=0,h=ah.length;i';s++}else if(as(v,"br"))u+="
";if(v.hasChildNodes()){y=o(v,null,r,s,t);u+=y.u;s=y.s;t=y.t}if(as(v,"a"))u+=""}w=v;v=v.nextSibling;if(q!=null){x=w.parentNode.removeChild(w);q.appendChild(x)}}return{"u":u,"s":s,"t":t}}function A(B){if(al.createElementNS&&f.g)return al.createElementNS(a,B);return al.createElement(B)}function C(D,E,z){var p=A("param");p.setAttribute("name",E);p.setAttribute("value",z);D.appendChild(p)}function F(p,G){var H=p.className;if(H==null)H=G;else H=H.normalize()+(H==""?"":" ")+G;p.className=H}function aq(ar){var a=ak;if(k.bHideBrowserText==false)a=al.getElementsByTagName("body")[0];if((k.bHideBrowserText==false||ar)&&a)if(a.className==null||a.className.match(/\bsIFR\-hasFlash\b/)==null)F(a,"sIFR-hasFlash")}function j(I,J,K,L,M,N,O,P,Q,R,S,r,T){if(!l())return ah.push(arguments);aq();named.extract(arguments,{sSelector:function(ap){I=ap},sFlashSrc:function(ap){J=ap},sColor:function(ap){K=ap},sLinkColor:function(ap){L=ap},sHoverColor:function(ap){M=ap},sBgColor:function(ap){N=ap},nPaddingTop:function(ap){O=ap},nPaddingRight:function(ap){P=ap},nPaddingBottom:function(ap){Q=ap},nPaddingLeft:function(ap){R=ap},sFlashVars:function(ap){S=ap},sCase:function(ap){r=ap},sWmode:function(ap){T=ap}});var U=parseSelector(I);if(U.length==0)return false;if(S!=null)S="&"+S.normalize();else S="";if(K!=null)S+="&textcolor="+K;if(M!=null)S+="&hovercolor="+M;if(M!=null||L!=null)S+="&linkcolor="+(L||K);if(O==null)O=0;if(P==null)P=0;if(Q==null)Q=0;if(R==null)R=0;if(N==null)N="#FFFFFF";if(T=="transparent")if(!f.f)T="opaque";else N="transparent";if(T==null)T="";var p,V,W,X,Y,Z,aa,ab,ac;var ad=null;for(var i=0,h=U.length;i'].join("");else p.innerHTML=[''].join('')}else{if(f.d){ab=A("object");ab.setAttribute("data",J);C(ab,"quality","best");C(ab,"wmode",T);C(ab,"bgcolor",N)}else{ab=A("embed");ab.setAttribute("src",J);ab.setAttribute("quality","best");ab.setAttribute("flashvars",Z);ab.setAttribute("wmode",T);ab.setAttribute("bgcolor",N)}ab.setAttribute("sifr","true");ab.setAttribute("type","application/x-shockwave-flash");ab.className="sIFR-flash";if(!f.l||!f.e)ad=ab.cloneNode(true)}}else ab=ad.cloneNode(true);if(f.g){if(f.d)C(ab,"flashvars",Z);else ab.setAttribute("flashvars",Z);ab.setAttribute("width",V);ab.setAttribute("height",W);ab.style.width=V+"px";ab.style.height=W+"px";p.appendChild(ab)}p.appendChild(aa);if(f.p)p.innerHTML+=""}if(f.n&&k.bFixFragIdBug)setTimeout(function(){al.title=d},0)}function ai(){d=al.title}function ae(){if(k.bIsDisabled==true)return;c=true;if(k.bHideBrowserText)aq(true);if(am.attachEvent)am.attachEvent("onload",af);else if(!f.c&&(al.addEventListener||am.addEventListener)){if(f.a&&f.k>=132&&am.addEventListener)am.addEventListener("load",function(){setTimeout("sIFR({})",1)},false);else{if(al.addEventListener)al.addEventListener("load",af,false);if(am.addEventListener)am.addEventListener("load",af,false)}}else if(typeof am.onload=="function"){var ag=am.onload;am.onload=function(){ag();af()}}else am.onload=af;if(!f.n||am.location.hash=="")k.bFixFragIdBug=false;else ai()}k.UA=at();k.bAutoInit=true;k.bFixFragIdBug=true;k.replaceElement=j;k.updateDocumentTitle=ai;k.appendToClassName=F;k.setup=ae;k.debug=function(){aq(true)};k.debug.replaceNow=function(){ae();k()};k.bIsDisabled=false;k.bHideBrowserText=true;return k}();if(typeof sIFR=="function"&&!sIFR.UA.bIsIEMac&&(!sIFR.UA.bIsWebKit||sIFR.UA.nWebKitVersion>=100)){sIFR.setup();};function sIFRinit()
{if(typeof sIFR=="function"){sIFR.replaceElement(named({sSelector:"#content div.main-title p",sFlashSrc:"/service/static/residentiel/swf/frutiger-lt-std-cn.swf",sColor:"#646464",sLinkColor:"#646464",sHoverColor:"#556688",sCase:"upper",nPaddingRight:0,nPaddingLeft:0,sWmode:"transparent"}));sIFR.replaceElement(named({sSelector:"#content div.main-title span#anchor",sFlashSrc:"/service/static/residentiel/swf/frutiger-lt-std-cn.swf",sColor:"#646464",sLinkColor:"#646464",sHoverColor:"#556688",sCase:"upper",nPaddingRight:0,nPaddingLeft:0,sWmode:"transparent"}));sIFR.replaceElement(named({sSelector:"div.main-title a.section",sFlashSrc:"/service/static/residentiel/swf/frutiger-lt-std-cn.swf",sColor:"#646464",sLinkColor:"#646464",sHoverColor:"#556688",sCase:"upper",nPaddingRight:0,nPaddingLeft:0,sWmode:"transparent"}));sIFR.replaceElement(named({sSelector:"#content div.main-title h1",sFlashSrc:"/service/static/residentiel/swf/frutiger-lt-std-cn.swf",sColor:"#000",sLinkColor:"#000",sHoverColor:"#000",sCase:"none",nPaddingRight:0,nPaddingLeft:0,sWmode:"transparent"}));sIFR.replaceElement(named({sSelector:"#content div.sifr-message div.title",sFlashSrc:"/service/static/residentiel/swf/frutiger-lt-std-cn.swf",sColor:"#000",sLinkColor:"#000",sHoverColor:"#000",sCase:"none",nPaddingRight:0,nPaddingLeft:0,sWmode:"transparent"}));};}
sIFRinit();function showSideNavImage(){var sideNavButton=document.getElementById("view-phone");if(sideNavButton){var sideNavList=document.getElementById('side-nav');var sideNavImage=document.getElementById('side-nav-image');var href=sideNavButton.getElementsByTagName('a');if(href){href.onclick=function(){this.sideNavImage.style.display=(this.sideNavImage.style.display=="block")?"none":"block";};}}}
function showNavImage(){document.getElementById('side-nav').style.display='none';document.getElementById('side-nav-image').style.display='block';}
function hideNavImage(){document.getElementById('side-nav-image').style.display='none';document.getElementById('side-nav').style.display='block';}
function collapseUncollapseDataList(root){if(root){var dl=root.getElementsByTagName('dl');var f=function(e){this.dl.className=(this.dl.className=="opened")?"":"opened";e=e||event;var target=e.target||e.srcElement;if(target.tagName=='A'){YAHOO.util.Event.preventDefault(e);}};for(var j=0;j1){this.prevBtn=document.createElement(this.cfg.buttonNodeName||"a");this.prevBtn.innerHTML="←";this.prevBtn.setAttribute("href","#");this.prevBtn.setAttribute("title",this.labels.prevTitle);this.prevBtn.className=this.cfg.prevBtnClass||"prev";this.prevBtn.onclick=function(that){return function(){that.goTo(-1);that.resetTimer();return false;};}(this);this.prevBtn.onmouseover=f.over;this.prevBtn.onmouseout=f.out;this.prevBtn.onmousedown=f.down;this.prevBtn.onmouseup=f.up;this.controlBarEl.appendChild(this.prevBtn);this.indicator=document.createElement(this.cfg.buttonNodeName||"span");this.indicator.className=this.cfg.indicatorClass||"indicator";this.pips=[];for(i=0;inum)?-1:1;that.goTo(dir,num);that.resetTimer();return false;}};}(this,i);pip.onmouseover=f.over;pip.onmouseout=f.out;pip.onmousedown=f.down;pip.onmouseup=f.up;pip.appendChild(document.createTextNode(i+1));pip.setAttribute("href","#");this.indicator.appendChild(pip);this.pips.push(pip);}
this.controlBarEl.appendChild(this.indicator);this.nextBtn=document.createElement(this.cfg.buttonNodeName||"a");this.nextBtn.setAttribute("href","#");this.nextBtn.setAttribute("title",this.labels.nextTitle);this.nextBtn.innerHTML="→";this.nextBtn.className=this.cfg.nextBtnClass||"next";this.nextBtn.onclick=function(that){return function(){that.goTo(1);that.resetTimer();return false;};}(this);this.nextBtn.onmouseover=f.over;this.nextBtn.onmouseout=function(){YAHOO.util.Dom.removeClass(this,"hover");};this.nextBtn.onmousedown=f.down;this.nextBtn.onmouseup=f.up;this.controlBarEl.appendChild(this.nextBtn);for(i=1;this.slides[i];i++){this.slides[i].style.top="-3000px";this.slides[i].style.left="-3000px";}}
this.goTo(0);this.setTimer();};VIDEOTRON.widget.Slideshow.prototype.setTimer=function(){if(this.cfg.timer>0){this.slideShowInterval=window.setInterval(function(that){return function(){that.goTo(1);};}(this),this.cfg.timer);}};VIDEOTRON.widget.Slideshow.prototype.resetTimer=function(){if(this.slideShowInterval){window.clearInterval(this.slideShowInterval);this.setTimer();}};VIDEOTRON.widget.Slideshow.prototype.refreshSlidesElDims=function(){this.slidesElDims={xy:YAHOO.util.Dom.getXY(this.slidesEl),width:this.slidesEl.offsetWidth,height:this.slidesEl.offsetHeight};};VIDEOTRON.widget.Slideshow.prototype.goTo=function(dir,skipTo){this.slidesElDims={xy:YAHOO.util.Dom.getXY(this.slidesEl),width:this.slidesEl.offsetWidth,height:this.slidesEl.offsetHeight};var outSlide=this.slides[this.slidesPtr];var outSlideXY=YAHOO.util.Dom.getXY(outSlide);var outSlideWidth=outSlide.offsetWidth;var outSlideAnim,inSlideAnim,inSlide,inSlideXY;if(dir==-1){if(!isIE()){outSlideAnim=new YAHOO.util.Motion(outSlide,{opacity:{from:1,to:0},points:{from:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0]+this.slidesElDims.width,this.slidesElDims.xy[1]]}});}
else{outSlideAnim=new YAHOO.util.Motion(outSlide,{points:{from:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0]+this.slidesElDims.width,this.slidesElDims.xy[1]]}});}
outSlideAnim.onComplete.subscribe(function(el){return function(){el.style.top="-3000px";el.style.left="-3000px";};}(outSlide));outSlideAnim.duration=1;outSlideAnim.method=YAHOO.util.Easing.easeOutStrong;this.slidesPtr=(this.slides[skipTo])?skipTo:this.slides[this.slidesPtr-1]?this.slidesPtr-1:this.numSlides-1;inSlide=this.slides[this.slidesPtr];inSlideXY=YAHOO.util.Dom.getXY(inSlide);if(!isIE()){inSlideAnim=new YAHOO.util.Motion(inSlide,{opacity:{from:0,to:1},points:{from:[this.slidesElDims.xy[0]-this.slidesElDims.width,this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]]}});}
else{inSlideAnim=new YAHOO.util.Motion(inSlide,{points:{from:[this.slidesElDims.xy[0]-this.slidesElDims.width,this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]]}});}
inSlideAnim.duration=1;inSlideAnim.method=YAHOO.util.Easing.easeOutStrong;outSlideAnim.animate();inSlideAnim.animate();}else if(dir==1){if(!isIE()){outSlideAnim=new YAHOO.util.Motion(outSlide,{opacity:{from:1,to:0},points:{from:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0]-this.slidesElDims.width,this.slidesElDims.xy[1]]}});}
else{outSlideAnim=new YAHOO.util.Motion(outSlide,{points:{from:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0]-this.slidesElDims.width,this.slidesElDims.xy[1]]}});}
outSlideAnim.onComplete.subscribe(function(el){return function(){el.style.top="-3000px";el.style.left="-3000px";};}(outSlide));outSlideAnim.duration=1;outSlideAnim.method=YAHOO.util.Easing.easeOutStrong;this.slidesPtr=(this.slides[skipTo])?skipTo:this.slides[this.slidesPtr+1]?this.slidesPtr+1:0;inSlide=this.slides[this.slidesPtr];inSlideXY=YAHOO.util.Dom.getXY(inSlide);if(!isIE()){inSlideAnim=new YAHOO.util.Motion(inSlide,{opacity:{from:0,to:1},points:{from:[this.slidesElDims.xy[0]+this.slidesElDims.width,this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]]}});}
else{inSlideAnim=new YAHOO.util.Motion(inSlide,{points:{from:[this.slidesElDims.xy[0]+this.slidesElDims.width,this.slidesElDims.xy[1]],to:[this.slidesElDims.xy[0],this.slidesElDims.xy[1]]}});}
inSlideAnim.duration=1;inSlideAnim.method=YAHOO.util.Easing.easeOutStrong;outSlideAnim.animate();inSlideAnim.animate();}
if(this.indicator){for(var i=0;this.pips[i];i++){if((i+1)===this.currentSlide()){this.pips[i].className="current";}else{this.pips[i].className="";}}}};function preparePresentationList(){var oList=document.getElementById("presentation-list");var ochk;var f=function(){ochk=document.getElementById(this.getAttribute('for'));if(ochk){ochk.checked=(ochk.checked==='')?'checked':'';}};if(oList&&oList.className=='compare'){var dls=oList.getElementsByTagName("dl");for(var i=0;i2)?arguments[2]:false;var tooltipsBox=document.getElementById("tooltips-box");if(tooltipsBox!==null){var oElems=YAHOO.util.Dom.getElementsByClassName(className,tagName,document.body);generateTooltipsForElements(oElems,tooltipsBox,cTr2ul);}}
function generateTooltipsForElements(oElems,tipsBox){var cTr2ul=(arguments.length>2)?arguments[2]:false;for(var i=0;oElems[i];i++){var curExtend=new elemExtend();curExtend.text=(cTr2ul===true)?convertTR2UL(oElems[i]):(oElems[i].title?oElems[i].title:oElems[i].innerHTML);curExtend.className=(oElems.className&&YAHOO.util.Dom.hasClass(oElems[i],'tip-normal-color'))?'normal-color':'';curExtend.disabled=(oElems.className&&YAHOO.util.Dom.hasClass(oElems[i],'disabled-tip'))?true:false;oElems[i].tooltip=curExtend;}
var alltooltips=new YAHOO.widget.Tooltip("alltooltips",{context:oElems,container:tipsBox});alltooltips.contextTriggerEvent.subscribe(function(type,args){var context=args[0];this.cfg.setProperty("text",context.tooltip.text);this.cfg.setProperty("disabled",context.tooltip.disabled);if(context.tooltip.className){YAHOO.util.Dom.addClass(context.container,context.tooltip.className);}
this.cfg.refresh();});alltooltips.contextMouseOverEvent.subscribe(function(type,args){var context=args[0];return!(context.tooltip.disabled);});}
function convertTR2UL(elem){if(elem.TooltipsText){return elem.TooltipsText;}
var li;var lis=[],i,duplicate;var td;var tds=elem.getElementsByTagName('td');if(tds&&typeof(tds)!='undefined'&&tds.length){for(td in tds){if(tds[td].title){duplicate=false;for(i=0;i'+lis[li]+'';}
html+='';return html;}else{return elem.title;}}
function popWin(url,w,h,scroll,tools,name,center){var str="height="+h+",innerHeight="+h;str+=",width="+w+",innerWidth="+w;if(!center){center=false;}
if(!scroll){scroll=0;}
if(!tools){tools=0;}
if(!name){name="pop";}
if((window.screen)&&(center)){var ah=screen.availHeight-30;var aw=screen.availWidth-10;var xc=(aw-w)/2;var yc=(ah-h)/2;str+=",left="+xc+",screenX="+xc;str+=",top="+yc+",screenY="+yc;}
window.open(url,name,'toolbar='+tools+',location=0,directories=0,status=0,menubar=0,scrollbars='+scroll+',resizable=1,'+str).focus();}
var formValidator=(function(data,validateInfo){var that=this;this.validateRequired=function(input){if(input.type=='checkbox'){return this.checked;}
return!(input.value.trim()==='');};this.validateEmail=function(input){var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;return filter.test(input.value);};this.validatePhone=function(input){return(/^\d{3,}-\d{3,}-\d{4,}$/.test(input.value));};this.validateDateFormat=function(input){return(/^\d{4,}\/\d{2,}\/\d{2,}$/.test(input.value));};return(function(data,validateInfo){var from,ancestor,request,el,elem,elems,isRequired,isEmpty,isValide,isError,elem_id;isError=false;elems=YAHOO.util.Dom.getElementsByClassName('error','div',document.body);for(elem in elems){YAHOO.util.Dom.removeClass(elems[elem],'error');}
elems=YAHOO.util.Dom.getElementsByClassName('error','span',document.body);for(elem in elems){elems[elem].parentNode.removeChild(elems[elem]);}
request='';for(el=0;el');addYear=document.createElement('');for(i=startYear;i<=endYear;i+=1){opt=document.createElement('');opt.innerHTML=i;addYear.appendChild(opt);}
addMonth=document.createElement('');for(i=0;i');opt.innerHTML=months[i];addMonth.appendChild(opt);}
lblMonth=document.createElement('');lblYear=document.createElement('');}
lblMonth.innerHTML=_month;lblMonth.className='longdesc';lblYear.innerHTML=_year;lblYear.className='longdesc';container.appendChild(lblYear);container.appendChild(addYear);container.appendChild(lblMonth);container.appendChild(addMonth);container.appendChild(hidden);YAHOO.util.Event.addListener('addYear','change',updateDateValue);YAHOO.util.Event.addListener('addMonth','change',updateDateValue);};VIDEOTRON.util.maxCharScout=function(e,obj){var maxCharScoutString,a,b;var handleFocus=function(e,obj){obj.focused=true;};var handleBlur=function(e,obj){obj.focused=false;};if(obj.lang=='fr'){maxCharScoutString="caractères disponibles";}
else{maxCharScoutString="characters available";}
var oField=document.getElementById(obj.fieldId);var oFieldMax=parseInt(obj.fieldMax);YAHOO.util.Event.addListener(oField,'keydown',doScout);YAHOO.util.Event.addListener(oField,'keyup',doScout);if(obj.fieldsToConcat){var oFieldsConcat=[];for(a=0;aoFieldMax){if(oFieldsConcat){for(b=0;b=0;a--){oInstFieldGroupInputs[a].parentNode.id="add-"+oInstFieldGroupInputs[a].id;if(errors!==null&&oInstFieldGroupInputs[a].value!==""||forceVisible){forceVisible=true;oInstFieldGroupInputs[a].parentNode.style.display="block";}
else if(errors===null){oInstFieldGroupInputs[a].value="";}
theDeleteLink[a]=document.createElement("a");theDeleteLink[a].id="del-"+oInstFieldGroupInputs[a].id;theDeleteLink[a].className="remove";theDeleteLink[a].style.cursor="pointer";theDeleteLink[a].style.marginLeft="1em";theDeleteLink[a].href="#";theDeleteLink[a].innerHTML=lblDeleteField;YAHOO.util.Dom.insertAfter(theDeleteLink[a],oInstFieldGroupInputs[a]);YAHOO.util.Event.addListener(theDeleteLink[a],'click',delInstField);}
var theAddLink=document.createElement("a");theAddLink.id="add-field";theAddLink.className="add";if(oInstFieldGroupInputs[oInstFieldGroupInputs.length-1].parentNode.style.display=="block"){theAddLink.style.display="none";}
else{theAddLink.style.display="inline-block";}
theAddLink.style.margin=".5em 0";theAddLink.style.cssFloat="left";theAddLink.href="#";theAddLink.innerHTML=lblAddField;oInstFieldGroup.appendChild(theAddLink);YAHOO.util.Event.addListener(theAddLink,'click',addInstField);}
function delInstField(e){index=(this.id.substring(this.id.length-1))-2;for(var i=index;i1){elements[i].insertBefore(graphContainer,elements[i].getElementsByTagName("p")[1]);}
else{elements[i].appendChild(graphContainer);}
for(var j=0;j1){numerator=parseFloat(numerator[0]+"."+(numerator[1]/60)*100);}
graphBar.value=parseInt((numerator/denominator)*100);graphBar.style.zIndex=j;graphBar.className="graph graphBar-"+j;if(j>0){legend=document.createElement("span");legend.className="legend graphBar-"+j
graphPercentage=document.createElement("span");graphPercentage.className="percentage";graphPercentage.innerHTML="("+graphBar.value+"%"+")";graphContainer.appendChild(graphBar);data[j].appendChild(graphPercentage);if(j+1100){graphBar.style.width="100%";graphBar.className+=" graph-plus-100";elements[i].className+=" graph-plus-100";if(legend){legend.className+=" graph-plus-100";}
if(graphPercentage){graphPercentage.className+=" graphString-plus-100";}}
else{graphBar.style.width=graphBar.value+"%";}}}};VIDEOTRON.util.sommaireDetailsCollapse=function(e,obj){var tables=new Array(obj.tableID.length);var candidates,nodes;var oLabel,tmpHTML,i,j;document.documentElement.lang=='fr';if(document.documentElement.lang=='fr'){oLabel={show:'Voir les détails de la communication',hide:'Cacher les détails de la communication'};}else{oLabel={show:'See communication detail',hide:'See communication detail'};}
for(i=0;i"+oLabel.show+""+tmpHTML;nodes[j].style.cursor="pointer";YAHOO.util.Event.addListener(nodes[j],"click",showHide);var r=YAHOO.util.Dom.getElementsByClassName(nodes[j].id,"tr",nodes[j].tblId);YAHOO.util.Dom.addClass(r,"hidden");YAHOO.util.Dom.removeClass(nodes[j],"opened");}}
function showHide(e){e=e||event;var target=e.target||e.srcElement;if(target.tagName=='A'){YAHOO.util.Event.preventDefault(e);}
var r=YAHOO.util.Dom.getElementsByClassName(this.id,"tr",this.tblId);var a=document.getElementById("show-"+this.id);if(YAHOO.util.Dom.hasClass(this,"opened")){YAHOO.util.Dom.addClass(r,"hidden");YAHOO.util.Dom.removeClass(this,"opened");YAHOO.util.Dom.replaceClass(a,"substract","add");a.innerHTML=oLabel.show;}
else{YAHOO.util.Dom.removeClass(r,"hidden");YAHOO.util.Dom.addClass(this,"opened");YAHOO.util.Dom.replaceClass(a,"add","substract");a.innerHTML=oLabel.hide;}}};function initVisibilityTimer(root){if(!root){root=document.body;}
else if(typeof root==='string'){root=document.getElementById(root);}
var elems=YAHOO.util.Dom.getElementsByClassName('init-visibility-timer',null,root);if(elems.length){this.execTimer=window.setTimeout(function(el){return function(){this.showVisibilityItem(el);};}(elems),2000);this.showVisibilityItem=function(elems){for(var i=0;elems[i];i+=1){elems[i].style.visibility='inherit';}};}}
var handleSections=function(e,sections){if(e===null){currentSection=document.location.hash.substring(1);}
else{currentSection=this.href.substring(this.href.indexOf('#')+1);}
var i=0;if(currentSection===""){i=1;}
for(i;i