var image = new Image();
image.src = "images/nav_home_over.gif";
var image = new Image();
image.src = "images/nav_faq_over.gif";
var image = new Image();
image.src = "images/nav_bio_over.gif";
var image = new Image();
image.src = "images/nav_contact_over.gif";
var image = new Image();
image.src = "images/nav_wedding_over.gif";

var faqImages = new Array();
function preloadFAQImages() {
    faqImages[0] = new Image();
    faqImages[0].src = "images/faq_price.jpg";
    faqImages[1] = new Image();
    faqImages[1].src = "images/faq_session.jpg";
    faqImages[2] = new Image();
    faqImages[2].src = "images/faq_afterphoto.jpg";
    faqImages[3] = new Image();
    faqImages[3].src = "images/faq_2dogs.jpg";
    faqImages[4] = new Image();
    faqImages[4].src = "images/faq_film.jpg";
    faqImages[5] = new Image();
    faqImages[5].src = "images/faq_travel.jpg";
    faqImages[6] = new Image();
    faqImages[6].src = "images/faq_studio.jpg";
    faqImages[7] = new Image();
    faqImages[7].src = "images/faq_children.jpg";
    faqImages[8] = new Image();
    faqImages[8].src = "images/faq_faves.jpg";
    faqImages[9] = new Image();
    faqImages[9].src = "images/faq_support.jpg";
}

function gotoAnswer() {
   var param=gup("question");
   if (param == "support") {
           showSupportAnswer();
   }
}

function showRatesAnswer() {
	changeFAQImage(0);
        showAnswer("<strong>What are your rates?</strong>" +
 	"<br><br>" +
	"A portrait session is $550 and includes the following:" +
	"<ul><li>A planning session at my studio wherein we discuss your goals for the photos. We'll talk about you and your family, what moments you feel are important to have captured, and look at various displays so that you can see how the photos will enrich your home.</li>" +
	"<li>Three to four hours of documentation. Basically I spend as much time with you as needed to truly capture a piece of your lives together.</li>" +
	"<li>Two different locations during the photo shoot.</li>" +
	"<li>$200 credit toward your order. </li>" +
	"<li>A post-session consultation where we look at the images together and I can offer advice on which photos would work best for the way you want to display them.</li></ul>" +
	"<a href=\"mailto:robyn@robynkesslerphotography.com\">Email me</a> for a list of individual print and accessory prices. All orders placed during your post-session consultation will receive 10% off. " +
 	"<br><br>" +
	"Each additional subject is $30.");
}

function showSessionAnswer() {
   changeFAQImage(1);

   showAnswer("<strong>How does a photo session work?</strong>" +
 	"<br><br>" +
	"Once we've talked about what your goals for the photos may be, we can then decide on the best locations. Since I really love for the photos to represent your life together I generally encourage people to choose a place that has some sort of meaning to them. With this in mind, most people tend to choose their home as one of the locations and then for the second location, they might choose something like a close-by hiking path where they spend a lot of their time. If there is a beach where you like to run around together, or a neighborhood you like to walk in, a park where you often hang out . . . those are all great ideas. Some dogs go to work with their people and that makes for really fun images. For me, the more meaning the locations hold, the better. I have photographed dogs at a sidewalk cafe where they and their owner go every Saturday morning to have coffee and read, and I've photographed a pup who just liked to hang out near his person in the backyard while she gardened . . . I'm really up for just about anything. Additionally, some people may have less of a meaningful, and more of a scenic/visual idea for their pictures, and I'm happy to work with that too." +
 	"<br><br>" +
	"Typically, I arrive at the dog's home first and just take some time making sure she's comfortable with my camera and me. This is also a great time for me to get to know more about you and your dog. I feel that the more I know about how and why he might have come into your life, some of your history together, and your favorite stories about him, the better I'm able to understand your relationship and capture images that are appropriate." +
 	"<br><br>" +
	"I understand that it can be somewhat stressful to have your picture taken but if you are able to work through that and just relax, most people find this to be a really enjoyable experience. I honestly have so much fun with my clients as we talk about their quirky fur kids and laugh at them being stubborn, silly, gross and adorable. While the purpose of all of this is of course to be able to have some sort of end product to hold on to and treasure, I have found that the actual process can be just as much of a treat. " +
 	"<br><br>" +
	"Because I use all natural light, photo sessions need to be during daylight hours, preferably starting in the later afternoon when its common to have that beautiful soft warm light, up until it gets too dark. I schedule appointments Monday through Friday and occasionally on weekends if need be. " +
 	"<br><br>" +
	"Within three to four weeks I have done all of the postproduction work on the images and have them ready to show you. I have a small studio in the basement of my home in San Francisco where we meet for your consultation/ordering session. Here, we can work together to decide the best way to display the images. I offer custom framing, individually designed albums, sterling silver photo jewelry, and a variety of other items. Please see \"<a href=\"javascript:showWhatTodoAnswer()\">After the Photography</a>\" to view some of these products and find out more.");
}

function showWhatTodoAnswer() {
   changeFAQImage(2);

   showAnswer("<strong>What do people tend to do with the pictures?</strong>" +
 	"<br><br>" +
	"Displaying the pictures is the best part. I'm always sad when people spend all the time and money to get pictures of their dog taken and then don't do anything more than keep them in a box. There are many things you can do to give your pictures the attention they deserve. " +
 	"<br><br>" +
	"<b>Enlarging and framing</b>" +
 	"<br>" +
	"Whether you get something <a href=\"http://www.steart.com/\" target=\"_new\">custom framed</a> or just do it yourself, the important thing is that you have your favorite pictures enlarged to a descent viewing size and in a place that you will see them often, and smile. I can help you decide what type of series would work best for the wall space you have." +
 	"<br><br>" +
	"<b>Canvas prints</b> " +
 	"<br>" +
	"As an alternative to traditional framing, <a href=\"http://www.simplycanvas.com/\" target=\"_new\">canvas prints</a> can offer a more edgy and artistic look. They have a very simple and modern feel and you are not limited by frame size constraints." +
 	"<br><br>" +
	"<b>Custom made Books</b> " +
 	"<br>" +
	"This is probably my favorite thing that people decide to do with the pictures. It's great because a good majority of the images can fit into one book and it's an easy thing to transport and show family and friends. I spend several days laying out the design and the end result is a highly personal book featuring your dog. You can add commentary, thoughts, poems, nicknames, etc. or simply have it as a picture album." +
 	"<br><br>" +
	"<b>Sterling Silver Photo Jewelry</b> " +
 	"<br>" +
	"This is great way to have a picture of your baby always on your person. <a href=\"http://www.mylifedesigns.com/\" target=\"_new\">My Life Designs</a>, the company I use, makes extremely high quality pieces and is widely recognized for their chic and classy style." +
 	"<br><br>" +
	"<b>Handmade coasters</b> " +
 	"<br>" +
	"A set of four, made out of wood, by me." +
 	"<br><br>" +
	"<b>Designer Handbags</b> " +
 	"<br>" +
	"I offer bags designed by <a href=\"http://www.ginaalexander.com/homepage.htm\" target=\"_new\">Gina Alexander</a>, and these bags get noticed!" +
	"<br><br>" +
	"<b>Waxed Prints</b> " +
 	"<br>" +
	"I was recently introduced to an ancient Greek technique of encaustic painting (beeswax and oil paint pigment) and I recently started working with <a href=\"http://www.waxworksphoto.com/\" target=\"_new\">WaxWorks</a>, a company that takes photographs and applies this process. I think it is a beautiful way to take your images to another level."

);
}

function showTravelAnswer() {
   changeFAQImage(5);

   showAnswer("<strong>How far do you travel?</strong>" +
 	"<br><br>" +
	"I am located in San Francisco and generally travel all around the Bay Area, from Santa Cruz to Sacramento. Travel fees of $1.00/mile apply to anything beyond 20 miles from my studio on Union Street. " +
 	"<br><br>" +
	"In addition, I have been commissioned for portrait sessions across the country and am available for travel nationwide. Airfare and accommodations required.");
}

function showMoreThanOneDogAnswer() {
   changeFAQImage(3);

   showAnswer("<strong>Can you photograph both/all of my dogs in the same photo shoot?</strong>" +
 	"<br><br>" +
	"While I do photograph more than one dog in a session ($30 for each additional dog), I have found that it is difficult for me to get the kinds of shots I want when my attention is divided, so I tend to discourage this approach if possible. At the same time, I of course understand the importance of capturing them together. When this is the case, I recommend that we take a little bit longer overall, focusing on them one at a time at first, and then bring them all together.");
}

function showStudioAnswer() {
   changeFAQImage(6);

   showAnswer("<strong>Do we have the option of coming to you for studio portraits?</strong>" +
 	"<br><br>" +
	"While I <i>absolutely</i> love the work of many studio dog photographers, I have found that my passion lies in capturing dogs (and cats) in their natural surroundings. I take a journalistic approach- documenting a few moments in the life of you and your pet, in the places that are the most comfortable and natural to the two of you. " +
 	"<br><br>" +
	"I have photographed many dogs in the studio in the past and love the results. The images are clean and simple and lack all of life's distractions. The expression really becomes the focus and that is terrific. At the same time, I have often found that it is hard for animals to relax and be themselves when they are in such an unfamiliar environment, and as a result I don't feel like I have been as successful at capturing their true essence in this setting. Because of this, I have decided to work only on location when it comes to animals, creating true environmental portraits." +
 	"<br><br>" +
	"This is all a matter of preference. If you feel that studio portraits are more for you, please contact me and I would be happy to give you the names of some very talented studio photographers.");
}

function showChildrenAnswer() {
   changeFAQImage(7);

   showAnswer("<strong>Do you photograph children as well?</strong>" +
 	"<br><br>" +
	"Yes, I love to photograph children! While I do focus primarily on animals, since that is what I fell into in the beginning of my photography career, at the same time I very very much enjoy photographing children as well. Please visit my gallery of children's images and contact me with any further questions. " +
 	"<br><br>" +
	"Children Gallery coming soon.");
}

function showAwardsAnswer() {
//   changeImage ("mainpic", "images/faq_children.jpg");

   showAnswer("<strong>Awards and Publications:</strong>" +
 	"<br><br>" +
	"Coming soon.");
}

function showSupportAnswer() {
   changeFAQImage(9);

   showAnswer("<strong>Organizations we support:</strong>" +
 	"<br><br>" +
	"<a href=\"http://www.bestfriends.org/\" target=\"_new\">Best Friends</a><br>"+
	"<a href=\"http://www.farmsanctuary.org/\" target=\"_new\">Farms Sanctuary</a><br>"+
	"<a href=\"http://www.facinghistory.org\" target=\"_new\">Facing History and Ourselves</a><br>"+
	"<a href=\"http://www.tallshipacademy.org/\" target=\"_new\">Tall Ship Semester for Girls</a><br>"+
	"<a href=\"http://www.janetpomeroy.org/\" target=\"_new\">Janet Pomeroy Center</a><br>"+
	"<a href=\"http://www.sierraclub.org/\" target=\"_new\">Sierra Club</a><br>"+
	"<a href=\"http://www.kqed.org/\" target=\"_new\">KQED</a><br>");
}

function showFavoritesAnswer() {
   changeFAQImage(8);

   showAnswer("<strong>My favorite things:</strong>" +
 	"<br><br>" +
	"<a href=\"http://www.gooddogsf.com/\" target=\"_new\">Good Dog Walking Services</a><br>"+
	"If we ever had to move, I think the worst part would be leaving Erik and Teal. Erik and Teal are husband and wife, and the owners/walkers of Good Dog, and the people I'm afraid of losing my dogs loyalty to. I can honestly not say enough good things about them. We've been using them for 4 years and they have been overly accommodating, affectionate and careful every second of it.<br><br>"+
	"<a href=\"http://www.babiessf.com/\" target=\"_new\">Babies Pet Boutique</a><br>"+
	"Babies is an adorable pet store in Hayes Valley that seems to specialize in all things cute! They have great doggie outfits, great customer service, and great treats. They will also be displaying some of my work soon, which makes them even that much more great.<br><br>"+
	"<a href=\"http://www.fetchingtags.net/\" target=\"_new\">Fetching Tags</a><br>"+
	"These are the best dog tags ever. I saw an advertisement in Bark and ordered one for my dog and within a month I'd ordered four more for my mom and in-law's dogs. You can customize them to say anything and they never fade. Fabulous quality.<br><br>" +
	"<a href=\"http://www.biogroupusa.com/biobag_dog.htm\" target=\"_new\">BioBag</a><br>"+
	"These \"plastic\" bags are completely biodegradable. Since poop is 100% compostable and most plastic bags are 100% not, these bags are the perfect solution. They really make it so easy to both be a responsible pet-owner and a responsible earth-liver. <br><br>" +
	"<a href=\"http://www.thebark.com/\" target=\"_new\">Bark Magazine</a><br>"+
	"I love this magazine. With each issue I'm continuously impressed by how many new things I learn about dogs, dog culture, dog etiquette, dogs needs, etc. It's probably the smartest $18/a year I spend.<br><br>"

);
}

function showFilmAnswer() {
   changeFAQImage(4);

   showAnswer("<strong>Do you shoot film or digital?</strong>" +
	"<br><br>" +
	"The short answer is: Both. The long answer is what follows:" +
	"<br><br>" +
	"Film and Digital are two different art forms, and I feel that one is not necessarily \"better\" than the other. Each one of them has advantages that are unique to its medium, and each one of them is highly capable of creating beautiful and lasting fine art prints. " +
	"<br><br>" +
	"I was very resistant to digital due to my background in and love for film. Only after a lot of research and time did I finally decide to incorporate digital into my work. As I began to understand the depth of it's capabilities, I became more excited about it as an art form. It is currently more representative of industry standards than is film and I too now spend the majority of my time working in this medium, yet I continue to love the rich, grainy and timeless quality of film." +
	"<br><br>" +
	"At this point I use all digital to create a consistent final product. However, I'm happy to use film upon request.");

}

function showAnswer(answer) {
   var answer = document.getElementById('answer').innerHTML = answer;
   var objDiv = document.getElementById("answer"); 
   objDiv.scrollTop = 0-objDiv.scrollHeight;
}

function updateGallery(current) {
   if (current < 1) {
     current = 1;
   }
   if (current > totalBoxes) {
     current = totalBoxes;
   }
   currentBox = current;
   for (var i = 1; i <= totalBoxes; i++) {
	if (i <= current) {
           document.images["box" + i].src = "images/dark_box.gif";
        }
        else {
           document.images["box" + i].src = "images/light_box.gif";
        }
   }

   document["mainPicture"].src = galleryImages[current-1].src;
}






