<!--------------------------------------------------------------------------------------
	Simple Drop down menu that generates events
  -------------------------------------------------------------------------------------->
<CFPARAM NAME="attributes.con_id" DEFAULT="0">

<FORM NAME="menu_form" ACTION="handler.cfm" METHOD="get">
<CFOUTPUT>
	<INPUT TYPE="hidden" NAME="con_id" VALUE="#attributes.con_id#">
</CFOUTPUT>
<TABLE CELLPADDING="5" WIDTH="100%" CELLSPACING="0">
<TR BGCOLOR="#efefef">
	<TD>
		<!---/// Events ///--->
		<SELECT NAME="event" SIZE="1" onchange="menu_form.submit();">
			<OPTION VALUE="index">---- Contacts ----</OPTION>
			<OPTION VALUE="add">Add a New Contact</OPTION>
		<CFIF VAL(ATTRIBUTES.CON_ID) GT 0>
			<OPTION VALUE="edit">Edit Contact</OPTION>
			<OPTION VALUE="delete">Delete</OPTION>
		</CFIF>
			<OPTION VALUE="index">----------------------------------------</OPTION>
			<OPTION VALUE="index">Display All</OPTION>
		</SELECT>
		<!---/// End of Events ///--->
		<INPUT TYPE="submit" VALUE="Go">
	</TD>
	<TD ALIGN="right">
		<FONT SIZE="+1"><B>Simple Contact Manager</B></FONT>
	</TD>
</TR>
</TABLE>
</FORM>
