//Beginning of "allcode.js" file
<!-- Begin
var accepted_domains=new Array("wica.org.uk","witchcraftinfo.info","witchology.com")

var domaincheck=document.location.href //retrieve the current URL of user browser
var accepted_ok=false //set acess to false by default

if (domaincheck.indexOf("http")!=-1){ //if this is a http request
for (r=0;r<accepted_domains.length;r++){
if (domaincheck.indexOf(accepted_domains[r])!=-1){ //if a match is found
accepted_ok=true //set access to true, and break out of loop
break
}
}
}
else
accepted_ok=true

if (!accepted_ok){
alert("Access Denied")
history.back(-1)
}

/////rest of your libray

//  End -->


<!--  NEW WINDOW LAUNCHER  -->
<!--
/****************************************************
     Author: Eric King
     Url: http://redrival.com/eak/index.shtml
     This script is free to use as long as this info is left in
     Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->

<!-- Begin

//E-MAIL FRIEND SCRIPT
//
//Script by Trånn: http://come.to/tronds
//Submitted to Website Abstraction (http://wsabstract.com)
//Visit http://wsabstract.com for this script

var initialsubj="Take a look at this"
var initialmsg="Hi:\n I found this site today and I think you should take a look: "+window.location
var good;
function checkEmailAddress(field) {

var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
if (goodEmail) {
good = true;
}
else {
alert('Please enter a valid address.');
field.focus();
field.select();
good = false;
   }
}
u = window.location;
function mailThisUrl() {
good = false
checkEmailAddress(document.eMailer.email);
if (good) {

//window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u;
window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg
   }
}
//  End -->


<!-- Begin
// DATE FUNCTION
// This may be used without permission
// --Michael Quinn Sullivan


function date()
{

}
  today = new Date();

//hour info
hour=today.getHours();
min=today.getMinutes();
sec=today.getSeconds();
if(hour==00){ set="AM";}
else if(hour==01){ set="AM";}
else if(hour==02){ set="AM";}
else if(hour==03){ set="AM";}
else if(hour==04){ set="AM";}
else if(hour==05){ set="AM";}
else if(hour==06){ set="AM";}
else if(hour==07){ set="AM";}
else if(hour==08){ set="AM";}
else if(hour==09){ set="AM";}
else if(hour==10){ set="AM";}
else if(hour==11){ set="AM";}
else if(hour==12){ set="PM";}
else if(hour==13){ set="PM";}
else if(hour==14){ set="PM";}
else if(hour==15){ set="PM";}
else if(hour==16){ set="PM";}
else if(hour==17){ set="PM";}
else if(hour==18){ set="PM";}
else if(hour==19){ set="PM";}
else if(hour==20){ set="PM";}
else if(hour==21){ set="PM";}
else if(hour==22){ set="PM";}
else if(hour==23){ set="PM";}



if(hour==00){ hour="12";}
else if(hour==01){ hour="1";}
else if(hour==02){ hour="2";}
else if(hour==03){ hour="3";}
else if(hour==04){ hour="4";}
else if(hour==05){ hour="5";}
else if(hour==06){ hour="6";}
else if(hour==07){ hour="7";}
else if(hour==08){ hour="8";}
else if(hour==09){ hour="9";}
else if(hour==10){ hour="10";}
else if(hour==11){ hour="11";}
else if(hour==12){ hour="12";}
else if(hour==13){ hour="1";}
else if(hour==14){ hour="2";}
else if(hour==15){ hour="3";}
else if(hour==16){ hour="4";}
else if(hour==17){ hour="5";}
else if(hour==18){ hour="6";}
else if(hour==19){ hour="7";}
else if(hour==20){ hour="8";}
else if(hour==21){ hour="9";}
else if(hour==22){ hour="10";}
else if(hour==23){ hour="11";}


if(min==0){ min="00";}
else if(min==1){ min="01";}
else if(min==2){ min="02";}
else if(min==3){ min="03";}
else if(min==4){ min="04";}
else if(min==5){ min="05";}
else if(min==6){ min="06";}
else if(min==7){ min="07";}
else if(min==8){ min="08";}
else if(min==9){ min="09";}

if(sec==0){ sec="00";}
else if(sec==1){ sec="01";}
else if(sec==2){ sec="02";}
else if(sec==3){ sec="03";}
else if(sec==4){ sec="04";}
else if(sec==5){ sec="05";}
else if(sec==6){ sec="06";}
else if(sec==7){ sec="07";}
else if(sec==8){ sec="08";}
else if(sec==9){ sec="09";}


//date info
day=today.getDay() + 1;
months=today.getMonth() + 1;
dates=today.getDate();
years=today.getYear();

//day info
if(day==1){ day="Sunday, "; }
else if(day==2){ day="Monday, "; }
else if(day==3){ day="Tuesday, "; }
else if(day==4){ day="Wednesday, "; }
else if(day==5){ day="Thursday, "; }
else if(day==6){ day="Friday, "; }
else if(day==7){ day="Saturday, "; }

//month info
if(months==1){ months="January "; }
else if(months==2){ months="February "; }
else if(months==3){ months="March "; }
else if(months==4){ months="April "; }
else if(months==5){ months="May "; }
else if(months==6){ months="June "; }
else if(months==7){ months="July "; }
else if(months==8){ months="August "; }
else if(months==9){ months="September "; }
else if(months==10){ months="October "; }
else if(months==11){ months="November "; }
else if(months==12){ months="December "; }

//year info
if(years==99){ years="1999"; }
else if(years==1999){ years="1999"; }
else if(years==2000){ years="2000"; }
else if(years==100){ years="2000"; }
else if(years==00){ years="2000"; }


//  End -->



// GET YEAR FOR COPYRIGHT NOTICE

//Script created by Ronny Drappier, http://sipreal.com
//Visit http://javascriptkit.com for this script

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

  // end  --->


// BREAD CRUMB

//Bread crumb script - Kevin Lynn Brown
//Duplicate directory names bug fix by JavaScriptKit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script

var path = "";
var href = document.location.href;
var s = href.split("/");
for (var i=2;i<(s.length-1);i++) {
path+="<A HREF=\""+href.substring(0,href.indexOf("/"+s[i])+s[i].length+1)+"/\">"+s[i]+"</A> / ";
}
i=s.length-1;
path+="<A HREF=\""+href.substring(0,href.indexOf(s[i])+s[i].length)+"\">"+s[i]+"</A>";
//-->


/***********************************************
* IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* Visit DynamicDrive.com for hundreds of original DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
//Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
var iframeids=["leftmenuframe", "footeriframe"]

//Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):
var iframehide="yes"

var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers

function resizeCaller() {
var dyniframe=new Array()
for (i=0; i<iframeids.length; i++){
if (document.getElementById)
resizeIframe(iframeids[i])
//reveal iframe for lower end browsers? (see var above):
if ((document.all || document.getElementById) && iframehide=="no"){
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])
tempobj.style.display="block"
}
}
}

function resizeIframe(frameid){
var currentfr=document.getElementById(frameid)
if (currentfr && !window.opera){
currentfr.style.display="block"
if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntax
currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight; 
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
currentfr.height = currentfr.Document.body.scrollHeight;
if (currentfr.addEventListener)
currentfr.addEventListener("load", readjustIframe, false)
else if (currentfr.attachEvent){
currentfr.detachEvent("onload", readjustIframe) // Bug fix line
currentfr.attachEvent("onload", readjustIframe)
}
}
}

function readjustIframe(loadevt) {
var crossevt=(window.event)? event : loadevt
var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement
if (iframeroot)
resizeIframe(iframeroot.id);
}

function loadintoIframe(iframeid, url){
if (document.getElementById)
document.getElementById(iframeid).src=url
}

if (window.addEventListener)
window.addEventListener("load", resizeCaller, false)
else if (window.attachEvent)
window.attachEvent("onload", resizeCaller)
else
window.onload=resizeCaller

//END