How can you remove the crosshair in game

I am trying to setup a way to toggle the crosshairs in the template. I have two custom functions, one for enable and one for disable. How do I go about disabling the crosshairs. Im not sure if I am doing this in the correct way.