<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <% // *** Restrict Access To Page: Grant or deny access to this page var MM_authorizedUsers="administrator"; var MM_authFailedURL="../legacy.asp"; var MM_grantAccess=false; if (String(Session("MM_Username")) != "undefined") { if (false || (String(Session("MM_UserAuthorization"))=="") || (MM_authorizedUsers.indexOf(String(Session("MM_UserAuthorization"))) >=0)) { MM_grantAccess = true; } } if (!MM_grantAccess) { var MM_qsChar = "?"; if (MM_authFailedURL.indexOf("?") >= 0) MM_qsChar = "&"; var MM_referrer = Request.ServerVariables("URL"); if (String(Request.QueryString()).length > 0) MM_referrer = MM_referrer + "?" + String(Request.QueryString()); MM_authFailedURL = MM_authFailedURL + MM_qsChar + "accessdenied=" + Server.URLEncode(MM_referrer); Response.Redirect(MM_authFailedURL); } %> Dark Horse Networks
 ©2002 Dark Horse Networks. All Rights Reserved.