// --- Try to discorage copying of images
	function protect(e) {
	alert("Sorry, you don't have permission to copy this Image.  All Images are Copyrighted."); return false; }

	function startTime()
	{
		var today=new Date()
		var h=today.getHours()
		var m=today.getMinutes()
		var s=today.getSeconds()
		// add a zero in front of numbers<10
		m=checkTime(m)
		s=checkTime(s)
		document.getElementById('PacificTime').innerHTML="<B>&nbsp;&nbsp;&nbsp;"+h+":"+m+":"+s+"</B>"
		t=setTimeout('startTime()',500)
	}

	function checkTime(i)
	{
		if (i<10) 
		  {i="0" + i}
		  return i
	}

	function runOnLoad() {
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	    var i,j=d.MM_p.length,a=runOnLoad.arguments; for(i=0; i<a.length; i++)
	    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
		if(document.images)
		for(i=0;i<document.images.length;i++)
		document.images[i].onmousedown = protect;
	}
	
	function trap() {
	if(document.images)
	for(i=0;i<document.images.length;i++)
	document.images[i].onmousedown = protect;
	}

// --- Generate Page Updated Information
	function modDate() {
	var defaultDate = "01/03/2006";
	var lm = document.lastModified

	if (Date.parse(lm) == 0) {
	lm = defaultDate 
	}
document.write("Page&nbsp;Updated:&nbsp;" + lm )
	}

// --- Image PreLoad
	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}

	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

	function MM_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}

	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}

// global variables to form MY addresses
var at1   = "@";
var dot   = ".";
var typ   = "us";
var id1   = "Mitc";		// real id1
var id2   = "hellP";	// real id2

var id3   = "web";		// real id3
var id4   = "master";	// real id4

var sub1  = "?subject=Information Request - m4m-Direct"
var bod1a = "&body=This anti-s"
var bod1b = "pam code must be in the body [3f"
var bod1c = "bod3xsk623]"

var sub2  = "?subject=Website - m4m-Direct"
var bod2a = "&body=This anti-sp"
var bod2b = "am code must be in the body [28f"
var bod2c = "hb94t]"

var url = "mmcd";		// real URL

var fid1 = "ron";		// fake id1
var fid2 = "853211"		// fake id2
var furl = "yahoo";		// fake URL

function FixBusi (obj1) {  // PayPal FORM business value
var tmp;
  if (obj1.business) {     // see what is in this form 
    tmp = obj1.business.value;
    obj1.business.value = id1 + id2 + at1 + url + dot + typ;
    alert ("Fake business was ... \n   " + tmp + "\n\n\n" +
           "Real business is  ... \n   " + obj1.business.value);
  }
  return true;             // make it work...
}

function FixLink (obj1) {  // fix any PayPal link in calling FORM
var tmp,org,ary=new Array();
  for (i=0; i<obj1.length; i++) {  // run whole FORM
    obj = obj1.elements[i];        // address an element
alert(obj.name);
    org = obj.value;
    tmp = org;  // place holder
    ary = tmp.split (furl);  // do we have a fake
    if (ary.length > 1) {    // still a fake
      tmp = ary.join ("members." + url);
      obj.value = tmp;
alert("Fix URL... \n\n" +
      obj.name + " value was ... \n   " + org + "\n\n\n" +
      "New value IS  ... \n   " + tmp);
    }
    org = tmp;  // any more stuff to fix?
    ary = tmp.split (fid1 + fid2);  // have a fake ID here?
    if (ary.length > 1) {    // still a fake
      tmp = ary.join (id1 + id2);
      obj.value = tmp;
alert("Fix ID... \n\n" +
      obj.name + " value was ... \n   " + org + "\n\n\n" +
      "New value IS  ... \n   " + tmp);
    }
  }
}

function FixMail_I (obj1) {  // fix a hyperlink mail addr
var tmp;
  tmp = obj1.href;
  obj1.href = "mailto:" + id1 + id2 + at1 + url + dot + typ + sub1 + bod1a + bod1b + bod1c;
  return true;             // make it work...
}

function FixMail_W (obj1) {  // fix a hyperlink mail addr
var tmp;
  tmp = obj1.href;
  obj1.href = "mailto:" + id3 + id4 + at1 + url + dot + typ + sub2 + bod2a + bod2b + bod2c;
  return true;             // make it work...
}
