<!-- hide script from old browsers

function isInt(myNum) {
	// get the modulus: if it's 0, then it's an integer
	var myMod = myNum % 1;

	if (myMod == 0) {
		return true;
	} else {
		return false;
	}
}

function increaseQuantity(id, field) {
	if (document.getElementById) {
		if(isInt(document.getElementById(id).value)) {
			document.getElementById(id).value++;
		} else {
			alert('Quantity must be a number greater than 0');
		}
	}	else if (document.all) {
		if(isInt(document.all[field].value)) {
			document.all[field].value++;
		} else {
			alert('Quantity must be a number greater than 0');
		}
	}
}

function decreaseQuantity(id, field) {
	if (document.getElementById) {
		if(isInt(document.getElementById(id).value)) {
			document.getElementById(id).value--;
		} else {
			alert('Quantity must be a number greater than 0');
		}
	}	else if (document.all) {
		if(isInt(document.all[field].value)) {
			document.all[field].value--;
		} else {
			alert('Quantity must be a number greater than 0');
		}
	}
}

function open_popup(page, height, width) {
    var size = "height=" + height + ",width=" + width;
    window_handle = window.open(page,"myWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes," + size);
    return false;
}

function confirmSubmit() {
var agree=confirm("Please confirm removal of entry.");
if (agree)
	return true ;
else
	return false ;
}

//-- !>