// JavaScript Document

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


//START TESTIMONIALS
var textnumber = 8 ; 
var randomnumber = Math.random() ; 
var rand1 = Math.round( (textnumber-1) * randomnumber) + 1 ; 
text = new Array;

text[1] = "<em>Stephan Baker has created many beautiful images and products that are enthusiastically received by the visitors at the Great Blue Heron Nature Reserve's Gift Shop. Stephan's book, Chilliwack...Adventure Outdoors, is very popular with tourists from all around the world.</em><br />... Janet Hutchinson, Coordinator, <br />Great Blue Heron Nature Reserve";
text[2] = "<em>We employed Stephan to photograph a product for us and we were impressed with his professionalism and the way he set up the shoot. Our client, who is very particular, was pleased with the way their product image looked and made the image a central part of his branding and packaging. The entire experience of working with Stephan was pleasant and efficient and we will be calling on him for more photographic projects as they come up.</em><br />... Rick Shatto, Marketing Manager<br />Firstbase Services Ltd.";

text[3] = "<em>Everyone in our shop is buzzing about these pictures and commenting about what a great photographer you are!!</em><br />... Fiona Brett, Design and Print Manager<br />Globe Printers";

text[4] = "<em>I have had the pleasure of knowing and working with Stephan for a number of years.  I really admire his commitment to his art, his passion for photography and his connection to his community.  He is a pleasure to work with, is extremely professional and goes the extra mile in providing just the right photograph. His creativity highlights all that is wonderful about the Fraser Valley. I wholeheartedly recommend Stephan!</em><br />... Cathy Anderson, Professional Life Coach<br />Soular Effects";

text[5] = "<em>We love the photography he did to promote our fine teas and soaps shop. The greeting cards with our exclusive 'tea-time' photographs, which Stephan did, look great and he is a delight to work with</em><br />... Karen &amp; Kim, Owners<br />Aromatica Fine Teas and Soaps";

text[6] = "<em>Tourism Chilliwack has enjoyed working with Stephan Baker on several different projects.  We often require great photography that showcases our community and the surrounding area in a professional, quality manner.  He has always gone above and beyond when trying to find us the images that capture the look and feel we need.  We have also appreciated his creativity in developing products for visitors such as a Chilliwack photo book, postcards and a calendar.  If you are looking for a photographer that is willing to work with you on your project, then Stephan Baker Photography is worth meeting.</em><br />... Brian Coombes, Executive Director<br />Tourism Chilliwack Inc.";

text[7] = "<em>Thank you for your wonderful photographic portrayal of the natural beauty of Chilliwack.  I have given copies of your book to visiting speakers and presenters.   People have commented on their delight in seeing Chilliwack in natural splendour through your photos.  The book has been a gift I have enjoyed giving to others to help them see how beautiful Chilliwack is and I look forward to more of your work. </em><br />... Michael Audet<br />Assistant Superintendent of School District 33, Chilliwack, BC";


text[8] = "<em>Wonderful pictures. We both thank you so much for making our nursery look so weed-free. Amazing!! </em><br />... Richard and Anne Bullinger<br />Bellbrook Nursery, Mission, BC";

var mytext = text[rand1];
//END TESTIMONIALS



//START QUOTES
var textnumber2 = 26 ; 
var randomnumber2 = Math.random() ; 
var rand2 = Math.round( (textnumber2) * randomnumber2) + 1 ; 
text2 = new Array 

text2[1] = "\"The wandering photographer<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sees the same show that<br />  &nbsp;&nbsp;&nbsp;everyone else sees.<br />He, however, stops to watch it.\"<br /><div class='quotecredit'>~ Eduard Boubat</div>";
text2[2] = "\"You don't take a photograph.  You ask, quietly, to borrow it. \"<br /><div class='quotecredit'> ~ Author Unknown</div>";
text2[3] = "\"When words become unclear, I shall focus with photographs.  When images become inadequate, I shall be content with silence.\"<br /><div class='quotecredit'> ~ Ansel Adams</div>";
text2[4] = "\"A great photograph is a full expression of what one feels about what is being photographed in the deepest sense, and is, thereby, a true expression of what one feels about life in its entirety. \"<br /><div class='quotecredit'> ~ Ansel Adams</div>";
text2[5] = "\"...A photograph is a time capsule that extends from the past to the future. \"<br /><div class='quotecredit'> ~ Henry Jesionka</div>";
text2[6] = "\"The camera is an instrument that teaches people how to see without a camera. \"<br /><div class='quotecredit'> ~ Dorothea Lange</div>";
text2[7] = "\"Look and think before opening the shutter. The heart and mind are the true lens of the camera. \"<br /><div class='quotecredit'> ~ Yousuf Karsh</div>";  
text2[8] = "\"A camera is a 'save' button for the minds eye. \"<br /><div class='quotecredit'> ~ Roger Kingston</div>";   
text2[9] = "\"Photography for me is catching a moment which is passing, and which is true. \"<br /><div class='quotecredit'> ~ Jacques ~ Henri Lartigue</div>"; 
text2[10] = "\"If you are out there shooting, things will happen for you. If you're not out there, you'll only hear about it. \"<br /><div class='quotecredit'> ~ Jay Maisel</div>";   
text2[11] = "\"Wherever there is light, one can photograph.  \"<br /><div class='quotecredit'> ~ Alfred Stieglitz</div>";   
text2[12] = "\"Sometimes I do get to places when Gods ready to have somebody click the shutter. \"<br /><div class='quotecredit'> ~ Ansel Adams</div>";   
text2[13] = "\"A good photograph is knowing where to stand. \"<br /><div class='quotecredit'> ~ Ansel Adams</div>"; 
text2[14] = "\"Great photography is about depth of feeling, not depth of field.\"<br /><div class='quotecredit'> ~ Peter Adams</div>"; 
text2[15] = "\"Everyone has a photographic memory. Some just don't have film. \"<br /><div class='quotecredit'> ~ Anonymous</div>";  
text2[16] = "\"Unlike a painter, a photographer starts with something finished and works backwards. \"<br /><div class='quotecredit'> ~ Anonymous</div>"; 
text2[17] = "\"Good photography speaks through silence.\"<br /><div class='quotecredit'> ~ Anonymous</div>";  
text2[18] = "\"The camera is a magic window that transforms the world.\"<br /><div class='quotecredit'> ~ Irving Pobboravsky</div>";  
text2[19] = "\"Once you really commence to see things, then you really commence to feel things. \"<br /><div class='quotecredit'> ~ Edward Steiden</div>"; 
text2[20] = "\"Photography is a means of recording forever all the things one sees for a moment. \"<br /><div class='quotecredit'> ~ Aaron Sussman</div>"; 
text2[21] = "\"The mystery isn't in the technique, it's in each of us. \"<br /><div class='quotecredit'> ~ Harry Callahan</div>"; 
text2[22] = "\"...photography for me is a supreme moment captured with a single shot. \"<br /><div class='quotecredit'> ~ Henri Cartier Bresson</div>"; 
text2[23] = "\"A photograph has picked up on a fact of life, and that fact will live forever. \"<br /><div class='quotecredit'> ~ Raghu Rai</div>"; 
text2[24] = "\"A painter works with color as the medium, a photographer works with light. \"<br /><div class='quotecredit'> ~ Carlotta M. Corpron</div>"; 
text2[25] = "\"Life is short, this is why I take pictures.\"<br /><div class='quotecredit'> ~ Carlos Dominique</div>"; 
text2[26] = "\"Photography takes an instant out of time, altering life by holding it still. \"<br /><div class='quotecredit'> ~ Dorothea Lange</div>"; 
text2[27] = "\"When your mouth drops open, slick the shutter. \"<br /><div class='quotecredit'> ~ Harold Feinstein</div>"; 
var mytext2 = text2[rand2];
//END QUOTES


function OpenWindow(url, width, height, name, options)
{
	if ( ! width ) width = 400;
	if ( ! height ) height = 200;
	if ( ! options ) options = "scrollbars=yes,menubar=no,toolbar=no,location=no,status=no,resizable=no";
	if ( ! name ) name = "outsideSiteWindow";

	var newWin = window.open(url, name, "width=" + width + ",height=" + height + "," + options);

    // Ensures that the new window comes into focus.
    newWin.focus();
}

//pop-up window function
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

