<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Object>>" %>

<!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>Index</title>

    <!-- yui components begin -->
    <!-- Sam Skin CSS -->
    <link rel="stylesheet" type="text/css" href="<%= Url.Content ("/Scripts/yui/build/assets/skins/sam/container.css") %>" />
    <!-- Dependencies -->
    <script type="text/javascript" src="<%= Url.Content ("/Scripts/yui/build/yahoo-dom-event/yahoo-dom-event.js") %>"></script>
    <!-- Source file -->
    <script type="text/javascript" src="<%= Url.Content ("/Scripts/yui/build/container/container-min.js") %>"></script>
    <!-- yui components end -->
    
    <!-- JQuery scripts begin -->
    <script src="<%= Url.Content("/Scripts/jquery-1.4.1.js") %>" type="text/javascript"></script>
    <% /* %> <script src="~/Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script> <% */ %>
    <!-- JQuery scripts end -->

    <!-- Custom scripts begin -->
    <script src="<%= Url.Content("/Scripts/Custom/jquery_cookie.js") %>" type="text/javascript"></script>
    <!-- Custom scripts end -->

    <!-- Microsoft Ajax begin -->
    <script src="<%= Url.Content("/Scripts/MicrosoftAjax.js") %>" type="text/javascript"></script>
    <script src="<%= Url.Content("/Scripts/MicrosoftMvcAjax.js") %>" type="text/javascript"></script>
    <!-- Microsoft Ajax end -->

    <link href="<%= Url.Content("/Content/table.css") %>" rel="stylesheet" type="text/css" />
</head>
<body class="yui-skin-sam" style="background-color: #ffffcc">
    <% 
        if (ConfigurationSettings.AppSettings["useAjax"] == "false") 
            Html.RenderPartial ("ItemsList"); 
        else
            Html.RenderPartial ("ItemsListAjax"); 
    %>
</body>
</html>
