// -- Could do this instead...
// locations = [{url:'about',image:'003_roll.jpg'},...];
// foreach (loc in locations)
//   if (window.location.href.indexOf('/' + loc.url))
//       document.getElementById(loc.url + 'Image').src = loc.image;
//       break;
//
function drawMenus()
{
	var locations = new Array('about,001', 'services,002', 'team,003', 'coherence,004', 'rhbcast,005', 'beinspired,006,beinspiredImage', 'clienthandbook,007,handbook', 'our_clients_speak,008,clients', 'fresh,009', 'joinus,003,team');
	for (var i = 0; i != locations.length; i++) {
		var loc = locations[i].split(',');
		if (window.location.href.indexOf('/' + loc[0]) > -1) {
			var imgRef = document.getElementById(loc[0] + 'Image');
			if (imgRef == null) {
				imgRef = document.getElementById(loc[2] + 'Image');
			}
			imgRef.src = '/images/' + loc[1] + "_roll.gif";
			break;
		}
	}
}
function randomRemark()
{
	var img = document.getElementById("remarkImage");
	var imgs = [
				{img:'already-have-a-brand.gif', alt:'already have a brand.'},
				{img:'are-funnier-than-most.gif', alt:'are funnier than most.'},
				{img:'like-pizza-dont-you.gif', alt:'like pizza don\'t you.'},
				{img:'look-taller-in-real-life.gif', alt:'look taller in real life.'},
				{img:'make-good-decisions.gif', alt:'make good decisions.'},
				{img:'may-want-to-find-a-mint.gif', alt:'may want to find a mint.'},
				{img:'snort-when-you-laugh.gif', alt:'snort when you laugh.'},
				{img:'already-have-a-brand.gif', alt:'already have a brand.'},
				{img:'always-were-moms-favorite.gif', alt:'always were moms favorite.'}, 
				{img:'appreciate-great-service.gif', alt:'appreciate great service.'},
				{img:'are-admired.gif', alt:'are admired.'},
				{img:'are-funnier-than-most.gif', alt:'are funnier than most.'},
				{img:'arent-a-morning-person.gif', alt:'aren\'t a morning person.'},
				{img:'are-the-one-that-i-want.gif', alt:'are the one that i want.'},
				{img:'cant-keep-a-secret.gif', alt:'can\'t keep a secret.'},
				{img:'complete-me.gif', alt:'complete me.'},
				{img:'could-give-us-a-call.gif', alt:'could give us a call.'},
				{img:'deserve-a-vacation.gif', alt:'deserve a vacation.'},
				{img:'dont-know-the-half-of-it.gif', alt:'don\'t know the half of it.'},
				{img:'dream-big.gif', alt:'dream big.'},
				{img:'feeling-okay.gif', alt:'feeling okay.'},
				{img:'find-beauty-in-small-things.gif', alt:'find beauty in small things.'},
				{img:'have-a-great-shower-voice.gif', alt:'have a great shower voice.'},
				{img:'have-a-nice-way-about-you.gif', alt:'have ea nice way about you.'},
				{img:'have-a-silly-side.gif', alt:'have a silly side.'},
				{img:'have-great-taste.gif', alt:'have greate taste.'},
				{img:'have-some-explaining-to-do.gif', alt:'have some explaining to do.'},
				{img:'know-a-lot.gif', alt:'know a lot.'},
				{img:'like-pizza-dont-you.gif', alt:'like pizza don\'t you.'},
				{img:'look-taller-in-real-life.gif', alt:'look taller in real life.'},
				{img:'make-good-decisions.gif', alt:'make good decisions.'},
				{img:'may-want-to-find-a-mint.gif', alt:'may want to find a mint.'},
				{img:'need-a-break.gif', alt:'need a break.'},
				{img:'ought-to-be-in-pictures.gif', alt:'ought to be in pictures.'},
				{img:'resemble-your-dad.gif', alt:'resemble your dad.'},
				{img:'should-say-no-sometimes.gif', alt:'should say no sometimes.'},
				{img:'snort-when-you-laugh.gif', alt:'snort when you laugh.'},
				{img:'want-to-talk.gif', alt:'want to talk.'},
				{img:'were-the-cutest-little-kid.gif', alt:'were the cutest little kid.'},
				{img:'will-be-glad-you-called-us.gif', alt:'will be glad you called us.'},
				{img:'would-make-a-good-doctor.gif', alt:'would make a good doctor.'},
			   ];
	var i = imgs.length;
	while (--i)
	{
		var j = Math.floor(Math.random() * (i + 1));
		var ti = imgs[i];
		var tj = imgs[j];
		imgs[i] = tj;
		imgs[j] = ti;
	}
	var selectedImgName = "/images/home_page/" + imgs[0].img;
	img.src = selectedImgName;
	img.alt = imgs[0].alt;
}