<!--
MODULE NAME: week2.cfm
PURPOSE: Cincinnati State - Javascript Class - Week 2 Scripts
REFERRING MODULE(S): 
DESTINATION MODULE(S):
QUERYSTRING METHODS SUPPORTED:
AUTHOR: Grant Szabo (grant@quagmire.com) Sterling Creek Software
CREATED: 11/22/02
LAST MODIFIED: 11/22/02
-->

<script language="javascript">
<!--

//this function will write hello world to the display
function fcnHelloWorldDisplay(){
	document.write("Hello, world!");
}

//this function will write hello world to an alert box
function fcnHelloWorldAlert(){
	alert("Hello, world!");
}

//this function redirects the user.  If the user's browser doesn't support javascript the noscript block is executed below.
function fcnRedirectUser(){
	document.write("Your Browser Supports Javascript");
	window.location ="/cfm/whiteboard_iFrame.cfm?mode=javascript&week=2&script=redirectconfirmation";
	// to redirect out of the iFrame, use the top.location syntax as follows:
	//top.location = "/whiteboard.cfm?mode=undefined"; 
}

//-->
</script>

<noscript>
This page requires Javascript.
</noscript>