function include(destination)
{
	var elt=window.document.createElement('script');
	elt.setAttribute('src',destination);
	window.document.body.appendChild(elt);
}

OnLoadFuncs = new Array();
function NewOnLoadFunc(Obj)
{
    OnLoadFuncs[OnLoadFuncs.length] = Obj;
}

// Execution des scripts au chargement de la page 
$(function()
{
	for(i_onload=0; i_onload<OnLoadFuncs.length; i_onload++)
	{
		OnLoadFuncs[i_onload]();
	}
});

function format2(tmp_i)
{
	if (tmp_i<10)
	{
		return "0"+tmp_i;
	}
	else
	{
		return tmp_i;
	}
}
