function banner(){
  document.writeln( '\
<center>\
<table align=center cellpadding=2 width=90% bgcolor=slateblue border=1 bordercolor=white><b>' ) ;
document.writeln( '<tr>' ) ;
banner_entry( 'PCI.html',       'Pueblo Canyon Inn' ) ;
banner_entry( 'PCG.html',       'Pueblo Canyon Gallery' ) ;
banner_entry( 'renntal.html',    'Bahamas House' ) ;
document.writeln( '<tr>' ) ;
banner_entry( 'jndex.html',     'Psychological Services' ) ;
banner_entry( 'books.html',     'Psychology Books &amp; Tapes' ) ;
banner_entry( 'trauma.html',    'Disorders' ) ;
document.writeln( '<tr>' ) ;
banner_entry( 'resources.html', 'Resources' ) ;
banner_entry( 'refer.html',     'References' ) ;
banner_entry( 'orders.html',    'Reservations & Ordering', 'yellow', 'red' ) ;
document.writeln( '</b></table></center>' ) ;
} ;

function banner_entry( hr, tx, bg, fg ){
  if ( bg == null ) bg = 'slateblue' ;
  if ( fg == null ) fg = 'white' ;
  document.writeln( '<td width=33% align=center bgcolor=', bg, '><a href="', hr,
 '"><font size=2 face=sans-serif color=', fg, '>', tx, '</font></a></td>' ) ;
} ;



function xbanner(){
  document.writeln( '\
<center>\
<table align=center cellpadding=3 width=90% bgcolor=blue border=1 bordercolor=white>\
<b>\
<tr>\
<a href=PCI.html><td width=33% align=center><font size=2 face=sans-serif color=white>Pueblo Canyon Inn</td></a>\
<a href=PCG.html><td width=33% align=center><font size=2 face=sans-serif color=white>Pueblo Canyon Gallery</td></a>\
<a href=rental.html><td width=33% align=center><font size=2 face=sans-serif color=white>Bahamas House</td></a>\
<tr>\
<a href=jndex.html><td width=33% align=center><font size=2 face=sans-serif color=white>Psychological Services</font></td></a>\
<a href=books.html><td width=33% align=center><font size=2 face=sans-serif color=white>Psychology Books &amp; Tapes</font></td></a>\
<a href=trauma.html><td width=33% align=center><font size=2 face=sans-serif color=white>Disorders</font></td></a>\
<tr>\
<a href=resources.html><td width=33% align=center><font size=2 face=sans-serif color=white>Resources</font></td></a>\
<a href=refer.html><td width=33% align=center><font size=2 face=sans-serif color=white>References</font></td></a>\
<a href=orders.html><td width=33% bgcolor=yellow align=center><font size=2 face=sans-serif color=red>Reservations & Ordering</font></td></a>\
</b></table></center>' ) ;
} ;

function banner_css(){
  var bnr = '<TABLE ALIGN=CENTER xCELLPADDING=2 BORDER=0 cellspacing=0 WIDTH=90% ><TR>' ;
  bnr += banner_content( 'PCI.html', 'Pueblo Canyon Inn' ) ;
//  bnr += banner_content( 'PCG.html', 'Pueblo Canyon Gallery' ) ;
  bnr += banner_content( '', ' ' ) ;
  bnr += banner_content( 'rental.html', 'Bahamas House' ) ;
  bnr += '<tr>' ;
  bnr += banner_content( 'jndex.html', 'Psychological Services' ) ;
  bnr += banner_content( 'books.html', 'Psychology Books & Tapes' ) ;
  bnr += banner_content( 'trauma.html', 'Disorders' ) ;
  bnr += '<tr>' ;
  bnr += banner_content( 'resources.html', 'Resources' ) ;
  bnr += banner_content( 'refer.html', 'References' ) ;
  bnr += banner_content( 'orders.html', 'Reservations &#038; Ordering' ) ;
  bnr += '</TR></TABLE>'  ;
  document.writeln( bnr ) ;
} ;

function me() {
  var here = document.location.pathname ;
  parts = new Array ;
  parts = document.location.pathname.split( "/" ) ;
  parts.reverse() ;
  return parts[0] ;
} ;

function banner_content( page, text ) {
  my_page = me() ;
  if ( page == 'orders.html') cls = 'banner2' ;
  else cls = 'banner1' ;
  if ( my_page != page )
    ret = '<span class=' + cls + '><A HREF=' + page + '><TD width=33%>' + text + '</TD></A></span>' ;
  else ret = '<span class=' + cls + '><td width=33%>&nbsp;</span>' ;
  return ret ;
}

function banner_2(){
  document.writeln( '\
<TABLE ALIGN=CENTER CELLPADDING=2 BORDER=1 WIDTH=90% >\
<span class=banner1><TR>\
<A HREF=PCI.html><TD>Pueblo Canyon Inn</TD></A>\
<A HREF=PCG.html><TD>Pueblo Canyon Gallery</TD></A>\
<A HREF=rental.html><TD>Bahamas House</TD></A>\
<TR><A HREF=jndex.html><TD>Psychological Services</TD></A>\
<A HREF=books.html><TD>Psychology Books & Tapes</TD></A>\
<A HREF=trauma.html><TD>Disorders</TD></A>\
<TR><A HREF=resources.html><TD>Resources</TD></A>\
<A HREF=refer.html><TD>References</TD></A>\
<span class=banner2><A HREF=orders.html><TD>Reservations &#038; Ordering</TD></A></span></TR></span></TABLE>' ) ;
} ;

function banner_save(){
  document.writeln( '\
<TABLE ALIGN=CENTER CELLPADDING=2 BORDER=1 WIDTH=90% >\
<TR><span class=banner1>\
<A HREF=PCI.html><TD>Pueblo Canyon Inn</TD></A>\
<A HREF=PCG.html><TD>Pueblo Canyon Gallery</TD></A>\
<A HREF=rental.html><TD>Bahamas House</TD></A>\
<A HREF=jndex.html><TD>Psychological Services</TD></A>\
<A HREF=books.html><TD>Psychology<br>Books & Tapes</TD></A>\
<A HREF=trauma.html><TD>Disorders</TD></A>\
<A HREF=resources.html><TD>Resources</TD></A>\
<A HREF=refer.html><TD>References</TD></A></span>\
<span class=banner2><A HREF=orders.html><TD>Reservations<br>&#038; Ordering</TD></A></span></TR></TABLE>' ) ;
} ;

function include_css( ) {
  document.writeln( '<LINK HREF=includes/a.css REL=stylesheet TYPE="text/css">' ) ;
} ;

function hr1( ) {
  document.writeln( '<hr size=5 width=80% xcolor=CEE7F7 color=slateblue>' ) ;
} ;

function body_line( ) {
  document.writeln( '<BODY xbgcolor=f0ffff link="#5A849C" vlink="#5A849C" alink="#5A849C" >' ) ;
}

function big_let( let ) {
   document.writeln( '<font size=7 face=script>' + let + '</font>' ) ;
} ;

function xstandard_top( top ) {
  body_line( ) ;
  document.writeln( '<center>\
</a><a href=index.html><img src=banner.gif width=606 height=52 border=0></a>\
</center>' ) ;
  if ( top != null ) document.writeln( top, '<br>' ) ;
  banner() ;
  document.writeln( '<p>' ) ;
   hr1( ) ;
  } ;
  
function standard_top( top ) {
  body_line( ) ;
  document.writeln( '<center>\
</a>\
<table border=0 >\
<tr>\
<a href=index.html>\
<td background=banner2.gif valign=middle align=left width=606 height=52>\
<font size=6 face="textile,cursive" color=#5a849c>&nbsp;liferesources.com</font>\
</td></tr></a></table>\
</center>' ) ;
  if ( top != null ) document.writeln( top, '<br>' ) ;
  banner() ;
  document.writeln( '<p>' ) ;
   hr1( ) ;
  } ;
  
function Color( type ) {
  if ( type == 'text' ) return 'slateblue' ;
  if ( type == 'bg' ) return 'f0ffff' ;
  if ( type == 'tabletext' ) return 'white' ;
} ;
  
  
function table_override( format, href, text ) {
    document.writeln( '<a href="', href, '">' ) ;
  if ( format == 1 ) {
    document.writeln( '<font face="Times New Roman, Times, serif" size=3><b>',
      text, '</b/></font>' ) ;
  } ;
  if ( format == 2 ) {
    document.writeln( '<font face="Times New Roman, Times, serif" size=4 color=5A849C><b>',
      text, '</b></font>' ) ;
  } ;
    document.writeln( '</a>' ) ;
} ;


function causes( ) {
  document.writeln( '\
<span class=disorders><a href=trauma.html>Abuse</a><br>\
<a href=addict.html>Addiction</a><br>\
<a href=addict.html>Compulsive<br>&nbsp;Behavior</a><br>\
<a href=depress.html>Depression<br>&nbsp;&amp; Grief</a><br>\
<a href=trauma.html>Divorce</a><br>\
<a href=eat.html>Eating<br>&nbsp;Disorders</a><br>\
<a href=family.html>Family<br>&nbsp;Systems</a><br>\
<a href=self.html>Identity</a><br>\
<a href=trauma.html>Loss</a><br>\
<a href=parent.html>Parenting<br>&nbsp;&amp; Family</a><br>\
<a href=relate.html>Relationships<br>&nbsp;&amp; Intimacy</a><br>\
<a href=recover.html>Recovery<br>&nbsp;&amp; Sprituality</a><br>\
<a href=self.html>Self-esteem</a><br>\
<a href=stress.html>Stress</a><br>\
<a href=trauma.html>Trauma</a><br>\
</span>\
<font size="2"><br><br>\
<i>Help for any of these conditions is only a mouse-click away. See what \
the experts have to say about these issues.</i></font>' ) ;
} ;

function gallery_entry( fn, as, ti, ar, sz, pr ){
  var wd = 100 ;
  var ht = wd * as ;
  document.writeln( '<TD ALIGN=CENTER VALIGN=BOTTOM><A HREF="', fn,
'.html" target=new ><IMG SRC="gallery/', fn, '.JPG" WIDTH=', wd, ' HEIGHT=', ht,
'></A><FONT SIZE=-1><BR>', ti, '<br>', ar, '<br>', sz, '</FONT></TD>' ) ;
} ;

function gallery_enlarge( fn, as, ti, ar ){
  var wd = 500 ;
  var ht = wd * as ;
  document.writeln( '<TITLE>', ti,
    '</TITLE></HEAD><BODY><CENTER><FONT SIZE=+3 COLOR=green>', ti,
    '<BR></FONT><IMG SRC="gallery/', fn, '.JPG" WIDTH=', wd, ' HEIGHT=', ht,
    '<FONT SIZE=+2><BR>', ar, '</FONT></CENTER></BODY></HTML>' ) ;
} ;

function sig_line(){
   hr1() ; document.writeln( '<p><font size=2 xcolor=1A849C color=purple>\
   &#169 2001 Kellogg Enterprises<br>\
Terry Kellogg, CCDP, M.A. and<br>\
Marvel Harrison Kellogg, R.D., Ph. D.<BR>\
199 San Ildefonso<BR>\
Los Alamos, NM  87544<BR>\
(505) 662-9200 Phone<br>(505) 662-4044 FAX<br>\
<table border=0 cellpadding=0 cellspacing=0>\
<tr><td ><a href=http://www.liferesources.com><font color=blue size=2><i>www.liferesources.com</a><td>&nbsp;<td><font xcolor=1A849C color=slateblue size=2>web<br>\
<tr><td ><a href="mailto:marvel@liferesources.com"><font color=blue size=2><i>marvel@liferesources.com</a><td>&nbsp;<td><font xcolor=1A849C color=slateblue size=2>email<br>\
<tr><td ><a href="mailto:terry@liferesources.com"><font color=blue size=2><i>terry@liferesources.com</a><td>&nbsp;<td><font xcolor=1A849C color=slateblue size=2>email</table></span>\
', softwire_blurb() ) ;
} ;

function softwire_blurb(){
  var outside_border_color = 'black' ;
  var inside_border_color = 'orange' ;
  var cell_bg_color = 'navajowhite' ;
  var font_color = 'black' ;
  return '\
<table align=right valign=bottom cellpadding=2 border=1 bgcolor=' + inside_border_color + ' bordercolor=' + outside_border_color + ' hspace=0>\
<tr>\
<td align=middle bgcolor=' + cell_bg_color + '>\
<a href=http://www.softwireservices.com/softwire/ title="Visit Softwire\'s site" target=softwire onmouseover="status=\'Visit Softwire\';return true;" onmouseout="status=\'\';return true;">\
<font face=sans-serif color=' + font_color + ' size=1>Web design by<br><font size=2><b>Softwire</b></font></font></a></table>\
' ;
} ;

function bullet_tbl_href( href, words, book ){
  table_override( 1, href, '&nbsp; &#149; ' + words ) ;
  if( book != null ) {
    document.writeln( '\
<br>&nbsp; &nbsp; <i><b>', book, '</b></i>' ) ;
  } ;
} ;

function bullet_tbl_href_3( h1, w1, h2, b ) {
  bullet_tbl_href( h1, w1 ) ;
  document.writeln( '<br>' ) ;
  bullet_tbl_href( h2, 'Table of Contents and section from book', b ) ;
  document.writeln( '<p>' ) ;
  bullet_tbl_href( 'orders.html', 'Order Now' ) ;
} ;

function MarvelNote_entry( pic, title, quote, book ) {
  document.writeln( '\
<td width=305 valign=top height=220>\
<center><img src=', pic, ' width=272 height=177><br>\
<b><font color=\"#527CDE\">', title, '</font></b></center><i>\"', quote, '\"</i><br>\
<b>&#150;', book, '</b><br><br>\
</td>' ) ;
} ;

function enter_entry( href, title, pic, text ) {
  document.writeln( '\
<td valign=top>\
<center><font face=textile><b><br>', title, '</b></font><p>\
<a href=', href, '><img src=', pic, ' height=200 width=300></a><br>\
</center>', text,
'</td>') ;
} ;

function programs( ){
  document.writeln( "\
<p><i><b><u>Programs:</i></u></b><br>\
<table xborder=1>\
  <tr><td>Kellogg's LifeWorks&#153;<br>\
  Kellogg's LifeWorks&#153;<br>\
  Intensives\
  <td>&nbsp;\
  <td><b>Anacapa Hospital<br>\
   Other locations across the U.S.A<br>\
   Anacapa Hospital<br>\
</table>\
<p><table xborder=1 width=85%><tr><td>Terry Kellogg and Marvel Harrison Kellogg are also available to host \
Kellogg's LifeWorks&#153; or other special programs for corporations, \
hospitals, families, couples and individuals in Los Alamos, NM and the Bahamas.</table>" ) ;
} ;
  
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
  if (browserName == "Netscape" && browserVer >= 3) version = "n3";
  else version = "n2";
if (version == "n3") 
{ 
// on images
img1on = new Image ;
img1on.src = "hoon.gif";
img2on = new Image;
img2on.src = "proon.gif";
img3on = new Image;
img3on.src = "boon.gif";
img4on = new Image;
img4on.src = "dion.gif"
img5on = new Image;
img5on.src = "oreson.gif";
img6on = new Image;
img6on.src = "rron.gif";
img7on = new Image;
img7on.src = "orefon.gif";
img8on = new Image;
img8on.src = "oron.gif";

//off images
img1off = new Image;
img1off.src = "hooff.gif";
img2off = new Image;
img2off.src = "prooff.gif";
img3off = new Image;
img3off.src = "booff.gif";
img4off = new Image;
img4off.src = "dioff.gif";
img5off = new Image;
img5off.src = "oresoff.gif";
img6off = new Image;
img6off.src = "rroff.gif";
img7off = new Image;
img7off.src = "orefoff.gif";
img8off = new Image;
img8off.src = "oroff.gif";}


function img_act(imgName)
{
if (version == "n3")
{
imgOn = eval (imgName+"on.src");
document [imgName].src = imgOn;
}
}

function img_inact(imgName)
{
if (version=="n3")
{
imgOff=eval(imgName+"off.src");
document [imgName].src=imgOff;
}
}

<!--
function MM_goToURL() { //v1.2
  for (var i=0; i< (MM_goToURL.arguments.length - 1); i+=2) //with arg pairs
    eval(MM_goToURL.arguments[i]+".location='"+MM_goToURL.arguments[i+1]+"'");
  document.MM_returnValue = false;
}
//-->
