//The product object
function product (Description, Id, Price, Amount, Code) {
	this.Description = String(Description);
	this.Id = Number(Id);
	this.Amount = Number(Amount);
	this.MyPrice = Number(Price);
	this.Code = String(Code);
	
	this.Price = function () {
		return(this.MyPrice * currency[Ccurrency]["rate"]);
	}
	
	this.ScreenPrice = ScreenPrice(this.Price()); 

	this.MySumPrice = function () {
		return(this.MyPrice * this.Amount);
	}
	
	this.SumPrice = function () {
		return(this.MySumPrice() * currency[Ccurrency]["rate"]);
	}
	
	this.ScreenSumPrice = function () {
		return(ScreenPrice(this.SumPrice()));
	}
}