//©Xara Ltd
var clicked="";
var gtype=".png";
var selstate="_over";
if (typeof(loc)=="undefined" || loc==""){var loc="";
if (document.body&&document.body.innerHTML){var tt=document.body.innerHTML;
var ml=tt.match(/["']([^'"]*)quotes.js["']/i);
if(ml && ml.length > 1) loc=ml[1];
}}document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");
document.write("<td><img src=\""+loc+"quotes_top"+gtype+"\" alt=\"\" width=\"187\" height=\"22\"></td>");
tr(false);
// make line 12 and line 13 into one line get RID OF THE CARRAGE RETURN BAD CODE FROM THE REPLACE ALL
// original LINE 12 was        			writeButton("","javascript:;
//original LINE 13 WAS          		","iching_b1",165,25,"","",0);
// change COMBINED LINES TO ONE LINE  	writeButton("","","iching_b1",165,25,"","",0);
// change COMBINED LINES FROM  writeButton("","javascript:;","yo_b1",139,25,"","",0);
// change COMBINED LINES TO  writeButton("","","yo_b1",139,25,"","",0);  REMOVE  "javascript:;"  BUT KEEP THE DOUBLE QUOTES ===  writeButton("","","yo_b1",139,25,"","",0);
writeButton("","","quotes_b1",187,25,"","",0);
writeButton(loc+"","../quotes01.shtml","quotes_b2",187,25,"1 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes02.shtml","quotes_b3",187,25,"2 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes03.shtml","quotes_b4",187,25,"3 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes04.shtml","quotes_b5",187,25,"4 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes05.shtml","quotes_b6",187,25,"5 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes06.shtml","quotes_b7",187,25,"6 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes07.shtml","quotes_b8",187,25,"7 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes08.shtml","quotes_b9",187,25,"8 ~ Quotes","_parent",0);
writeButton(loc+"","../quotes09.shtml","quotes_b10",187,25,"9 ~ Marcus Aurelius","_parent",0);
writeButton(loc+"","../quotes10.shtml","quotes_b11",187,25,"10 ~ Buddha","_parent",0);
writeButton(loc+"","../quotes11.shtml","quotes_b12",187,25,"11 ~  Rumi","_parent",0);
writeButton(loc+"","../quotes12.shtml","quotes_b13",187,25,"12 ~ Kahlil Gibran","_parent",0);
writeButton(loc+"","../quotes13.shtml","quotes_b14",187,25,"13  ~ Confucius","_parent",0);
writeButton(loc+"","../quotes14.shtml","quotes_b15",187,25,"14 ~ Robert Frost","_parent",0);
writeButton(loc+"","../quotes15.shtml","quotes_b16",187,25,"15 ~ William Shakespeare","_parent",0);
writeButton(loc+"","../quotes16.shtml","quotes_b17",187,25,"16  ~ Warren Buffett","_parent",0);
writeButton(loc+"","../quotes17.shtml","quotes_b18",187,25,"17  ~ Thomas Jefferson","_parent",0);
writeButton(loc+"","../quotes18.shtml","quotes_b19",187,25,"18 ~ Richard Bach","_parent",0);
writeButton(loc+"","../quotes19.shtml","quotes_b20",187,25,"19 ~ Theodore Roosevelt","_parent",0);
writeButton(loc+"","../quotes20.shtml","quotes_b21",187,25,"20 ~ Ralph Waldo Emerson","_parent",0);
writeButton(loc+"","../quotes21.shtml","quotes_b22",187,25,"21 ~ Oscar Wilde","_parent",0);
writeButton(loc+"","../quotes22.shtml","quotes_b23",187,25,"22 ~ Mother Teresa","_parent",0);
writeButton(loc+"","../quotes23.shtml","quotes_b24",187,25,"23 ~ Nelson Mandela","_parent",0);
writeButton(loc+"","../quotes24.shtml","quotes_b25",187,25,"24 ~ Maya Angelou","_parent",0);
writeButton(loc+"","../quotes25.shtml","quotes_b26",187,25,"25 ~ Mark Twain","_parent",0);
writeButton(loc+"","../quotes26.shtml","quotes_b27",187,25,"26 ~ Niccolo Machiavelli","_parent",0);
writeButton(loc+"","../quotes27.shtml","quotes_b28",187,25,"27 ~ Malcolm Forbes","_parent",0);
writeButton(loc+"","../quotes28.shtml","quotes_b29",187,25,"28 ~ Leonardo da Vinci","_parent",0);
writeButton(loc+"","../quotes29.shtml","quotes_b30",187,25,"29 ~ Henry David Thoreau","_parent",0);
writeButton(loc+"","../quotes30.shtml","quotes_b31",187,25,"30 ~ George Washington","_parent",0);
writeButton(loc+"","../quotes31.shtml","quotes_b32",187,25,"31 ~ George Bernard Shaw","_parent",0);
writeButton(loc+"","../quotes32.shtml","quotes_b33",187,25,"32 ~ Dalai Lama","_parent",0);
writeButton(loc+"","../quotes33.shtml","quotes_b34",187,25,"33 ~ Benjamin Franklin","_parent",0);
writeButton(loc+"","../quotes34.shtml","quotes_b35",187,25,"34 ~ Albert Einstein","_parent",0);
writeButton(loc+"","../quotes35.shtml","quotes_b36",187,25,"35 ~ Abraham Lincoln","_parent",0);
writeButton(loc+"","../quotes36.shtml","quotes_b37",187,25,"36 ~ Mohandas Gandhi","_parent",0);
writeButton(loc+"","../quotes37.shtml","quotes_b38",187,25,"37 ~ Martin Luther King, Jr.","_parent",0);
writeButton(loc+"","../poems.shtml","quotes_b39",187,25,"Poems","_parent",0);
tr(true);
document.write("<td><img src=\""+loc+"quotes_bottom"+gtype+"\" alt=\"\" width=\"187\" height=\"17\"></td>");
document.write("</tr></table>");
loc="";
function tr(b){if (b) document.write("<tr>");
else document.write("</tr>");
}function turn_over(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_over"].src;
}}function turn_off(name) {if (document.images != null && clicked != name) {document[name].src = document[name+"_off"].src;
}}function reg(gname,name){if (document.images){document[name+"_off"] = new Image();
document[name+"_off"].src = loc+gname+gtype;
document[name+"_over"] = new Image();
document[name+"_over"].src = loc+gname+"_over"+gtype;
}}function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}function writeButton(urld,url,name,w,h,alt,target,hsp){gname=name;
while(typeof(document[name])!="undefined")name+="x";
reg(gname,name);
tr(true);
document.write("<td>");
if(alt!="")alt=" alt=\""+alt+"\"";
if(target!="")target=" target=\""+target+"\"";
if(w>0)w=" width=\""+w+"\"";
else w="";
if(h>0)h=" height=\""+h+"\"";
else h="";
var l=clicked!=""||!isCurrentFile(url);
if(url!="")url=" href=\""+urld+url+"\"";
if(l){if(typeof(clx)!="undefined"){target="";
url=" href=\"?"+clx+"\"";
alt=" alt=\"Click to edit\"";
}document.write("<a "+url+evs(name)+target+">");
}else gname+=selstate;
gname+=gtype;
if(hsp==-1)hsp=" align=\"right\"";
else if(hsp>0)hsp=" hspace=\""+hsp+"\"";
else hsp="";
document.write("<img src=\""+loc+gname+"\" name=\""+name+"\""+w+h+alt+hsp+" border=\"0\" />");
if(l)document.write("</a>");
document.write("</td>");
tr(false);
}function syncFile(f,nf){var matches='home.html*index.html*welcome.html*default.asp';
var p=f.lastIndexOf('/');
var sf=f;
if(p>=0)sf=f.substr(p+1,f.length-1);
if(matches.indexOf(sf)==-1)return "";
return sf;
}function isCurrentFile(str){var p=str.lastIndexOf(':');
if(p>0)str=str.substr(p+1,str.length-1);
str=escape(str);
str=str.toLowerCase();
while(str.length>3&&str.substring(0,3)=="../")str=str.substr(3,str.length-1);
var fstr=str.indexOf(".htm");
if(fstr==-1)fstr=str.indexOf(".asp");
if(fstr==-1)fstr=str.indexOf(".php");
if(fstr==-1)fstr=str.indexOf(".jsp");
if(fstr==-1)fstr=str.indexOf(".txt");
if(fstr<1&&str.charAt(str.length-1)!='/')str+="/";
var current=document.location.href.toLowerCase();
p=current.lastIndexOf('?');
if(p>0)current=current.substr(0,p);
var fcurrent=current.indexOf(".htm");
if(fcurrent==-1)fcurrent=current.indexOf(".asp");
if(fcurrent==-1)fcurrent=current.indexOf(".php");
if(fcurrent==-1)fcurrent=current.indexOf(".jsp");
if(fcurrent==-1)fcurrent=current.indexOf(".txt");
if(fcurrent<1&&current.charAt(current.length-1)!='/')current+="/";
if(fstr!=-1&&fcurrent==-1)current+=syncFile(str,current);
if(fstr==-1&&fcurrent!=-1)str+=syncFile(current,str);
var currsize=current.length;
var strsize=str.length;
while(strsize>=0&&currsize>=0){if(current.charAt(currsize)!=str.charAt(strsize))return false;
currsize=currsize-1;
strsize=strsize-1;
}return true;
}