//	---------------------------------------------------------------------------
//	FUNCTION:	addEvent(obj,evType,fn)
//	AUTHOR:		Ben Thompson
//	REVISED:	Sept 2005
//
//	Attaches a function to the event of your choice. The most
//	common application is to attach a function to page load.
//
//	EXAMPLE:
//	addEvent(window, "load", myFunction(variable))
var nifty_little_window = null;
function addEvent(obj, evType, fn){

  // adds an eventListener for browsers which support it
  if (obj.addEventListener){
    obj.addEventListener(evType, fn, true);
    return true;
  } else if (obj.attachEvent){
	var r = obj.attachEvent("on"+evType, fn);
    return r;
  } else {
	return false;
  }
}

/*********************************************************
            GateKeeper  v3.2  -  by Joe Barta
       http://junior.apk.net/~jbarta/tutor/keeper/
     Permission is granted to freely use this script.
**********************************************************/

// You can edit the following line to change the status bar message.
   var statusMsg = "Password Protected Area"

function gateKeeper() {
   gateKeeperBox = window.open('gatemain.html', 'theKeeper', 'width=325,height=400,resizable=no');
}

