//-----------------------------------
// Countdown To Christmas Day Script v.1.0 
// File name: cntdownXmas_en.js
// OWNER: PeterMato@pmato23.faithweb.com
// AUTHOR: Saint Nicolas Claus Reproductions
// Copyright: ©1999-2001 Saint Nicolas Claus Reproductions
// $Revision: 2 $
// $Date: 09/20/2001 10: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://webzoo.claussanta.com/";
var website8 = location.href.substring(0,location.href.lastIndexOf('.com/')+5);
var web8match = "http://www.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('.net/')+10);
var web23match = "http://www.spitfire.net/prm1/";
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:///K:')+35);
var web30match = "file:///K:/websites/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:///K:')+39);
var web32match = "file:///K:/websites/mfm.claussanta.com/";
var website33 = location.href.substring(0,location.href.lastIndexOf('file:///K:')+42);
var web33match = "file:///K:/websites/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()
{
todaysTime = new Date();
todaysMonth = todaysTime.getMonth();
todaysDate = todaysTime.getDate();
Mons = todaysMonth;
Mins = todaysDate;
todaysYear = todaysTime.getYear();
if (todaysYear < 2000) todaysYear += 1900;
var theYear = "December 25, " + todaysYear + "";
theYear = theYear.substring(0,17);
var description = "Christmas Day!";
today = new Date() 			
Christmas = new Date(theYear)
Christmas.setYear = today.getYear;		
days = (Christmas.getTime() - today.getTime()) / (1000*60*60*24);
days = Math.round(days);

if (days > "1") {
document.write("<center><h3>")
document.write(days + " days until " + description);
document.write("</h3></center>");
}
else if (days == "2") {
document.write("<center><h3>")
document.write("Only two days until " + description);
document.write("</h3></center>");
}
else if (days == "1") {
document.write("<center><h3>")
document.write("Tomorrow is " + description);
document.write("</h3></center>");
}
else if (Mons == "11" && Mins >= "26" && Mins <= "31") {
document.write("<center><h3>")
document.write("Merry Christmas and Happy New Year!");
document.write("</h3></center>");
}
else {
document.write("<center><h3>")
document.write("It's" + description + "!");
document.write("</h3></center>");
}
}

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com)
//For full source code, visit http://www.dynamicdrive.com

var message="Sorry\n\nCopyrighted Materials on this Webpage, All rights reserved."; // Message for the alert box
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

var message="Sorry\n\nCopyrighted Materials on this Webpage, All rights reserved."; // Message for the alert box

// Don't edit below!

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
