<!-- 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 image001 = 'Welcome to Saechao Family Farm.'
var image010 = 'Saechao Family Farm is a great source for Suisun Valley fresh strawberries.'
var image000 = 'A picture is worth a thousand words.'
var image011 = 'Watch for fresh raspberries at Saechao Family Farm.'
var image031 = 'Welcome to the Vegetable Patch.'
var image075 = 'Pick your own flowers at the Vegetable Patch'
var veg_01 = 'The Vegetable Patch is open for business.'
var veg_05 = 'A beautiful, scenic mural inside the the Vegetable Patch'
var veg_02 = 'A great variety of fresh produce at the Vegetable Patch'
var veg_04 = 'Find what you need at the Vegetable Patch'
var image005 = 'The Lum Family at the Vegetable Patch is a part of Suisun Valley history'
var image006 = 'Cherries on the vine'
var veg_06 = 'Locally bottled honey at the Vegetable Patch'
var veg_07 = 'A great variety of dried fruits and nuts at the Vegetable Patch'
var image007 = 'Your are always welcomed at the Vintage Caffe.'
var image009 = 'The outdoor patio at the Vintage Caffe'
var image024= 'We are almost at the Peach Farm.'
var image013 = 'Welcome to the Peach Farm.'
var image014 = 'Enjoy the variety of choices at the Peach Farm.'

// 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 popUp(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/image001.jpg') {popwin.document.write('<div class="popupcaptions"> '+image001 +'</div>')}
else
if (URL == 'images/image010.jpg') {popwin.document.write('<div class="popupcaptions"> '+image010 +'</div>')}
else
if (URL == 'images/image000.jpg') {popwin.document.write('<div class="popupcaptions"> '+image000+'</div>')}
else
if (URL == 'images/image011.jpg') {popwin.document.write('<div class="popupcaptions"> '+image011+'</div>')}
else
if (URL == 'images/image031.jpg') {popwin.document.write('<div class="popupcaptions"> '+image031+'</div>')}
else
if (URL == 'images/image075.jpg') {popwin.document.write('<div class="popupcaptions"> '+image075+'</div>')}
else
if (URL == 'images/veg_01.jpg') {popwin.document.write('<div class="popupcaptions"> '+veg_01+'</div>')}
else
if (URL == 'images/veg_05.jpg') {popwin.document.write('<div class="popupcaptions"> '+veg_05+'</div>')}
else
if (URL == 'images/veg_02.jpg') {popwin.document.write('<div class="popupcaptions"> '+veg_02+'</div>')}
else
if (URL == 'images/veg_04.jpg') {popwin.document.write('<div class="popupcaptions"> '+veg_04+'</div>')}
else
if (URL == 'images/image005.jpg') {popwin.document.write('<div class="popupcaptions"> '+image005+'</div>')}
else
if (URL == 'images/image006.jpg') {popwin.document.write('<div class="popupcaptions"> '+image006+'</div>')}
else
if (URL == 'images/veg_06.jpg') {popwin.document.write('<div class="popupcaptions"> '+veg_06+'</div>')}
else
if (URL == 'images/veg_07.jpg') {popwin.document.write('<div class="popupcaptions"> '+veg_07+'</div>')}
else
if (URL == 'images/image007.jpg') {popwin.document.write('<div class="popupcaptions"> '+image007+'</div>')}
else
if (URL == 'images/image009.jpg') {popwin.document.write('<div class="popupcaptions"> '+image009+'</div>')}
else
if (URL == 'images/image024.jpg') {popwin.document.write('<div class="popupcaptions"> '+image024+'</div>')}
else
if (URL == 'images/image013.jpg') {popwin.document.write('<div class="popupcaptions"> '+image013+'</div>')}
else
if (URL == 'images/image014.jpg') {popwin.document.write('<div class="popupcaptions"> '+image014+'</div>')}


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="slideshow.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 -->

