<!-- Hide from incompatible browsers

var mywin=null;
function picPopUp(pic,winWidth,winHeight,caption,alt){

  var popFormat=" addrbar=no,toolbar=no,location=no,directories=no,"
  popFormat+="status=yes,menubar=no,scrollbars=yes,resizable=yes,"
  popFormat+="width=1,height=1";

  var mywin=window.open("","popWindow",popFormat);

  mywin.document.write("<html><head>");
  mywin.document.write("<title>Silver Willow Gallery</title>");
  mywin.document.write("<style type='text/css'></style>");
  mywin.document.write("</head>");
  mywin.document.write("<body bgcolor='#fbfdfd'>");
  mywin.document.write("<table align='center' border='0' align='center' cellspacing='0' cellpadding='0'><tr><td>");
  mywin.document.write("<table align='center' border='0' style='border-collapse:collapse' bordercolor='#ffffff' align='center' cellspacing='0' cellpadding='0'><tr><td>");
  mywin.document.write("<img src='"+pic+"' width='"+winWidth+"' height='"+winHeight+"' alt='"+alt+"' style='border: 2px solid #ffffff'>");
  mywin.document.write("</td></tr></table>");
  mywin.document.write("</td></tr>");
  mywin.document.write("<tr><td height='4'><spacer type='block' width='1' height='1'>");
  mywin.document.write("</td></tr>");
  mywin.document.write("<tr><td align='center' width='"+winWidth+"'><span style='font-family:palatino;font-size:13px;color:black;'>");
  mywin.document.write(caption);
  mywin.document.write("</span>");
  mywin.document.write("<tr><td height='12'><spacer type='block' width='1' height='12'>");
  mywin.document.write("</td></tr>");
  mywin.document.write("<tr><td>");
  mywin.document.write("<input type='button' value='Close' style='font-family:palatino;font-weight:bold;color:black;font-size:13px;' onclick='javascript:window.close()'>");
  mywin.document.write("</td></tr></table>");
  
  mywin.document.write("</body></html>");
  mywin.resizeTo(winWidth+75,winHeight+170);
  self.focus(); 
  mywin.document.close();
  mywin.focus();
  mywin=null;
}

function textPopUp(text,winWidth,winHeight){
  var popFormat=" addrbar=no,toolbar=no,location=no,directories=no,"
  popFormat+="status=yes,menubar=no,scrollbars=yes,resizable=yes,"
  popFormat+="width=1,height=1";

  var mywin=window.open("","popWindow",popFormat);

  mywin.document.write("<html><head>");
  mywin.document.write("<title>Silver Willow Gallery</title>");
  mywin.document.write("<style type='text/css'></style>");
  mywin.document.write("</head>");
  mywin.document.write("<body bgcolor='#fbfdfd'>");
  mywin.document.write("<div class='popups'>");
  mywin.document.write("<div style='padding:14px;font-family:palatino;font-size:13px;line-height:16px;color:black;'>");
  mywin.document.write(text);
  mywin.document.write("<br /><br />");
  mywin.document.write("<input type='button' value='Close' style='font-family:palatino;font-weight:bold;color:black;font-size:13px;' onclick='javascript:window.close()'>");
  mywin.document.write("</div>");
  mywin.document.write("</div>");
  mywin.document.write("</body></html>");
  mywin.resizeTo(winWidth+100,winHeight+135);
  self.focus(); 
  mywin.document.close();
  mywin.focus();
  mywin=null;
}

var mywin=null;
function picPopUp2(pic,winWidth,winHeight,caption,alt){

  var popFormat=" addrbar=no,toolbar=no,location=no,directories=no,"
  popFormat+="status=yes,menubar=no,scrollbars=yes,resizable=yes,"
  popFormat+="width=1,height=1";

  var mywin=window.open("","popWindow",popFormat);

  mywin.document.write("<html><head>");
  mywin.document.write("<title>Silver Willow Gallery</title>");
  mywin.document.write("<style type='text/css'></style>");
  mywin.document.write("</head>");
  mywin.document.write("<body bgcolor='#fbfdfd'>");
  mywin.document.write("<table align='center' border='0' align='center' cellspacing='0' cellpadding='0'><tr><td>");
  mywin.document.write("<table align='center' border='0' style='border-collapse:collapse' bordercolor='#ffffff' align='center' cellspacing='0' cellpadding='0'><tr><td>");
  mywin.document.write("<img src='"+pic+"' width='"+winWidth+"' height='"+winHeight+"' alt='"+alt+"' style='border: 2px solid #ffffff'>");
  mywin.document.write("</td></tr></table>");
  mywin.document.write("</td></tr>");
  mywin.document.write("<tr><td height='4'><spacer type='block' width='1' height='1'>");
  mywin.document.write("</td></tr>");
  mywin.document.write("<tr><td width='"+winWidth+"'><span style='font-family:palatino;font-size:13px;color:white;'>");
  mywin.document.write(caption);
  mywin.document.write("</span>");
  mywin.document.write("<tr><td height='12'><spacer type='block' width='1' height='12'>");
  mywin.document.write("</td></tr>");
  mywin.document.write("<tr><td>");
  mywin.document.write("<input type='button' value='Close' style='font-family:palatino;font-weight:bold;color:black;font-size:13px;' onclick='javascript:window.close()'>");
  mywin.document.write("</td></tr></table>");
  mywin.document.write("<br />");
  
  mywin.document.write("</body></html>");
  mywin.resizeTo(winWidth+75,winHeight+185);
  self.focus(); 
  mywin.document.close();
  mywin.focus();
  mywin=null;
}

// Stop hiding from incompatible browsers -->
