// JavaScript Document
$(document).ready(function(){

	$("a.cart_button").click(function(e){
		
		var itemID = $(e.target).parent().attr("id");
		$.ajax({
		   type: "POST",
		   url: "../additem.php",
		   data: "id="+itemID,
		   success: iBox.show("<span style=\"font-size:13px;\">You Have sucessfully added the "+itemID+" to your quote request process.</span><br><br><span style=\"font-size:12px;\">Please Select from one of the following options:<br><br><a style=\"color:#FF0000;font-size:12px;\" href=\"#\" onClick=\"iBox.hide();\">I would like to continue shopping to add more items to my quote process.</a><br><br><a style=\"color:#FF0000;font-size:12px;\" href=\"../ordering.php\" onclick=\"iBox.hide();\" target=\"_blank\">I would like to begin my quote request process now.</a></span>")/*function(msg){alert(msg);}*/
		 });
	});

});