//primary navigation init
	if (document.images)
		{
			hp_selectedA = new Image();
			hp_selectedB = new Image();
			hp_selectedC = new Image();	
			hp_selectedD = new Image();	
			
			dd_selectedA = new Image();
			dd_selectedB = new Image();
			dd_selectedC = new Image();	
			dd_selectedD = new Image();				
			
			hp_selectedA.src="http://www.bhi.us/images/pnav-hp-home-selected.gif";
			hp_selectedB.src="http://www.bhi.us/images/pnav-hp-whybhi-selected.gif";
			hp_selectedC.src="http://www.bhi.us/images/pnav-hp-whatweoffer-selected.gif";
			hp_selectedD.src="http://www.bhi.us/images/pnav-hp-contactus-selected.gif";
							
			dd_selectedA.src="http://www.bhi.us/images/pnav-dd-home-selected.gif";
			dd_selectedB.src="http://www.bhi.us/images/pnav-dd-whybhi-selected.gif";
			dd_selectedC.src="http://www.bhi.us/images/pnav-dd-whatweoffer-selected.gif";
			dd_selectedD.src="http://www.bhi.us/images/pnav-dd-contactus-selected.gif";
            
			
		}		


// customer testimonials
var testimonials = new Array();
	testimonials[0] = '<p>&ldquo;I found your inspection to be very helpful and educational.  Thank you for all of your help.&rdquo; <span class="qowner">-Joseph Picardi</span></p>';
	testimonials[1] = '<p>&ldquo;It was a pleasure to meet you and have you do my home inspection.  I appreciate your thoroughness and professionalism.&rdquo;<span class="qowner">-Erin Dwyer</span></p>';
	testimonials[2] = '<p>&ldquo;Thank you for the thorough job you did and for spending so much time with me afterward.  We did not end up buying the house – so we will definitely be calling on your services again in the future.  Thanks again.&rdquo;<span class="qowner">-Earl Seeley</span></p>';
	testimonials[3] = '<p>&ldquo;You were very diligent and respectful to me in the way you covered/explained the workings of all appliances/equipment.&rdquo;<span class="qowner">-Phyllis S. Leonard</span></p>';
	testimonials[4] = '<p>&ldquo;We all learned a lot, and I enjoyed working with Jim.  We will certainly recommend Boston Home Inspectors to our friends when they are looking for a great home inspector.&rdquo;<span class="qowner">-Barbara</span></p>';
	testimonials[5] = '<p>&ldquo;I would also like to express appreciation for the very detailed explanations that Jim provided as part of the inspection.  It gave me a feeling of comfort as this is my first home purchase.&rdquo;<span class="qowner">-Nancy</span></p>';
	testimonials[6] = '<p>&ldquo;Thanks Anne-Marie. Jim did a great job (I think it is my first home!). I would have no problem recommending you guys to anybody.&rdquo;<span class="qowner">-Eric</span></p>';
	testimonials[7] = '<p>&ldquo;We appreciate your input and advice. Although we do not think we will need another home inspection in the near future, we will certainly be recommending your services to our friends!&rdquo;<span class="qowner">-Jean</span></p>';
	testimonials[8] = '<p>&ldquo;I appreciate your honesty and guidance throughout the whole experience.  I have recommended you to others already and will continue to do so. &rdquo;<span class="qowner">-Sara Winnsatt</span></p>';
	testimonials[9] = '<p>&ldquo;Thanks for all the help!! I’ll make it a point to pass along the Boston Home Inspectors to everyone I know.  We’ll be calling if/when we find something else.&rdquo;<span class="qowner">-Matt Hartnett</span></p>';
	testimonials[10] = '<p>&ldquo;Thank you for your thorough inspection and your time in discussing all parts of the report.  Thanks again&rdquo;<span class="qowner">-Maura Sheehy</span></p>';
	testimonials[11] = '<p>&ldquo;Thank you very much for all of your help through the inspection process with my new condo.  I really appreciate it & I am enjoying the new neighborhood.&rdquo;<span class="qowner">-Colleen Carter</span></p>';
	testimonials[12] = '<p>&ldquo;I appreciate the wonderful job you did & how you translated things to the buyers.  They are well informed with accurate information that came by way of your imparting that information in an objective manner. I hope to work with you again soon.&rdquo;<span class="qowner">-Nadine, Real Estate Agent</span></p>';
	testimonials[13] = '<p>&ldquo;We wanted to show our appreciation of your through inspection of the condo. As first-time home buyers, your detailed explanations about the inspection and future maintenance were both helpful and reassuring.&rdquo;<span class="qowner">-Dana Wenter</span></p>';	
	
	
// ***************** functions ******************************
function printTestimonials() 
{
	//this will print specified number of testimonials
	var limit = testimonials.length;
	var randomnumberA = Math.floor(Math.random()*limit);
	var randomnumberB = randomnumberA;
	
	while (randomnumberB == randomnumberA)
	   {
		 randomnumberB = Math.floor(Math.random()*limit);
	   }	
	   	
		document.write(testimonials[randomnumberA] +'<br>'+ testimonials[randomnumberB]);				

}

function printallTestimonials()
{
	//prints all testimonials available
	var limit = testimonials.length;
	
	for (x=0; x < limit; x++)
	{
		document.write(testimonials[x]);
		document.write('<div class="hr_dotted"></div><br>');
	}
}

