<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IndexPage1.aspx.cs" Inherits="Webdisk.IndexPage1" %>

<%@ Register Src="Top.ascx" TagName="top" TagPrefix="uc1" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc2" %>
<%@ Register TagPrefix="uc3" TagName="login" Src="login.ascx" %> 
<%@ Import Namespace="Webdisk.DAL" %>
<!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>
    <script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="js/Common.js" type="text/javascript"></script>
    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <title>
        <%=Other.GetTitle()%></title>
</head>
<body style="">
    <div align="center" style="overflow:hidden">
        <div>
            <uc1:top ID="top" runat="server" />
        </div>
        <div align="center" style="overflow:hidden">
<%--           <div style="width: 1000px;margin:10px auto 0px;overflow:hidden;">
           <uc3:login ID="login1" runat="server" />
           </div>--%>
            <iframe id="content" name="content" src="<%if (Request["p"]!=null && Request["p"].ToString()!="") Response.Write(Request["p"].ToString());if(Request["fileType"]!=null)Response.Write("&fileType="+Request["fileType"].ToString());if(Request["type"]!=null && Request["type"].ToString()!="")Response.Write("&kind="+Request["type"].ToString());if(Request["orderby"]!=null && Request["orderby"].ToString()!="") Response.Write("&orderby="+Request["orderby"].ToString());
            if(Request["txtname"]!=null)Response.Write("&txtname="+Request["txtname"].ToString());if(Request["txttime1"]!=null)Response.Write("&txttime1="+Request["txttime1"].ToString());if(Request["txttime2"]!=null)Response.Write("&txttime2="+Request["txttime2"].ToString());if(Request["txtsize1"]!=null)Response.Write("&txtsize1="+Request["txtsize1"].ToString());
if(Request["txtsize2"]!=null)Response.Write("&txtsize2="+Request["txtsize2"].ToString());if(Request["txtnote"]!=null)Response.Write("&txtnote="+Request["txtnote"].ToString());%>"
                frameborder="0" width="100%" scrolling="no" style="min-height:520px;">
                <script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
                </iframe>
                <%--if(Request["company"]!=null)Response.Write("&company="+Request["company"].ToString());if(Request["dept"]!=null)Response.Write("&dept="+Request["dept"].ToString());--%>
        </div>
        <div>
            <uc2:bottom ID="bottom" runat="server" />
        </div>
    </div>
<script type="text/javascript">
    $(function () {
        $(window).resize(function () {
            $("#content").height($(window).height() - 345);
        })
        setTimeout(function () {
           $("#content").height($(window).height() - 350).css;
        }, 50);
        $("#nav a").filter("[href*='" + $("#content").attr("src") + "']").addClass("click");
    });
</script>
</body>
</html>
