function submitIt(obj)
{
	obj.action='';
	obj.submit();
}

function showObj(theTable)
{
     obj = document.getElementsByTagName('TR');
      for (i=0; i<obj.length; i++)
     {
          if (obj[i].id == theTable)
          obj[i].style.display = 'block';
     }
}
function hideObj(theTable)
{
     obj = document.getElementsByTagName('TR');
      for (i=0; i<obj.length; i++)
     {
          if (obj[i].id == theTable)
          obj[i].style.display = 'none';
     }
}

function actAbleObj(objId,bAction){
  if(bAction) {
  	objId.disabled = false;
  	objId.readonly = false;
  } else {
  	objId.disabled = true;
  	objId.readonly = true;
  }
}


function openPopUp(PageURL, strName, iwidth, iheight) {
	var strProperties;
	strProperties = 'width=' + iwidth + ',height=' + iheight;
	strProperties = strProperties + ',left=100,top=100,directories=0,hotkeys=1,location=0,menubar=0';
	strProperties = strProperties + ',resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0';
	return window.open(PageURL, strName, strProperties);
}
function Compatible() {
	if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 3) {return true}
	else {
		if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= 3) {return true}
		else {return false}
	}
}

function confirmation() {
	result = confirm(aLabel["JS_COMMENTAIRE"]);
	if(result=="1")	
	return true;
	return false;
}