//Random Image on Load from Javascript.com

// <!-- Begin Random Image On Load
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'graphics/layout_logo-whitecat.gif'
theImages[1] = 'graphics/layout_logo-blackcat.gif'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

//  End Random Image on Load-->

/*
Pop up image viewer script II
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
*/

function popimage(imagesrc,winwidth,winheight){
var look='width='+winwidth+',height='+winheight+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<title>Atomic Space Kitty</title><body topmargin=0 leftmargin=0><img src="'+imagesrc+'"></body>')
popwin.document.close()
}

// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this header.

// ----------- Setups ------------------
// Set the address, width, height, top
// and left dimensions for the popup
// window below.
// -------------------------------------

PopUpURL    = "no_right_click.html";
PopUpLeft   =  100;
PopUpTop    =  100;
PopUpWidth  =  375;
PopUpHeight =  125;

// -------------------------------------
// Do not edit anything below this line.
// -------------------------------------

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
popO='left='+PopUpLeft+',top='+PopUpTop+',width='+PopUpWidth+',height='+PopUpHeight

if (isIE||isNN){
document.oncontextmenu=checkV;
}else{
document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
document.onmousedown=checkV;}

function checkV(e){
if (isN4){
if (e.which==2||e.which==3){
dPUW=window.open(PopUpURL,'nrc',popO);
return false;
}}else{
dPUW=window.open(PopUpURL,'nrc',popO);
return false;}}
