var one, two, tmp, sho="block", hid="none";
 
if (navigator.appName == "Netscape") sho="table-row";


function show(obj) {
  document.getElementById(obj).style.display=sho;
}
function hide(obj){
 document.getElementById(obj).style.display=hid;
}

function initSwitch(first, second) {
  one  = first;
  two = second;
  // sw(); // Masquer pour l'impression
}
function swiitch(){
  tmp = one;
  one = two;
  two = tmp;
  sw(); 
}
function sw() {
  for(var i=0; i<one.length; i++)
  { 
    show(one[i]);
    hide(two[i]);
  }
}
function showall() {
  for(var i=0; i<one.length; i++)
  { 
    show(one[i]);
    show(two[i]);
  }
}