var nav = [["pictures","pictures","pictures.html"],
			["faqs","faqs","faqs.html"],
			["comments","comments","comments.html"],
			<!--["stories","stories","stories.html"],-->
			["contact","contact_us","contact_us.php"],
			<!--["products","products","products.html"],-->
			["weddings","weddings","weddings.html"],
			<!--["membership","membership","membership.html"],-->
			["community","community","community.html"]
			<!--["contest","contest","contest.html"]-->
			//,
			//["blog","blog"]
			];

var testimonial = [
["These picture are 1,000 x better than the typical posed portraits. They capture a true moment in your life and you will cherish them forever.","- Shalee","bay_area_families_12"],
["imotion is very open, carefree, and encourages movement, and bringing personal touches into your photos. Worth every penny!","- Melissa","bay_area_families_13"],
["Fun! Fun! Fun! Who would have thought that a family portrait would include running around, pushing each other and tickling?!","- Carla","bay_area_families_05"],
["They create a fun and relaxed atmosphere which enabled great results. We now have pieces of art that are well worth every penny. ","- Jutta","bay_area_families_02"],
["We ended up with a wonderful family portrait that all of us looked good in (which I thought was impossible).","- Julie","none"],
["This is the most inviting, talented photography studio that our family has ever visited! We now have photos we will cherish forever.","- Jen","bay_area_families_07"],
["With the limited time that we had with Simon the photographer, our pictures came out great. My family had a blast. Worth every penny.","- TN","bay_area_families_06"],
["This place is a 5 star establishment, with a 5 star studio, 5 star photographers, and 5 star editing skills!","- Bridget","none"],
["I am extremely happy with our pictures from imotion and will definitely be back!!","- Victoria","bay_area_families_11"],
["I see these photos as heirlooms and I will find a way to keep going back. They are magic. They are stunning.","- Michele","none"],
["We highly recommend imotion - they know how to capture the perfect moment in a relaxing and fun atmosphere.","- Colleen","bay_area_families_17"],
["It's truly a beautiful thing to come home from a long day of work and pass by the shots that imotion captured for us. Thank you!","- Anthony","bay_area_families_19"],
["Our portrait session was a wonderful experience, and it shows in our pictures all over the house - a reminder of our family bond.","- Rosie","bay_area_families_20"],
["The entire process was painless - and the result was awesome. We are looking forward to other special events to have imotion record them.","- Francisco","bay_area_families_18"],
["imotion takes you for who you are. This stuff is artsy, not Sears. It's totally worth it to have skilled professionals capture the memories.","- Mayka","bay_area_families_01"],
["Pictures that can capture you in those moments without looking forced and cheesy... I remember how much fun they were to take.","- Christine","none"],
["imotion is a real experience. The photos truly tell a story as they are genuine and action oriented. I continue to receive compliments. :)","- Laura","bay_area_families_04"],
["imotion did a terrific job of getting natural and exciting poses of my family. They captured expressions I have been trying to get for years.","- Will","bay_area_families_15"],
["Our photographer made the session really fun. Simon and Annie are wonderful to work with and we absolutely recommend this studio.","- Leslie","none"],
["The pictures were phenomenal - unlike anything you will see with other photographers. It was so much fun. I highly recommend them.","- Melissa","bay_area_families_14"],
["Awesome. At imotion, they don't just capture a pose, they capture movement, lifestyle, feelings and attitude.","- Peter","bay_area_families_16"],
["I can't remember the last time we all smiled, laughed and hugged each other so much. It was not just a family portrait; it was an experience.","- Kate","bay_area_families_03"],
["At imotion it's fun, friendly, and professional. It's worth the money. We can tell the quality difference: 'You get what you pay for'.","- Angela","bay_area_families_10"],
["Every time we look at our beautiful heirloom pictures, it makes us happy. We are so glad to have captured this moment in time. Stunning.","- Erez","bay_area_families_08"],
					];

if (location.search.substring(1) != "") {
	var startingNumber = location.search.substring(1);
}
else {
	var startingNumber = 1;
}

function changePhoto(number) {
	document.getElementById("bigPhoto").src = "photos/" + category + "_" + number + ".jpg";
}

function goNext() {
	if ((parseInt(startingNumber) + 14) <= count) {
		document.location = category + ".html?" + (parseInt(startingNumber) + 15);
	}
}

function goPrevious() {
	if (startingNumber != 1) {
		document.location = category + ".html?" + (parseInt(startingNumber) - 15);
	}
}

function toggleQuestions(q) {
	if (document.getElementById(q).style.display == "none") {
		Effect.SlideDown(q, { duration: .1 });
	}
	else {
		Effect.SlideUp(q, { duration: .1 });
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
