  <%@ Control Language="C#" %>
<%@ Import Namespace="Spaces" %>

 
    <div id="i_Photos" class="blog_dragDiv">    
    <script    src="<%=Globals.ApplicationPath %>/Include/SPA_Common.js"></script>

    <script   src="<%=Globals.ApplicationPath %>/Include/Spa_AlbumList.js"></script>

    <script   src="<%=Globals.ApplicationPath %>/Include/slideshowviewer.js"></script>
        <table class="pheader" style="width: 100%" height="22" cellspacing="0" border="0">
            <tr>
                <td class="mod_tlc" nowrap width="6">
                    &nbsp;</td>
                <td class="modhead" width="100%">
                    <table class="fixedTable partheader" cellspacing="0" width="100%">
                        <tr>
                            <td class="bold ellipse partDetail" id="" nowrap>
                                <%=Globals.Text["PageHead_Ablum"]%></td>
                            <td class="partBuffer" nowrap align="right">
                            </td>
                        </tr>
                    </table>
                </td>
                <td class="mod_trc" nowrap width="6">
                    &nbsp;</td>
            </tr>
        </table>
    </div>
    <table id="i_photo_Body" style="display:none"
        height="22" cellspacing="0">
        <tr>
            <td class="subnav" width="100%">
                <table cellspacing="0" width="100%" border="0"  >
                    <tr>
                        <td>&nbsp;
                             <a id="nobrSpaNewAlbum">创建</a><span class="sep">|</span> <a id="nobrSpaEditAlbum"
                                disabled>编辑</a><span class="sep">|</span> <a id="nobrSpaDeleteAlbum" disabled>删除</a> 
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table class="partsmb" cellspacing="5" width="100%" border="0">
        <tr>
            <td width="100%">
                <div id="divSpaMini" style="width: 100%; top: 0px">
                    <div id="divSpaSlideshow" style="margin: 3px 0px 4px; width: 100%; position: relative;left:auto; height:auto">
                    </div>
     <style>
     .imgIcon {padding-right: 2px; padding-left: 2px; padding-bottom: 0px;padding-top: 0px; text-align:center}
      .fullIcon {padding-right: 2px; padding-left: 2px; padding-bottom: 0px;padding-top: 0px; text-align:right}
     </style>
                    <table id="tblSlideshowControls" style="margin: 10px 0px 7px" cellspacing="0" cellpadding="0"
                        width="100%">
                        <tr>
                            <td id="tdSpaPlay" class="imgIcon"   width="24">
                                <img id="imgSpaPlay" title="播放" height="19" src="<%=Globals.GetSkinPath() %>/images/button_play.gif" width="22"><img
                                    id="imgSpaPause" title="暂停" style="display: none" height="19" src="<%=Globals.GetSkinPath() %>/images/button_pause.gif"
                                    width="22"></td>
                            <td id="tdSpaStop"class="imgIcon"   width="24">
                                <img id="imgSpaStop" title="停止" height="19" src="<%=Globals.GetSkinPath() %>/images/button_stop.gif" width="22"></td>
                            <td id="tdSpaPrevious" class="imgIcon"   width="24">
                                <img id="imgSpaPrevious" title="上一张" height="19" src="<%=Globals.GetSkinPath() %>/images/button_back.gif"
                                    width="22"></td>
                            <td id="tdSpaNext" class="imgIcon" width="24">
                                <img id="imgSpaNext" title="下一张" height="19" src="<%=Globals.GetSkinPath() %>/images/button_fw.gif" width="22"></td>
                            <td id="tdSpaFull" class="fullIcon"  >
                                <img id="imgSpaFull" title="查看完全尺寸照片。" height="19" src="<%=Globals.GetSkinPath() %>/images/button_full.gif"
                                    width="19"></td>
                        </tr>
                    </table>
                     
                    <div id="divSpaAlbumList" style="visibility: hidden; width: 100%; position: relative">  
                    </div>
                </div>
            </td>
        </tr>
    </table>
<asp:Literal ID="AlbumScript" runat="server"></asp:Literal>
    <script>


var spa_iStartingAlbumIndex = 0;
var spa_strNewAlbumUrl = "./photoAdd.aspx";//新建相册的路径
var spa_strEditAlbumTemplateUrl = "./Photoxml.aspx?ClassID=ALBUMIDURLTOKEN";
var spa_strDeleteAlbumTemplateUrl = "./Photoxml.aspx?ClassID=ALBUMIDURLTOKEN";

var spa_strSequenceAlbumsUrl = "./Photoxml.aspx?ClassID=ALBUMIDURLTOKEN";

var spa_strAlbumIdReplacementToken = "ALBUMIDURLTOKEN";
var spa_blnAllowDragging =true;
var spa_strDeleteAlbumConfirmation = "是否要删除选择的相册（{0}）？";
var spa_strDeleteNo = "否";
var spa_strDeleteYes = "是";
var spa_strLoadingPhoto = '<img src="<%=Globals.GetSkinPath() %>/images/animated_loading.gif" /> 正在加载...';
var spa_strErrorLoadingPhoto = "无法显示照片";
//window.attachEvent('onload',StartSlideshow);
//RegisterOnloadEvent(StartSlideshow);
AddObjEvent(window, 'load', StartSlideshow);
//StartSlideshow();
    </script>
