using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class MasterPages_NoMenuNoSecurity : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (BrowserCompatibility.IsUplevel)
        {
            Page.ClientTarget = "uplevel";
        }
        //if (Session["uid"] == null)
        //    Response.Redirect("../Security/LoginPage.aspx");
        //string[] temp;
        //temp = Request.Url.ToString().Split('/');
        //string path = temp[temp.Length - 2] + "/" + temp[temp.Length - 1];
        //Label1.Text = path;
    }
    #region Page Pre-Init: force uplevel browser setting
    protected void Page_PreInit(object sender, EventArgs e)
    {
        if (BrowserCompatibility.IsUplevel)
        {
            Page.ClientTarget = "uplevel";
        }
    }
    #endregion
}
