The problem is pretty simple click a button change some text and the color of the text. So here is my very simple solution.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<title> Switch </title>
var styleClass = 'required';
var textValue = 'Else'
if (document.getElementById('sigDate').className == 'required')
<input type="button" value="Switch" onclick="change()" />
<div id="sigDate" class="standard">
Like I said a very simple solution to build a very complex solution upon.