<HTML>
<HEAD>
<Title>Sample Program Eleven</title> 

<SCRIPT LANGUAGE = "JavaScript">
	
	// the function illustrates alternation logic
	// condition requires a good degree AND either 5 years experience 

			function eligible()

				{
				   	if ( confirm("Do you have a good degree?") 
   						&& confirm ("Do you have at least 5 years experience?") )
  
   							{return "you are eligible to apply for the job!"}  

   					else

   							{return "you are not eligible to apply for the job."}
    
				}
</SCRIPT>

</HEAD>

<BODY TEXT="#000000" link="000000" VLINK="#000000" BACKGROUND="background.jpg">
<FONT FACE="ARIAL">

<CENTER><TABLE WIDTH="79%">
	<TR>
		<TD>
			<CENTER><H2><FONT FACE="Beehive"><FONT COLOR="#C100C1"><FONT SIZE=+4>
			A Sample Program</FONT></FONT></FONT></H2></CENTER>
		</TD>
	</TR>
</TABLE></CENTER>

<h3><p>



 


<H3> 

<FORM><BR>

	<INPUT   TYPE = "button" 
	         VALUE = "start"
	         SIZE = 15
			 onClick="alert (eligible())"> Employment Advisor </H3>
<BR>

<P><hr><p>

<h6><i>Page Owner:</i>  <a href="http://www.umsl.edu/~sauter/">Professor Sauter</a> (<a
href="mailto:Vicki.Sauter@umsl.edu">Vicki.Sauter@umsl.edu</a>)<br>
<SCRIPT LANGUAGE = "JavaScript">
// This automatically updates the last modified date for the page.
//
when = document.lastModified
document.write("<i>This page was last modified on:</i> " + when + "<br>")
//
// This automatically updates the location documentation on the page.
where = document.location
document.write("<i>URL:</i> " + where)
</script>
<br>
&#169; Vicki L. Sauter.    All rights Reserved.