function mostrar(nombreCapa)
{
	var objDiv = document.getElementById(nombreCapa);
	if (objDiv.style.display == "")
	{
		objDiv.style.display = "none";
	}
	else
	{
		objDiv.style.display = "";
	}
}

function CursorWait()
{
	document.getElementById('page').style.cursor = 'wait';
}
		
function CursorDefault()
{
	document.getElementById('page').style.cursor = 'default';
}

function CboDeleteItems(cbo)
{
	var lenth = cbo.options.length-1;
	for(i=lenth; i>=0;i--)
	{
		cbo.remove(i);
	}
}

function wopenvar(url,ancho,alto,arriba,izquierda)	{ 
	var wnd=window.open(url,"HU","toolbar=0,location=0,resizable=0,status=0,menubar=0,scrollbars=0,width="+ancho+",height="+alto+",top="+arriba+",left="+izquierda);
	wnd.focus();
}