Function was not declared in this scope - compile error

Thanks,

I knew i lost the { somewhere but could not match them up..

Joe