function bg(what)
{
	fond = 	document.getElementById('backongl').style.backgroundImage;
	newf =  "url(fond"+what+".png)"
	document.getElementById('backongl').style.backgroundImage = newf;
	document.getElementById('txt').innerHTML = document.getElementById('txt_'+what).innerHTML; 
	document.getElementById('h_txt').innerHTML = document.getElementById('h_txt_'+what).innerHTML; 
	document.getElementById('h_txt').style.color = document.getElementById(what+'_color').innerHTML; 
}
function fermeture()
{
	document.getElementById('info').style.display = "none";
}
function wipe(ids)
{
	document.getElementById(ids).innerHTML = '';
	document.getElementById(ids).style.color = 'black';
	document.getElementById('comm_'+ids).value = 1;
}
function Prix(what,which)
{
	var price = document.getElementById(what+'_'+which).innerHTML;
	document.getElementById(what+'_prix').innerHTML = price;
}
function prechargimg() 
{
	var doc=document;
	if(doc.images){ if(!doc.precharg) doc.precharg=new Array();
	var i,j=doc.precharg.length,x=prechargimg.arguments; for(i=0; i<x.length; i++)
	if (x[i].indexOf("#")!=0){ doc.precharg[j]=new Image; doc.precharg[j++].src=x[i];}}
}
