<!--
function openDetailsWindow(theURL) { //v2.0
 var theWindow = window.open(theURL,'popup','toolbar=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=300');
theWindow.focus();
}
function openHistoryWindow(theURL) { //v2.0
 var theWindow = window.open(theURL,'History','toolbar=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=300');
theWindow.focus();
}
function openJPGWindow(theURL,w,h) { //v2.0
  var width=w, height=h;
var left = (screen.width/2) - width/2;
var top = (screen.height/2) - height/2;
var styleStr = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=yes,width='+width+',height='+height+',left='+left+',top='+top+',screenX='+left+',screenY='+top;
var ImageWindow = window.open("","ImageWindow", styleStr);
var head = '<html><head><title>Image</title>\n';
head = head+'<style type="text/css">body {margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px;}</style></head>\n';
var bbody ='<body onBlur="self.close();">\n<img src="'+theURL+'" width="'+w+'" height="'+h+'" alt="Image" name="openJPGWindow" id="openJPGWindow">\n</body></html>';
//alert(ImageWindow.document.getElementsByTagName("html"));
if (ImageWindow.document.getElementById("openJPGWindow")){
$currentJPG=ImageWindow.document.getElementById("openJPGWindow");
$currentJPG.src=theURL;
$currentJPG.width=w;
$currentJPG.height=h;
ImageWindow.resizeTo(w,h);
}else{
ImageWindow.document.write(head+bbody);
}
ImageWindow.focus();
}
function openOptionsWindow(theURL) { //v2.0
 var theWindow = window.open(theURL,'popup','toolbar=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=375,height=300');
theWindow.focus();
}
function openWebArtchitecteWindow(theURL) { //v2.0
var theWindow =window.open(theURL,'popup','toolbar=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,width=400,height=300');
theWindow.focus();
}
function openEditWindow(theURL) { //v2.0
  var theWindow =window.open(theURL,'popup','toolbar=no,status=yes,menubar=no,resizable=yes,scrollbars=auto,width=740,height=560');
theWindow.focus();
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  var theWindow =window.open(theURL,winName,features);
theWindow.focus();
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function delArticle(url){
 if (confirm("Voulez-vous vraiment supprimer cet article?\nCet article peut être présent dans une autre page...")) {
           document.location=url;
  }
}
function SetIniValueForm(Name, iniVal) {
fieldName=MM_findObj(Name);
fieldName.value=iniVal;
}
function ShowErrorForm(errorString) {
fieldName=MM_findObj('ErrorForm');
fieldName.innerHTML=errorString;
}

//-->

