function tourWindow(){
	var tourWindow = window.open("/ccnb/quicktour.html","CCNB","width=520,height=350");
}
var CCNB = {
   resizeFrame:function(f){f.style.height=f.contentWindow.document.body.scrollHeight +"px";}
}
var RandomQuote = {
quotesCorps:[
{quote:'I restore habitat in the Presidio and Land’s End and perform habitat monitoring throughout the Golden Gate National Recreational Area for CCNB. This job has been a blessing for me. I’m learning many new skills such as GIS mapping, invasive monitoring, and flame thrower operation, which I feel will aid me in my career. Alright, maybe the flame thrower is just fun but it’s great to have a job I look forward to going to every day.',name:'Elizabeth'},
{quote:'Because of your support, I am able to lead a volunteer program that monitors habor seals at Point Reyes National Seashore as part of the Restoration and Ecosystem Management crew. This opportunity will allow me to pursue my dream of protecting our nation’s resources for future generations.',name:'Erin Flynn'},
{quote:'I have had the great opportunity to work with many different volunteers throughout the community in accomplishing habitat restoration projects on our Open Space preserves. I have gained countless field experience and have learned so much about the natural habitat and vegetation of this unique Bay Area.',name:'Marianne'},
{quote:'I am gaining invaluable experience removing invasive species, implementing various restoration projects and working with and leading volunteer groups. I am looking forward to using this experience in my future career endeavors and in my graduate school pursuit.',name:'Katelin Kelly'},
{quote:'I work at Point Reyes National Seashore doing habitat restoration and volunteer coordination. I work on both invasive species and rare plants. Our work is instrumental in restoring and protecting the natural integrity and beauty of this unique and diverse landscape.',name:'Kevin Sherrill,<br/>Youth in Environmental Service'},
{quote:'I love the opportunities being an AmeriCorps member gives me – getting to learn more about environmental issues, donating a year strictly for service, getting an education award to help pay off my student loans, and getting to design and implement creative reuse art projects with my Chavez Club kids.',name:'Allison Kraus'},
{quote:'At CCNB I have been working with afterschool clubs in environmental and service education in four local middle schools. The experience has been very rewarding, and I’m glad I can help make a positive impact on the community.',name:'Drew Cartright'},
{quote:'As an AmeriCorps member serving in schools, I see first hand the impact CCNB has on local kids and their environmental awareness. My experiences at CCNB have been profound and enriching. Your support is truly appreciated.',name:'Julie Chappell'},
{quote:'My AmeriCorps position allows me to implement valuable service projects, work with needy youth, and learn about nonprofit management. I know this experience will be an asset to me when I attend law school next year and in my future career working for social justice. My fellow AmeriCorps members are also gaining invaluable experience as we serve the community through our organization.',Name:'Brandon Sousa,<br/>Community Recycling'},
{quote:'I have been at CCNB for seven months. I have learned English, all about recycling and about renewable energy. In the future, I plan to work in recycling to reduce contamination.',name:'Wendy K. Peech'},
{quote:'Your generous support helps CCNB prepare corpsmembers develop new skills, learn English and find skilled jobs. CCNB has given me the opportunity to help with the community recycling projects, which ultimately helps the environment. Thank you. All of the corpsmembers appreciate it.',name:'Luis Suárez'},
{quote:'We have been Community Recycling corpsmembers of Sonoma County for two months now since it began. We have been building bins to place at state and county parks. Through CCNB we are gaining leadership, teamwork and communication skills. We will not only receive our high school diploma, but CCNB will help our job development.',name:'John Bahel and Dominic Fabian'},
{quote:'During my year at CCNB, I have taken classes in English, Landscaping, Math, Irrigation, Natural Resources and earned certificates for perfect attendance, corpsmember of the Month, and carpenter tools’ skills. My crew collects recyclables in playgrounds, open spaces and national parks. My goal for the future is to learn more English and work for the Environment or in a landscaping company.',name:'Juan Carlos Yupit Herrera,<br/>Natural Resources'},
{quote:'I am a corpsmember for the Natural Resources crew at CCNB. This week I was working in Corte Madera. We were removing invasive plants and planting native plants. In my classes this week, I studied English, math and ecology. In the future, I plan to be a teacher.',name:'Rony Montufar'},
{quote:'My goal is to graduate from college and become a teacher. Your support has helped me develop my English and landscaping skills so I can achieve my goals. Thank you.',name:'Pedro Perez Chom'},
{quote:'I have been at CCNB for seven months. In that time, I have taken classes in Math, English and Science and passed the English section of the California High School Exit Examination. In my crew, we cut grass and tree limbs to prevent fires, clean up creeks to prevent floods, weed invasive plants and plant native plants to restore natural habitats. Your support is helping me to get my high school diploma. Thank you.',name:'Joey Mesquite'},
{quote:'In my crew we restore native habitats and build fences. Right now we have a difficult project removing a lot of poison oak. I am hoping to become bilingual. You support has helped me to develop my English and leadership skills so that I can have a better future.',name:'Fatima Rodriguez,<br/>Corps Respond'},
{quote:'We are excited to provide valuable mitigation work and education for the community. After this program, many of us plan on pursuing careers in Disaster Response and Conservation. Thanks for your support and safe travels.',name:'David Frasier, Gretchen Oleson, and Brooks Gargiulo'}
],
quotesDonor:[
{quote:'We are proud of you and the work you do to support Marin\'s environment and many natural resources. You do make a difference.',name:'Marilyn Hampton<br/>Teacher'},
{quote:'Thanks for annually clearing the fire brush in my area! Bless you good young people! From an old-timer on a fixed income.',name:'Albert Wettstein'},
{quote:'I see the young workers laboring earnestly along Corte Madera Creek when I ride my bicycle. Good work!',name:'Steve Martin'},
{quote:'Thank you so much for the work and energy you put into conserving this land so that we can experience its true nature. It is sacred work. Thanks again.',name:'Claire Vermillion'},
{quote:'I am impressed with the accomplishments and believe in your principles.',name:'Mary Burton'},
{quote:'I am very proud to live in a community where such love and concern is given to the environment.',name:'Gail Flynn'},
{quote:'Rock on. Keep up the great work!',name:'Janet Bookey'},
{quote:'Dear Corpsmembers: I want you to know how much I admire you and respect you for the fine work you are doing. In 1936 my grandmother taught me that anyone earning an honest living was someone whom was to be respected. Good luck!',name:'Scott Holt'},
{quote:'You may think sometimes that your contribution goes unnoticed—but believe me you are distinguished by your good works and help to the community—you do yourself and all of us proud.',name:'Katherine Arnaudo'},
{quote:'Working with the CCNB is always a joy. The Corps members work hard, while having fun and being full of enthusiasm for the environment. Whether working with the CCNB on trails, at events, or teaching Leave No Trace, REI’s experience has always been positive and fruitful. Thank you for all the important work you have done!',name:'Sage Wike-Brown<br/>REI Outreach Specialist'},
{quote:'With deep gratitude to CCNB for a quarter century of caring for our lands and our young people.',name:'Steve Kinsey<br/>President, Marin County Board of Supervisors'}
],
getQuoteCorps:function(){
	var random = Math.floor(Math.random()* this.quotesCorps.length);
	return this.quotesCorps[random];
},
getQuoteDonor:function(){
	var random = Math.floor(Math.random()* this.quotesDonor.length);
	return this.quotesDonor[random];
},
donorQuote:function(){
          var q = this.getQuoteDonor();
          document.write('<p class="rightParagraphQuote">'+q.quote+'</p>');
          document.write('<p class="rightParagraphCredit">'+q.name);
          if(q.title != "")
            document.write('<br/>'+q.title+'</p>');
          else
            document.write('</p>');
},
corpsQuote:function(){
          var q = this.getQuoteCorps();
          document.write('<p class="rightParagraphQuote">'+q.quote+'</p>');
          document.write('<p class="rightParagraphCredit">'+q.name+'</p>');
}
}//////end RandomQuote{}
var COTM = {
c:{name:'Virginia Palacios',
id:'31',
photoSm:'/img/cotm/CMoM_Palacios.jpg',
blurb:'CCNB has provided me with numerous opportunities to experience a variety of professions in the environmental industry and has helped me narrow down my career interests.'
},
renderCotm:function(){
    c=this.c;
    document.write('<p class="rightParagraphSolid">'+c.name+'</p><p class="rightParagraphSolid">');
    document.write('<a href="/ccnb/getCotm.action?id='+c.id+'"><img width="55" src="'+c.photoSm+'" style="margin:0 0 5px 5px;float:right" alt="'+c.name+'"/></a>');
    document.write(c.blurb);
    document.write('</p><a class="rightLink" href="/ccnb/getCotm.action?id='+c.id+'">Read More</a>');
}}
var SOTM = {
s:{
name:'Michael Booth',
id:'2',
photoSm:'http://localhost:81/img/cotm/CMoM_MichaelBooth.jpg',
blurb:'&rsquo;I like being a part of the CCNB mission. You can&rsquo;t argue with the goal of &rsquo;developing youth and conserving natural resources for a strong, sustainable community&rsquo; It&rsquo;s great to be here.&rsquo;'
},
renderSotm:function(){
    s=this.s;
    document.write('<p class="rightParagraphSolid">'+s.name+'</p><p class="rightParagraphSolid">');
    document.write('<a href="/ccnb/getSotm.action?id='+s.id+'"><img width="55" src="'+s.photoSm+'" style="margin:0 0 5px 5px;float:right" alt="'+s.name+'"/></a>');
    document.write(s.blurb);
    document.write('</p><a class="rightLink" href="/ccnb/getSotm.action?id='+s.id+'">Read More</a>');
}
}