/* Anti-Spider */
usuario = "sesag7";
dominio = "yahoo.com.mx";
function ssg_mail()
{document.write('<a ID=link href=\"mailto:'+usuario+'@'+dominio+'\">');
  document.write(usuario+'@'+dominio+'</a>');}
  
usuario1 = "webmaster";
dominio1 = "damianes.i8.com";
function webm_mail()
{document.write('<a ID=link href=\"mailto:' + usuario1 + '@' + dominio1 + '\">');
  document.write(usuario1 + '@' + dominio1 + '</a>');}

/* Menu */
function menu() {
	document.write("<div><a ID='link' href='index.htm'>INICIO</a></div><br ID='10'>");
	document.write("<div><a ID='link' href='desc.htm'>DESCRIPCION</a></div><br ID='10'>");
	document.write("<div><a ID='link' href='ubic.htm'>UBICACION</a></div><br ID='10'>");
	document.write("<div><a ID='link' href='fotos.htm'>FOTOS</a></div><br ID='10'>");
	document.write("<div><a ID='link' href='contacto.htm'>CONTACTO</a></div>");}

/* DATE */
function date()
{
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("DOMINGO","LUNES","MARTES","MIERCOLES","JUEVES","VIERNES","SABADO")
var montharray=new Array("ENERO","FEBRERO","MARZO","ABRIL","MAYO","JUNIO","JULIO","AGOSTO","SEPTIEMBRE","OCTUBRE","NOVIEMBRE","DICIEMBRE")

document.write(dayarray[day]+" "+daym+"<br>DE "+montharray[month]+", "+year);
}


/* DIAS ON LINE */
function diasonline(){
fecha= new Date();
hoy = new Date(fecha.getFullYear(),fecha.getMonth()+1,fecha.getDate());

inicio = new Date(2003,06,25)  //AÑO,MES,DIA 

resta = hoy.getTime() - inicio.getTime();
resultado = Math.floor(resta/(1000*60*60*24));
document.write(resultado+"&nbsp;DIAS&nbsp;EN&nbsp;LINEA");}

/* No Right Click */

    today=new Date();
    y0=today.getFullYear();

function noClickDerecho(evnt) {
errMsg="LOS DAMIANES ®\nDerechos Reservados 2003 - "+y0
if (navigator.appName.toUpperCase().match(/NETSCAPE/) != null) {
if (evnt.which == 3){alert(errMsg);return false;}}else
if (event.button==2)alert(errMsg);}
document.onmousedown=noClickDerecho;


