http://condor.depaul.edu/~sjost/confirmation.php?txtname=Larry&ddmage=36-45
To change the page with JavaScript, change the document.URL property.
<p id="a" style="background-color:pink;">Use this JavaScript statement to change the background color of the document:
document.getElementById("a").style.backgroundColor = "beige";or
document.getElementById("a").style.backgroundColor = "rgb(255,255,230)";or
document.getElementById("a").style.backgroundColor = "#FFE0FF";