Greg, Charles and DJ - separates the sanitation and province templates, also sets the window 'data_type' varaible