<%@ Page Language="C#" AutoEventWireup="true" Inherits="Viewer" UICulture="auto" EnableViewState="false" EnableEventValidation="false"
	Codebehind="Viewer.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" SummaryPageHeaderTextPayment="Du vil bli videresendt for betaling."
			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" 
			OnAuthorizationRequired="ViewerModel_OnAuthorizationRequired"
			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" />
		</h1>
		<div id="documentmap" class="infobox">
			<h1>
				<asp:literal ID="Literal1" runat="server" Text="<%$ Resources:Resource, text_youAreHere%>" /> (<%# ViewerModel.CurrentStepNumber %>/<%# ViewerModel.TotalNumberOfSteps %>)</h1>
                <edoc:Navigation ID="Navigation1" runat="server" Width="169px"></edoc:Navigation>
		</div>
		<div id="sectionarea">
			<h2 id="sectiontitle">
			    <edoc:PageTitle ID="PageTitle1" runat="server" />
			</h2>
			<div id="section">
				<edoc:Section ID="Section1" Width="572px" Height="447px" 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 id="rightarea">
			<h1>
				<asp:literal ID="Literal2" runat="server" Text="<%$ Resources:Resource, text_guidance%>" /></h1>
			<edoc:GuidanceBox CssClass="veiledning" ID="GuidanceBox1" runat="server" Width="174px"
				Height="423" OverflowMode="Auto" RightMargin="20" />
		</div>
	</div>
	
	<edoc:CultureList ID="CultureList1" runat="server" />	
</asp:Content>
