<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AD_MProject_Info.aspx.cs" Inherits="MYAPP.Manage.Project.Design.MProject.AD_MProject_Info" %>
<%@ Import Namespace="System.Xml" %>
<!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 id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title></title>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/date.js"></script>
<script type="text/javascript" src="/js/coe.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
    var oWindow = parent;
    var openwindow;

    function GetLLZ() {
        window.open('/google/GetMap_LLZ.aspx?lat=' + $('google_lat').value + '&lng=' + $('google_lng').value + '&zoom=' + $('google_zoom').value, 'googlemap', 'toolbar=no,width=800,height=600');
    }
    function SetLLZ(lat, lng, zoom) {
        $('google_lat').value = lat;
        $('google_lng').value = lng;
        $('google_zoom').value = zoom;
    }
	
	function SetUrl(frname,xpath)
	{
		var fr = eval(frname);
		fr.location='List_MPorject.aspx?Tour_ID=<%=_Tour_ID%>&LocalName='+xpath;
	}
</script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="theform" runat="server">
  <table width="100%" cellspacing="2" border="1" align="center" cellpadding="0" bordercolor="#CCCCCC"
            class="board_kong">
    <tr>
      <td><table cellspacing="1" cellpadding="0" width="100%" border="0">
          <tr>
            <td style="border-bottom: #CCCCCC 1px solid; height: 24px"><table class="title_table">
                <tr>
                  <td class="l_title"> [Project]</td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td valign="top">
            
            <div id="TabbedPanels1" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                 
                   <asp:Repeater ID="rp_list" runat="server">
   						<ItemTemplate>
					<li class="TabbedPanelsTab"  tabindex="0" onclick='SetUrl("fr_<%# Eval("name")%>_<%# Eval("id")%>","<%#Eval("xpath")%>")'>
                    	<%# Eval("funname")%>
                    </li>
                      </ItemTemplate>
				 </asp:Repeater>

				</ul>
                <div class="TabbedPanelsContentGroup">
                 
                    <asp:Repeater ID="rp_list2" runat="server">
   						<ItemTemplate>
					<div class="TabbedPanelsContent">
                    	<iframe name="<%# Eval("name")%>" id="fr_<%# Eval("name")%>_<%# Eval("id")%>" scrolling="yes" src='List_MPorject.aspx?Tour_ID=<%=_Tour_ID%>&LocalName=<%#Eval("xpath")%>' width="100%" height="600"></iframe>
               		</div>
                                        </ItemTemplate>
				 </asp:Repeater>
					</div>
              </div></td>
          </tr>
          <tr>
            <td height="26" align="center">&nbsp;</td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    //-->
    </script>
</body>
</html>
