function browser_name() {
		var browser_name = navigator.appName;
		return browser_name;
	}

	function browser_version() {
		var browser_version = parseFloat(navigator.appVersion);
		return browser_version;
	}

	function browser_os() {
		if(navigator.appVersion.indexOf("Win95") > 0) return "WIN95";
		else if(navigator.appVersion.indexOf("Win16") > 0) return "WIN31";
		else if(navigator.appVersion.indexOf("WinNT") > 0) return "NT";
		else if(navigator.appVersion.indexOf("Mac") > 0) return "MAC";
		else if(navigator.appVersion.indexOf("UNIX") > 0) return "UNIX";
		else return "UNKNOWN";
	}

var browserOk = false;

if (browser_name() == "Netscape" && browser_version() >= 3.0) browserOk = true;
else if (browser_name() == "Microsoft Internet Explorer" && browser_version() >= 3.0) browserOk = true;

function chg_button(titlename, onoff) 
{

 if (browserOk == true) {
		if (onoff == "on") {
			document[titlename].src = "images/button_" + titlename + "_on.gif"
		}
		else
		{
			document[titlename].src = "images/button_" + titlename + "_off.gif";
		}
	}
}

function chg_button_jpg(titlename, onoff) 
{

 if (browserOk == true) {
		if (onoff == "on") {
			document[titlename].src = "/images/button_" + titlename + "_on.jpg"
		}
		else
		{
			document[titlename].src = "/images/button_" + titlename + "_off.jpg";
		}
	}
}

function small_chg(titlename, onoff) 
{

 if (browserOk == true) {
		if (onoff == "on") {
			document[titlename].src = "/images/block_small_on.gif"
		}
		else
		{
			document[titlename].src = "/images/block_small_off.gif";
		}
	}
}

function home_chg(onoff) {

 if (browserOk == true) {
			document.home.src = "/images/button_home_" + onoff + ".gif";
	}
}


function chg_tab(titlename, onoff) 
{

 if (browserOk == true) {
		if (onoff == "on") {
			document[titlename].src = "/images/tab_" + titlename + "_on.gif"
		}
		else
		{
			document[titlename].src = "/images/tab_" + titlename + "_off.gif";
		}
	}
}

function makeArray(n){
  this.length = n;
  for (i=1;i<=n;i++){
    this[i]=0;
  }
  return this;
}

function displayDate() {
  var this_month = new makeArray(12);
    this_month[0]  = "January";
    this_month[1]  = "February";
    this_month[2]  = "March";
    this_month[3]  = "April";
    this_month[4]  = "May";
    this_month[5]  = "June";
    this_month[6]  = "July";
    this_month[7]  = "August";
    this_month[8]  = "September";
    this_month[9]  = "October";
    this_month[10] = "November";
    this_month[11] = "December";
  var today = new Date();
  var day   = today.getDate();
  var month = today.getMonth();
  var year  = today.getFullYear();
  document.write(this_month[month]+" "+day+", "+year);
}

function open_image (imagefile) {

date = new Date();
counter = Math.floor((date.getSeconds()/60)*100);


	new_window = window.open (imagefile,"a" + counter + "a","width=640,height=450,toolbar=no,location=no,scrollbars=yes,directories=no,menubar=no,resizable=yes");
}


function open_map (mapfile) {

date = new Date();
counter = Math.floor((date.getSeconds()/60)*100);


	new_window = window.open (mapfile,"a" + counter + "a","width=475,height=375,toolbar=yes,location=no,scrollbars=no,directories=no,menubar=yes,resizable=yes");
}

function open_hint() {

	date = new Date();
	if (Math.floor(date.getSeconds()) < 31) {
		location.href="hint_aboveline.htm";
	}
	else
	{
		location.href="hint_layering.htm";
	}
}


function Left(str, n) {

	if (n <= 0)    
		return "";
	else if (n > String(str).length)  
		return str;             
	else 
		return String(str).substring(0,n);
}


function Right(str, n) {
         
    if (n <= 0)     
        return "";
    else if (n > String(str).length)  
		return str;                   
	else { 
		var iLen = String(str).length;
		return String(str).substring(iLen, iLen - n);
	}
}


function insert_quote (shifter) {
	var quote = new Array ();
	var author = new Array ();

// begin quote & author definitions

	counter = 0;

	quote[counter] = "This is an excellent, well managed, well taught course that opened up my interest in reading.  I would recommend this course for anyone without any reservation.";
	author[counter] = "Ram Ananth, Sr. Principal, Oracle Corp.";
	counter++;
	
	quote[counter] = "The course was very good and met my expectations completely.  You did a nice job of connecting to both students and business managers.";
	author[counter] = "Keith Johnson, Marketing Mgr., Procter & Gamble";
	counter++;
	
	quote[counter] = "The class made me realize there are many ways to read.  I will be able to read more and be more effective by choosing which way I want to read.";
	author[counter] = "Yossy Zylberberg, COO, Scitex Digital Printing";
	counter++;
	
	quote[counter] = "This course has given me the ability to read at an unbelievable pace.  The comprehension increase was most shocking to me.";
	author[counter] = "Joseph Zingale, Sr. Loan officer, Heartland Home Finance";
	counter++;
	
	quote[counter] = "I wish I took this course 20 years ago.  This course will benefit me throughout my career.";
	author[counter] = "Bill Dionne, Special Agent, DEA";
	counter++;
	
	quote[counter] = "I am truly amazed at my progress in 3 days.  I've taken many training classes and this one is by far, one of the best I've taken.  Thank-you!";
	author[counter] = "Joe Grasso, Applications Engineer";
	counter++;
	
	quote[counter] = "This session has been extremely helpful...Thank You!.";
	author[counter] = "Rachelle Raymond, Kennel Technician, Petlovers Animal Hospital";
	counter++;
	
	quote[counter] = "It was well worth it! I would recommend that ALL management level staff take this course!.";
	author[counter] = "Don Fahle, Manager, OCLC";
	counter++;
	
	quote[counter] = "I found the training enormously effective and well worth every penny. I use it daily in both my consulting work and in my position as a Professor of Communications at Ohio State University.";
	author[counter] = "Dr. Brenda Dervin, Sense-Making, Inc and Ohio State University";
	counter++;
	
	quote[counter] = "This has been the best learning course ever.  The outcome far exceeds the time and money invested.  Every aspect of this course will help me out greatly for my life-time learning.";
	author[counter] = "Young-Mi Pruden";
	counter++;
	
	quote[counter] = "I really enjoyed this class. Speedreading is very helpful and I enjoyed seeing my speed increase as well as my comprehension.  Thank you.";
	author[counter] = "Tarah King, 10th grade, Worthington Christian H.S.";
	counter++;
	
	quote[counter] = "I think this is a very worthwhile class and I learned a great deal from it. I think it has helped me prepare myself for the extra reading in college.  Thank you.”";
	author[counter] = "Nick Sellers, OSU";
	counter++;
	
	quote[counter] = "Not only did I greatly improve my speed, I also had fun.  Now, I will want to do a lot more reading, because it will be much easier.";
	author[counter] = "Graham Roese, 8th grade, Pickerington Ridgeview JH";
	counter++;
	
	quote[counter] = "I think this course will be very helpful for me in high school with required reading. With speedreading I will be able to read required things faster and be able to read things I want to read.";
	author[counter] = "Clare Webb, 9th grade, Columbus Alternative HS";
	counter++;
	
quote[counter] = "I'm still amazed that my wpm is well over 2000 words.  This class will insure that my future CPA preparation time is very structured and effective.  Your functional training will improve my personal and professional life.";
author[counter] = "Andre L.,  DFAS";
counter++;

quote[counter] = "The class was Amazing.  I increased my reading speed over 12 times.  I feel that coming from Michigan was worth it.  Thanks so much Bonnie!  I really appreciate you teaching me.";
author[counter] = "Julie X., Northville MI HS freshman";
counter++;

quote[counter] = "This course was outstanding, not only a variety of techniques for a variety of applications but a new and better way of thinking.  I have been a slow reader my entire life and will definitely use and benefit from the class now but wish I would have had this prior to high school and college.";
author[counter] = "Brad N., Focal Point Coaching";
counter++;

quote[counter] = "I loved it!  One of the best experiences in a classroom.  Love the above the line technique and the curve down a wide page.";
author[counter] = "Byron H., HS Sr. Thomas Worthington";
counter++;

quote[counter] = "This is the most useful and practical course I have ever had, bar none!";
author[counter] = "Eric B., Air Force Research Lab";
counter++;

quote[counter] = "Excellent class that will help with all reading. ...First thing I plan to do is read a book this weekend--something I haven't done in years!";
author[counter] = "Celeste C., Nationwide";
counter++;

quote[counter] = "Was able to read faster.  Good course.  Good Instructor.  I will be able to use these skills everyday.";
author[counter] = "Nirodh J., Nationwide";
counter++;

quote[counter] = "Very useful, I will take back many of the tools used and taught during class.";
author[counter] = "Bridgette M., Nationwide";
counter++;

quote[counter] = "Lots of wonderful pointers to read, absorb in shorter period of time.";
author[counter] = "Noreen S., Van Wert Manor";
counter++;

quote[counter] = "I'm in grad school and have much to read and not enough time o read it.  This will help tremendously!";
author[counter] = "Stacy A., Mt.  Aloysius";
counter++;

quote[counter] = "Incredible.";
author[counter] = "Laura, Real Living";
counter++;

quote[counter] = "Increased my ability and desire to trust myself--Already was aware of many strategies but did not trust my comprehension to use them.";
author[counter] = "Carolyn Z.";
counter++;

quote[counter] = "I learned to organize and focus when reading journals, magazines, etc. I home school my daughter--this will help me help here in her studies, how to read and study the material.";
author[counter] = "Jane B.";
counter++;

quote[counter] = "Wonderful techniques & new ways to do & think about reading. Could go on all day.";
author[counter] = "Siobhan C.";
counter++;

quote[counter] = "Broke down speed reading to take away the mystique of it.";
author[counter] = "Claudia K.";
counter++;

quote[counter] = "The most simple and straight-forward techniques were presented.  I struggled with reading fast because I'm always tempted to be bogged down by the details.  These strategies help keep me focused on 'staying on tract' easier.";
author[counter] = "Sharmine L.";
counter++;
	
	quote[counter] = "I feel so confident about my reading skills now.  I think it's great how I can now read and comprehend book so fast that I don't have time to think about anything else.";
	author[counter] = "Ryan Pederson, Westerville North HS";

// end quote & author definitions

	date = new Date();
	pick_quote=Math.floor((date.getSeconds()/60)*quote.length);
	
	pick_quote = pick_quote + shifter;
	if (pick_quote > quote.length) { pick_quote=pick_quote - quote.length }
	
	quote_short = quote[pick_quote];
//	quote_short = Left(quote_short,100);
	
		
//	while (Right(quote_short,1) != ".") {
//		quote_short = Left(quote_short, quote_short.length-1);
//	}

//	quote_short = Left(quote_short, quote_short.length-1);
	

	document.write("<a href='/testimonials.htm' style='text-decoration: none;'><font color='#BA0717'>&quot;" + quote_short + "...&quot;</font><br><i>- " + author[pick_quote] + "</i></a>");
}


