<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link rel="stylesheet" href="Css/Stdw.css" type="text/css">
</head>

<body OnContextmenu="return false"  topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onLoad="Cargar()"  rightmargin="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="20">
<tr width="*" height="0">
<!--	<td width="10%"></td>-->
	<td align="center" height="0">
	<form name="frmBotones">
		<input type="button" value="Nuevo" class="Boton1" onClick="NuevoCliente()" style="width:100px">
		<input name="btnEditarCliente" type="button" value="Editar" class="Boton1" onClick="EditarCliente()" style="width:100px">
		<input name="btnVerCliente" type="button" value="Ver" class="Boton1" onClick="VerCliente()" style="width:100px">	
	</form>
	</td>
</tr>
</table>
</body>
</html>
<script language="javascript">
function NuevoCliente(){	
	
	RefNuevo = window.open('frmCliente.asp?GestionTipo=1','Cliente','top=80, left=250,width=800,height=580,Resizable=No,Titlebar=No');

}
function EditarCliente(){	

	
	RefEdit = window.open('frmCliente.asp?GestionTipo=2','Cliente','top=80, left=250,width=800,height=580,Resizable=No,Titlebar=No');

}
function VerCliente(){	
	RefVer = window.open('frmCliente.asp?GestionTipo=4','Cliente','top=80, left=250,width=800,height=580,Resizable=No,Titlebar=No');

}

function BorrarClientes(){
	RefBorrar = window.open('frmCliente.asp?GestionTipo=3','Cliente','top=80, left=250,width=800,height=600,Resizable=No,Titlebar=No');
}

function GoHome()
{
	top.location.href = "Validacion.asp?tipo=100";
}

function Refresh()
{
	parent.frames(0).location.href = "frmprincipalBuscarCliente.asp"

}
function Cargar()
{
	document.frmBotones.btnEditarCliente.disabled=true;
	document.frmBotones.btnVerCliente.disabled=true;
}
</script>
