function addToCart(itemID, itemQuantity) {
   var html = '<form method="post" action=""><input type="hidden" name="id_quan" value="'+itemID+'|'+itemQuantity+'"></form>';
   document.write(html);
   document.forms[document.forms.length-1].submit();
}