	function swap_checkImg(theImg, BoolName) {
	  ObjBool = document.getElementById(BoolName); //alert ('Valeur actu:'+ObjBool.value);
	  ObjBool.value = (ObjBool.value=='true')? 'false':'true';
	  if (ObjBool.value=='true')
		nxtImg = '../images/windowsObject/checkboxChecked.jpg';
	   else
		nxtImg = '../images/windowsObject/checkbox.jpg';//	alert('nxtImg='+'-'+nxtImg);
	  theImg.src = nxtImg;
	  //MM_swapImage(theImg.name, '', nxtImg, 1) 
	}
	function IsImageOk(img) {
    // During the onload event, IE correctly identifies any images that
    // weren't downloaded as not complete. Others should too. Gecko-based
    // browsers act like NS4 in that they report this incorrectly.
    if (!img.complete) {
        return false;
    }
    // However, they do have two very useful properties: naturalWidth and
    // naturalHeight. These give the true size of the image. If it failed
    // to load, either of these should be zero.
    if (typeof img.naturalWidth != "undefined" && img.naturalWidth == 0) {
        return false;
    }
    // No other way of checking: assume it's ok.
    return true;
    }

	function swap_radImg(TName, RName, val) {   
	  document.getElementById(TName).value = val; 
	  arr = document.getElementsByName(RName); //alert (arr.length)
	  for (ii=0; ii<arr.length; ii++) {	  // alert (IsImageOk( arr[ii]))
		if ((IsImageOk( arr[ii]))&&(arr[ii].title==val))
		  nxtImg = '../images/windowsObject/radiockecked.jpg';
	     else
		  nxtImg = '../images/windowsObject/radioUnckecked.jpg';	//alert('sendIssue='+sendIssue+'-'+nxtImg);
	     arr[ii].src = nxtImg;
	  }
	}
/*	function resetCheckbox(chkId) {
	  nxtImg = '../images/windowsObject/checkbox.jpg';
	  obj = document.getElementsById(chkId);
	  if (obj)
	    obj.src = nxtImg;
	}*/
	function resetRadio(radName) {
	  nxtImg = '../images/windowsObject/radioUnckecked.jpg';
	  arr = document.getElementsByName(radName);
	  for (ii=0; ii<arr.length; ii++) {
	     arr[ii].src = nxtImg;
	  }
	}
	function showhideTabLine(idLine){
	  Obj = document.getElementById(idLine);
	  if (Obj)
	     Obj.style.display = (Obj.style.display=='none')? 'block':'none';
	}
	function swapTabLine() {
/*	  obj = document.getElementById(tabLineID);
	  if (obj) {
	    if (ShowHide=='show') obj.style.display = 'block'
		  else obj.style.display = 'none';
	  }*/	  
	  a=swapTabLine.arguments; 
	  for(i=0; i<a.length; i++) { 
        obj = document.getElementById(a[i]);
	    if (obj) {  
		  if (a[i+1]=='show')  
	             obj.style.display = 'block'
			else obj.style.display = 'none';
		}
	  }
	}

