im about to lose my mind, why wont this work??

[code]
function editPrice() {
newPrice = <%=price%> * document.conForm.quant.value;
document.conForm.tPrice.value = '' + newPrice;
If (newPrice == 0) {
document.conForm.quant.value == 1;
editPrice()
}
}
[code]


its says "Line 106, char21, expected ';'"

line 106 is

Code:
	If (newPrice == 0) {
thanks