 
var ranomimage=new Array();
//SET IMAGE PATHS. Extend or contract array as needed
ranomimage[0]=["/images/randa.jpg"]; //plain image syntax
ranomimage[1]=["/images/randb.jpg"]; //image with link syntax
ranomimage[2]=["/images/randc.jpg"]; //image with link syntax
ranomimage[3]=["/images/randd.jpg"]; //image with link syntax
ranomimage[4]=["/images/rande.jpg"]; //image with link syntax

function randomimage()
{
	var whichquote=Math.floor(Math.random()*(ranomimage.length));
	document.write("<img src='" + ranomimage[whichquote] + "' />");

}

var quotes = new Array();
quotes[0] ='<font style="font-size:16px;line-height:17px;">"Successful collaborative outcomes are achieved through a common goal, effective communication processes and committed teamwork." –<b> Bryan Gibson, Principal, Collaborate Australia</b></font>';

quotes[1] ='"Courage is what it takes to stand up and speak; courage is also what it takes to sit down and listen." -<b> Winston Churchill</b>';

quotes[2] ='"There’s an alternative.  There’s always a third way, and it’s not a combination of the other two ways.  It’s a different way." -<b> David Carradine</b>';

quotes[3] ='"Take a method and try it. If it fails, admit it frankly, and try another. But by all means, try something." -<b> Franklin D. Roosevelt</b>';

quotes[4] ='"When the only tool you own is a hammer, every problem begins to look like a nail." -<b> Anonymous</b>';

quotes[5] ='"Do not find fault, find a remedy." -<b> Henry Ford</b>';

quotes[6] ='"The pessimist sees difficulty in every opportunity. The optimist sees opportunity in every difficulty." -<b> Winston Churchill</b>';

quotes[7] ='"My interest is in the future because I\'m going to be spending the rest of my life there." -<b> Charles Kettering</b>';

quotes[8] ='"An ounce of mediation is worth a pound of arbitration and a ton of litigation!" -<b> Joseph Grynbaum</b>';

quotes[9] ='"No snowflake in an avalanche ever feels responsible." -<b> Stanislaw Lec</b>';

quotes[10] ='"Never doubt that a small group of thoughtful, committed people can change the world. Indeed, it\'s the only thing that ever has." -<b> Margaret Mead</b>';

quotes[11] ='"Never cut what you can untie." -<b> Joseph Joubert</b>';

quotes[12] ='"Conflict is inevitable, but combat is optional."  - <b>Max Lucado</b>';

quotes[13] ='"Peace cannot be kept by force. It can only be achieved by understanding." -<b> Albert Einstein (1875-1955)</b>';

quotes[14] ='"Coming together is a beginning. Keeping together is progress. Working together is success." -<b> Henry Ford</b>';

quotes[15] ='"Well-managed, cooperative conflict contributes to the productivity and innovativeness of organizations and the competence and well-being of people." -<b> Dean Tjosvold</b>';

quotes[16] ='"The easiest, the most tempting, and the least creative response to conflict within an organization is to pretend it does not exist." – <b>Lyle E. Schaller</b>';

quotes[17] ='<font style="font-size:16px;line-height:17px;">"Collaboration is the interaction among two or more individuals that can encompass a variety of actions, such as communication, information sharing, coordination, cooperation, problem solving, and negotiation."</b></font>';

quotes[18] ='"In a conflict, being willing to change allows you to move from a point of view to a viewing point – a higher, more expansive place, from which you can see both sides." -<b> Thomas Crum</b>';

quotes[19] ='"Conflict can be seen as a gift of energy, in which neither side loses and a new dance is created." -<b> Thomas Crum</b>';

quotes[20] ='"If we manage conflict constructively, we harness its energy for creativity and development." – <b>Kenneth Kaye</b>';

quotes[21] ='"The aim of argument, or of discussion, should not be victory, but progress." -<b> Joseph Joubert</b>';

quotes[22] ='"It is through cooperation, rather than conflict, that your greatest successes will be derived." – <b>Ralph Charell</b>';

quotes[23] ='"What we see depends mainly on what we look for." – <b>John Lubbock</b>';

quotes[24] ='"In the middle of every difficulty lies opportunity." – <b>Albert Einstein</b>';

quotes[25] ='"Could a greater miracle take place than for us to look through each other’s eyes for an instant?" – <b>Henry David Thoreau</b>';

quotes[26] ='<font style="font-size:16px;line-height:17px;">"Keep in mind that the better you understand what you want and why you want it, the better your chances will be of acquiring it." – <b>Fred Jandt</b></font>';

quotes[27] ='"People who can\'t admit they are part of the problem, will never be part of its solution." -<b> Kenneth Kaye</b>';

quotes[28] ='"The most important thing in communication is to hear what isn\'t being said." – <b>Peter F. Drucker</b>';

quotes[29] ='<font style="font-size:16px;line-height:17px;">"Use non-verbal communication to SOFTEN the hard-line position of others: S = Smile, O = Open Posture, F = Forward Lean, T = Touch, E = Eye Contact, N = Nod." – <b>Anonymous</b></font>';

quotes[30] ='"Relationships of trust depend on our willingness to look not only to our own interests, but also the interests of others." -<b> Peter Farquharson</b>';

quotes[31] ='"Tell me and I\'ll forget. Show me, and I may not remember. Involve me, and I\'ll understand." – <b>Native American Proverb</b>';

quotes[32] ='"How you think about a problem is more important than the problem itself - so always think positively." -<b> Norman Vincent Peale</b>';

quotes[33] ='"The way we communicate with others and with ourselves ultimately determines the quality of our lives."- <b>Anthony Robbins</b>';

quotes[34] ='"One of the tests of leadership is the ability to recognize a problem before it becomes an emergency." -<b> Arnold Glasgow</b>';

quotes[35] ='"Every adversity, every failure, every heartache carries with it the seed of an equal or greater benefit." -<b> Napoleon Hill</b>';

quotes[36] ='"Anger so clouds the mind that it cannot perceive the truth." -<b> Cato the Elder</b>';


function randomquote()
{
	var whichquote=Math.floor(Math.random()*(quotes.length));
	document.write(quotes[whichquote]);

}
function squote()
{
	var i;
	for (i=0;i<37;i++ )
	{
	document.write("<BR><BR>");
	document.write(quotes[i]);
	}
	

}



function startList() {
		if (document.all && document.getElementById) {
			navRoot = document.getElementById("dmenu");
			for (i=0; i < navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}	


	/***********************************************
* Ultimate Fade-In Slideshow (v1.5): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
 
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/a.gif", "", ""] //image with link syntax
fadeimages[1]=["images/photo1.jpg", "", ""] //image with link syntax
fadeimages[2]=["images/photo2.jpg", "", ""] //image with link syntax
fadeimages[3]=["images/photo3.jpg", "", ""] //image with link syntax
fadeimages[4]=["images/photo4.jpg", "", ""] //image with link syntax
fadeimages[5]=["images/photo5.jpg", "", ""] //image with link syntax
fadeimages[6]=["images/photo6.jpg", "", ""] //image with link syntax
fadeimages[7]=["images/photo7.jpg", "", ""] //image with link syntax
fadeimages[8]=["images/c.gif", "", ""] //image with link syntax
fadeimages[9]=["images/photo8.jpg", "", ""] //image with link syntax
fadeimages[10]=["images/photo10.jpg", "", ""] //image with link syntax
fadeimages[11]=["images/photo13.jpg", "", ""] //image with link syntax
fadeimages[12]=["images/photo11.jpg", "", ""] //image with link syntax
fadeimages[13]=["images/photo12.jpg", "", ""] //image with link syntax

 
var fadebgcolor="#78797E"
 
////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=obj.degree/100
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}
 


function formCheck(formobj){
	// Enter name of mandatory fields
	var fieldRequired = Array("name", "email", "comments");
	// Enter field description to appear in the dialog box
	var fieldDescription = Array("Name", "Email", "Comments");
	// dialog message
	var alertMsg = "Please complete the following fields:\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
			}
			if (obj.type == undefined){
				var blnchecked = false;
				for (var j = 0; j < obj.length; j++){
					if (obj[j].checked){
						blnchecked = true;
					}
				}
				if (!blnchecked){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		document.contact.submit();
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}
