Compile to Link change

Hi Praj,
     I altered your code from compile to link as I faced issue at the point of hide/show. Could you check and give your comments please....