function drawAddSubtractButtons(strID){
	document.write('<button onclick="incrementQuantity(\''+strID+'\');return false;">+</button><button onclick="decrementQuantity(\''+strID+'\');return false;">-</button>');
}
function incrementQuantity(strID){
	var objQtyField=document.getElementById(strID);
	var intCurrValue=parseInt(objQtyField.value);

	

	if(!isNaN(intCurrValue)){
		objQtyField.value=parseInt(objQtyField.value)+1;
	}
}
function decrementQuantity(strID){
	var objQtyField=document.getElementById(strID);
	var intCurrValue=parseInt(objQtyField.value);

	if(!isNaN(intCurrValue)&&intCurrValue>0){
		objQtyField.value=parseInt(objQtyField.value)-1;
	}
}

