Changing the Status from a Web Page View
From SmartWiki
You can change the status of the associated item on a Web Page View using the following script:
At Level 1:
document.getElementById("obj.fd_stageid").value = "8885";
At Level 2:
document.getElementById("obj.fd_statusid").value = "8885";
Where 8885 is the ID associated with the status you wish to select.