<%

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

If (UCase(Request.ServerVariables("REQUEST_METHOD")) = "POST" And Request.Form("page") = "0") Then
	If Request.Form("Admin_Group_ID") <> "" Then
		Session("Admin_Group_ID") = Request.Form("Admin_Group_ID")
	Else
		Session("Admin_Group_ID") = "0"
	End If
End If

'ArrayName = RSName.GetRows() 'Builds Array from SQL Call
'Cols = Ubound(ArrayName,1) ' Getting total number of Cols in Array (-1)  Array starts at xx(0,0,...)
'Rows = Ubound(ArrayName,2) ' Getting total number of Rows in Array (-1)  Array starts at xx(0,0,...)
'For iRows = 0 to Rows
'	For iCols = 0 to Cols
'		Response.Write ArrayName(iCols, iRows) & "<br>"
'	Next
'Next	
'Response.Write Request.Form("Admin_Group_ID")
'Response.End

%>
<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">


</head>
<script language='javascript'>

function show_flyout(win) {
top.main.cols = "300,559";
}

function hide_flyout(win,ID) {
top.main.cols = "1,559";
if (win=="parent") {top.main.document.form2.parent_entity_id.value=ID;}
if (win=="billing") {top.main.document.form2.Billing_Entity_ID.value=ID;}
if (win=="franchise") {top.main.document.form2.Franchise_ID.value=ID;}

}

</script>
<frameset name=main cols="1,559" rows="*" border="1" framespacing="0" frameborder="YES" id=main> 
  <frame src="" id=flyout name=flyout>
  <frame src="entity_create-stage.asp?Create=<%= Request.QueryString("Create") %>&Brand=<%= Request.QueryString("Brand") %>&Redir=<%= Request.QueryString("Redir") %>&From=<%= Request.QueryString("From") %>&Lookup=<%= Request.QueryString("Lookup")%>" id=stage name=stage>
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">

</body></noframes>
</html>
<%
Set Conn = Nothing
%>