<!-- Begin POP-UP SIZES AND OPTIONS CODE




//Captions
  


var image061 = 'Welcome to Erickson Ranch Produce Stand and Dahlia Garden'
var image062 = 'Erickson Ranch Produce Stand and Dahlia Garden offers vine ripened tomatoes.'
var image059 = 'Try Parker Farms\' variety of small tomatoes'
var image060 = 'Suisun Valley pomegranates'
var image076 = 'Peaches are plentiful at Erickson Ranch Produce Stand and Dahlia Garden'
var image063 = 'Red, ripe juicy apples at Erickson Ranch Produce Stand and Dahlia Garden'
var image064 = 'More apple choices at Erickson Ranch Produce Stand and Dahlia Garden'
var image065 = 'The pick your own flowers are beautiful at Erickson Ranch Produce Stand and Dahlia Garden'
var image066 = 'The lovely gardens at Erickson Ranch Produce Stand and Dahlia Garden'
var image070 = 'Peppers, peppers, peppers at Erickson Ranch'
var image071 = 'Pick your peppers and get them roasted at Erickson Ranch Produce Stand and Dahlia Garden'
var image073 = 'Welcome to Iwana Market, where you can buy Willota Ranch kiwi\'s as of November 11th'
var image021 = 'A garbanzo bean field'
var image020 = 'Rustic Suisun Valley beckons you'
var image019 = 'Suisun Valley oranges'
var image090 = 'The beginning of a kiwi at Willota Ranch'
var mustard = 'Spring Time Mustard' 

// 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 popUp4(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="1" 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/image061.jpg') {popwin.document.write('<div class="popupcaptions"> '+image061+'</div>')}
else

if (URL == 'images/image073.jpg') {popwin.document.write('<div class="popupcaptions"> '+image073+'</div>')}
else
if (URL == 'images/image062.jpg') {popwin.document.write('<div class="popupcaptions"> '+image062+'</div>')}
else
if (URL == 'images/image059.jpg') {popwin.document.write('<div class="popupcaptions"> '+image059+'</div>')}
else
if (URL == 'images/image060.jpg') {popwin.document.write('<div class="popupcaptions"> '+image060+'</div>')}
else
if (URL == 'images/image076.jpg') {popwin.document.write('<div class="popupcaptions"> '+image076+'</div>')}
else
if (URL == 'images/image063.jpg') {popwin.document.write('<div class="popupcaptions"> '+image063+'</div>')}
else
if (URL == 'images/image064.jpg') {popwin.document.write('<div class="popupcaptions"> '+image064+'</div>')}
else
if (URL == 'images/image065.jpg') {popwin.document.write('<div class="popupcaptions"> '+image065+'</div>')}
else
if (URL == 'images/image066.jpg') {popwin.document.write('<div class="popupcaptions"> '+image066+'</div>')}
else
if (URL == 'images/image067.jpg') {popwin.document.write('<div class="popupcaptions"> '+image067+'</div>')}
else
if (URL == 'images/image068.jpg') {popwin.document.write('<div class="popupcaptions"> '+image068+'</div>')}
else
if (URL == 'images/image069.jpg') {popwin.document.write('<div class="popupcaptions"> '+image069+'</div>')}
else
if (URL == 'images/image070.jpg') {popwin.document.write('<div class="popupcaptions"> '+image070+'</div>')}
else
if (URL == 'images/image071.jpg') {popwin.document.write('<div class="popupcaptions"> '+image071+'</div>')}
else
if (URL == 'images/image021.jpg') {popwin.document.write('<div class="popupcaptions"> '+image021+'</div>')}
else
if (URL == 'images/image020.jpg') {popwin.document.write('<div class="popupcaptions"> '+image020+'</div>')}
else
if (URL == 'images/image_oranges.jpg') {popwin.document.write('<div class="popupcaptions"> '+image019+'</div>')}
else
if (URL == 'images/image090.jpg') {popwin.document.write('<div class="popupcaptions"> '+image090+'</div>')}

else
if (URL == 'images/image_mustard_field.jpg') {popwin.document.write('<div class="popupcaptions"> '+mustard+'</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="slideshow4.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()
}



// Begin SMALL MESSAGES CODE


document.write('<div Class="divstyle" id="info" style=\'display:none;\'>')
document.write('<div id="imagetitle" class="pstyletitle" align="center"></div>')
document.write('</div>')


var IE = document.all?true:false

if (!IE) document.captureEvents(Event.MOUSEMOVE)

document.onmousemove = getMouseXY;

var tempX = 0
var tempY = 0

  
function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    // tempX = event.clientX + document.body.scrollLeft
    // tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }  
  // catch possible negative values in NS4
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  // show the position values in the form named Show
  // in the text fields named MouseX and MouseY
obj_info = document.getElementById("info")
obj_info.style.top = tempY + 10;
obj_info.style.left = tempX + 10;
  return true
}

function alert_msg(titletext){
obj_info = document.getElementById("info")
obj_info.style.display = '';
obj_imagetitle = document.getElementById("imagetitle");
obj_imagetitle.innerHTML = titletext;

}

function away()
{
obj_info = document.getElementById("info")
obj_info.style.display = 'none';
}


function goToURL() { history.go(-1); }



// End -->

