slide = 1;
num_slides = 4;
Rotate_delay = 8000; // in milliseconds

desc1 = "Donald Gordon, AACI receiving 35 year membership certificate; Michael Harley, CRA (right) receiving his Canadian Residential Appraiser designation; Rod Dubois, AACI (left) receiving his Accredited Appraiser Canadian Institute accreditation; all from the Appraisal Institute of Canada.";
desc2 = "Ken Heatherington, CRA attaining his Canadian Residential Appraiser designation in 2006.  Celebrating with Ken are Rick Graff, CRA (left) and Donald Gordon, AACI (president, Okanagan Appraisals Ltd.)";
desc3 = "Support staff Lee Rogers (receptionist), Erin Harley (scanner operator) and Shirley Green (accountant) enjoying an office luncheon meeting.";
desc4 = "Wendy Wood and Bob Broderick (appraisers) taking care of business driving the sandwich/beer cart in the office sponsored Okanagan Mortgage Lenders Association 2007 golf tournament.";

function prevslide(){
	slide = slide - 1;
    if(slide < 1){
    	slide = num_slides;
    }
	changeslide();
}

function nextslide(){
	slide = slide + 1;
	if(slide > num_slides){
		slide = 1
	}
	changeslide();
}

function changeslide(){        
	eval('document.picbox.src = "slideshow/pic' + slide + '.gif"');
	eval('document.descform.descbox.value = "' + eval('desc' + slide) + '"');
}

function Rotate() {
	nextslide();
	window.setTimeout("Rotate()", Rotate_delay);
}