var blnDone=false;var openFs=new Object();var blnLinksOpen=false;var blnOpenMenu=false;var blnOpenNousJoindre=false;function init(){if(blnDone){return;}blnDone=true;var imgs=document.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){if(imgs[i].className=="pub"){imgs[i].onmouseover=function(){mouseOver(this);};imgs[i].onmouseout=function(){mouseOver(this);};}}var objICWrapper=document.getElementById("content-wrapper");setWidthPictureBox(objICWrapper,true);setWidthPictureBox(objICWrapper,false);buildStandardTable(objICWrapper);var objZoneNousJoindre=document.getElementById("zoneJoindre");if(objZoneNousJoindre){objZoneNousJoindre.style.display="none";}blnOpenNousJoindre=false;var objNousJoindre=document.getElementById("nousJoindre");if(objNousJoindre){objNousJoindre.onclick=function(){openNousJoindre(this);};}if(typeof initxhtmlform=="function"){initxhtmlform();}}function setWidthPictureBox(objICWrapper,is_min){var objListDiv;if(objICWrapper){if(is_min){objListDiv=objICWrapper.getElementsByTagName("div");}else{objListDiv=objICWrapper.getElementsByTagName("DIV");}for(i=0;i<objListDiv.length;i++){if((objListDiv[i].className=="picture")||(objListDiv[i].className=="picture-right")){var objImg=objListDiv[i].getElementsByTagName("IMG");if(objImg&&objImg[0]){objListDiv[i].style.width=(objImg[0].width+2)+"px";}}}}}function buildStandardTable(objICWrapper){var objListDiv;if(objICWrapper){objListDiv=objICWrapper.getElementsByTagName("TABLE");for(i=0;i<objListDiv.length;i++){if((objListDiv[i].className=="standard")){var flagSwitchRow=false;var mergeRowCount=0;var rows=objListDiv[i].getElementsByTagName("TR");for(j=0;j<rows.length;j++){if(j==0){rows[j].className="title";}else{if(flagSwitchRow){rows[j].className="odd";}if(mergeRowCount==0){cells=rows[j].getElementsByTagName("TD");if(cells[0].getAttribute("rowSpan")){mergeRowCount=cells[0].getAttribute("rowSpan")-1;}}else{mergeRowCount--;cells=rows[j].getElementsByTagName("TD");for(k=0;k<cells.length;k++){cells[k].className="inner-line";}}if(mergeRowCount==0){if(flagSwitchRow){flagSwitchRow=false;}else{flagSwitchRow=true;}}}}}}}}function mouseOver(imagePub){var imageTempSrc=imagePub.src;var imageTempRoll=imagePub.getAttribute("roll");imagePub.src=imageTempRoll;imagePub.setAttribute("roll",imageTempSrc);}function openNousJoindre(objTitle){var objZoneNousJoindre=document.getElementById("zoneJoindre");if(objZoneNousJoindre){if(blnOpenNousJoindre){objZoneNousJoindre.style.display="none";objTitle.className="nous-joindre-off";blnOpenNousJoindre=false;}else{objZoneNousJoindre.style.display="block";objTitle.className="nous-joindre-on";blnOpenNousJoindre=true;}}}if(document.addEventListener){document.addEventListener("DOMContentLoaded",init,null);
/*@cc_on @*/
/*@if (@_win32)
   document.write("<script defer src=\"/webconcepteur/styles/sherbrooke/fichiersGlobal/js/ie_onload.js\"></script>");
/*@end @*/
}window.onload=init;
