<html>
<head>
<title> Bill's Video Rentals </title>
</head>
<body>
<server>
if(!database.connected())
{
  redirect("start.html");
}
</server>

<H1>Welcome to Bill's Video Rentals</H1>

<p>
This is a sample application to show off the database connectivity
features of LiveWire.
The entire application was created in a couple of hours using existing sample tables.
All query results from the database are generated dynamically (and quickly) using LiveScript.

<p>
This sample illustrates the use of a web-based application to perform both 
administrative and consumer tasks.  
The top set of links provide the types of services a customer might use, such as 
renting a video.
The bottom set of links provide services that the rental store staff might use, 
such as adding and removing customers.

<p>
Note: For best results, use <i>Add New Customer</i> in the administrative functions (below)
before trying to rent a movie.

<hr>
<h2> Customer Functions </h2>

<ul>
<li><A HREF="8">Rent a Movie</a>
<li><A HREF="9">Show Current Rentals</a>
</ul>

<hr>
<h2> Administrative Functions </h2>
<ul>
<li><A HREF="2">Customer List</a>
<li><A HREF="7">Add New Customer</a>
<li><A HREF="10">Show/Return Rentals</a>
</ul>

</body>
</html>
