var picArray = new Array("pic1",
						 "pic2",
						 "pic3",
						 "pic4",
						 "pic5",
						 "pic6",
						 "pic7"
						 );
maxval = 6;

function getRandomNum(maxNum){
	rand = Math.round(Math.random() * (maxNum-1));
	return rand;	
}

function showRandomPic(){
	var msg = '';
	var num = getRandomNum(maxval);
	switch(num){
	case 0: msg = '<a href="testimonials_walter.asp"><img src="i/walter.jpg" width="206" height="320" border="0"></a>';
	break;
	/*case 1: msg = '<a href="testimonials_trish.asp"><img src="i/trish.jpg" width="206" height="320" border="0"></a>';
	break;*/
	case 1: msg = '<a href="testimonials_ernest.asp"><img src="i/ernest.jpg" width="206" height="320" border="0"></a>';
	break;
	case 2: msg = '<a href="testimonials_brenda.asp"><img src="i/breda.jpg" width="206" height="320" border="0"></a>';
	break;
	case 3: msg = '<a href="testimonials_anand.asp"><img src="i/anand.jpg" width="206" height="320" border="0"></a>';
	break;
	case 4: msg = '<a href="testimonials_brian.asp"><img src="i/brian.jpg" width="206" height="320" border="0"></a>';
	break;
	case 5: msg = '<a href="testimonials_yomanece.asp"><img src="i/yomanece.jpg" width="206" height="320" border="0"></a>';
	break;
	}
	document.write(msg);	
}