function adjustIFrameSize(A){if(A.document.height){var B=parent.document.getElementById(A.name);B.style.height=A.document.height+"px";B.style.width=A.document.width+"px"}else{if(document.all){var B=parent.document.all[A.name];if(A.document.compatMode&&A.document.compatMode!="BackCompat"){B.style.height=A.document.documentElement.scrollHeight+5+"px";B.style.width=A.document.documentElement.scrollWidth+5+"px"}else{B.style.height=A.document.body.scrollHeight+5+"px";B.style.width=A.document.body.scrollWidth+5+"px"}}}}function appliqueStyleErreur(A){if((document.getElementById(A).className!=null)&&(document.getElementById(A).className.length>0)){document.getElementById(A).className="entourageErreur_"+document.getElementById(A).className;return true}if((document.getElementById(A).style.border!=null)&&(document.getElementById(A).style.border.length>0)){document.getElementById(A).style.border="1px solid #CC1541";return true}if((A.match("radioBoutonSI3SI")!=-1)||(A.match("comboBoxSI3SI")!=-1)){if(document.getElementById(A).style.border!=null){document.getElementById(A).style.border="1px solid #CC1541";return true}}return false}function openPopupPage(D,A,C,B){window.open(D+"?urlPage="+A,"","width="+C+",height="+B+",left="+((screen.width-C)/2)+",scrollbars=yes, top="+((screen.height-B)/2))}function openPopupNousContacter(){window.open("portlets/nousContacter/NousContacterController.jpf?premiere=oui","","scrollbars=yes, width=500,height=470,left="+((screen.width-500)/2)+",top="+((screen.height-470)/2))}function openPopupPageWithoutScrollbars(C,D,B,A){window.open(C+"?"+D,"","width="+B+",height="+A+",left="+((screen.width-B)/2)+",scrollbars=no, top="+((screen.height-A)/2))}function getEvent(A){if(!A){var A=window.event}return A}var console=new Console();function Console(){this.canvas=null;this.println=consolePrintln;this.show=consoleShow}function consolePrintln(A){if(!this.canvas){this.canvas=window.open("about:blank","Console","toolbar = no, width = 640, height = 480, directories = no, status = no, scrollbars = yes, resize = no, menubar = no")}this.canvas.document.write(A);this.canvas.document.write("<br/>")}function consoleShow(object){this.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");for(property in object){this.println(property+" = "+eval("object."+property))}this.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")}function presence_frame(){if(parent.location!=document.location){if(parent.frames[0]||parent.frames[1]){parent.location.replace("http://www.3suisses.fr")}}}function submitBoutonRecherche(A){var B=(A=="Mot ou Expression");if(B){return false}return true};