var pageArray = new Array();
var galleryArray = new Array();
var pressArray = new Array();


function initPage(){

  //The following is the array of pages.
  //[pagename] = imagediv content, contentdiv content


  pageArray["home"] = new makepageArray("<img src='images/frontpage.jpg' width='640' height='480' border='0' alt=''>","<span class='homepage'><h1>a design lab specializing <br>in event planning and <br>creative environments</h1><br><h1>san francisco<br>green business award<br>winner 2007</h1></span>");  
  pageArray["about1"] = new makepageArray("<img src='images/event13.jpg' width='640' height='480' border='0' alt=''>","<h1>we are</h1><h2>a team of highly professional creatives</h2><h2>constantly inventing and exploring</h2><h2>grateful globetrotters</h2><h2>probably laughing at<br> something smart <br>(or stupid) right now</h2><h2>all about clients smiling</h2>"+rightarrow1+"'javascript:openpage(\"about2\")'"+rightarrow2+"");
  pageArray["about2"] = new makepageArray("<img src='images/event13.jpg' width='640' height='480' border='0' alt=''>","<h1>we were</h1><h2>artists, musicians and performers of all kinds</h2><h2>class clowns and brainiacs</h2><h2>born around the country<br> and the world</h2><h2>ready to do something <br> fantastic</h2>"+leftarrow1+"'javascript:openpage(\"about1\")'"+leftarrow2+rightarrow1+"'javascript:openpage(\"about3\")'"+rightarrow2+"");
  pageArray["about3"] = new makepageArray("<img src='images/event13.jpg' width='640' height='480' border='0' alt=''>","<h1>we will be</h1><h2>synchronizing our watches</h2><h2>exploring new territories</h2><h2>helping the planet in our own tiny way</h2><h2>blowing our own minds</h2><h2>finding gaps and filling<br> them creatively</h2><h2>getting great results for<br>our clients</h2>"+leftarrow1+"'javascript:openpage(\"about2\")'"+leftarrow2+"");  
  pageArray["services1"] = new makepageArray("<img src='images/event14.jpg' width='640' height='480' border='0' alt=''>","<h1>services</h1><h2>PLANNING,<BR>IN HOUSE DESIGN AND PRODUCTION SERVICES:</div></h2><h3>event planning<br>decor<br>concept generation<br>sustainable design concepts<br>draping and fabric treatments<br>layout<br>invitation & graphics<br>mixed media<br>fine arts<br>product sourcing<br>live & recorded video<br>florals<br>tabletop & linens<br>guest gifts<br>lighting<br>furnishings<br>fashion design<br>painting<br></h3>"+rightarrow1+"'javascript:openpage(\"services2\")'"+rightarrow2+"");  
  pageArray["services2"] = new makepageArray("<img src='images/event14.jpg' width='640' height='480' border='0' alt=''>","<h1>more services</h1> <h2>MANAGEMENT:</h2><h3>tenting<br>lighting<br>city/public permitting<br>rental coordination<br>staging & rigging<br>A/V projection<br>vendor selection<br>vendor management<br>vendor referrals</h3>"+leftarrow1+"'javascript:openpage(\"services1\")'"+leftarrow2+rightarrow1+"'javascript:openpage(\"services4\")'"+rightarrow2+""); 
  
  pageArray["services4"] = new makepageArray("<img src='images/event14.jpg' width='640' height='480' border='0' alt=''>","<h1>clients</h1><br><h3>charles schwab<br>cisco<br>google<br>YAHOO!<br>pottery barn<br>gap<br>david roth group<br>kqed<br>the four seasons<br>plumpjack group<br>belkin corp<br>living room events<br>paula le duc<br>genart<br>the related  companies<br>easter seals<br>vision event productions<br>communication strategies<br>enterprise events group<br>global green USA<br>wells fargo bank</h3>"+leftarrow1+"'javascript:openpage(\"services2\")'"+leftarrow2+rightarrow1+"'javascript:openpage(\"services5\")'"+rightarrow2+"");

  pageArray["services5"] = new makepageArray("<img src='images/event12.jpg' width='640' height='480' border='0' alt=''>","<h1>success story</h1> <br><h6><U>EVENT</U>: Annual Sales Conference <br><u>AUDIENCE</u>: 1500 top sales producers <br><u>LOCATION</u>: Hollywood, Florida <br><u>OBJECTIVE</u>: Provide all d�cor for 4 unique themes, on 4 consecutive evening social events. <br><u>SOLUTION</u>: With 6 weeks lead, we assembled our   SF-based team of design visionaries, producers and managers, along with one-of-kind <br>specialty inventory ensured <br> the highest level of design,<br> flawless execution and seamless management. Drawing from our  <br>extensive resource base  <br>allowed us to supplement <br>with on-the-ground labor and materials.  Our teams worked collaboratively  round the clock <br>with the event's production<br>company and the venue staff.<br><u>RESULT</u>: A smash hit<br> with guests and client. The<br> company's president <br>remarks that it was the best<br> party he's ever attended.</h6>"+leftarrow1+"'javascript:openpage(\"services4\")'"+leftarrow2+""); 

  pageArray["gallery"] = new makepageArray("<img src='images/event10.jpg' width='640' height='480' border='0' alt=''>","");
  pageArray["green"] = new makepageArray("<img src='images/bighouse.jpg' width='640' height='480' border='0' alt=''>","<h1>sustainable event style</h1><h2>through continual experimentation, we've learned that we can respect our planet while we're inventing beautiful products and spaces.<br><br>and there are a million<br>shades of green!</h2><h2>so if sustainability sounds<br> good to you too, tell us<br> about it.</h2><h2> we'll make sure your<br> event reflects your<br> savvy as well as your<br> style.</h2>"+rightarrow1+"'javascript:openpage(\"services6\")'"+rightarrow2+"");

    pageArray["services6"] = new makepageArray("<img src='images/bighouse.jpg' width='640' height='480' border='0' alt=''>","<h1>Sustainable Event Style by Sillapere</h1> <br><h6><U>EVENT</U>: 'Sustainable Event Style',<br> a symposium hosted by Sillapere<br><u>AUDIENCE</u>: Corporate and individual event planners, media and student attendees <br><u>LOCATION</u>:Big House Studios,<br> San Francisco<br><u>OBJECTIVE</u>:Furthering <br>sustainability by exemplifying how event design can incorporate<br> green principles without <br>sacrificing creativity, elegance<br> and professionalism.<br><u>SOLUTION</u>:Sourcing & innovating<br> the latest & greatest sustainable<br> design materials: non-toxic, <br>organic, recyclable, salvaged, <br>re-used, or recycled. Reducing greenhouse gas emissions with renewable energy credits.<br><u>RESULT</u>:Sharing Sillapere's commitment to sustainable <br>event design revealed an array <br>of interest, momentum, partners <br>and clientele surrounding this <br>ground-breaking approach.</h6>"+leftarrow1+"'javascript:openpage(\"green\")'"+leftarrow2+""); 

  pageArray["press1"] = new makepageArray("<img src='images/event8.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1>fresh press </h1><h4>( click on each to see more )</h4><h4><a href='#' onClick='javascript:openpage(\"bond\")'>Bond Magazine</a><br><br><a href='#' onClick='javascript:openpage(\"instyle\")'>InStyle Magazine</a><br><br><a href='#' onClick='javascript:openpage(\"ywd\")'>YWD  Magazine</a><br><br>Event Solutions Magazine<br><a href='#' onClick='javascript:openpage(\"eventsol2\")'>September 2006</a><br><a href='#' onClick='javascript:openpage(\"eventsol\")'>July 2006</a><br><br> <a href='#' onClick='javascript:openpage(\"destyle\")'>Decorating with Style Magazine</a><br><br><a href='#' onClick='javascript:openpage(\"cmag\")'> California Style Magazine</a><br><br><a href='#' onClick='javascript:openpage(\"pacrim\")'>Pacific Rim Weddings Magazine</a><br></h4><h4>California Home & Design<br><a href='#' onClick='javascript:viewPress(\"California Home & Design �Feast of Eden�\")'>November  2005<br></a><a href='#' onClick='javascript:viewPress(\"California Home & Design �The Floral Artist�\")'>April 2003<br></a><br><a href='#' onClick='javascript:openpage(\"sfmag\")'>San Francisco Magazine</a></h4><h4><a href='#' onClick='javascript:openpage(\"elegantbride\")'>Elegant Bride<br>February/March 2005<br> </a></h4><h4><a href='#' onClick='javascript:openpage(\"potterybarn\")'>Pottery Barn<br>Flowers Style Recipes</a></div>");  




//This page has been made unacessable by the removal of the right arrow in line 22: to access ad "+rightarrow1+"'javascript:openpage(\"press2\")'"+rightarrow2+"  to end of line 22 right after </div> 
  pageArray["press2"] = new makepageArray("<img src='images/event8.jpg' width='640' height='480' border='0' alt=''>","<div class='widetext'><h1>press</h1><h2>additional mentions & appearances:</h2><h4>California Home & Design<br>September 2002  </h4><h4>San Francisco Magazine<br>June 2005<br>Hess-Rucker wedding</h4><h4>Modern Bride Northern California<br>Winter 2005 </h4><h4>7x7 Magazine<br>February/March 2004 </h4><h4>San Francisco Bride<br>Spring & Summer 2001 </h4></div>"+rightarrow1+"'javascript:openpage(\"press3\")'"+rightarrow2+"");

pageArray["bond"] = new makepageArray("<img src='images/bond.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>BOND MAGAZINE<br>Issue Zero<BR><br><i>'Elements'</i></a><br><h4> </h4> <br><h2><a href='pdf/bond.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["instyle"] = new makepageArray("<img src='images/instyle.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>IN STYLE WEDDINGS MAGAZINE<br>December 2006<BR><br><i>'Celebrity Planning'</i></a><br><h4> </h4> <br><h2><a href='pdf/instyle.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["ywd"] = new makepageArray("<img src='images/ywd.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>YWD MAGAZINE<br>Winter 2006<BR><br><i>'In the Spotlight'</i></a><br><h4> </h4> <br><h2><a href='pdf/ywd.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["globalgreen"] = new makepageArray("<img src='images/cmag.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>C CALIFORNIA STYLE MAGAZINE<br>August 2006<BR><br><i>Living Green</i></a><br>   <br><a href='pdf/cmag.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["destyle"] = new makepageArray("<img src='images/destyle.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>DECORATING w/ STYLE MAGAZINE<br>Vol. XVI, Nov.2, 2006<BR><br><i>Fall Fete<br>Holiday on Ice</i></a><br>   <br><a href='pdf/destyle.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["cmag"] = new makepageArray("<img src='images/cmag.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>C CALIFORNIA STYLE MAGAZINE<br>August 2006<BR><br><i>Living Green</i></a><br>   <br><a href='pdf/cmag.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");


pageArray["pacrim"] = new makepageArray("<img src='images/pacrim.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>PACIFIC RIM WEDDINGS MAGAZINE<br>August 2006<BR><br><i>Blue Moon Wedding</i></a><br>   <br><a href='pdf/pacrim.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["eventsol2"] = new makepageArray("<img src='images/eventsolmag2.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>EVENTS SOLUTIONS MAGAZINE<br>September 2006<BR><br><i>'Sustainable Style'</i></a><br><h4> </h4> <br><h2><a href='pdf/eventsolutions2.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["eventsol"] = new makepageArray("<img src='images/eventsolmag.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>EVENTS SOLUTIONS MAGAZINE<br>July 2006<BR><br><i>'The Eco-Chic Event'</i></a><br><h4> column by Nicole Sillapere</h4> <br><h2><a href='pdf/eventsolutions.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["sfmag"] = new makepageArray("<img src='images/sfmag.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>SAN FRANCISCO MAGAZINE<br>June 2005<BR><br><i>'The Indie Production'</i></a><br><h4> </h4> <h2><br><a href='pdf/sfmag.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["elegantbride"] = new makepageArray("<img src='images/elegantbride.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>ELEGANT BRIDE MAGAZINE<br>February/March 2005<BR><br><i> </i></a><br><h4> </h4><h2> <br><a href='pdf/elegantbride.pdf'><br>Read Article (.pdf)</a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");

pageArray["potterybarn"] = new makepageArray("<img src='images/potterybarnbook.jpg' width='640' height='480' border='0' alt=''>","<div class='pressgallery'><h1> </h1><h2> </h2><h2>NOW IN STORES!<br>   <BR><br> <h4> Pottery Barn selected Nicole Sillapere to design the majority of floral arrangements in this beautiful little book filled with styling tips and easy steps to creating your own professional-quality floral d�cor for every mood, occasion and season.<br> Learn how to give those faded  roses a new lease<br> on life, or how to lay out<br> fun and fabulous table <br>tops utilizing your<br> corner store, your back yard,<br> and your bottom drawer! </a><br><h4> </h4> <br> <br>   </a></h2></div>"+leftarrow1+"'javascript:openpage(\"press1\")'"+leftarrow2+"");



pageArray["contactus"] = new makepageArray("<img src='images/event15.jpg' width='640' height='480' border='0' alt=''>","<h1> </h1><h2>ADDRESS<br> 49 moss st<br> san francisco, california<br> 94103</h2><h2>PHONE<br>415.553.7846 san francisco<br></h2><h2>FAX<br>415.553.7849</h2><h2>EMAIL<br><a href='mailto:information@sillapere.com'>information@sillapere.com</a></h2>"); 

  //Build Gallery Array 


  var aJ=0;

  galleryArray[aJ++] = new Array("wedding gallery","california coast","1.jpg","2.jpg","3.jpg","4.jpg","6.jpg","5.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","la jolla","1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","marin county","1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg","7.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","sea ranch","outside1.jpg","outside2.jpg","outside3.jpg","outside4.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","villa montalvo","dinner2.jpg","entrance.jpg","lighting.jpg","dinner.jpg","ceremony2.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","woodside","1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","cornerstone gardens","cards1.jpg","cards.jpg","tables.jpg","tables1.jpg","bubbles.jpg","sunset.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","st. helena, ca","01.jpg","02.jpg","03.jpg","04.jpg","05.jpg");
  galleryArray[aJ++] = new Array("wedding gallery","napa valley, ca","gar1.jpg","gar2.jpg","gar3.jpg","gar4.jpg","gar5.jpg","gar6.jpg");
   //galleryArray[aJ++] = new Array("corporate gallery","sfmoma","tables1.jpg","tables.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","cnet","cnet1.jpg","cnet2.jpg","cnet3.jpg","cnet4.jpg","cnet5.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","phoenix stargazing","tables.jpg","green.jpg","outside1.jpg","stargazing.jpg","stargazing1.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","parks trust","pt1.jpg","pt2.jpg","pt3.jpg","pt4.jpg","pt5.jpg","pt6.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","union square","tables1.jpg","event.jpg","arrangements1.jpg","tables.jpg","arrangements.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","global green 06","gg6_1.jpg","gg6_2.jpg","gg6_3.jpg","gg6_4.jpg","gg6_5.jpg","gg6_6.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","yahoo","ya1.jpg","ya2.jpg","ya3.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","global green 07", "gg7_1.jpg","gg7_2.jpg","gg7_3.jpg ","gg7_4.jpg ", "gg7_5.jpg", "gg7_6.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","regency","regency4.jpg","regency3.jpg","regency1.jpg","regency2.jpg","regency5.jpg");
  galleryArray[aJ++] = new Array("corporate gallery","regency II","01.jpg","02.jpg","03.jpg","04.jpg","05.jpg");
	
 


  //Build Press Array

  aJ=0;

  pressArray[aJ++] = new Array("Events Solutions",  "Events Solutions Magazine, July 2006, 'The Eco-Chic Event'","eventsolmag.jpg"    ); 

  pressArray[aJ++] = new Array("California Home & Design The Floral Artist","California Home & Design �The Floral Artist�","floral artist_1.jpg","floral artist_2.jpg");
  pressArray[aJ++] = new Array("California Home & Design Feast of Eden","California Home & Design �Feast of Eden�","feast of eden_1.jpg","feast of eden_2.jpg","feast of eden_3.jpg","feast of eden_4.jpg","feast of eden_5.jpg");
  pressArray[aJ++] = new Array("San Francisco Chronicle","San Francisco Chronicle","san francisco chronicle1.jpg");
  pressArray[aJ++] = new Array("Elegant Bride","Elegant Bride","elegant bride1.jpg");
  pressArray[aJ++] = new Array("Pottery Barn","Pottery Barn","pottery barn book.jpg");



  openpage('home');

  correctPNG();

}
