function selectCoop(selectInput){if(selectInput.selectedIndex!=0){var url=selectInput[selectInput.selectedIndex].value;window.location.href=url;}}sfHover=function(){var sfEls=document.getElementById("zone-profil").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";};sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");};}};if(window.attachEvent){window.attachEvent("onload",sfHover);}function filterSelect(selectSourceId,selectDestId,selectDestOptions){jQuery(selectSourceId).change(function(){dofilterSelect(selectSourceId,selectDestId,selectDestOptions);});}function dofilterSelect(selectSourceId,selectDestId,selectDestOptions){jQuery(selectDestId).removeOption(/./);var selectedOptionValue=jQuery(selectSourceId).selectedValues()[0];if(selectedOptionValue!=""){if(selectDestOptions[selectedOptionValue]){jQuery(selectDestId).addOption(selectDestOptions[selectedOptionValue],false);}}}jQuery(document).ready(function(){buildStandardTable();});function buildStandardTable(){var objICWrapper=document.getElementById("content");var objListDiv;if(objICWrapper){objListDiv=objICWrapper.getElementsByTagName("TABLE");for(i=0;i<objListDiv.length;i++){if((objListDiv[i].className=="tableau")){var flagSwitchRow=false;var rows=objListDiv[i].getElementsByTagName("TR");for(j=0;j<rows.length;j++){if(j!=0){if(flagSwitchRow){if(rows.length==j+1){rows[j].className="odd last";}else{rows[j].className="odd";}flagSwitchRow=false;}else{if(rows.length==j+1){rows[j].className="even last";}else{rows[j].className="even";}flagSwitchRow=true;}}}}}}}function recordstat(iddoc){eval("recordstat"+iddoc+"()");}var regExpBeginning=/^\s+/;var regExpEnd=/\s+$/;function trim(aString){return aString.replace(regExpBeginning,"").replace(regExpEnd,"");}
