function updateProduct(key, priceId, imageId, el, pid, mode) {
	var queryStr = '&pid=' + pid;
	//var queryStr = '&pid=' + pid;
	if (mode) queryStr += '&mode=' + mode;
	if (priceId) queryStr +='&getprice';
	if (imageId) queryStr +='&getimage';
	el = document.getElementById(el);
	//alert(el);
	new Ajax.Request('index.php?eID=tx_nhttproductsdynupdate_pi1' + queryStr + '&' + Form.serialize(el).replace(/%0D%0A/,""), {
		onSuccess: function(transport) {
			p = transport.responseText.split("\n");
			$(priceId).innerHTML = p[0];
			$(imageId).innerHTML = p[1];
		}
	});
}