<!--
function clickderecho()
{
	if (event.button==2) {alert(' AE Informática \n Teléfono: 981.666.565 \n www.aeinformatica.com           ')}
} 
	document.onmousedown=clickderecho

function verifica()
{
	frmOferta.controlentrada.value = "vacio";
	var maximo = document.frmOferta.Precio.value;
		if (isNaN(maximo)==true)
			{alert("El Precio máximo debe ser numérico");
			frmOferta.Precio.select()
			return false;}
		else
			{return true;}
function cambiarFoto() 
{ //v3.0
	var i,j=0,x,a=cambiarFoto.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   	if ((x=encontrarFoto(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function encontrarFoto(n, d) 
{ //v4.01
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=encontrarFoto(n,d.layers[i].document);
	 if(!x && d.getElementById) x=d.getElementById(n); return x;}

}

function validar(form)
{
	text = window.acceso.user.value;
	if (window.acceso.user.value=="")
		{alert("Por favor, introduzca su nombre de usuario.");
		return false;}
	else if (window.acceso.pass.value=="") 
		{alert("Por favor, introduzca su contraseña.");
		return false;}
	else
	 	{return true;}
}

//-->

