<%@ page title="" language="C#" masterpagefile="~/MyMasterPage.master" autoeventwireup="true" inherits="ProductView, App_Web_85inticq" enableviewstatemac="false" %>

<%@ Import Namespace="DJG.International" %>
<%@ Import Namespace="DJG.Common" %>
<%@ Import Namespace="DJG.Model" %>
<%@ Register Src="Controls/UCLeft.ascx" TagName="UCLeft" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script src="js/jsProduct.js" type="text/javascript"></script>

    <script language="javascript">
        function ContentSize(size) {
            var obj = document.all.ContentBody;
            obj.style.fontSize = size + "px";
        }
        //图片按比例缩放
        var flag = false;
        function DrawImage(ImgD, iwidth, iheight) {
            //参数(图片,允许的宽度,允许的高度)
            var image = new Image();
            image.src = ImgD.src;
            if (image.width > 0 && image.height > 0) {
                flag = true;
                if (image.width / image.height >= iwidth / iheight) {
                    if (image.width > iwidth) {
                        ImgD.width = iwidth;
                        ImgD.height = (image.height * iwidth) / image.width;
                    } else {
                        ImgD.width = image.width;
                        ImgD.height = image.height;
                    }
                } else {
                    if (image.height > iheight) {
                        ImgD.height = iheight;
                        ImgD.width = (image.width * iheight) / image.height;
                    } else {
                        ImgD.width = image.width;
                        ImgD.height = image.height;
                    }
                }
            }
        }
    </script>

    <div class="main1">
        <uc1:UCLeft ID="UCLeft1" runat="server" Stype="Products" />
        <div class="ny_right top10">
            <div class="ny_right_title">
                <ul>
                    <li class="tite">
                        <%=ResourceManager.GetString("Common_Menu_Products")%></li>
                    <%--<li class="ying">NEWS</li>--%>
                    <li class="weizhi"><a href="Default.aspx" title="<%=ResourceManager.GetString("Common_Menu_HomePage")%>">
                        <%=ResourceManager.GetString("Common_Menu_HomePage")%></a> &gt;&gt;
                        <%=ResourceManager.GetString("Common_Menu_Products")%></li>
                </ul>
            </div>
            <div class="news_detailed">
                <ul class="titl">
                    <li>
                        <h1>
                            <%=VSHtInfo[ProductsModel.fProductName]%></h1>
                    </li>
                    <li class="laizi">
                        <%=ResourceManager.GetString("Product_Label_ClassId_Title")%>：<%=VSHtInfo[ProductsModel.fClassId]%>
                        |
                        <%=ResourceManager.GetString("Product_Label_AddTime_Title")%>：<%=VSHtInfo[ProductsModel.fAddTime]%>
                        |
                        <%=ResourceManager.GetString("Product_Label_ClickNumber_Title")%>： 
                        <span id="clicknum"></span>
                        <script type="text/javascript">
                            getClickNumber('<%=VSHtInfo[ProductsModel.fId] %>', '<%=VSHtInfo[ProductsModel.fClickNumber] %>');
                        </script>
                        </li>
                </ul>
                <div class="details">
                    <span style="display: block; margin: 0px auto; text-align: center;" id="vodplayer">
                    </span>
                    <p>
                        <center>
                            <img src="<%=VSHtInfo[ProductsModel.fMaxPic]%>" onclick="javascript:window.open(this.src);"
                                style="cursor: pointer" onload="return DrawImage(this,520,410)"></center>
                        <%=VSHtInfo[ProductsModel.fContent]%></p>
                </div>
                <ul class="pageArticle">
                    <li>
                    <%=ResourceManager.GetString("Common_Label_Pre_Title")%>：
                    <span id="pre"></span>
                    <script type="text/javascript">
                        getPrevious('<%=VSHtInfo[ProductsModel.fId] %>');</script>
                        </li>
                    <li>
                    <%=ResourceManager.GetString("Common_Label_Next_Title")%>：
                    <span id="next"></span>
                    <script type="text/javascript">
                        getNext('<%=VSHtInfo[ProductsModel.fId] %>');
                    </script></li>
                </ul>
            </div>
        </div>
    </div>
</asp:Content>
