//-----------------------------------
// Write Last Update Date Script v.1.0 
// File name: update_sp.js
// OWNER: 'Peter Mato' <pmato23@juno.com>
// AUTHOR: Miraculous Fotos Milagrosas
// Copyright: ©2000-2001 Miraculous Fotos Milagrosas
// $Revision: 3 $
// $Date: 09/27/2001 2:42am $

//alert('js');

var violation = document.location;
var website1 = location.href.substring(0,location.href.lastIndexOf('.com/')+28);
var web1match = "http://mywebpage.netscape.com/_ht_a/claussantanopole/";
var website2 = location.href.substring(0,location.href.lastIndexOf('.com/')+28);
var web2match = "http://mywebpage.netscape.com/_ht_a/ClausSantaNoPole/";
var website3 = location.href.substring(0,location.href.lastIndexOf('.com/')+19);
var web3match = "http://mywebpage.netscape.com/_ht_a/pmato23/";
var website4 = location.href.substring(0,location.href.lastIndexOf('.com/')+22);
var web4match = "http://mywebpage.netscape.com/ClausSantaNoPole/";
var website5 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web5match = "http://claussanta.com/";
var website6 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web6match = "http://www.miraculousphotos.com/";
var website7 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web7match = "http://www.claussanta.com/";
var website8 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web8match = "http://lostvalley.claussanta.com/";
var website9 = location.href.substring(0,location.href.lastIndexOf('.com/')+13);
var web9match = "http://www.geocities.com/pmato23/";
var website10 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web10match = "http://www.lostvalley.bravehost.com/";
var website11 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web11match = "http://www.miraculousphotos.bravehost.com/";
var website12 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web12match = "http://www.webzoo.bravehost.com/";
var website13 = location.href.substring(0,location.href.lastIndexOf('.com/')+22);
var web13match = "http://www.nettaxi.com/citizens/pmato23/";
var website14 = location.href.substring(0,location.href.lastIndexOf('.com/')+19);
var web14match = "http://www.nettaxi.com/citizens/prm4/";
var website15 = location.href.substring(0,location.href.lastIndexOf('.com/')+14);
var web15match = "http://home.neopets.com/~puccarl/";
var website16 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web16match = "http://claussanta.bravepages.com/";
var website17 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web17match = "http://www.claussanta.bravepages.com/";
var website18 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web18match = "http://santaclaus.bravepages.com/";
var website19 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web19match = "http://www.santaclaus.bravepages.com/";
var website20 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web20match = "http://www.webzoo1.bravepages.com/";
var website21 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web21match = "http://webzoo1.bravepages.com/";
var website22 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web22match = "http://www.mfm1.bravepages.com/";
var website23 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web23match = "http://www.claussanta.com/";
var website24 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web24match = "http://www.claussanta.bravehost.com/";
var website25 = location.href.substring(0,location.href.lastIndexOf('.com/')+13);
var web25match = "http://mywebpage.netscape.com/pmato23/";
var website26 = location.href.substring(0,location.href.lastIndexOf('.com/')+22);
var web26match = "http://mywebpage.netscape.com/claussantanopole/";
var website27 = location.href.substring(0,location.href.lastIndexOf('.com/')+18);
var web27match = "http://mywebpage.netscape.com/webzookeeper/";
var website28 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web28match = "http://mfm1.bravepages.com/";
var website29 = location.href.substring(0,location.href.lastIndexOf('.com/')+19);
var web29match = "http://www.angelfire.com/nj3/stmichael/";
var website30 = location.href.substring(0,location.href.lastIndexOf('file:///C:')+57);
var web30match = "file:///C:/My%20Documents/Web%20Sites/www.claussanta.com/";
var website31 = location.href.substring(0,location.href.indexOf('.it/')+15);
var web31match = "http://www.logos.it/lang/transl";
var website32 = location.href.substring(0,location.href.lastIndexOf('file:///C:')+57);
var web32match = "file:///C:/My%20Documents/Web%20Sites/mfm.claussanta.com/";
var website33 = location.href.substring(0,location.href.lastIndexOf('file:///C:')+60);
var web33match = "file:///C:/My%20Documents/Web%20Sites/webzoo.claussanta.com/";
var website34 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web34match = "http://mfm.claussanta.com/";
var website35 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web35match = "http://webzoo.exactpages com/";
var website36 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web36match = "http://valleperdido.claussanta.com/";
var website37 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web37match = "http://lostvalley.claussanta.com/";
var website38 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web38match = "http://zologicoweb.claussanta.com/";
var website39 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web39match = "http://lostvalley.exactpages.com/";
var website40 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web40match = "http://claussanta.exactpages.com/";
var website41 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web41match = "http://miraculousphotos.exactpages.com/";
var website42 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web42match = "http://www.miraculousphotos.exactpages.com/";
var website43 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web43match = "http://www.webzoo.exactpages.com/";
var website44 = location.href.substring(0,location.href.lastIndexOf('file:///K:')+46);
var web44match = "file:///K:/websites/lostvalley.claussanta.com/";
var website45 = location.href.substring(0,location.href.lastIndexOf('file:///K:')+29);
var web45match = "file:///K:/websites/Netscape/";
var website46 = location.href.substring(0,location.href.lastIndexOf('file:///K:')+34);
var web46match = "file:///K:/websites/bravehost.com/";
var website47 = location.href.substring(0,location.href.lastIndexOf('file:///K:')+35);
var web47match = "file:///K:/websites/exactpages.com/";
var website48 = location.href.substring(0,location.href.lastIndexOf('.net/')+10);
var web48match = "http://www.spitfire.net/prm1/";
var website49 = location.href.substring(0,location.href.lastIndexOf('file:///K:')+31);
var web49match = "file:///K:/websites/0catch.com/";
var website50 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web50match = "http://www.webzoo.0catch.com/";
var website51 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web51match = "http://www.lostdinos.0catch.com/";
var website52 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web52match = "http://www.miraculousphotos.0catch.com/";
var website53 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web53match = "http://www.santaclaus.0catch.com/";

CheckWebsite();


function CheckWebsite()
{
	todaysTime = new Date();
    todaysYear = todaysTime.getYear();
    if (todaysYear < 2000) todaysYear += 1900;
	var message = "Access Violation from you're Website at : " + violation + "\n\nCopyright ©1999-" + todaysYear + " Miraculous Fotos Milagrosas. All rights reserved.\n\nViolación de Accesso desde su Sitio Web, situado en : " + violation + " \n\nDerechos de autor ©1999-" + todaysYear + " Miraculous Fotos Milagrosas. Reservados todos los derechos.";
	if ( website1 == web1match || website2 == web2match || website3 == web3match || website4 == web4match || website5 == web5match || website6 == web6match || website7 == web7match || website8 == web8match || website9 == web9match || website10 == web10match || website11 == web11match || website12 == web12match || website13 == web13match || website14 == web14match || website15 == web15match || website16 == web16match || website17 == web17match || website18 == web18match || website19 == web19match || website20 == web20match || website21 == web21match || website22 == web22match || website23 == web23match || website24 == web24match || website25 == web25match || website26 == web26match || website27 == web27match || website28 == web28match || website29 == web29match || website30 == web30match || website31 == web31match || website32 == web32match || website33 == web33match || website34 == web34match || website35 == web35match || website36 == web36match || website37 == web37match || website38 == web38match || website39 == web39match || website40 == web40match || website41 == web41match || website42 == web42match || website43 == web43match || website44 == web44match || website45 == web45match || website46 == web46match || website47 == web47match || website48 == web48match || website49 == web49match || website50 == web50match || website51 == web51match || website52 == web52match || website53 == web53match ){ 

	Start();
	} else {
		alert(message); setTimeout("self.close();",100) ;
	}
}

function Start() 
{

  var agt=navigator.userAgent.toLowerCase();

    this.major = parseInt(navigator.appVersion);
    this.nav = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1)));
    this.nav2 = (this.nav && (this.major == 2)); 
    this.nav3 = (this.nav && (this.major == 3)); 
    this.nav4 = (this.nav && (this.major == 4));
    this.nav6 = (this.nav && (this.major >= 5)); 
    this.win95 =((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1));  
    this.ie = ( agt.indexOf("aol")!=-1 && agt.indexOf("c-aol")==-1 )|| (agt.indexOf("msie")!=-1); 
    this.ie3 =(this.ie && (this.major == 2)); 
    this.ie4 = (this.ie && ((agt.indexOf('4')!=-1) && agt.indexOf('5.')==-1));
    this.ie5 = (this.ie && (agt.indexOf('5.')!=-1));
    this.ie6 = (this.ie && (agt.indexOf('6.')!=-1));
    this.win98 =((agt.indexOf("win98")!=-1)||(agt.indexOf("windows 98")!=-1)); 
    this.winnt =((agt.indexOf("winnt")!=-1)||(agt.indexOf("windows nt")!=-1)); 
    this.win32 = this.win95 || this.winnt || this.win98 ||((this.major >= 4) && (navigator.platform == "Win32")) || (agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1);
    this.compatibleIE = ( this.win32 && (this.ie4 || this.ie3 || this.ie5)); 
    this.compatibleNS = ( this.win32 && (this.nav3||this.nav4));
    this.compatible = (this.compatibleIE || this.compatibleNS); 
	var Month = "";
    var todaysMonth = document.lastModified;
    todaysMonth = todaysMonth.substring(0,2);
     if (todaysMonth == 01) var Month = "Enero ";
     if (todaysMonth == 02) var Month = "Febrero ";
     if (todaysMonth == 03) var Month = "Marzo ";
     if (todaysMonth == 04) var Month = "Abril ";
     if (todaysMonth == 05) var Month = "Mayo ";
     if (todaysMonth == 06) var Month = "Junio ";
     if (todaysMonth == 07) var Month = "Julio ";
     if (todaysMonth == 08) var Month = "Agosto ";
     if (todaysMonth == 09) var Month = "Septiembre ";
     if (todaysMonth == 10) var Month = "Octubre ";
     if (todaysMonth == 11) var Month = "Noviembre ";
     if (todaysMonth == 12) var Month = "Deciembre ";

if ( this.ie4 && !this.ie6 ) {
    var todaysDay = document.lastModified;
    todaysDay = todaysDay.substring(5,3);
    var todaysYear = document.lastModified;
    todaysYear = todaysYear.substring(8,6);
    var todaysTime = document.lastModified;
    todaysTime = todaysTime.substring(17,8);
    document.write('<font><strong>');
    document.write('Última puesta al día ' + Month + ' ' + todaysDay + ', 20' + todaysYear + ' ' + todaysTime + '');
    document.write('</font></strong>');
} else if ( this.nav4 || this.nav6 ) {
    elMez() ;
} else if ( this.nav2 || this.ie3 ) {
    document.write('<font><strong>');
    document.write('Última puesta al día ' + document.lastModified + '');
    document.write('</font></strong>');
} else if ( this.ie5 && !this.ie6 ) {
    var todaysDay = document.lastModified;
    todaysDay = todaysDay.substring(5,3);
    var todaysYear = document.lastModified;
    todaysYear = todaysYear.substring(10,6);
    var todaysTime = document.lastModified;
    todaysTime = todaysTime.substring(20,11);
    document.write('<font><strong>');
    document.write('Última puesta al día ' + Month + ' ' + todaysDay + ', ' + todaysYear + ' ' + todaysTime + '');
    document.write('</font></strong>');
} else if ( this.ie6 ) {
    var todaysDay = document.lastModified;
    todaysDay = todaysDay.substring(5,3);
    var todaysYear = document.lastModified;
    todaysYear = todaysYear.substring(10,6);
    var todaysTime = document.lastModified;
    todaysTime = todaysTime.substring(20,11);
    document.write('<font><strong>');
    document.write('Última puesta al día ' + Month + ' ' + todaysDay + ', ' + todaysYear + ' ' + todaysTime + '');
    document.write('</font></strong>');
} else if ( this.nav3 ) {
    document.write('<font><strong>');
    document.write('Última puesta al día ' + document.lastModified + '');
    document.write('</font></strong>');
} else {
    document.write('<font><strong>');
    document.write('Última puesta al día ' + document.lastModified + '');
    document.write('</font></strong>');
}
}

function elMez()
{

var Mez = "";
var Dia = "";
var Num = "0";
var Num2 = "0";
var todaysDYT = document.lastModified;
var Num3 = document.lastModified;
var Num3 = Num3.indexOf(', 2');
var Num4 = document.lastModified;
var Num4 = Num4.indexOf('day,');


var todaysDia1 = document.lastModified;
var todaysDia1 = todaysDia1.substring(0,3);
var Dia1match = "Mon";
var todaysDia2 = document.lastModified;
var todaysDia2 = todaysDia2.substring(0,3);
var Dia2match = "Tue";
var todaysDia3 = document.lastModified;
var todaysDia3 = todaysDia3.substring(0,3);
var Dia3match = "Wed";
var todaysDia4 = document.lastModified;
var todaysDia4 = todaysDia4.substring(0,3);
var Dia4match = "Thu";
var todaysDia5 = document.lastModified;
var todaysDia5 = todaysDia5.substring(0,3);
var Dia5match = "Fri";
var todaysDia6 = document.lastModified;
var todaysDia6 = todaysDia6.substring(0,3);
var Dia6match = "Sat";
var todaysDia7 = document.lastModified;
var todaysDia7 = todaysDia7.substring(0,3);
var Dia7match = "Sun";

	if ( todaysDia1 == Dia1match ){ 
    Num = "11"; Num2 = "',20',13";
	Dia = "Lunes";
	} else {
		
	}

	if ( todaysDia2 == Dia2match ){ 
    Num = "11"; Num2 = "13";
	Dia = "Martes";
	} else {
		
	}

	if ( todaysDia3 == Dia3match ){ 
    Num = "14";  Num2 = "16";
	Dia = "Miercoles";
	} else {
		
	}

	if ( todaysDia4 == Dia4match ){ 
    Num = "11"; Num2 = "13";
	Dia = "Jueves";
	} else {
		
	}

	if ( todaysDia5 == Dia5match ){ 
    Num = "12";  Num2 = "14";
	Dia = "Viernes";
	} else {
		
	}

	if ( todaysDia6 == Dia6match ){ 
    Num = "11"; Num2 = "13";
	Dia = "Sabado";
	} else {
		
	}

	if ( todaysDia7 == Dia7match ){ 
    Num = "12"; Num2 = "14"; 
	Dia = "Domingo";
	} else {
		
	}

var todaysD = todaysDYT.substring(Num3,todaysDYT.indexOf(", 2")-2);
var todaysYT = todaysDYT.substring(Num3,todaysDYT.indexOf(", 2")+15);
var todaysMez1 = document.lastModified;
var todaysMez1 = todaysMez1.substring(Num4,todaysMez1.indexOf("day, ")+8);
var todaysMez1 = todaysMez1.substring(5,8);
var Mez1match = "Jan";
var todaysMez2 = document.lastModified;
var todaysMez2 = todaysMez2.substring(Num4,todaysMez2.indexOf("day, ")+8);
var todaysMez2 = todaysMez2.substring(5,8);
var Mez2match = "Feb";
var todaysMez3 = document.lastModified;
var todaysMez3 = todaysMez3.substring(Num4,todaysMez3.indexOf("day, ")+8);
var todaysMez3 = todaysMez3.substring(5,8);
var Mez3match = "Mar";
var todaysMez4 = document.lastModified;
var todaysMez4 = todaysMez4.substring(Num4,todaysMez4.indexOf("day, ")+8);
var todaysMez4 = todaysMez4.substring(5,8);
var Mez4match = "Apr";
var todaysMez5 = document.lastModified;
var todaysMez5 = todaysMez5.substring(Num4,todaysMez5.indexOf("day, ")+8);
var todaysMez5 = todaysMez5.substring(5,8);
var Mez5match = "May";
var todaysMez6 = document.lastModified;
var todaysMez6 = todaysMez6.substring(Num4,todaysMez6.indexOf("day, ")+8);
var todaysMez6 = todaysMez6.substring(5,8);
var Mez6match = "Jun";
var todaysMez7 = document.lastModified;
var todaysMez7 = todaysMez7.substring(Num4,todaysMez7.indexOf("day, ")+8);
var todaysMez7 = todaysMez7.substring(5,8);
var Mez7match = "Jul";
var todaysMez8 = document.lastModified;
var todaysMez8 = todaysMez8.substring(Num4,todaysMez8.indexOf("day, ")+8);
var todaysMez8 = todaysMez8.substring(5,8);
var Mez8match = "Aug";
var todaysMez9 = document.lastModified;
var todaysMez9 = todaysMez9.substring(Num4,todaysMez9.indexOf("day, ")+8);
var todaysMez9 = todaysMez9.substring(5,8);
var Mez9match = "Sep";
var todaysMez10 = document.lastModified;
var todaysMez10 = todaysMez10.substring(Num4,todaysMez10.indexOf("day, ")+8);
var todaysMez10 = todaysMez10.substring(5,8);
var Mez10match = "Oct";
var todaysMez11 = document.lastModified;
var todaysMez11 = todaysMez11.substring(Num4,todaysMez11.indexOf("day, ")+8);
var todaysMez11 = todaysMez11.substring(5,8);
var Mez11match = "Nov";
var todaysMez12 = document.lastModified;
var todaysMez12 = todaysMez12.substring(Num4,todaysMez12.indexOf("day, ")+8);
var todaysMez12 = todaysMez12.substring(5,8);
var Mez12match = "Dec";

	if ( todaysMez1 == Mez1match ){ 

	Mez = "Enero";
	} else {
		
	}

	if ( todaysMez2 == Mez2match ){ 
	Mez = "Febrero";
	} else {
		
	}

	if ( todaysMez3 == Mez3match ){ 
	Mez = "Marzo";
	} else {
		
	}

	if ( todaysMez4 == Mez4match ){ 
	Mez = "Abril";
	} else {
		
	}

	if ( todaysMez5 == Mez5match ){ 
	Mez = "Mayo";
	} else {
		
	}

	if ( todaysMez6 == Mez6match ){ 
	Mez = "Junio";
	} else {
		
	}

	if ( todaysMez7 == Mez7match ){ 
	Mez = "Julio";
	} else {
		
	}

	if ( todaysMez8 == Mez8match ){ 
	Mez = "Agosto";
	} else {
		
	}

	if ( todaysMez9 == Mez9match ){ 
	Mez = "Septiembre";
	} else {
		
	}

	if ( todaysMez10 == Mez10match ){ 
	Mez = "Octubre";
	} else {
		
	}

	if ( todaysMez11 == Mez11match ){ 
	Mez = "Noviembre";
	} else {
		
	}

	if ( todaysMez12 == Mez12match ){ 
	Mez = "Diciembre";
	} else {
		
	}




document.write('<font><strong>');
document.write('Última puesta al día ' + Dia + ', ' + Mez + ' ' + todaysD + '' + todaysYT + '');
document.write('</font></strong>');


}
