Jenny...
You would assign a value to a variable with "=" only as /:variable = 1;, or /:variable = "Jenny";, but in an if statement, you would use "==":
if (/:variable == 1) { do something... } or this if (/:variable <= 1) { do something... } meaning if the variable is equal or smaller than 1, do something...
;-)ldnewbie