function openDetailsWindow(b){var a=window.open(b,"popup","toolbar=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=300");a.focus()}function openJPGWindow(j,k,d){var a=k,l=d;var b=(screen.width/2)-a/2;var g=(screen.height/2)-l/2;var c="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=yes,width="+a+",height="+l+",left="+b+",top="+g+",screenX="+b+",screenY="+g;var e=window.open("","ImageWindow",c);var f="<html><head><title>Image</title>\n";f=f+'<style type="text/css">body {margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px;}</style></head>\n';var m='<body onBlur="self.close();">\n<img src="'+j+'" width="'+k+'" height="'+d+'" alt="Image" name="openJPGWindow" id="openJPGWindow">\n</body></html>';if(e.document.getElementById("openJPGWindow")){$currentJPG=e.document.getElementById("openJPGWindow");$currentJPG.src=j;$currentJPG.width=k;$currentJPG.height=d;e.resizeTo(k,d)}else{e.document.write(f+m)}e.focus()}function openEditWindow(b){var a=window.open(b,"popupedit","toolbar=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,width=740,height=560");a.focus()}function openWebArtchitecteWindow(b){var a=window.open(b,"popup","toolbar=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,width=400,height=300");a.focus()}function openOptionsWindow(b){var a=window.open(b,"popup","toolbar=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=375,height=300");a.focus()}function MM_openBrWindow(d,a,b){var c=window.open(d,a,b);c.focus()}function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore){selObj.selectedIndex=0}}function delArticle(a){if(confirm("Voulez-vous vraiment supprimer cet article?\nCet article peut être présent dans une autre page...")){document.location=a}}function OpenCartes(e){var b=screen.width/2-270;var d=screen.height/2-200;var a=540;var c=405;window.open(e,"carte","status=yes,width="+a+",height="+c+",top="+d+",left="+b+"")}function MM_showHideLayers(){var c,e,a,d,b=MM_showHideLayers.arguments;for(c=0;c<(b.length-2);c+=3){if((d=MM_findObj(b[c]))!=null){a=b[c+2];if(d.style){d=d.style;a=(a=="show")?"visible":(a=="hide")?"hidden":a}d.visibility=a}}}function MM_swapImgRestore(){var d,b,c=document.MM_sr;for(d=0;c&&d<c.length&&(b=c[d])&&b.oSrc;d++){b.src=b.oSrc}}function MM_preloadImages(){var f=document;if(f.images){if(!f.MM_p){f.MM_p=new Array()}var e,c=f.MM_p.length,b=MM_preloadImages.arguments;for(e=0;e<b.length;e++){if(b[e].indexOf("#")!=0){f.MM_p[c]=new Image;f.MM_p[c++].src=b[e]}}}}function MM_findObj(f,e){var c,b,a;if(!e){e=document}if((c=f.indexOf("?"))>0&&parent.frames.length){e=parent.frames[f.substring(c+1)].document;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b<e.forms.length;b++){a=e.forms[b][f]}for(b=0;!a&&e.layers&&b<e.layers.length;b++){a=MM_findObj(f,e.layers[b].document)}if(!a&&e.getElementById){a=e.getElementById(f)}return a}function MM_swapImage(){var e,d=0,b,c=MM_swapImage.arguments;document.MM_sr=new Array;for(e=0;e<(c.length-2);e+=3){if((b=MM_findObj(c[e]))!=null){document.MM_sr[d++]=b;if(!b.oSrc){b.oSrc=b.src}b.src=c[e+2]}}}function JT_ShowHideRow(a){divRow=MM_findObj(a+"_Child");if(divRow.style.display!="none"){MM_showHideLayers(a+"_Child","","hide");divRow.style.display="none"}else{MM_showHideLayers(a+"_Child","","show");divRow.style.display="block"}}function JT_IniRow(){if(loadPage){MenuTimer=setTimeout("JT_IniRow()",500)}else{tempDiv=document.getElementsByTagName("DIV");for(i=0;i<tempDiv.length;i++){if(tempDiv[i].className=="ListeItemChild_auto"){tempDiv[i].style.display="none"}if(tempDiv[i].className=="ListeItemChildFAQ_auto"){tempDiv[i].style.display="none"}}}}function JT_ShowHideEvent(a){ShowDivID=MM_findObj("CurrentEvent");if(MM_findObj(a)){divRow=MM_findObj(a);MM_showHideLayers("CurrentEvent","","show");ShowDivID.style.display="block";ShowDivID.innerHTML=divRow.innerHTML}else{MM_showHideLayers("CurrentEvent","","hide");ShowDivID.style.display="none";ShowDivID.innerHTML=""}}function positionInfoLayer(a){theimgName="img_"+a;imgMenu=MM_findObj(theimgName);menuName=MM_findObj(a);var b=getXYcoord(imgMenu);menuName.style.top=b[1];varLeft=parseInt(b[0]-menuName.offsetWidth);if(varLeft<150){varLeft=parseInt(b[0]+imgMenu.offsetWidth)}menuName.style.left=varLeft}function JT_ShowHideInfoLayer(a,b){positionInfoLayer(a);MM_showHideLayers(a,"",b)}function delImage(a){if(confirm("Voulez-vous vraiment supprimer cette image?")){document.location=a}}function bandeauFlash(b,a,c){document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+a+'" height="'+c+'">');document.write('<param name="movie" value="'+b+'">');document.write('<param name="quality" value="high">');document.write('<param name="wmode" value="transparent">');document.write('<embed src="'+b+'" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+a+'" height="'+c+'"></embed>');document.write(" </object>")}function SetIniValueForm(a,b){fieldName=MM_findObj(a);if(fieldName){fieldName.value=b}};
