function requestCustomerInfo(id) {

	getdata = "product_id=" + id;

	$.ajax({
		type: "GET",
		url: addRand("ajax_productinfo.php"),
		data: getdata,
		success: function(msg){
			$('#infobox').html(msg);
		}
	});
}

function addRand(strUrl) {

	var rand = randNum();
	if (strUrl.indexOf('?')==-1)	{
		strUrl = strUrl+'?rand='+rand;
	} else {
		strUrl = strUrl+'&rand='+rand;	
	}
	var currentTime = new Date();
	strUrl = strUrl + currentTime.getTime();
	return strUrl;
	
}

function randNum() {

	var randNum = Math.floor(Math.random()*11);
	return randNum;

}