var NN = navigator.appName.indexOf('Netscape') > -1 ? true : false;
var doc = NN ? window.document : window.document.all;
var Win = (navigator.platform.indexOf("Win") > -1 ) ? true : false;

dd = NN ? document.images : document.all;

myImages = new Array();

function preload( ) {
	imgList = new Array('home','messages','healing','meditation','readings','contact','ufocollectibles','amitconsulting');
	for (i=0;i<imgList.length;i++) {
		key = imgList[i];
		myImages[key] = new Image();
		myImages[key+"_o"] = new Image();
		myImages[key].src = "images/fromspirit/"+key+".jpg";
		myImages[key+"_o"].src = "images/fromspirit/"+key+"_o.jpg";
	}

}

function swapout(img) {
  window.status = '';
  dd[img].src = myImages[img].src;
  return true;
}

function swapover(img,stat) {
  window.status = stat;
  dd[img].src = myImages[img+"_o"].src;
  return true;
}


form = NN ? document.forms : document.all;

function rePointSubmit( fname, newTarget ) {
	thisForm = form[fname];
        thisForm.action = newTarget;
        thisForm.submit();
}