<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WeHead.ascx.cs" Inherits="WstWeb.TemplateFile.Tel010.UserControl.WeHead" %>
<div class="header">
    <div class='header1'>
        <div class='logo'>
            <a href='/'>
                <img src='/TemplateFile/Tel010/images/logo.jpg' border='0' id="logoimg" runat="server"
                    alt="logo" /></a></div>
        <div class="top-s">
            <div class='keyword'>
                <p>
                    <img src='/TemplateFile/Tel010/images/index_13.png' alt="index" /><a href='/'> 首页</a><span>&nbsp;&nbsp;</span><img
                        src='/TemplateFile/Tel010/images/index_15.png' alt="setindex" />
                    <a title="设为首页" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.csdn.net');"
                        href="javascript:;">设为首页</a> <span>&nbsp;&nbsp;</span><img src='/TemplateFile/Tel010/images/index_17.png'
                            alt="addfav" />
                    <a href="javascript:window.external.AddFavorite(document.location.href,document.title)">
                        加入收藏</a> <span>&nbsp;&nbsp;</span><img src='/TemplateFile/Tel010/images/index_19.png'
                            alt="link" />
                    <a href='/LinkUs/'>联系我们</a></p>
                <p class='hotlink'>
                    <b class='color1'>关键词：</b>
                    <asp:Literal ID="litKey" runat="server"></asp:Literal>
                </p>
            </div>
            <%--  <div class="rex"><img src="/TemplateFile/Tel010/images/phone.jpg"  alt="phone"/></div>--%>
        </div>
    </div>
    <div class="clear">
    </div>
    <div class='nav'>
        <ul>
            <asp:Literal ID="litMenu" runat="server"></asp:Literal>
        </ul>
        <div class="clear">
    </div>
    </div>
    <div class="clear">
    </div>
</div>
<div class="clear">
    </div>
<div class='banner'>
    <script language='javascript' type="text/javascript">
        linkarr = new Array();
        picarr = new Array();
        textarr = new Array();
        var swf_width =980;
        var swf_height = 400;
        //文字颜色|文字位置|文字背景颜色|文字背景透明度|按键文字颜色|按键默认颜色|按键当前颜色|自动播放时间|图片过渡效果|是否显示按钮|打开方式
        var configtg = "0xFFF:文字颜色|2:文字位置|0xffffff:文字背景颜色|30:文字背景透明度|0xffffff:按键文字颜色|0xff0000:按键默认颜色|0x000033:按键当前颜色|5:自动播放时间|3:图片过渡效果|1:是否显示按钮|_self:";
        var files = "";
        var links = "";
        var texts = "";
        //这里设置调用标记
        <asp:Literal ID="litAdv" runat="server"></asp:Literal>     
        for (i = 1; i < picarr.length; i++) {
            if (files == "") files = picarr[i];
            else files += "|" + picarr[i];
        }
        for (i = 1; i < linkarr.length; i++) {
            if (links == "") links = linkarr[i];
            else links += "|" + linkarr[i];
        }
        for (i = 1; i < textarr.length; i++) {
            if (texts == "") texts = textarr[i];
            else texts += "|" + textarr[i];
        }
        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="' + swf_width + '" height="' + swf_height + '">');
        document.write('<param name="movie" value="/TemplateFile/Tel010/flash/bcastr3.swf"><param name="quality" value="high">');
        document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
        document.write('<param name="FlashVars" value="bcastr_file=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '&bcastr_config=' + configtg + '">');
        document.write('<embed src="/TemplateFile/Tel010/flash/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '&bcastr_config=' + configtg + '&menu="false" quality="high" width="' + swf_width + '" height="' + swf_height + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
    </script>
</div>
