<%@ Page Language="C#" AutoEventWireup="true" Inherits="Viewer" UICulture="auto" 
	Codebehind="MobileViewer.aspx.cs" MasterPageFile="~/Master.Master" %>

<%@ OutputCache Location="None" %>
<%@ Register TagPrefix="edoc" Namespace="eDocument.Viewer.Model" Assembly="eDocument.Viewer" %>
<%@ Register TagPrefix="edoc" Namespace="eDocument.Viewer.Controls" Assembly="eDocument.Viewer" %>
<asp:Content runat="server" ContentPlaceHolderID="main">
    <script type="text/javascript" src="js/datejs/date-<%= System.Globalization.CultureInfo.CurrentCulture %>.js"></script>

	<div id="viewer">
		<edoc:ViewerModel ID="ViewerModel" runat="server" 
			EnableDelayedSave="True" PerformSaveWhenMoving="True" PerformSaveWhenAborting="True" 
			OnAborted="ViewerModel_Aborted" OnDelayedSave="ViewerModel_DelayedSave" OnError="ViewerModel_Error" 
			OnSaved="ViewerModel_Saved" OnSubmitting="ViewerModel_Submitting" OnSubmitted="ViewerModel_Submitted" OnInitialized="ViewerModel_Initialized"             
			OnResumeAuthenticationRequired="ViewerModel_ResumeAuthenticationRequired" 
			OnEffectiveUICultureChanged="ViewerModel_EffectiveUICultureChanged" 
            OnHigherSecurityLevelRequired="ViewerModel_HigherSecurityLevelRequired"
            SummaryPageShowErrorsOnlyIfPresent="True"
			CopyAuthorization="SameNamespace" 
			CopyFromSavedInstancePermitted="true"
			KeyboardShortcutPrevious="<"
			KeyboardShortcutAbort="down"
			KeyboardShortcutSave="up"
			KeyboardShortcutNext=">"
			KeyboardShortcutCommand="ctrlKey"
			explanationimageurlselected="App_Themes/Default/Images/viewer/hjelp2.gif"
            explanationimageurldeselected="App_Themes/Default/Images/viewer/hjelp.gif"
            MoveUpImageUrl="App_Themes/Default/Images/viewer/arrow-up.png"
            MoveUpDisabledImageUrl="App_Themes/Default/Images/viewer/arrow-up-disabled.png"
            MoveDownImageUrl="App_Themes/Default/Images/viewer/arrow-down.png"
            MoveDownDisabledImageUrl="App_Themes/Default/Images/viewer/arrow-down-disabled.png"
            DeleteRowImageUrl="App_Themes/Default/Images/viewer/delete.png"
            DeleteRowDisabledImageUrl="App_Themes/Default/Images/viewer/delete-disabled.png"/>
		<h1 id="documenttitle">
			<edoc:DocumentTitle ID="DocumentTitle1" runat="server" />
		<div id="sectionarea">
			<h2 id="sectiontitle">
			    <edoc:PageTitle ID="PageTitle1" runat="server" />
			</h2>
			<div id="section">
				<edoc:Section ID="Section1" runat="server" OverflowMode="Auto" />
			</div>
			<div id="navigation">
				<edoc:NavigatorButton ID="btnMovePrevious" runat="server" ButtonAction="MovePrevious" CssClass="button" />
				<edoc:NavigatorButton ID="btnAbort" runat="server" ButtonAction="Abort" CssClass="button" />
				<edoc:NavigatorButton ID="btnSaveAndExit" runat="server" CssClass="savebutton button" ButtonAction="SaveAndExit" />
				<edoc:ForwardSummarySubmitNavigatorButton ID="btnMoveNext" runat="server" CssClass="submitbutton button" />
			</div>
		</div>
	</div>
</asp:Content>