<%@ Page Language="C#" AutoEventWireup="false" EnableTheming="false"  Inherits="EnjooSite.Web.UI.Pages.SiteMasterPage" %>
<%@ Import namespace="EnjooSite.Framework.Components"%>
<%@ Import namespace="EnjooSite.Framework.Configuration"%>
<%@ Import Namespace="EnjooSite.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title><asp:Literal id="pageTitle" runat="server" /></title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <asp:PlaceHolder id="metaTagsPlaceHolder" runat="server" />
	<link type="text/css" rel="Stylesheet" href="<%= VirtualPathUtility.ToAbsolute("~/common/css/mainSiteGlobal.css") %>" />
	<link type="text/css" rel="Stylesheet" href="<%= VirtualPathUtility.ToAbsolute("~/common/styles/jquery-ui-personalized/jquery-ui-1.7.custom.css") %>" />
    <asp:literal id="styles" runat="server"></asp:literal>
    <asp:Literal ID="scripts" runat="server" />
    <asp:PlaceHolder id="ScriptsPlaceHolder" runat="server" />
    <script type="text/javascript">
        var _currentSiteID = "<%= Config.CurrentSite.Id %>";
        var _currentThemeName = "<%= Config.CurrentSite.Layout.ThemeName %>";
        var _templateFolder = "<%= Config.CurrentSite.Layout.TemplateFolder %>";
        var _currentLayoutType = "<%= Config.CurrentSite.Layout.LayoutType.ToString() %>";
        var _applicationPath = '<%= VirtualPathUtility.ToAbsolute("~/") %>';        
    </script>
</head>
<body class="editMode clearfix">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="SubtextScriptManager" runat="server" EnablePartialRendering="true">
            <Scripts>
                <asp:ScriptReference Path="~/common/scripts/jquery/jquery-1.3.2.min.js" />
                <asp:ScriptReference Path="~/common/scripts/jqueryui/jquery-ui-1.7.custom.min.js" />
                <asp:ScriptReference Path="~/common/scripts/enjoosite_common.js" />
                <asp:ScriptReference Path="~/common/scripts/descendantof/descendantof.js" />
                <asp:ScriptReference Path="~/common/scripts/jtemplates/jquery-jtemplates-0.7.5.js" />
                <asp:ScriptReference Path="~/common/scripts/blockui/jquery.blockui.2.14.js" />
                <asp:ScriptReference Path="~/common/scripts/jquerycrayonbox/jquery.crayonbox.js" />
                <asp:ScriptReference Path="~/common/scripts/jquerypager/jquery-pager.1.1_min.js" />
                <asp:ScriptReference Path="~/common/scripts/ensure/ensure.1.0.js" />
                <asp:ScriptReference Path="~/common/scripts/enjoosite_messages.js" />
                <asp:ScriptReference Path="~/skins/_systemsite/common/scripts/sitelayout.js" />
                <asp:ScriptReference Path="~/skins/_systemsite/common/scripts/siteLayoutedit.js" />
                <asp:ScriptReference Path="~/skins/_systemsite/common/scripts/systemarticlesmanager.js" />
            </Scripts>
            <Services>
                <asp:ServiceReference Path="~/WebServices/SystemWebPage/SystemWebPageHelper.asmx" />
                <asp:ServiceReference Path="~/WebServices/SystemWebPage/SystemArticleManager_Services.asmx" />
                <asp:ServiceReference Path="~/WebServices/SiteLayoutEdit.asmx" />
            </Services>
        </asp:ScriptManager>
        <st:SiteMasterPage id="MPContainer" runat="server">
            <st:ContentRegion id="MPMain" runat="server">
	            <asp:PlaceHolder id="CenterBodyControl" runat="server"></asp:PlaceHolder>
            </st:ContentRegion>
        </st:SiteMasterPage>
        <div id="enjooSite_LiveWindows"></div>
    </form>
</body>
</html>
