function addcart(code_article,lang){
	argsurl='?lang=' + lang + '&add_cart=' + code_article+'&qt='+$('qt').value;
	if($chk($('option1'))){
		argsurl=argsurl + '&option1=' + $('option1').value;
	}
	if($chk($('option2'))){
		argsurl=argsurl + '&option2=' + $('option2').value;
	}
	if($chk($('option3'))){
		argsurl=argsurl + '&option3=' + $('option3').value;
	}
	new Request.HTML({
		update : $('panier_in'),
		evalscript : true
		}
	).get('/cart.php' + argsurl);
}
function remove_qt(code){
	new Request.HTML({
		update : $('panier_in'),
		evalscript : true
		}
	).get('/cart.php?remove_qt='+code+'&lang='+lang);
}
function remove_qt2(code){
	new Request.HTML({
		update : $('panier_in'),
		evalscript : true
		}
	).get('/cart.php?remove_qt='+code+'&page=panier&chain=1&lang='+lang);
	
}

function add_qt(code){
	new Request.HTML({
		update : $('panier_in'),
		evalscript : true
		}
	).get('/cart.php?add_qt='+code+'&lang='+lang);
}
function add_qt2(code){
	new Request.HTML({
		update : $('panier_in'),
		evalscript : true
		}
	).get('/cart.php?add_qt='+code+'&page=panier&chain=1&lang='+lang);
}
function update_size(){
	$('container').setStyle('height','auto');
	if($('container').getSize().y < ($('menu').getSize().y+24)){
		$('container').setStyle('height',$('menu').getSize().y+24);
	}
	$('content').setStyle('height','auto');
	if($('content').getSize().y<($('right_part').getSize().y+40)){
		$('content').setStyle('height',$('right_part').getSize().y+40);
	}
	height_content=$('content').getSize().y;
	
}