// Menus Pacific Technology
// Ecrit par Marc MOINET

function cx_wd() { cx_ki() }

function cx_ms(tx)  {
	if (document.getElementById(tx).style.display=='block')  { cx_mof(tx) }
	else { cx_mo(tx) }
}

function cx_off(px) { document.getElementById(px).style.display ='none'  }
function cx_on(px)  { document.getElementById(px).style.display ='block' }

function cx_mo(tx)  { cx_ki(); cx_on(tx) }
function cx_mof(tx) { cx_ki(); cx_off(tx) }

function cx_ki() {
var cp=1;
	while (cp<=3) { var txn='md'+cp; cx_off(txn); cp++; }
}