<!--#include virtual="/includes/topofpage.asp"-->
<%
'  If Not Request.QueryString("ID") = "" Then Session("Group_ID") = Request.QueryString("ID")

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open Application("conn_string")

  Dim Err
    
  If ((Session("Group_ID") = "") And (Session("Admin_Group_ID") = "")) Then
	Err = "Error 1 (GID: " & Session("Group_ID") & ", AGID: " & Session("Admin_Group_ID") & "): No Group ID... this won't work!"
  Else

        If UCase(Request.ServerVariables("REQUEST_METHOD")) = "POST" Then

	Dim SQL1
	Dim Conn
	Dim RS1

Set RS1 = Server.CreateObject("ADODB.Recordset")

If Request.Form("createuser") = "True" Then
	SQL1 = "[Avante].[dbo].[Add_Contact] '" & Request.Form("Name_Prefix") & "','" & Request.Form("Name_First") & "','" & Request.Form("Name_MI") & "','" & Request.Form("Name_Last") & "','" & Request.Form("Name_Suffix") & "'," 
	SQL1 = SQL1 & "'" & Request.Form("Gender") & "','" & Request.Form("DOB") & "','" & Request.Form("Title") & "','" & Request.Form("Address_1") & "','" & Request.Form("Address_2") & "','" & Request.Form("City") & "','" & Request.Form("State") & "','" & Request.Form("Country") & "','" & Request.Form("ZIP") & "','" & Request.Form("ZIP_4") & "','" & Request.Form("Latitude") & "'," 
	SQL1 = SQL1 & "'" & Request.Form("Longitude") & "','" & Request.Form("Phone_CountryCode") & "','" & Request.Form("Phone_HM_AreaCode") & "','" & Request.Form("Phone_HM") & "','" & Request.Form("Phone_WK_AreaCode") & "','" & Request.Form("Phone_WK") & "','" & Request.Form("Phone_WK_Ext") & "'," 
	SQL1 = SQL1 & "'" & Request.Form("Fax_HM_AreaCode") & "','" & Request.Form("Fax_HM") & "','" & Request.Form("Fax_WK_AreaCode") & "','" & Request.Form("Fax_WK") & "','" & Request.Form("Web") & "','" & Request.Form("EMail_Home") & "','" & Request.Form("EMail_Work") & "','" & Request.Form("EMail_Other") & "'," 

	If Session("Admin_Group_ID") <> "" Then 'New_Group_ID functionality... 
		SQL1 = SQL1 & "'" & Request.Form("User_Name") & "','" & Request.Form("User_PWD") & "','" & Session("Admin_Group_ID") & "','" & Request.Form("Key_Name") & "',''"
	Else ' Group_ID present....
		SQL1 = SQL1 & "'" & Request.Form("User_Name") & "','" & Request.Form("User_PWD") & "','" & Session("Group_ID") & "','" & Request.Form("Key_Name") & "',''"
	End If
Else
	SQL1 = "[Avante].[dbo].[Add_Contact_Group] '" & Request.Form("Name_Prefix") & "','" & Request.Form("Name_First") & "','" & Request.Form("Name_MI") & "','" & Request.Form("Name_Last") & "','" & Request.Form("Name_Suffix") & "'," 
	SQL1 = SQL1 & "'" & Request.Form("Gender") & "','" & Request.Form("DOB") & "','" & Request.Form("Title") & "','" & Request.Form("Address_1") & "','" & Request.Form("Address_2") & "','" & Request.Form("City") & "','" & Request.Form("State") & "','" & Request.Form("Country") & "','" & Request.Form("ZIP") & "','" & Request.Form("ZIP_4") & "','" & Request.Form("Latitude") & "'," 
	SQL1 = SQL1 & "'" & Request.Form("Longitude") & "','" & Request.Form("Phone_CountryCode") & "','" & Request.Form("Phone_HM_AreaCode") & "','" & Request.Form("Phone_HM") & "','" & Request.Form("Phone_WK_AreaCode") & "','" & Request.Form("Phone_WK") & "','" & Request.Form("Phone_WK_Ext") & "'," 
	SQL1 = SQL1 & "'" & Request.Form("Fax_HM_AreaCode") & "','" & Request.Form("Fax_HM") & "','" & Request.Form("Fax_WK_AreaCode") & "','" & Request.Form("Fax_WK") & "','" & Request.Form("Web") & "','" & Request.Form("EMail_Home") & "','" & Request.Form("EMail_Work") & "','" & Request.Form("EMail_Other") & "'," 

	If Session("Admin_Group_ID") <> "" Then 'New_Group_ID functionality... 
		SQL1 = SQL1 & "'" & Session("Admin_Group_ID") & "'"
	Else ' Group_ID present....
		SQL1 = SQL1 & "'" & Session("Group_ID") & "'"
	End If

End If

RS1.Open SQL1, Conn

Set RS1 = Nothing
Set Conn = Nothing

Response.Redirect "contacts_admin.asp"

	End If
End If

Function Get_Titles_DD (Title_ID)
   SQL	=	"Get_Titles @Title_ID='" & Title_ID & "'"
   HTML =	""
   Set Title = Conn.Execute(SQL)
   Do While Not Title.EOF
		Title_Desc = Title("Title_Description")
		If isNull(Title_Desc) Or Title_Desc = "" Then
			Title_Desc = Title("Title")
		End If
		HTML = HTML & "<option value=""" & Title("Title_ID") & """>" & Title_Desc & "</option>"
		Title.MoveNext
	Loop
   Set Title = Nothing
   Get_Titles_DD = HTML
End Function

%>


<html>
<STYLE>
BODY {SCROLLBAR-FACE-COLOR: #5e5ebe; SCROLLBAR-HIGHLIGHT-COLOR: #5e5ebe; SCROLLBAR-SHADOW-COLOR: #5e5ebe; SCROLLBAR-3DLIGHT-COLOR: #5e5ebe; SCROLLBAR-ARROW-COLOR:  #6666CC; SCROLLBAR-TRACK-COLOR: #E3E3E3; SCROLLBAR-DARKSHADOW-COLOR: #666666; }
</STYLE>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">






<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function SubmitForm() {
var errmsg='';
if (form1.Name_First.value=='') errmsg=errmsg+'Must Specify a First Name\n';
if (form1.Name_Last.value=='') errmsg=errmsg+'Must Specify a Last Name\n';
if (form1.Address_1.value=='') errmsg=errmsg+'Must Specify An Address\n';
if (form1.City.value=='') errmsg=errmsg+'Must Specify a City\n';
if (form1.State.value=='') errmsg=errmsg+'Must Specify a State\n';
if (form1.Country.value=='') errmsg=errmsg+'Must Specify a Country\n';
if (form1.Zip.value=='') errmsg=errmsg+'Must Specify a Zip Code\n';
if (form1.Email_Home.value=='' && form1.Email_Work.value=='' && form1.Email_Other.value=='') errmsg=errmsg+'Must Specify At Least One Email Address\n';

if (form1.createuser.checked) {
  if (!form1.User_PWD.value == form1.User_PWD_2.value) errmsg=errmsg+'Passwords do not match. Please re-type your password\n'
  if (form1.User_PWD.value == '') errmsg += 'Must specify a Password\n'
  if (form1.User_Name.value == '') errmsg += 'Must choose a User Name\n'
  if (!document.form1.Key_Name[0].checked && !document.form1.Key_Name[1].checked && !document.form1.Key_Name[2].checked) errmsg += 'Must select an access type (i.e., Administrator)\n'
}

if (errmsg) alert(errmsg);
else form1.submit();
}

function showuser() {
  ns4 = (document.layers) ? true:false 
  ie4 = (document.all) ? true:false 
  ng5 = (document.getElementById) ? true:false 

  if (document.form1.createuser.checked) {
	if (ng5) {
		document.getElementById("buttondiv").style.top = "585px"; 
		document.getElementById("userdiv").style.visibility = "visible"; 
	} else if (ns4) {
		document.layers["buttondiv"].top = "585px"; 
		document.layers["userdiv"].visibility = "show"; 
	} else if (ie4) {
		document.all["buttondiv"].style.top = "585px"; 
		document.all["userdiv"].style.visibility = "visible"; 
	}

  } else {

  	if (ng5) {
		document.getElementById('userdiv').style.visibility = "hidden"
		document.getElementById("buttondiv").style.top = "495px"; 
  	} else if (ns4) {
		document.userdiv.visibility = "hide"
		document.layers["buttondiv"].top = "495px";
  	} else if (ie4) {
		layer.userdiv.visibility = "hidden"
		document.all["buttondiv"].style.top = "495px"; 
	}
  }
}

//-->
</SCRIPT>
<Style>
#userdiv { visibility:hidden; }
#buttondiv {position: absolute; visibility:visible; top: 495px; left:0px; align:center; width:100%;}
</style>

</head>

<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<FORM action="contact_create.asp" method=post id=form1 name=form1>
  <table border="0" cellspacing="0" cellpadding="0" width="590" style="WIDTH: 590px; HEIGHT: 489px" align="center">
    <tr> 
    <td colspan="6" align="left" bgcolor="#6699cc"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>&nbsp;&nbsp;&nbsp;&nbsp;Create a Contact
      </b></font><font color="#ffffff" size="2"><%= Err %></td>
  </tr>
  <tr bgcolor="#cccccc"> 
      <td align="right" rowspan="4" width="99" bgcolor="#cccccc"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b><font color="#000099">User 
        Info:</font></b></font></td>
    <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
      <td width="180" align="middle"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b><font color="#000099">First 
        Name:</font></b></font></td>
      <td align="middle" width="58"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>M.I.</b></font><font size="1" color="#000099"><b> 
        </b></font></td>
      <td width="148" align="middle"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Last 
        Name:</b></font></td>
      <td width="67"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Jr, 
        Sr </b></font></td>
  </tr>
  <tr bgcolor="#cccccc"> 
    <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
      <td width="180" align="middle"> <font size="1"><b><SELECT name="Name_Prefix"> 
      <OPTION selected value="Ms.">Ms.</OPTION> 
      <OPTION value="Mrs.">Mrs.</OPTION> 
      <OPTION value="Mr.">Mr.</OPTION>
      <OPTION value="Dr.">Dr.</OPTION></SELECT> 
      <input name="Name_First" size="15">
      </b></font></td>
      <td align="middle" width="58"><font size="1"><b> </b></font><font size="1"><b> 
        <input name="Name_MI" size="2" >
      </b></font></td>
      <td width="148" align="middle"> <font size="1"><b> </b></font><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font><font size="1"><b> 
        <input name="Name_Last" size="15" >
      </b></font></td>
      <td width="67"><font size="1"><b> 
        <input name="Name_Suffix" size="2" >
      </b></font></td>
  </tr>
  <tr bgcolor="#cccccc">
    <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
      <td width="180" bgcolor="#cccccc" align="middle"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Title:</b></font></td>
      <td align="middle" width="58"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>D.O.B.: 
        </b></font></td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr bgcolor="#cccccc"> 
    <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
      <td width="180" bgcolor="#cccccc" align="middle"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">
       <SELECT id="Title" name="Title">
		<%=Get_Titles_DD("%")%>	   
	   </SELECT>
        </font></td>
      <td align="middle" width="58"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b> 
        <input name="DOB" size="8" >
      </b></font></td>
      <td colspan="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b> 
        <input type="radio" name="Gender" value="Male">
        Male 
        <input type="radio" name="Gender" value="Female">
        Female </b></font></td>
  </tr>
  <tr> 
    <td colspan="6"><font color="#000099"><IMG height=3 src="../images/shim.gif" width=1></font></td>
  </tr>
  <tr> 
      <td align="right" width="99" bgcolor="#cccccc"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Address 
        Info:</b></font></td>
    <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
    <td colspan="4" bgcolor="#cccccc"> 
      <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr> 
          <td width="23%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Address 
            1:</b></font></td>
          <td width="26%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"> 
            <input name="Address_1" >
            </font></td>
          <td width="24%">&nbsp;</td>
          <td width="28%">&nbsp;</td>
        </tr>
        <tr> 
          <td width="23%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Address 
            2:</b></font></td>
          <td width="26%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"> 
            <input name="Address_2" >
            </font></td>
          <td width="24%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b><font color="#000099">City:</font></b></font></td>
          <td width="28%"><font size="1"> 
            <input name="City" size="15" >
            </font></td>
        </tr>
        <tr> 
          <td width="23%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Postal 
            Code:</b></font></td>
          <td width="26%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b> 
            <input name="Zip" size="5" maxlength="5" 
           >&nbsp;<FONT 
            color=#000099>-</FONT> 
            <input name="Zip_4" size="4" maxlength="4" >
            </b></font><font size="1"></font></td>
          <td width="24%" align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"> 
            <select name="State">
              <option selected>State</option>

<%

 Set Conn = Server.CreateObject("ADODB.Connection")
 Conn.Open "DRIVER={SQL Server};SERVER=WEBSRV01;UID=web;pwd=w3bs1t3;DATABASE=AVANTE"

 Set RS2 = Server.CreateObject("ADODB.Recordset")
 SQL2 = "Select * from [States] S Join [Countries] C On S.[Country_ID] = C.[Country_ID] Where Not C.[Country_Name] = 'NA'"
 RS2.Open SQL2, Conn

 If NOT RS2.EOF Then
   While Not RS2.EOF

%>

<option value="<%= RS2.Fields("State_Abbr") %>"><%= RS2.Fields("State_Abbr") %></option>

<%

   RS2.MoveNext 
   Wend
 End If

 RS2.Close
 Set RS2 = Nothing

%>

           </select>
            </font></td>
          <td width="28%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b> 
            <select name="Country">
              <option>Country</option>
	      <option value="US" selected>United States</option>
	      <option value="CA">Canada</option>
            </select>
            </b></font></td>
        </tr>
      </table>
    </td>
  </tr>

  <tr> 
    <td colspan="6"><font color="#000099"><IMG height=3 src="../images/shim.gif" width=1></font></td>
  </tr>
  <tr> 
      <td align="right" width="99" bgcolor="#cccccc"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000099"><b><font size="1">Phone 
        Contacts:</font></b></font></td>
      <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
      <td colspan="4" bgcolor="#cccccc"> 
        <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#cccccc">
          <tr> 
            <td width="22%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Home 
              Phone:</b></font></td>
            <td width="27%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"> 
              <input name="Phone_HM_AreaCode" size="3">
              <input name="Phone_HM" size="8" >
              </font></td>
            <td width="23%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Work 
              Phone:</b></font></td>
            <td width="28%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"> 
              <input name="Phone_WK_AreaCode" size="3">
              <input name="Phone_WK" size="8" >
              </font></td>
          </tr>
          <tr> 
            <td width="22%" align="right">&nbsp;</td>
            <td width="27%">&nbsp;</td>
            <td width="23%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b><font color="#000099">Work 
              Ext.</font></b></font></td>
            <td width="28%"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"> 
              <input type="text" name="Phone_WK_Ext" size="4">
              </font></td>
          </tr>
          <tr> 
            <td width="22%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Home 
              Fax:</b></font></td>
            <td width="27%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"> 
              <input name="Fax_HM_AreaCode" size="3">
              <input name="Fax_HM" size="8" >
              </font></td>
            <td width="23%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Work 
              Fax:</b></font></td>
            <td width="28%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"> 
              <input name="Fax_WK_AreaCode" size="3">
              <input name="Fax_WK" size="8" >
              </font></td>
          </tr>
        </table>
    </td>
  </tr>
  <tr> 
      <td colspan="6" align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b><IMG height=3 src="../images/shim.gif" width=1></b></font></td>
  </tr>
  <tr> 
      <td align="right" width="99" bgcolor="#cccccc"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Web 
        Info: </b></font></td>
      <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
      <td colspan="4" bgcolor="#cccccc"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b> 
        </b></font><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font><font face="Verdana, Arial, Helvetica, sans-serif" size="1"></font><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b></b></font> 
        <table width="100%" border="0" cellspacing="1" cellpadding="0" bordercolorlight="#ffffff" bordercolor="#ffffff">
        <tr valign="center"> 
          <td width="22%" align="right"><font size="1" color="#000099"><b><font face="Verdana, Arial, Helvetica, sans-serif">E-mail:</font></b></font></td>
          <td width="28%"><font size="1" color="#000099"><b><font face="Verdana, Arial, Helvetica, sans-serif"> 
            </font><font size="1" color="#000099"><font face="Verdana, Arial, Helvetica, sans-serif"> 
            </font></font><font face="Verdana, Arial, Helvetica, sans-serif"> 
            <input name="Email_Home" size="15" >
            </font></b></font></td>
          <td width="19%" align="right"><font size="1" color="#000099"><b><font face="Verdana, Arial, Helvetica, sans-serif">Work 
            E-mail:</font></b></font></td>
          <td width="31%"><font size="1" color="#000099"><font face="Verdana, Arial, Helvetica, sans-serif"> 
            <input name="Email_Work" size="15" >
            </font></font></td>
        </tr>
        <tr valign="center"> 
          <td width="22%" align="right" height="18"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Web 
            Address:</b></font></td>
          <td width="28%" height="18"><font size="1" color="#000099"><font face="Verdana, Arial, Helvetica, sans-serif"><b> 
            </b></font><font size="1" color="#000099"><font face="Verdana, Arial, Helvetica, sans-serif"> 
            </font></font><font face="Verdana, Arial, Helvetica, sans-serif"><b> 
            <input name="Web" size="15" >
            </b></font></font></td>
          <td width="19%" align="right" height="18"><font size="1" color="#000099"><b><font face="Verdana, Arial, Helvetica, sans-serif">Alt. 
            E-mail:</font></b></font></td>
          <td width="31%" align="left" height="18"><font size="1" color="#000099"><font face="Verdana, Arial, Helvetica, sans-serif"> 
            </font><font size="1" color="#000099"><font face="Verdana, Arial, Helvetica, sans-serif"> 
            </font></font><font face="Verdana, Arial, Helvetica, sans-serif"> 
            <input name="Email_Other" size="15" >
            </font></font></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
      <td colspan="6" bgcolor="#6699cc" align="right" height="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#">Create a User for this Contact: <input type="checkbox" name="createuser" value="True" onclick="showuser();"></td>
  </tr>
  </table>

<div id="userdiv" name="userdiv">
  <table border="0" cellspacing="0" cellpadding="0" width="590" width="590px" align="center">
  <tr> 
      <td colspan="6"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b><IMG height=3 src="../images/shim.gif" width=1></b></font></td>
  </tr>
  <tr> 
      <td align="right" width="99" bgcolor="#cccccc"><font size="1" color="#000099"><b><font face="Verdana, Arial, Helvetica, sans-serif">Account 
        Info:</font></b></font></td>
    <td align="right" width="1" bgcolor="#ffffff">&nbsp;</td>
    <td colspan="4" bgcolor="#cccccc"> 
      <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr> 
          <td width="22%" align="right" height="19"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Login 
            Name:</b></font></td>
          <td colspan="2" height="19"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"> 
            <input name="User_Name" size="15" >
            </font></td>
          <td width="22%" height="19"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><font color="#cccccc"> 
            </font></font></td>
        </tr>
        <tr> 
          <td width="22%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b><b>Password:</b></b></font></td>
          <td width="39%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"> 
            <input type="password" name="User_PWD" size="10" >
            </font></td>
          <td width="17%" align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"><b>Repeat 
            Password:</b></font></td>
          <td width="22%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000099"> 
            <input type="password" name="User_PWD_2" size="10" >
            </font></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
  <table width="590" border="0" cellspacing="0" cellpadding="0" height="16px" width="590px" id=TABLE1 align="center">
    <tr bgcolor="#E3E3E3"> 
    <td width="591" height="2"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000099">&nbsp;&nbsp;&nbsp;&nbsp;Assign 
      Access Permissions</font></b></td>
  </tr>
  </table>
  <table width="591" border="0" cellspacing="1" cellpadding="0" style="WIDTH: 591px; HEIGHT: 37px" align="center">
    <tr bgcolor="#cccccc"> 
    <td align="right"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif"> 
      <input type="radio" name="Key_Name" value="User">
      </font></b></font></td>
    <td><font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif">&nbsp;User</font></b></font></td>
    <td align="right"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif"> 
      <input type="radio" name="Key_Name" value="Power">
      </font></b></font></td>
    <td><font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif">&nbsp; 
      Power&nbsp;User</font></b></font></td>
    <td align="right"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif"> 
      <input type="radio" name="Key_Name" value="Admin">
      </font></b></font></td>
    <td><font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif">&nbsp;Administrator</font></b></font></td>
  </tr>
  <tr> 
    <td width="114">&nbsp;</td>
    <td width="114">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="145">&nbsp;</td>
    <td width="24">&nbsp;</td>
    <td width="214">&nbsp;</td>
  </tr>
</table>
</div>
<div align="center" id="buttondiv" name="buttondiv">
        <input type="button" name="Submit" value="Create the Contact" onclick="SubmitForm();">
</div>
</FORM>
</body>
</html>
