<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR yes no OPTIONS

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


// GALLERY POPUPS

var close_button_p 	= "yes"		// GALLERY CLOSE BUTTON ON/OFF
var slideshow_button 	= "yes"		// SLIDESHOW BUTTON ON/OFF
var right_click_onG	= "yes"		// GALLERY RIGHT CLICK PROTECTION ON
var border_color	= "000000"	// PICTURE OUTLINE COLOR
var slideshow_width 	= 550		// SLIDESHOW POPUP WINDOW WIDTH
var slideshow_height 	= 540		// SLIDESHOW POPUP WINDOW HEIGHT
var view_width 		= 550	// GALLERY POPUP WIDTH
var view_height 	= 500		// GALLERY POPUP HEIGHT


// OTHER OPTIONS YOU CAN CHANGE

var scrollbarS 		= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var scrollbarS_sound	= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var background_colors	= "FFFFFF"	// BACKROUND COLOR OF THE POPUPS
var right_click_text	= "You may not right mouse click this page"	// TEXT FOR THE RIGHT CLICK PROTECTION


//Captions
 
var image015 = 'The historic Gomer School'
var image012 = 'America\'s Golden Highway™, Historic Highway 40 passes through Suisun Valley'
var image022 = 'Three miles down the road, make a right and you\'re at Wooden Valley Winery'
var image074 = 'Ready for harvest at Wooden Valley Winery'
var image016 = 'For three generations the Lanza family has worked the vineyards of Wooden Valley Winery.'
var image017 = 'There\'s more than just wine in the Wooden Valley Winery Tasting Room.'
var image018 = 'Enjoy the picnic area at Wooden Valley Winery'
var image023 = 'Welcome to Ledgewood Creek Winery'
var image077 = 'A welcoming patio at Ledgewood Creek Winery'
var image025 = 'A great location to enjoy the quality wines of Ledgewood Creek Winery'
var image026 = 'The tasting room at Ledgewood Creek Winery'
var image027 = 'Award winning wines at Legewood Creek Winery'
var image028 = 'Historic Pony Express Station Marker'
var image029 = 'The historic Rockville Inn - great food and entertainment'
var image035 = 'Welcome to Cal Yee Farms'
var image036 = 'Pears ready for the drying process at Cal Yee Farms'
var image034 = 'Cal Yee Farms offers a variety of dried fruits and nuts, along with gift baskets.  You can also do mail order at <a href="http://www.calyee.com" target="_blank">www.calyee.com</a>'
var image039 = 'Welcome to Glashoff Gallery'
var image038 = 'The interior of Glashoff Gallery'

var el_tapatio = 'El Tapatio'
var valley_cafe = 'Valley Cafe'
var la_barista01 = 'Welcome to La Barista Espresso'
var la_barista02 = 'Enjoy a morning or afternoon pastry on our outside patio'
var la_barista03 = 'Pastries, fresh deli sandwiches and salads available at our <br /> Espresso Lane'


// START SLIDESHOW POPUP CODE


function popUpSlideshow(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}


// START POPUP CODE


function popUp2(URL) {
var look='toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<title>Image Close Up</title>')
   if (right_click_onG == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('<head>')
popwin.document.write('<link rel=StyleSheet href="../includes/css/default.css" type="text/css" media="screen"></head>')
popwin.document.write('<body bgcolor="#'+background_colors+'" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"><tr><td align="center">')
popwin.document.write('<br>')
popwin.document.write('<table cellspacing="0" cellpadding="1" border="0"><tr><td align="center">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="2" bordercolor="#'+border_color+'" style="border-collapse: collapse"><tr><td>')
popwin.document.write('<div align="center"><img src="'+URL+'"></div>')
popwin.document.write('</td></tr></table><br>')
if (URL == 'images/image015.jpg') {popwin.document.write('<div class="popupcaptions"> '+image015 +'</div>')}
else
if (URL == 'images/image012.jpg') {popwin.document.write('<div class="popupcaptions"> '+image012 +'</div>')}
else
if (URL == 'images/image022.jpg') {popwin.document.write('<div class="popupcaptions"> '+image022+'</div>')}
else
if (URL == 'images/image074.jpg') {popwin.document.write('<div class="popupcaptions"> '+image074+'</div>')}
else
if (URL == 'images/image016.jpg') {popwin.document.write('<div class="popupcaptions"> '+image016+'</div>')}
else
if (URL == 'images/image017.jpg') {popwin.document.write('<div class="popupcaptions"> '+image017+'</div>')}
else
if (URL == 'images/image018.jpg') {popwin.document.write('<div class="popupcaptions"> '+image018+'</div>')}
else
if (URL == 'images/image023.jpg') {popwin.document.write('<div class="popupcaptions"> '+image023+'</div>')}
else
if (URL == 'images/image077.jpg') {popwin.document.write('<div class="popupcaptions"> '+image077+'</div>')}
else
if (URL == 'images/image025.jpg') {popwin.document.write('<div class="popupcaptions"> '+image025+'</div>')}
else
if (URL == 'images/image026.jpg') {popwin.document.write('<div class="popupcaptions"> '+image026+'</div>')}
else
if (URL == 'images/image027.jpg') {popwin.document.write('<div class="popupcaptions"> '+image027+'</div>')}
else
if (URL == 'images/image028.jpg') {popwin.document.write('<div class="popupcaptions"> '+image028+'</div>')}
else
if (URL == 'images/image029.jpg') {popwin.document.write('<div class="popupcaptions"> '+image029+'</div>')}
else
if (URL == 'images/image035.jpg') {popwin.document.write('<div class="popupcaptions"> '+image035+'</div>')}
else
if (URL == 'images/image036.jpg') {popwin.document.write('<div class="popupcaptions"> '+image036+'</div>')}
else
if (URL == 'images/image034.jpg') {popwin.document.write('<div class="popupcaptions"> '+image034+'</div>')}
else
if (URL == 'images/image039.jpg') {popwin.document.write('<div class="popupcaptions"> '+image039+'</div>')}
else
if (URL == 'images/image038.jpg') {popwin.document.write('<div class="popupcaptions"> '+image038+'</div>')}
else


if (URL == 'images/image_el_tapatio.jpg') {popwin.document.write('<div class="popupcaptions"> '+el_tapatio +'</div>')}
else
if (URL == 'images/image_valley_cafe_ig.jpg') {popwin.document.write('<div class="popupcaptions"> '+valley_cafe +'</div>')}
else
if (URL == 'images/image_la_barista01.jpg') {popwin.document.write('<div class="popupcaptions"> '+la_barista01+'</div>')}
else
if (URL == 'images/image_la_barista02.jpg') {popwin.document.write('<div class="popupcaptions"> '+la_barista02+'</div>')}
else
if (URL == 'images/image_la_barista03.jpg') {popwin.document.write('<div class="popupcaptions"> '+la_barista03+'</div>')}
else

popwin.document.write('</br>')

popwin.document.write('</td></tr><tr><td valign="top" align="center" height="50">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')
   if (close_button_p == "yes") {
popwin.document.write('<form style="margin: 0px"><input type="button" value="Close" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\'>&nbsp;</form>')
}
  if (slideshow_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form action="slideshow2.asp" style="margin: 0px"><input type="submit" value="Slideshow" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
} 
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}




// End -->

