using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Orciid.Core;

namespace Orciid
{
	public class slideshowviewer_top : PageTemplate.OrciidPage
	{
	
		private void Page_Load(object sender, System.EventArgs e)
		{
			string url = Request.QueryString["url"];
			string label = Request.QueryString["label"];
			if (url == null)
				url = "viewslideshows.aspx";
			if (label == null)
				label = GetLocalString(this, "SlideshowListMenuItem", "SLIDESHOW LIST");
			AddPageHeaderMenuItem(label, url, "SlideshowListLink");
		}

		#region Web Form Designer generated code
		override protected void OnInit(EventArgs e)
		{
			//
			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
			//
			InitializeComponent();
			base.OnInit(e);
		}
		
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{    
			this.Load += new System.EventHandler(this.Page_Load);

		}
		#endregion

		protected override bool CheckUserPrivileges(Orciid.Core.User user)
		{
			return true;
		}
/*
		//Function added by Hegg 11/12/03
		protected string insertLoadString() 
		{
			//if Session variable says Flash installed and correct version:
			return "parent.bottom.location.href='flashbin/slideshowviewer.swf';";
			//else
			//return "parent.bottom.location.href='flashbin/getflash.html';"
		}
*/
		public override bool HasLeftMenu()
		{
			return false;
		}

		protected override bool HasPageFooter()
		{
			return false;
		}

	}
}
