<%@ page language="C#" autoeventwireup="true" inherits="index, App_Web_i4ls6fef" enableEventValidation="false" %>

<%@ Register Src="usercontrol/top.ascx" TagName="top" TagPrefix="uc1" %>



<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>成都置信实业（集团）有限公司</title>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
 
</head>

<body style="text-align:center;">
    <form id="form1" runat="server">
        <!--<asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>-->
                <div style="width:770px; margin:0 auto;">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                            
                                <uc1:top ID="Top1" runat="server" />
                             
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:FormView ID="FormView2" runat="server" Width="100%">
                                <ItemTemplate>
                               
                                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="770" height="302">
                                  <param name="movie" value="<%# "zhixinimages/"+Eval("LinkValue") %>" />
                                  <param name="quality" value="high" />
                                  <embed src="<%# "zhixinimages/"+Eval("LinkValue") %>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="302"></embed>
                                </object>
                                
                                </ItemTemplate>
                                </asp:FormView>
                                <asp:Panel ID="Panel1" runat="server">
                                 <%= getImgs() %>
				                 <script type="text/javascript" language="javascript" charset="gb2312"> 
                                    var focus_width=770;
                                    var focus_height=302;
                                    var text_height=0;
                                    var swf_height = focus_height+text_height;
                                   if(pics!=null && links!=null && texts!=null)
                                   {
                                    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
                                    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://videoad.sohu.com/video/soicast/mv/ty/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#fffff">');
                                    document.write('<param name="menu" value="false"><param name=wmode value="transparent">');
                                    document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
                                    document.write('<embed src="http://videoad.sohu.com/video/soicast/mv/ty/focus.swf" wmode="opaque" FlashVars="texts='+texts+'&pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');        document.write('</object>');
                                   }
                                </script>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div>
                                <!-- #include file="nav.html" -->
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table width="100%" style="border:solid 1px #d0d0d0;" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td style="background-image: url(Images/index_gsxw.jpg); width: 280px; height: 29px;">
                                            <a href="newsinfolist.aspx?id=gsxw">
                                                <asp:Image ID="Image3" runat="server" Height="29px" ImageUrl="~/Images/index_gsxw.jpg" Width="280px" />
                                            </a>
                                        </td>
                                        <td style="background-image: url(Images/index_xmxw.jpg); width: 250px; height: 29px;">
                                           <a href="newsinfolist.aspx?id=xmxw">
                                            <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/index_xmxw.jpg" Width="250px" Height="29px" />
                                            </a>
                                            </td>
                                        <td style="background-image: url(Images/index_zsxm.jpg); width: 230px; height: 29px;">
                                            <asp:Image ID="Image5" runat="server" ImageUrl="~/Images/index_zsxm.jpg" Width="230px" Height="29px" />
                                            </td>
                                    </tr>
                                    <tr style="height:170px;">
                                        <td valign="top">
                                            <asp:DataList ID="DataList1" runat="server" Width="280px">
                                                <ItemTemplate>
                                                <div style="height:23px; border-bottom:dotted 1px #e0e0e0; width:100%;">
                                                    <span style="color:#bc0006">·</span>
                                                    <a href="newscontent.aspx?id=<%# Eval("NewsID") %>"><%# Eval("NewsTitle").ToString().Length > 16 ? Eval("NewsTitle").ToString().Substring(0,16) + "..." : Eval("NewsTitle") %></a>
                                        
                                                   
                                                    <%#Eval("NewsIsNew").ToString() == "True" ? "<img src='images/new.gif'>" : ""%>
                                                        <%#Eval("NewsIsHot").ToString() == "True" ? "<img src='images/hot.gif'>" : ""%>
                                                </div>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </td>
                                        <td valign="top">
                                            <asp:DataList ID="DataList2" runat="server" Width="250px">
                                                <ItemTemplate>
                                                <div style="height:23px; border-bottom:dotted 1px #e0e0e0; width:100%;">
                                                    <span style="color:#bc0006">·</span>
                                                    <a href="newscontent.aspx?id=<%# Eval("NewsID") %>"><%# Eval("NewsTitle").ToString().Length > 16 ? Eval("NewsTitle").ToString().Substring(0,16) + "..." : Eval("NewsTitle") %></a>
                                                    <%#Eval("NewsIsNew").ToString() == "True" ? "<img src='images/new.gif'>" : ""%>
                                                                                <%#Eval("NewsIsHot").ToString() == "True" ? "<img src='images/hot.gif'>" : ""%>
                                                 </div>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </td>
                                        <td rowspan="2" valign="top">
                                            <div style="overflow:hidden; width:100%; height:230px;">
                                            <!--<marquee direction="up" behavior="scroll" scrollamount="5" onmouseover="this.stop();" onmouseout="this.start();">
                                            -->
                                            <div id="demo" style="overflow:hidden;height:230;width:100%;color:#ffffff">
                                            <div id="demo1">
                                            <asp:DataList ID="DataList3" runat="server" Width="100%">
                                                <ItemTemplate>
                                                    <div style="width:100%; text-align:center; vertical-align:middle; border-bottom:dotted 1px #e0e0e0;">
                                                        <a href="<%# Eval("ImageDescription") %>">
                                                        <asp:Image ID="Image1" Width="192px" Height="52px" runat="server" ImageUrl='<%# "zhixinimages/"+Eval("ImageUrl") %>' />
                                                        </a>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:DataList>
                                            </div>
                                            <div id="demo2"></div>
                                            </div>
                                            <!--</marquee>-->
                                            <script>
                                               var speed=50
                                               document.getElementById('demo2').innerHTML=document.getElementById('demo1').innerHTML
                                               function Marquee(){
                                               if(document.getElementById('demo2').offsetTop-document.getElementById('demo').scrollTop<=0)
                                               document.getElementById('demo').scrollTop-=document.getElementById('demo1').offsetHeight
                                               else{
                                               document.getElementById('demo').scrollTop++
                                               }
                                               }
                                               var MyMar=setInterval(Marquee,speed)
                                               document.getElementById('demo').onmouseover=function() {clearInterval(MyMar)}
                                               document.getElementById('demo').onmouseout=function() {MyMar=setInterval(Marquee,speed)}
                                               </script>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td style="background-image: url(Images/index_zxzz.jpg); width: 200px; height: 65px;">
                                                        <a href="newsinfolist.aspx?id=zxwh"><asp:Image ID="imgzxwh" runat="server" ImageUrl="~/Images/index_zxzz.jpg" Width="200px" Height="65px" /></a>
                                                    </td>
                                                    <td valign="middle" align="center" style=" background-image: url(Images/index_bgsearch.jpg); width: 120px; height: 65px; ">
                                                        <select id="links" Height="20px"   style="COLOR:#868686;background-color:#FFFFFF;font-family: 宋体;font-size:12px;" runat="server" onchange="javascript:link(this.options[this.selectedIndex].value);">
                                                        </select>
                                                    </td>
                                                    <td valign="middle" style=" background-image: url(Images/index_bgsearch.jpg); width: 220px; height: 65px;font-family: 宋体;font-size:12px; padding-bottom:3px;">
                                                        &nbsp;站内搜索：<asp:TextBox ID="tbxSearch" runat="server" style="COLOR:#868686;background-color:#FFFFFF;font-family: 宋体;font-size:12px;" Width="100px" Height="20px"></asp:TextBox>
                                                        <asp:ImageButton ID="imgbtnSearch" runat="server" Height="19px" ImageUrl="~/Images/search.jpg" Width="24px" OnClick="imgbtnSearch_Click" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <!-- #include file="foot.html" -->
                            </td>
                        </tr>
                    </table>
                </div>
                <%= str %>
                <%= strgun %>
            <!--</ContentTemplate>
        </asp:UpdatePanel>-->
    </form>
    <script language="javascript">
        function link(url)
        {
            if(url!="")
            {
                if( url.toLowerCase().indexOf("http")==-1 )
                    url="http://"+url;
               window.open( url );
            }
        }
    </script>
</body>
</html>
