<!-- Loading, degrada imágenes y botón de ratón

	var ie5 = (document.getElementById && document.all);
	var ns6 = (document.getElementById && !document.all);

function Loading()
	{
    		if(ie5 || ns6)
			{
				document.getElementById("carga").style.visibility = "hidden";
				document.getElementById("web").style.visibility = "visible";
		    	}
	}

var encima = false;
var objeto = null;

function high(e)
	{
		clearInterval(degradando);
		imagen = "";
		encima = false;
		if (document.all)
			{
				e.filters.alpha.opacity = 100;
				return true;
			}
		if (document.layers || (document.getElementById && !document.all))
			{
				e.style.MozOpacity = 1;
				return true;
			}
	}

function low(e)
	{
		objeto = e;
		encima = true;
		if (document.all)
			{
				e.filters.alpha.opacity = 99;
				degradando = setInterval("degradar(objeto)",50);
				return true;
			}
		if (document.layers || (document.getElementById && !document.all))
			{
				e.style.MozOpacity = 0.99;
				degradando = setInterval("degradar(objeto)",50);
				return true;
			}
	}
	
function degradar(e)
	{
		if (document.all)
			{
				if(e.filters.alpha.opacity > 50 && e.filters.alpha.opacity < 100)
					{
						e.filters.alpha.opacity -= 10;
					}
				else if(window.degradando)
					{
						clearInterval(degradando);
					}
			}
		if (document.layers || (document.getElementById && !document.all))
			{
				if(e.style.MozOpacity > 0.5 && e.style.MozOpacity < 1)
					{
						e.style.MozOpacity = Math.min(parseFloat(e.style.MozOpacity)-0.1, 0.99)
					}
				else if(window.degradando)
					{
						clearInterval(degradando);
					}
			}
	}

function degrada()
	{
		if (objeto != null && encima == false)
			{
			if (document.all && objeto.filters.alpha.opacity < 100)
				{
					objeto.filters.alpha.opacity = 100;
				}
			if (document.layers || (document.getElementById && !document.all) && objeto.style.MozOpacity < 1)
				{
					objeto.style.MozOpacity = 1;
				}
			}
		encima = false;
	}
	
var mensaje = "Copyright © 2003-2005. Fibra Mobel. Reservados todos los derechos.";
var mostrado = 0;

function mostrar()
	{
		if (mostrado == 0)
			{
				mostrado = 1;
				alert(mensaje);
				return false;
			}
	}

function clickIE()
	{ 
		if (document.all)
			{ 
		    	mostrar(); 
		    }
	} 

function clickNS(e)
	{ 
		if (document.layers || (document.getElementById && !document.all))
			{ 
				if (e.which == 2 || e.which == 3)
					{ 
		   			 	mostrar(); 
     				} 
    		} 
   	} 

if (document.layers)
	{ 
    	document.captureEvents(Event.MOUSEDOWN); 
    	document.onmousedown = clickNS; 
   	}
else
	{ 
    	document.onmouseup = clickNS; 
    	document.oncontextmenu = clickIE; 
   	} 
   	
document.oncontextmenu = new Function("mostrar(); mostrado = 0; return false;")
	
// -->
