<!--- ------------------------------------------------------------------------------------------------
 This is the main fusebox for this contact management. There are 6 fuse actions that are
defined in this fusebox: contactlist, contactdetail, contactform, editcontact, addcontact,
and deletecontact

   attributes.fuseaction : fuseaction is required to determine what page to be loaded
-------------------------------------------------------------------------------------------------- --->
<CFINCLUDE TEMPLATE="app_locals.cfm">

<HTML>
<HEAD>
   <TITLE>Simple Contact Management</TITLE>
   <LINK REL="STYLESHEET" TYPE="text/css" HREF="default.css">
</HEAD>
<BODY>
<CFINCLUDE TEMPLATE="dsp_menu.cfm">

<CFSWITCH EXPRESSION="#Attributes.fuseaction#">
   <CFCASE VALUE="contactlist">
      <CFINCLUDE TEMPLATE="qry_getallcontacts.cfm">
      <CFINCLUDE TEMPLATE="dsp_contactlist.cfm">
   </CFCASE>
   <CFCASE VALUE="contactdetail">
      <CFINCLUDE TEMPLATE="qry_GetContactRecord.cfm">
      <CFINCLUDE TEMPLATE="dsp_contactdetail.cfm">
   </CFCASE>
   <CFCASE VALUE="contactform">
      <CFINCLUDE TEMPLATE="qry_GetContactRecord.cfm">
      <CFINCLUDE TEMPLATE="dsp_contactform.cfm">
   </CFCASE>
   <CFCASE VALUE="updatecontact">
      <CFINCLUDE TEMPLATE="act_contactupdate.cfm">
   </CFCASE>
   <CFCASE VALUE="addcontact">
      <CFINCLUDE TEMPLATE="act_contactupdate.cfm">
   </CFCASE>
   <CFCASE VALUE="deletecontact">
      <CFINCLUDE TEMPLATE="act_contactupdate.cfm">
   </CFCASE>
</CFSWITCH>
</BODY>
</HTML>