<%@ Master Language="C#" AutoEventWireup="true" CodeFile="masContabilidad.Master.cs" Inherits="masContabilidad"%>

<%@ Register src="ControlUsuario/pl_Pie.ascx" tagname="pl_Pie" tagprefix="uc2" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<%@ Register src="ControlUsuario/pl_cabecera.ascx" tagname="pl_cabecera" tagprefix="uc1" %>

<!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 runat="server">
    <LINK REL="Shortcut Icon" HREF="images/ico.ico"> 
    <title id="Titulo" runat="server"></title>
    <link href="estilos/Estilos.css" rel="stylesheet" type="text/css" />
    <link href="estilos/StyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="JavaScript/SGH_Script.js" type="text/javascript"></script>
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)" />

<STYLE> 
		.MenuOff {color:black; text-decoration:none}
		.MenuOn {color:black; text-decoration:underline}
		.SeteaOff {color:black; text-decoration:none}
		.SeteaOn {color:black; text-decoration:underline}
		.linkActDatos {color: #000080; font-weight: bold; font-family: arial; font-size: 10pt;}
		.linkTitulo {color: #800000; font-weight: bold; font-family: arial; font-size: 12pt;}
</STYLE>
    
    <script language="javascript" type="text/javascript">

        function verificarSeleccion() {
            var esta
            esta = false;
            for (i = 0; i < document.forms[0].elements.length; i++) {
                if (document.forms[0].elements[i].name.substring(document.forms[0].elements[i].name.lastIndexOf("chkEdit"), document.forms[0].elements[i].name.length) == "chkEdit") {
                    if (document.forms[0].elements[i].checked) {
                        esta = true;
                        break;
                    }
                    else {
                        esta = false;
                    }

                }
            }
            if (esta) {
                return confirm("¿Esta seguro de eliminar los Items seleccionados?");
            }
            else {
                alert("Debe seleccionar al menos un Item para eliminar");
                return false;
            }
        }

        function showSeccion1(page, total) 
        {
            for (var i = 1; i <= total; i++) 
            {
                //  var seccion = document.getElementById('seccion'+i);
                var seccion = document.getElementById('seccion' + i);
                if (i == page)
                    seccion.style.display = 'block';
                else
                    seccion.style.display = 'none';
            }
            var boton = document.getElementById('dvBoton');
        }

 </SCRIPT>

  
    
</head>
<body>
<center>
    <form id="form1" runat="server">
    <asp:HiddenField ID="txtOcultaMestraMenu" runat="server" Value="0" />
    <div>
        <table border="0" cellpadding="0" cellspacing="0" style="background-color:#FFFFFF; width:98%" >
        
            <tr>
                <td style="padding-top:0px;" align="center"  >   
                
                <table width="98%"  border="0" cellpadding="0" cellspacing="0" >
                    <tr>
                        <td style="width:1px; padding-left:2px">
                            <img id="Img4" runat="server" src="~/images/TitleLeftLightBlue.png" alt="" />
                        </td>
                        <td background="images/LineBodySky.png" style="width:15px; padding-left:5px; text-align:left; vertical-align:middle;" class="tituloseccion">
                            <img id="img5" runat="server" src="images/Report.png" border="0" />                             
                        </td>
                        <td background="images/LineBodySky.png" style="padding-left:10px; text-align:left; vertical-align:middle;" class="tituloseccion">                            
                            <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
                           
                           </asp:ContentPlaceHolder> 
                        </td>
                        <td background="images/LineGray.png" style="width:20px; padding-left:10px; vertical-align:bottom;">
                            <a href="BusquedaInteligente.aspx" class="gridtext">
                                <img id="img" runat="server" src="images/home.png" border="0" />                                            
                            </a>                            
                        </td>
                        <td background="images/LineGray.png" style="width:20px" class="gridtextbold">
                            <a href="BusquedaInteligente.aspx" class="gridtext"  >Home</a>
                            <%--<asp:LinkButton runat="server" ID="l1" Text="Inicio2" onclick="l1_Click"></asp:LinkButton>--%>
                        </td>
                        <td background="images/LineGray.png" style="width:20px; padding-left:15px; vertical-align:middle;" class="gridtextbold">
                            <a href="#" class="gridtext"  onClick="cerrar()">
                                <img id="img6" runat="server" src="images/close.png" border="0" />                                            
                            </a>
                        </td>                 
                        <td background="images/LineGray.png" style="width:20px; padding-right:5px; vertical-align:middle;" class="gridtextbold">
                            <a href="Salir.aspx" class="gridtext"  >Salir</a>
                        </td>
                        <td style="text-align:right; width:1px; padding-right:2px" 
                            <img id="Img7" class="gridtext" runat="server" src="~/images/TitleRightLightGray.png" alt="" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="8" align="left" style="padding-left:5px">
                            <asp:ContentPlaceHolder ID="ContentPlaceHolder3" runat="server">
                            </asp:ContentPlaceHolder>
                        </td>
                    </tr>
                </table>
                
                    
                </td>
            </tr>
            <tr>
                <td style="padding-top:7px">     
                    <uc1:pl_cabecera ID="pl_cabecera2" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptLocalization="true" AsyncPostBackTimeOut="36000" EnableScriptGlobalization="true" EnablePageMethods="True">
                    </asp:ScriptManager>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                    
                    
                    </asp:ContentPlaceHolder>
                </td>
            </tr>
            <tr>
                <td>
                <br />
                    <uc2:pl_Pie ID="pl_Pie1" runat="server" />
                </td>
            </tr>
        </table>
        
     <%--   <table border="0" cellpadding="0" cellspacing="0" style="background-color:#FFFFFF; width:98%" >
            <tr>
                <td rowspan="4" style="padding-top:7px">
                         
                         <asp:ImageButton ID="lblMenu" runat="server" ImageUrl="~/images/botones/Menu.png" onclick="lblMenu_Click" />
 
						<table id="tblMenu" runat="server" visible="false" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td >Hola</td>
								</tr>
						</table>
					

					
                    
                </td>
                <td style="padding-top:7px"><uc1:pl_cabecera ID="pl_cabecera1" runat="server" /></td>
            </tr>
            <tr>
                <td>
                    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptLocalization="true" EnableScriptGlobalization="true">                    </asp:ScriptManager>                </td>
            </tr>
            <tr>
                <td align="center"><asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server" /></td>
            </tr>
            <tr>
                <td>
                    <br />
                    <uc2:pl_Pie ID="pl_Pie1" runat="server" />
                </td>
            </tr>
        </table>
        --%>
    </div>
    
 

            <div id="divMenu" class="fondoEmergente__" Style="display: none">     
            <table border="0" cellpadding="0" cellspacing="0" class="msjEmergente">
                <tr>                   
                    <td bgcolor="#C1C2C4" width="280">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="center">
                                    <asp:Image ID="imgLoad" runat="server" ImageUrl="images/ajax-loader.gif" SkinID="ImgLoad" AlternateText="Procesando... Espere por favor" />
                                    </td>
                            </tr>
                            <tr>
                                <td align="center" class="txt_blank">
                                    Procesando... Espere por favor
                                </td>
                            </tr>
                        </table>
                    </td>                    
                </tr>
            </table>    
          </div>
    </form>
    
</center>
</body>
</html>
