<!--   Opening "comment" tag ( hide script from old browsers )

// JavaScript Document



function row1Col1_header(){

  document.write('<span class="hdr1_1">' + "L e e" + "</span>");

  document.write('<div class="hdr1_2">' + "Personalized" + "</div>");

} // *****************  End of row1Col1_header()   ******************* 



function row1Col2_header(){

  document.write('<span class="hdr2_1">' + "T a y l o r" + "</span>");

  document.write('<span class="hdr2_1Colon">' + " : :" + "</span>");

  document.write('<div class="hdr2_2">' + "Therapeutic Exercise Training" + "</div>");

} // *****************  End of row1Col2_header()   ******************* 



function row1Col3_header(){

  document.write("<br />");

  /* document.write('<span class="hdr1_3">' + "Taylor-Made Programs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + "</span>"); */

  document.write('<span class="hdr1_3a">' + "Innovative Approaches to Developing &amp; Maintaining Fitness" + "</span>");

  document.write('<div class="hdr1_3">' + "Designed for Baby Boomers &amp; Beyond" + "</div>");

} // *****************  End of row1Col3_header()   ******************* 



function row1Col4_header(){

  document.write('<div class="hdr1_4">' + '<img src="Balance.gif" width="60" height="45" alt="Yin-Yang symbol">' + "</div>");

} // *****************  End of row1Col4_header()   ******************* 



function row2Col1_menu( hiLite ){

	// ***************************  start menu *********************************************

var testHiLite = "";

var menu;

menuTrailer = new Array();

menuTrailer[00] = ' href="index.html" title="Lee\'s Home Page">Home</a><br />';
menuTrailer[01] = ' href="exercise_techniques.html" title="Various techniques using Pilates with Gym Ball & Bands"> Techniques</a><br />'; 
menuTrailer[02] = ' href="pilates.html" title="Pilates essentials explained">Pilates</a><br />';
menuTrailer[03] = ' href="muscle_ball_release.html" title="Utilizing PNF, Isolated-active release, etc.">Muscle Release</a><br />';
menuTrailer[04] = ' href="gym_balls.html" title="Get on the (Gym) Ball">Gym Balls</a><br />';
menuTrailer[05] = ' href="resistance_bands.html" title="Power of Elastic Bands">Resistance Bands</a><br />';
menuTrailer[06] = ' href="tai_chi.html" title="Relaxation thru Movement">T\'ai Chi</a><br />';
menuTrailer[07] = ' href="personalized_exercise_trainer.html" title="Lee\'s background">Bio</a><br />';
menuTrailer[08] = ' href="classes.html" title="Classes offered">Classes</a><br />';
menuTrailer[09] = 'href="frequently_asked_questions.html" title="Frequently Asked Questions">FAQ</a><br />'; 
menuTrailer[10] = ' href="testimonials.html" title="What clients are saying">Testimonials</a><br />';
menuTrailer[11] = ' href="exercise_classes.html" title="Rates for various Exercise Levels">Rates</a><br />';
menuTrailer[12] = ' href="albany_hill_health_center.html" title="View MAP where we\'re located">Location</a><br />';

var menuTrailerLength = menuTrailer.length;

for ( i=0; i < menuTrailerLength; i++ ) {

  if ( i == hiLite ) {

	 menu = '<a id="currentPage"' + menuTrailer[i];

  } else {

	  menu = '<a id=""' + menuTrailer[i];

  }

  // alert( "i=" + i + "; hiLite=" + hiLite + "; " + menu );

  document.write( menu + "\n" );

}



  getEmailAddress();  

} // *****************  End of row2Col1_menu()   ******************* 



function row3Col1_footer(){

document.write('<div id="eXTReMe">'); 

  document.write('<a href="http://extremetracking.com/open?login=papilee">');

  document.write('<img src="http://t1.extreme-dm.com/i.gif" style="border: 0;"');

   document.write('height="38" width="41" id="EXim" alt="eXTReMe Tracker" /></a>');



   var EXlogin='papilee' // Login

   var EXvsrv='s11' // VServer

   EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?

   EXb=EXs.colorDepth:EXb=EXs.pixelDepth;EXsrc="src";

   navigator.javaEnabled()==1?EXjv="y":EXjv="n";

   EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";

   EXd.write("<img "+EXsrc+"=http://e2.extreme-dm.com",

     "/"+EXvsrv+".g?login="+EXlogin+"&amp;",

   "jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;",

     "l="+escape(EXd.referrer)+" height=1 width=1>");//-->



  document.write('<noscript>');

  document.write('<div id="neXTReMe"><img height="1" width="1" alt=""');

  document.write('src="http://e2.extreme-dm.com/s11.g?login=papilee&amp;j=n&amp;jv=n" />');

  document.write('</div>');

  document.write('</noscript>');

  document.write('</div> <!-- **** <div id="eXTReMe"> **** -->');

} // *****************  End of row3Col2_footer()   ******************* 



function row3Col2_footer(){
// ***********************************************************************************/
// *** 03/06/10 - Keep "Footer" colors separate because of different backgrounds *** */
// ***********************************************************************************/

  var footer1 = '&copy; 2003-2010 Lee Taylor. All Rights Reserved.&nbsp;&nbsp;&nbsp;';
  // var footer2 = 'Last modified: ' + document.lastModified; 03/02/10 
  var footer2 = ' ';
  var footer3 = 'San Francisco - East Bay; Phone: (510) 385-0100; ';
  var contact = "<em>E-mail</em>";
  var email = "lee";
  var emailHost = "leetaylor.net";
  var tmp = "<a href=" + "mail" + "to:"; 
  tmp += email + "@" + emailHost + ">" + contact;
  tmp += "<" + "/a" + ">"; 
  footer3 = footer3 + tmp;
  // alert( footer3 );
  
  document.write('<div id="footer3_2">');
  document.write('<div class="hdr3_2a">' + footer1 + footer2 + "</div>");
  document.write('<div class="hdr3_2b">' + footer3 + "</div>");
  document.write('</div>');
  
} // *****************  End of row3Col2_footer()   ******************* 



function getEmailAddress(){

  //

  // *************************************************************************************

  // ***************************  start Hide Email Addresses With JavaScript *************

  // *************************************************************************************

  // Comments: This function tells a user's browser to insert text or HTML into the page 

  //           as it displays. That text can be used do just about anything without any 

  //           visible distinction from the actual HTML or text saved on the server.
  
  var contact = "Email";
  var email = "lee";
  var emailHost = "leetaylor.net";
  var tmp = "<a href=" + "mail" + "to:"; 
  tmp += email + "@" + emailHost + ">" + contact;
  tmp += "<" + "/a" + ">"; 
  // alert( tmp );
  // document.write("To <a href=" + "mail" + "to:" + email + "@" + emailHost + ">" + contact + "</a>");

  document.write( tmp );

  // ***************************  end Hide Email Addresses With JavaScript ***************

} // *****************  End of getEmailAddress()   ******************* 



function barGraph(pct){

  document.write("<div style='width:515px'>")

  document.write("<div style='font-size:10pt;'>"+

  "........1.........2.........3.........4.........5.........6.........7.........8.........9.........0</div>")

  document.write("<div style='font-size:8pt;background-color:skyblue;width:"+

  pct+"%;height:14px;position:relative;top:-4px'></div>")

  document.write("</div>")

} // *****************  End of barGraph(pct)   ******************* 





// ************** Begin The "onerror" Event 03/06/2008  ******************** 

// ************************************************************************ 

onerror=handleErr

var txt=""



/*

To use the onerror event, create a function to handle the errors. 

Then you call the function with the "onerror" event handler. 

The event handler is called with three arguments: 

  (1) msg (error message); 

  (2) url (the url of the page that caused the error); and 

  (3) line (the line where the error occurred).

*/

function handleErr(msg, url, line) {

   txt="There was an error on this page.\n\n"

   txt+="Error: " + msg + "\n"

   txt+="URL: " + url + "\n"

   txt+="Line: " + line + "\n\n"

   txt+="Click OK to continue.\n\n"

   alert(txt)

   return true

}

// ************** End The "onerror" Event 03/06/2008  ******************** 



// Closing "comment" tag ( end hiding script from old browsers ) -->

