<!--
/* \version versionA&S:3.1.0                                      */
/* \date DateA&S:18/12/2006                                    */
// 32 -- V -- 15
// 14 -- 17 -- H -- 17 -- 14

function TabBegin(cssclass,title){
	document.write('<div id="'+cssclass+'L" ><div id="'+cssclass+'R">\n'
				+'<div id="'+cssclass+'TC"><div id="'+cssclass+'TL"></div><div id="'+cssclass+'TR"></div>\n'
				+'<span id="'+cssclass+'Title">'+title+'</span></div>\n'
				+'<div id="'+cssclass+'M">');
}

function TabEnd(cssclass){
	document.write('</div><div id="'+cssclass+'BC"><div id="'+cssclass+'BL"></div>\n'
				+'<div id="'+cssclass+'BR"></div></div></div></div>');
}

vh = 32;
vb = 15;
h1=31;
h2=33;
b1=14;
b2=h1-b1;
b4=14;
b3=h2-b4;

function tab(nom)
{
	var tableau = document.createElement('table');
	tableau.border = 0;
	tableau.cellSpacing = 0;
	tableau.cellPadding = 0;
	tableau.vAlign='100%';
	tableau.className='bloc';
	tableau.id=nom+'_bloc';
	var tbody = tableau.appendChild(document.createElement('tbody'));
	ligne = document.createElement('tr');
	tbody.appendChild(ligne);
	var boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.height=1;
	boite.width=b1;
	var boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.height=1;
	boite.width=b2;
	var boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.height=1;
	var boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.height=1;
	boite.width=b3;
	var boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.height=1;
	boite.width=b4;

	ligne = document.createElement('tr');
	tbody.appendChild(ligne);
	boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.width=h1;
	boite.height=vh;
//	boite.setAttribute('colspan',2);
	boite.colSpan=2;
	boite.vAlign='top';
	img = document.createElement('img')
	boite.appendChild(img);
	img.src =tpath+'bloc_hg.gif';
	img.width=h1;
	img.height=vh;
	boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.className="b_m";
	boite.width="100%";
	boite.id=nom+'_titre'
	boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.width=h2;
//	boite.setAttribute('colspan',2);
	boite.colSpan=2;
	boite.vAlign='top';
	img = document.createElement('img')
	boite.appendChild(img);
	img.src =tpath+'bloc_hd.gif';
	img.width=h2;
	img.height=vh;

	ligne = document.createElement('tr');
	tbody.appendChild(ligne);
	boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.className='b_g';
	boite.width=b1;
	boite.vAlign='top';

	boite = document.createElement('td');
	boite.id=nom;
	ligne.appendChild(boite);
//	boite.setAttribute('colspan',3);
	boite.colSpan=3;
	boite.align='center';
	boite.vAlign='top';
	boite.backgroundColor="#EADD80";

	boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.className='b_d';
	boite.width=b4;
	boite.vAlign='top';


	var ligne = document.createElement('tr');
	tbody.appendChild(ligne);
	var boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.width=b1;
	boite.height=vb;
	boite.vAlign='top';

	img = document.createElement('img')
	boite.appendChild(img);
	img.src =tpath+'bloc_bg.gif';
	img.width=b1;
	img.height=vb;
	boite.vAlign='top';

	boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.colSpan=3;
	boite.className="b_b";
//	boite.appendChild(document.createTextNode('test'));
	boite.height=vb;
	boite.width="100%";
	boite.vAlign='top';

	boite = document.createElement('td');
	ligne.appendChild(boite);
	boite.width=b4;
//	boite.setAttribute('colspan',2);
	boite.colSpan=2;
	boite.vAlign='top';
	img = document.createElement('img')
	boite.appendChild(img);
	img.src =tpath+'bloc_bd.gif';
	img.width=b4;
	boite.vAlign='top';

	return tableau;
}

function deb_tab(titre)
{
document.write('\
<table class="bloc" width="100%" border="0" cellpadding="0" cellspacing="0">\
<tr><td height="32" width="31" colspan="2" valign="top"><img src="'+tpath+'bloc_hg.gif" width="31" height="32"></td>\
<td class="b_m" width="100%">'+titre+'</td>\
<td colspan="2" width="33" valign="top"><img src="'+tpath+'bloc_hd.gif" width="33" height="32"></td></tr>\
<tr> <td class="b_g" width="14" valign="top">&nbsp;</td>\
<td colspan="3" align="center" valign="top" bgcolor="EADD80">\
');
}
function fin_tab()
{
document.write('\
</td><td class="b_d" width="14" valign="top">&nbsp;</td></tr>\
<tr><td height="15" width="14" valign="top"><img src="'+tpath+'bloc_bg.gif" width="14" height="15"></td>\
<td colspan="3" valign="top"><img src="'+tpath+'bloc_b.gif" width="100%" height="15"></td>\
<td valign="top" width="14"><img src="'+tpath+'bloc_bd.gif" width="14" height="15"></td></tr>\
<tr><td height="1"></td><td width="17"></td><td></td>\
<td width="19"></td><td></td></tr></table>\
');
}
//-->
