<!--
	//addEvent(window, "load", startPix);
	addEvent(window, "load", prepare);

	var timeDelay = 5; // change delay time in seconds
	var Pix = new Array
	("walk_quad2.jpg", "locust_np.jpg", "tree.jpg");
	var howMany = Pix.length;
	timeDelay *= 1000;
	var PicCurrentNum = 0;
	function startPix() {
		PicCurrentNum = Math.floor( Math.random() * howMany );
		document.getElementById('image').style.background = 'url(' + Pix[PicCurrentNum] + ')';
		//slideshow();
		//setInterval("slideshow()", timeDelay);
	}
	function slideshow() {
		if (PicCurrentNum == howMany) {
		PicCurrentNum = 0;
		}
		document.getElementById('image').style.background = 'url(' + Pix[PicCurrentNum] + ')';
		PicCurrentNum++;
	}
	
	function prepare() {
		var fields = document.getElementsByTagName("INPUT");
		for(i=0; i < fields.length; i++) {
			if(fields[i].type == 'text' || fields[i].type == 'password') {
				fields[i].onfocus = glow;
				fields[i].onblur = unglow;
			}
		}
		fields = document.getElementsByTagName("TEXTAREA");
		for(i=0; i < fields.length; i++) { 
			fields[i].onfocus = glow;
			fields[i].onblur = unglow;
		}
	}

	function glow() {
		if( this.className.indexOf('readonly') == -1) this.className += this.className? ' lit' : 'lit';
	}

	function unglow() {
		var rep = this.className.match(' lit')? ' lit' : 'lit';
	    if( this.className.indexOf('readonly') == -1) this.className = this.className.replace(rep,'');
	}
	
	function addEvent(elm, evType, fn, useCapture)
	// addEvent and removeEvent
	// cross-browser event handling for IE5+,  NS6 and Mozilla
	// By Scott Andrew
	{
	  if (elm.addEventListener){
	    elm.addEventListener(evType, fn, useCapture);
	    return true;
	  } else if (elm.attachEvent){
	    var r = elm.attachEvent("on"+evType, fn);
	    return r;
	  } else {
	    alert("Handler could not be removed");
	  }
	}
	
	function collapse(b) {
		if(document.getElementById(b).style.display != 'none')
			document.getElementById(b).style.display = 'none';
		else
			document.getElementById(b).style.display = 'block';
	}
-->