//---------------------------------------------------------
// Copyright (c) 2000 to present by Bronze Inc. All rights reserved.
// 561-368-2203, PO. Box 14303, Gainesville, FL, 32604, US
// www.bronz.com, webmaster@bronz.com
//---------------------------------------------------------
function br_page_Class() {
  this.body_tag='bgcolor=black topmargin=5 leftmargin=5 rightmargin=5 marginheight=5 marginwidth=10';
  this.domain_text="";
  this.image_root="../image/";
  this.meta_desc="";
  this.meta_keywords="Jewish singles,Jewish couples,Jewish events,Mosaic Outdoor Club,Utah,Canyonlands";
  this.page_next="";
  this.page_prev="";
  this.page_table_show=0; // Do not use a table
  this.style_caption="caption";
  this.style_copyright="s0Faint";
  this.style_links="baseTextSans";
  this.style_table0="t0Table";
  this.title="";
  this.title_meta="";
  this.title_suffix=" - Canyonlands, Utah trip with Mosaic Jewish Outdoor Club for Jewish singles and couples";
  this.Arw=br_page_Arw;
  this.Image=br_page_Image;
  this.Image_Link=br_page_Image_Link;
  this.Page_Bottom=br_page_Page_Bottom;
  this.Page_Links=br_page_Page_Links;
  this.Page_Table_Begin=br_page_Page_Table_Begin;
  this.Page_Table_End=br_page_Page_Table_End;
  this.Page_Top=br_page_Page_Top;
  this.Page_Top_Html_Begin=br_page_Page_Top_Html_Begin;
  this.Quote=br_page_Quote;
  }
//---------------------------------------------------------
function br_page_Arw(text) {document.write(text);}
//---------------------------------------------------------
function br_page_Image(src,align,enlarge,caption) {
  var root=this.image_root;
  var i=src.lastIndexOf("."); var ext=src.substr(i);
  var i=src.lastIndexOf("_"); var wh=""; var e="";
  if (i>0) {var t=src.substr(i+1); var j=t.lastIndexOf("x");
    if (j>0) {var w=t.substr(0,j); var h=t.substr(j+1,t.length-j-5);
      if (w && h) {wh=' width="' + w + '" height="' + h + '"';
        if (enlarge+"."!="0.") enlarge=1;
        if (enlarge) e=src.substr(0,i);}}}
  src=root + src;
  var table_use=align=="center";
  align=align || ""; if (align) align=' align="' + align +'"';
  var out='<img src="' + src + '"' + wh + align + ' border="0" hspace="10" vspace="10">';
  if (e) out='<a href="' + root + e + ext + '">' + out + '</a>';
  if (caption || table_use) {
    out='<table' + align + '><tr><td align=center>' + out + '</td></tr>';
    if (caption) out+='<tr><td align=center class="' + this.style_caption + '">' + caption + '</td></tr>';
    out+='</table>';}
  this.Arw(out);
  }
//---------------------------------------------------------
function br_page_Image_Link(text,image) {
  var root="../image/";
  text='<a href="' + root + image + '">' + text + '</a>';
  this.Arw(text);
  }
//---------------------------------------------------------
function br_page_Page_Bottom() {
  if (this.page_table_show) this.Page_Table_End();
  out=
      '<hr><a name="PAGEBOTTOM"></a>'
    + '<p class="' + this.style_links + '" align=center>'
    + this.Page_Links()
    + '</p>'
    + '<p align=center class="' + this.style_copyright + '">'
    + '<a href="http://www.jewishnetwork.com">Visit JewishNetwork.com for a list of Jewish events</a>'
    + '<br><br><a href="../main/legal_copyright.htm">Copyright</a> &copy; 2002-present by '
    + '<a href="http://www.bronz.com">Bronze Inc</a>. All rights reserved.'
    + '<br>Internet hosting, programming and hand holding.</p>'
    + '</body></html>';
  this.Arw(out);}
//---------------------------------------------------------
function br_page_Page_Links() {
  var out="";
  if (this.page_prev) out+=' • <a href="' + this.page_prev + '">Prev</a>';
  if (this.page_next) out+=' • <a href="' + this.page_next + '">Next</a>';
  out='<a href="../main/about.htm">About</a>'
    + ' • <a href="../main/default.htm">Home</a>' + out;
  return out;}
//---------------------------------------------------------
function br_page_Page_Top() {
  this.Page_Top_Html_Begin(); // Html thru Body tag
  if (this.page_table_show) this.Page_Table_Begin();
  var out='<p class="' + this.style_links + '" align=right>'
    + this.Page_Links()
    + '</p>';
  out+='<a name="PAGETITLE"></a>';
  if (this.title!="") out+="<h2>" + this.title + "</h2>";
  this.Arw(out); 
  }
//---------------------------------------------------------
function br_page_Page_Table_Begin() {
  this.Arw('<table border=0 align=center class="'
    + this.style_table0 + '" cellspacing=0 cellpadding=5><tr><td>');}
//---------------------------------------------------------
function br_page_Page_Table_End() {this.Arw('</td></tr></table>');}
//---------------------------------------------------------
function br_page_Page_Top_Html_Begin() {
  var t=this.title_meta; if (!t) t=this.title; 
  if (this.title_suffix) t+=this.title_suffix; var t1=this.domain_text;
  if (!t1) t1=t; else if (t) t1+=" - " + t;
  var out='<html><head>';
  out+='<title>' + t1 + '</title>'; 
  out+='<link rel="StyleSheet" href="../page/page_styles.css" type="text/css">';
  if (this.meta_desc) out+='<meta name="description" content="' + this.meta_desc + '">';
  if (this.meta_keywords) out+='<meta name="keywords" content="' + this.meta_keywords + '">';
  out+='<meta name="author" content="Bronze Inc., www.bronz.com, webmaster@bronz.com">'
    + '<meta name="copyright" content="Copyright (c) 1997-present, by Bronze Inc. All rights reserved.">'
    + '</head><body ' + this.body_tag + '>';
  this.Arw(out);}
//---------------------------------------------------------
function br_page_Quote(text,author) {author=author || "";
  if (author) author="<br><i>&nbsp; - " + author + "</i>";  
  this.Arw('<blockquote>' + text + author + '</blockquote>');}
//---------------------------------------------------------
var page=new br_page_Class();
//---------------------------------------------------------

