//
// Modified and used by permission
//  Victor Chan - vwchan@ca.ibm.com - 08-08-2000 CodeMonkey this week.
//  Copyright (c) IBM Canada - www.can.ibm.com
//
var iu='images/'; 
var io='flash/'
var mOverExt='_on.gif';
var mOutExt='_off.gif';

preloadvals=new Array (iu+'rca_bottom.jpg', iu+'rca_middle.jpg', iu+'rca_top.jpg', iu+'spacer.gif', iu+'greydot.gif', iu+'whitedot.gif', iu+'grey.gif', iu+'bottom_left_header.jpg', iu+'bottom_left_header2.jpg', iu+'top_left_header.jpg', iu+'top_left_header.jpg', iu+'top_right_header.gif', iu+'top_right_header2.gif', io+'nzp.swf');
preload=new Array (preloadvals.length);
for (var i=0; i < preload.length; i++){
	preload[i]=new Image();
	preload[i].src=preloadvals[i];
}

// ***********************************************


// This script and many more are available free online at -->
// The JavaScript Source!! http://javascript.internet.com -->
// Original:  David Sosnowski (support@codefoot.com) -->
// Web Site:  http://www.codefoot.com -->

// Begin
function blockError(){return true;}
window.onerror = blockError;
//  End -->


// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
  if(EnableRightClick==1){ return true; }
  else {return false; }
}
function mousehandler(e){
  if(EnableRightClick==1){ return true; }
  var myevent = (isNS) ? e : event;
  var eventbutton = (isNS) ? myevent.which : myevent.button;
  if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
  var myevent = (isNS) ? e : window.event;
  if (myevent.keyCode==96)
    EnableRightClick = 1;
  return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
//-->

//Default browsercheck, added to all scripts!
function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}
bw=new checkBrowser();
