//Beginning of "allcode.js" file
<!-- Begin
var accepted_domains=new Array("ruickbie.com","witchcraftoutoftheshadows.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 -->

<!--

///////////////////////////////////////////////////////////////////////////////
//   ..:: realMenu v1.27 ::..
// copyright © jordan neill 2000
// Script featured on JavaScript Kit (http://javascriptkit.com)
//
// change the menuItems array with your options and set the urls to link to
//  use addMenuItem("Text to show", "Url To Link To"); to make an item
//  use addMenuItem("Text", Url", "Img To Show"); to make an item with an image
//  use addMenuItem(); to indicate a separator bar
//  you can use html tags in the text, eg, <i>, <b> or <u>
//
// images used should be 16x16 transparent gifs
///////////////////////////////////////////////////////////////////////////////

 menuItems = new Array();
 menuItemNum = 0;

 function addMenuItem(text, url, img){
  if(img) menuItems[menuItemNum] = new Array(text, url, img);
  else if(text) menuItems[menuItemNum] = new Array(text, url);
  else menuItems[menuItemNum] = new Array();
  menuItemNum++;
 }

 menuWidth = 164; //menu width
 menuHeight = 296; //menu height
 menuDelay = 50; //delay before menu appears
 menuSpeed = 1; //speed which menu appears (lower=faster)
 menuOffset = 2; //offset of menu from mouse pointer

 addMenuItem("Buy from Amazon","http://www.Amazon.co.uk/exec/obidos/ASIN/0709075677/witchcrinformace");
 addMenuItem();
 addMenuItem("Witchcraft in Greece","http://www.witchcraftoutoftheshadows.com/1_witchcraft_greece.htm");
 addMenuItem("Witchcraft in N. Europe","http://www.witchcraftoutoftheshadows.com/2_witchcraft_northern.htm");
 addMenuItem("Satanic Witchcraft","http://www.witchcraftoutoftheshadows.com/3_witchcraft_satanic.htm");
 addMenuItem();
 addMenuItem("Witchcraft Revival","http://www.witchcraftoutoftheshadows.com/4_witchcraft_revival.htm");
 addMenuItem("Invention of Wicca","http://www.witchcraftoutoftheshadows.com/5_witchcraft_invention.htm");
 addMenuItem("Witchcraft Development","http://www.witchcraftoutoftheshadows.com/6_witchcraft_development.htm");
 addMenuItem();
 addMenuItem("Witches Today","http://www.witchcraftoutoftheshadows.com/7_witchcraft_demographics.htm");
 addMenuItem("Mysteries of Witchcraft","http://www.witchcraftoutoftheshadows.com/8_witchcraft_mysticism.htm");
 addMenuItem("Magic in Witchcraft","http://www.witchcraftoutoftheshadows.com/9_witchcraft_magic.htm");
 addMenuItem("Future of Witchcraft","http://www.witchcraftoutoftheshadows.com/91_witchcraft_future.htm");
 addMenuItem();
 addMenuItem("Study Witchcraft","http://www.witchcraftinfo.info/witchcraft_courses.htm");
 addMenuItem("Witchcraft to Wear","http://www.witchwear.com");
 addMenuItem("Free E-Zine","http://www.witchcraftoutoftheshadows.com/witchcraft_ezine.htm");
 addMenuItem("Win Prizes!","http://www.witchcraftoutoftheshadows.com/linkcode.htm");

 ///////////////////////////////////////////////////////////////////////////////
 // do not edit the code below, it is required for the menu to work correctly
 ///////////////////////////////////////////////////////////////////////////////


 if(window.navigator.appName == "Microsoft Internet Explorer" && window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE") + 5, window.navigator.appVersion.indexOf("MSIE") + 8) >= 5.5)
  isIe = 1;
 else
  isIe = 0;

 if(isIe){
  menuContent = '<table id="rightMenu" width="0" height="0" cellspacing="0" cellpadding="0" style="font:menu;color:menutext;"><tr height="1"><td style="background:threedlightshadow" colspan="4"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedhighlight" colspan="2"></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="10"><td style="background:threedlightshadow"></td><td style="background:threedhighlight"></td><td style="background:threedface"><table cellspacing="0" cellpadding="0" nowrap style="font:menu;color:menutext;cursor:default;">';
  for(m=0;m<menuItems.length;m++){
   if(menuItems[m][0] && menuItems[m][2])
    menuContent += '<tr height="17" onMouseOver="this.style.background=\'highlight\';this.style.color=\'highlighttext\';" onMouseOut="this.style.background=\'threedface\';this.style.color=\'menutext\';" onClick="parent.window.location.href=\'' + menuItems[m][1] + '\'"><td style="background:threedface" width="1" nowrap></td><td width="21" nowrap><img src="' + menuItems[m][2] + '"></td><td nowrap>' + menuItems[m][0] + '</td><td width="21" nowrap></td><td style="background:threedface" width="1" nowrap></td></tr>';
   else if(menuItems[m][0])
    menuContent += '<tr height="17" onMouseOver="this.style.background=\'highlight\';this.style.color=\'highlighttext\';" onMouseOut="this.style.background=\'threedface\';this.style.color=\'menutext\';" onClick="parent.window.location.href=\'' + menuItems[m][1] + '\'"><td style="background:threedface" width="1" nowrap></td><td width="21" nowrap></td><td nowrap>' + menuItems[m][0] + '</td><td width="21" nowrap></td><td style="background:threedface" width="1" nowrap></td></tr>';
   else
    menuContent += '<tr><td colspan="5" height="4"></td></tr><tr><td colspan="5"><table cellspacing="0"><tr><td width="2" height="1"></td><td width="0" height="1" style="background:threedshadow"></td><td width="2" height="1"></td></tr><tr><td width="2" height="1"></td><td width="100%" height="1" style="background:threedhighlight"></td><td width="2" height="1"></td></tr></table></td></tr><tr><td colspan="5" height="3"></td></tr>';
  }
  menuContent += '</table></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedhighlight"></td><td style="background:threedface"></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedshadow" colspan="3"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threeddarkshadow" colspan="5"></td></tr></table>';

  menuPopup = window.createPopup();
  menuPopup.document.body.innerHTML = menuContent;
 }

 function showMenu(){
  menuXPos = event.clientX + menuOffset;
  menuYPos = event.clientY + menuOffset;

  menuXIncrement = menuWidth / menuSpeed;
  menuYIncrement = menuHeight / menuSpeed;

  menuTimer = setTimeout("openMenu(0,0)", menuDelay);

  return false;
 }


 function openMenu(height, width){
  iHeight = height;
  iWidth = width;

  menuPopup.show(menuXPos, menuYPos, iWidth, iHeight, document.body);

  if(iHeight < menuHeight)
   menuTimer = setTimeout("openMenu(iHeight + menuYIncrement, iWidth + menuXIncrement)", 1);
  else
   clearTimeout(menuTimer);
 }


 if(isIe) document.oncontextmenu = showMenu;


//-->


/*****************************************
* Dissolving Image Rollover- By Roy Whittle (http://www.javascript-fx.com/)
* Featured on/available at http://www.dynamicdrive.com/
* This notice must stay intact for use
*****************************************/

//Generate transition CSS (transition=0 to 23)
document.write('<STYLE TYPE="text/css">.imgTrans{ filter:revealTrans(duration=0.8,transition=12) }</STYLE>');

//Uncomment the next line for fading rollovers instead of dissolving:
//document.write('<STYLE TYPE="text/css">.imgTrans{ filter:blendTrans(duration=0.8) }</STYLE>');

var onImages=new Array();
function Rollover(imgName, imgSrc)
{
	onImages[imgName] = new Image();
	onImages[imgName].src = imgSrc;
}

function turnOn(imgName){ 
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].apply();
	document.images[imgName].offSrc = document.images[imgName].src;
	document.images[imgName].src    = onImages[imgName].src;
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].play();
}

function turnOff(imgName){ 
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].stop();
	document.images[imgName].src = document.images[imgName].offSrc;
}

//Specify name of participating images, plus paths to their onMouseover replacements:
Rollover("leo",  "me.gif");


<!--
// Preload and play audio files with event handler (MouseOver sound)
// designed by JavaScript Archive, (c)1999
// Get more free javascripts at http://jsarchive.8m.com

var aySound = new Array();
// Below: source for sound files to be preloaded
aySound[0] = "WitchLaugh.mp3";
aySound[1] = "satanic.mp3";
aySound[2] = "RavenCall.mp3";
aySound[3] = "pagan.mp3";
aySound[4] = "sound.mp3";
aySound[5] = "ruickbie.wav";

// DO NOT edit below this line
document.write('<BGSOUND ID="auIEContainer">')
IE = (navigator.appVersion.indexOf("MSIE")!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
ver4 = IE||NS? 1:0;
onload=auPreload;

function auPreload() {
if (!ver4) return;
if (NS) auEmb = new Layer(0,window);
else {
Str = "<DIV ID='auEmb' STYLE='position:absolute;'></DIV>";
document.body.insertAdjacentHTML("BeforeEnd",Str);
}
var Str = '';
for (i=0;i<aySound.length;i++)
Str += "<EMBED SRC='"+aySound[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"
if (IE) auEmb.innerHTML = Str;
else {
auEmb.document.open();
auEmb.document.write(Str);
auEmb.document.close();
}
auCon = IE? document.all.auIEContainer:auEmb;
auCon.control = auCtrl;
}
function auCtrl(whSound,play) {
if (IE) this.src = play? aySound[whSound]:'';
else eval("this.document.embeds[whSound]." + (play? "play()":"stop()"))
}
function playSound(whSound) { if (window.auCon) auCon.control(whSound,true); }
function stopSound(whSound) { if (window.auCon) auCon.control(whSound,false); }
//-->



<!-- 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 -->

<!--  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);}
// -->

<!-- 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>";
//-->