ugh can't sort out these scope/loop/raphael issues tonight, goign to bed for real...