function cc(champ,etat) {champ.className = etat;}
function comptabilite(object)  {if (document.layers && document.layers[object]){ document.layers[object].visibility = 'visible';} 
else if (document.all){document.all[object].style.visibility = 'visible';document.all[object].style.zIndex = 100;}
else if (document.getElementById) {document.getElementById(object).style.visibility = 'visible'; document.getElementById(object).style.zIndex = 100; }};
function comptables(object) {if (document.layers && document.layers[object]){ document.layers[object].visibility = 'hidden';} 
else if (document.all){ document.all[object].style.visibility = 'hidden';}
else if (document.getElementById) {document.getElementById(object).style.visibility = 'hidden'; }}
function expert_comptable_en_ligne(object) { if (document.layers && document.layers[object]) {if(document.layers[object].visibility == 'visible') {comptables(object);}else{comptabilite(object);}} 
else if (document.all){if(document.all[object].style.visibility == 'visible') {comptables(object);}else{comptabilite(object);}}
else if (document.getElementById) {if(document.getElementById(object).style.visibility == 'visible') {comptables(object);}else{comptabilite(object);}}};
function m_login(id,mal) {document.write('<div id='+'"login"><di'+'v st'+'yle="flo'+'at:left;"><'+'a h'+'re'+'f="http://' + location.host + location.pathname);
if (id =="as" | id =="ar" | id =="co" | id =="pm" | id =="pl") {document.write('?ci='+ id + '&mal=1');}else {document.write('?mal=1');}
document.write('" style="color:#000;font-weig'+'ht:bold;float:left;"><< MAL-VOYANT ?</a></div><form id="compta_ligne" name="compta_ligne" target="_blank" method="post"'+' action="https://asp.itool.net/auth/desk" styl'+'e="float:right;"><input type="hidden" nam'+'e="logout" value="http://' + location.host + '"><input type="hid'+'den" name="error" value="http://' + location.host + '"><input name="login" id="login" style="height:17px;margin:0px;border:0p'+'x;border-top:1px solid grey;border-bottom:1px solid g'+'rey;width:190px;background:#fff;color:blac'+'k;margin-right:5px;text-align:'+'center;" onclick="this.va'+'lue=\'\';"><br><input name="pass" type="password" id="pass" style="height:'+'17px;margin:0px;border:0px;width:190p'+'x;background:#fff;color:black;margin'+'-right:5px;text-align:center;" onclick='+'"this.value=\'\';"><br><input type="submit" value="" class="demo" style="margi'+'n-right:5px;"/><script type="text/javascript" src="http://' + location.host + '/comptabilite-en-ligne/i/comptable.js"></scrip'+'t></form>');}