function addToCart(PartNo, Item, Price, QtyID, ConfirmMessage) {
  var bAllowContinue = true;
  
  if(ConfirmMessage != null &&
    ConfirmMessage.length > 0) {
    bAllowContinue = confirm(ConfirmMessage);
  }

  if(bAllowContinue) {
	  document.cookie = "rdPartNo=" + PartNo + "; path=/";
	  document.cookie = "rdItem=" + Item + "; path=/";
	  document.cookie = "rdPrice=" + Price + "; path=/";
	  document.cookie = "rdQty=" + document.getElementById(QtyID).value + "; path=/";
  	
	  document.location = "shopping-cart.aspx";
	}
}
