var ActClicked; var szColor_mouse; var szColor_on; var szColor_off; var szColor_title; var szSkin="default"; //ButtonType/ButtonLibelle var tbButton = [["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""], ["",""]] var browser=0; function fnInitSkin() { if (navigator.userAgent.substring(0,9) == "Mozilla/3") {browser=1} if (navigator.userAgent.substring(0,9) == "Mozilla/4") {browser=1} if (navigator.userAgent.substring(0,9) == "Mozilla/5") {browser=1} if (browser == 1) { picoff = new Image();picoff.src = szBg+"/button_off."+szImageType; picon = new Image();picon.src = szBg+"/button_mouse."+szImageType; piccl = new Image();piccl.src = szBg+"/button_on."+szImageType; //alert(picoff.src); } }; function on(i) { //alert(i) if (browser == 1 && ActClicked != i) { eval('document.lb'+i+'.document.images[0].src=picon.src'); eval('document.lt'+i+'off.visibility="hidden"') eval('document.lt'+i+'mouse.visibility="show"') } } function off(i) { //alert(i) if (browser == 1 && ActClicked != i) { eval('document.lb'+i+'.document.images[0].src=picoff.src'); eval('document.lt'+i+'mouse.visibility="hidden"') eval('document.lt'+i+'off.visibility="show"') } } function cl(i) { //alert(i) if (browser == 1) { //alert(ActClicked) //eval('document.lt'+i+'.document.fgColor="red"') //alert(eval('document.lt'+i+'off.name')) eval('document.lb'+ActClicked+'.document.images[0].src=picoff.src'); eval('document.lt'+ActClicked+'mouse.visibility="hidden"') eval('document.lt'+ActClicked+'on.visibility="hidden"') eval('document.lt'+ActClicked+'off.visibility="show"') //document.images[ActClicked].src = picoff.src; //alert(eval('document.lb'+i+'.document.images[0].src'))//style.color); //alert(eval('document.lt'+i+'.document.')); //alert(szColor); //eval(szColor); eval('document.lb'+i+'.document.images[0].src=piccl.src'); eval('document.lt'+i+'mouse.visibility="hidden"') eval('document.lt'+i+'off.visibility="hidden"') eval('document.lt'+i+'on.visibility="show"') //szColor='document.all.bt'+i+'.style.color="'+szColor_on+'"'; //eval(szColor); ActClicked=i; } } function fnInit() { alert(window.document.ST_TITLE.element[0]) } function fnButton(iIndex) { var sziIndex; var iType; if (iIndex<10) { sziIndex="0000"+iIndex; } else { sziIndex="000"+iIndex; }; //alert(iIndex+" "+sziIndex); iType=tbButton[iIndex][0]; //alert(iType); switch (iType) { case 0: // Vide // document.write('