Template:DGS Switch Button Functions