<!--------------------------------------------------------------------------------------------->
<!--                                                                                         -->
<!--                                                                                         -->
<!--  Copyright 1989-2015 by AutoDesSys, Inc.                                                -->
<!--                                                                                         -->
<!--  This software and its associated documentation contains proprietary,                   -->
<!--  confidential, and trade secret information of AutoDesSys Inc. and may not be           -->
<!--  disclosed, copied in any form, or used for any purpose except as specifically          -->
<!--  permitted in writing by AutoDesSys, Inc.                                               -->
<!--                                                                                         -->
<!--  AutoDesSys, Inc. grants permission to use the software to those who purchase           -->
<!--  a license.  Such a usage will be made according to the terms and conditions            -->
<!--  specified in the license agreement to which a licensee agrees before installing        -->
<!--  and commencing usage of the software.  The license agreement can be found              -->
<!--  on the envelop that contains the software CD.                                          -->
<!--                                                                                         -->
<!--  AutoDesSys, Inc. also grants permission to licensees to develop extensions to          -->
<!--  the software, which can be in the form of scripts or plugins.  The permission          -->
<!--  includes calling the API and call back functions provided by AutoDesSys, Inc.          -->
<!--  and accessing information relevant to these functions and the general workings         -->
<!--  of form.Z, but only up to the point to which AutoDesSys, Inc. has chosen to            -->
<!--  expose, through its form.Z SDK Manual.  All extensions developed by third              -->
<!--  parties will include a copy of this copyright note in an easily accessible place or    -->
<!--  a clear instruction to read this original note by AutoDesSys, Inc.                     -->
<!--                                                                                         -->
<!--  All the software distributed under a license, either for the purpose of using it or    -->
<!--  for the purpose of developing extensions, is distributed AS IS, WITHOUT                -->
<!--  WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND                                   -->
<!--  AutoDesSys, Inc. HEREBY DISCLAIMS ALL SUCH WARRANTIES,                                 -->
<!--  INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF                                        -->
<!--  MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.                                   -->
<!--                                                                                         -->
<!--  formZ, RenderZone, and RadioZity are registered trademarks of AutoDesSys, Inc.         -->
<!--                                                                                         -->
<!--  form.Z SDK, Version 8.0.0.0, Oct 07, 2016                                              -->
<!--                                                                                         -->
<!--                                                                                         -->
<!--------------------------------------------------------------------------------------------->


<HTML>
<HEAD>

 <title>formZ API</title>

<LINK REL=stylesheet HREF="formZApi.css" TYPE="text/css">
<script language="JavaScript">
<!--
	if(parent.frames.length==0)	window.location.replace("formZApi.htm");

	function GetChild(obj)
	{
		if(document.all)
			kid = obj.firstChild;
		else
			kid = obj.firstChild.nextSibling;

		return kid;
	}
	function IndexInputSubmit()
	{
//		alert("Got Submit");
		var indx = 0;
		var mtchstr = "";
		var str1 = "";
		var str2 = "";
		var done = false;

		txtobj = document.getElementById("SrchTxt");
//		alert(txtobj.value);

		var chr = txtobj.value.substr(0,1);
		chr = chr.toUpperCase();

		str = "tn" + chr;
//str = "tnA";
//		alert(str);
		obj = parent.frames["IndxBotmFrm"].document.getElementById(str);
//		alert(obj.tagName);

		str1 = txtobj.value.toUpperCase();

		obj1 = GetChild(obj);
		while(obj1 && !done)
		{
//			alert(obj1.nodeType);
//			alert(obj1.tagName);
			if(obj1.nodeType == 1)
			{
				obj2 = GetChild(obj1)
				if(obj2)
				{
					if(document.all)
						obj3 = obj2.nextSibling;
					else
						obj3 = obj2;
//					alert(obj3.tagName);

					obj4 = GetChild(obj3);
//					alert(1);
					if(obj4)
					{
						obj5 = obj4.firstChild;
//						alert(2);
						if(obj5)
						{
//							alert(obj4.tagName);
//							alert(obj5.nodeValue);
							mtchstr = obj5.nodeValue;
							mtchref = obj3.href;
							mtchid = obj3.id;
						}
						else
						{
//							alert(3);
//							alert(obj3.firstChild.nodeValue);
							mtchstr = obj3.firstChild.nodeValue;
							mtchref = obj3.href;
							mtchid = obj3.id;
						}
					}
					else
					{
//						alert(3);
//						alert(obj3.firstChild.nodeValue);
						mtchstr = obj3.firstChild.nodeValue;
						mtchref = obj3.href;
						mtchid = obj3.id;
					}
				}
//				alert(mtchstr);

//				alert(str1);
				if(str1 != "")
				{
					str2 = mtchstr.toUpperCase();
//					alert(str2);
					s = str2.search(str1);
//					alert(s);
					if(document.all)
					{
						if(s == 0)
						{
							done = true;
						}
					}
					else
					{
						if(s >= 0 && s <= 6)
						{
							done = true;
						}
					}
//					alert(done);
				}
			}
			obj1 = obj1.nextSibling;
		}

		if(done)
		{
//			alert("Match Found");
//			alert(mtchstr);
//			alert(mtchref);
//			alert(mtchid);
			idxstr = mtchid.substr(2,mtchid.length);
			indx = parseInt(idxstr);
			top.frames["RightFrm"].location = mtchref;
			parent.frames["IndxBotmFrm"].DoLink(indx);
			parent.frames["IndxBotmFrm"].MakeVisible("tp", "tp", indx, false);
		}
	}
//-->
</script>

</HEAD>
<BODY STYLE="background-color : #c0c0c0;" BGCOLOR=#c0c0c0 onLoad="window.top.LeftFrm.TabFrm.document.images[0].src = 'image/indxtab1.gif'">
<FORM NAME=indxform onSubmit="IndexInputSubmit(); return false;">
<TABLE width="100%">
 <TR>
   <TD BGCOLOR=#c0c0c0>
	<INPUT ID="SrchTxt" TYPE="text" SIZE="32">
   </TD>
 </TR>
 <TR>
   <TD BGCOLOR=#c0c0c0 ALIGN="center">
	<INPUT TYPE="submit" VALUE="Search">
   </TD>
 </TR>
</TABLE>
</FORM>
</BODY>
</HTML>
