Global variables: loosing the value

Any hints?

Read the sticky threads at the top of this forum section.