<!-- 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 vn008 = 'Ann is learning about all the u-pick flowers and, vegetables at Erickson Ranch and Dalhia Garden from Vickie Erickson.'

var vn010 = 'Ann and her sister Allison standing in the Erickson Ranch and Dalhia Garden beautiful flower garden.' 
var vn014 = "Ann's first look at how kiwis are grown in Suisun Valley."
var vn006 = 'Stan Bunger and Ann talking with Ray Erickson from Erickson Ranch and Dalhia Garden.'

var vnkcbs = ' Wine tasting at Ledgewood Creek Winery, left to right: Vicky Erickson, Erickson Ranch; Jack Baston, President-Suisun Valley Fund Advisory Committee; Stan Bunger, KCBS morning show personality; winner Ann Leung, and her sister Alison.'
 var vn021 = 'Ann and her sister Allison tasting wine at the three generation WoodenValley Winery.'
// 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 popUpVN(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/008_large.jpg') {popwin.document.write('<div class="popupcaptions"> '+vn008 +'</div>')}
else
if (URL == 'images/010_large.jpg') {popwin.document.write('<div class="popupcaptions"> '+vn010 +'</div>')}
else
if (URL == 'images/014_large.jpg') {popwin.document.write('<div class="popupcaptions"> '+vn014+'</div>')}
else
if (URL == 'images/006_large.jpg') {popwin.document.write('<div class="popupcaptions"> '+vn006+'</div>')}
else
if (URL == 'images/kcbs_large.jpg') {popwin.document.write('<div class="popupcaptions"> '+vnkcbs+'</div>')}
else
if (URL == 'images/021_large.jpg') {popwin.document.write('<div class="popupcaptions"> '+vn021+'</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="kcbs_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 -->

