function imCAddProdExtra(sCategKey,sProdKey,sElem) {

	var bTrov = false;

	imTestCookie();
	imCLoad();

	d=document.getElementById(sElem);
	var iQty=d.value;
	if(iQty > 0) {
		sCart = imGetCookie("imOrder");
		if(sCart != null && sCart != "") {
			aCart = sCart.split("|");
			for(var i = 0;i < aCart.length && !bTrov;i++){
				aCartProd = aCart[i].split(":");
				if(aCartProd[0] == sCategKey && aCartProd[1] == sProdKey) {
					aCartProd[2] = parseInt(aCartProd[2])+parseInt(iQty);
					aCart[i] = aCartProd.join(":");
					bTrov = true;
				}
			}
			if(!bTrov) {
				aCart[i] = sCategKey + ":" + sProdKey + ":" + iQty;
			}
			sCart = aCart.join("|");
		}
		else {
			sCart = sCategKey + ":" + sProdKey + ":" + iQty;
		}
		imSetCookie("imOrder",sCart,imExpireDays);
		if (iQty==1) {
			alert ("One product added to your shopping cart");
		}
		else {
			alert (iQty + " prodcuts added to your shopping cart. ");
		}
		d.value=1;
	}
	else {
		alert(imLocale["Err_Qty"]);
	}
}

