// Idioms.htm.js: Copyright, Howard Best, 2005, 2006, 2007, 2008. Please feel free to copy/use/modify this JavaScript code in any way that you see fit for your own appication(s) as long as "Howard Best (llbest.com)" is given credit in a comment similar to this one at the beginning of the copied/modified code.
// Last update: September 3, 2008


function displayLetters1(theNumber)
 {
 document.write("<p class=SmallFont>| <a href=. onclick=\"try{loadIt('.');return false;}catch(e){}\" title=http://llbest.com/>Home</a> | ");
 displayLetters2('','.htm','A');
 for(var i=66;i<91;i++)
  {
  if(i==88)
   continue;
  var T1=String.fromCharCode(i);
  displayLetters2(T1,'.html',T1);
  }
 document.write('<span id=pressH'+theNumber+' style="color:black"></span></p>');
 }

function displayLetters2(theFileNameLetter,theFileNameExtension,theDisplayLetter)
 {
 var T1='Idioms'+theFileNameLetter+theFileNameExtension;
 document.write('<a href="javascript:loadIt(\''+T1+'\');" title=http://llbest.com/'+T1+'\>'+theDisplayLetter+'</a> | ');
 }

document.write(
'<style>'+
'<!--'+
''+
'a:link{color:#3030FF}'+
'a:visited{color:#C000C0}'+
'a:active{color:#FF0000}'+
'a:hover{color:#FF00C0}'+
'body{font:normal 120% Segoe UI,Tahoma;background-color:#000000;}'+
'div{padding-top:7;padding-bottom:7;padding-left:15;padding-right:15;width:590;background-image:url(images/_bg1.gif);}'+
'p{margin-top:1.5em;margin-bottom:0.5em;}'+
'p.TBOX{text-align:center;font-size:90%;background:#A1A4DE;color:black;border:solid #3030FF;border-width:3;margin-top:2;margin-bottom:0.7em;padding:0.3em;}'+
'p.SmallFont{text-align:center;margin-bottom:2%;font-family:Tahoma;font-size:75%;}'+
'span{color:#2020FF;}'+
'table.BBOX{background:#A1A4DE;border:solid #3030FF;border-width:3;margin-top:2;margin-bottom:0.7em;}'+
''+
'-->'+
'</style>'+
''+
'</head>'+
'<body onload="try{pageLoaded()}catch(e){}" onkeydown="try{keyPressed(event)}catch(e){}">'+
'<center>'+
'<div id=textDiv>'+
'<p id=textP class=SmallFont>'+
'| <a href=. onclick="try{loadIt(\'.\');return false;}catch(e){}" title=http://llbest.com/>Home</a> | All of the web pages on this website are &ldquo;<span>bookmarkable</span>.&rdquo; Press the <span>H</span> key for help. | <span>LATEST ADDITION:</span> &ldquo;When life hands you a lemon, make lemonade!&rdquo; |</p>'+
'<p class=TBOX style="font-size:135%">Reference: List of American Idioms</span></p>'+
'');

displayLetters1(3);

document.write('<p class=TBOX>- '+theLetter+' -</p>');

for(var i=0;i<I.length;i++)
 {
 temp1=(I[i]+'|').split("|");
 document.write('<p>'+theLetter+(i+1)+'. <span>'+temp1[0]+'</span>');
 for(var j=1;j<temp1.length;j++)
  {
  temp2=temp1[j];
  document.write(((temp2)?'&mdash;'+temp2:''));
  }
 document.write('</p>');
 }

document.write('</p><p class=TBOX>- End -</p>');

displayLetters1(1);

document.write(
'<p>'+
'<i>Most of the idioms above are from one of the following sources:</i></p>'+
'<p>'+
'The American Heritage Dictionary of the English Language, Third'+
'Edition Copyright &copy; 1992 by Houghton Mifflin Company.'+
'Electronic version licensed from Lernout &amp; Hauspie Speech'+
'Products N.V. (Microsoft Bookshelf 2000)</p>'+
'<p>'+
'The Original Roget&rsquo;s Thesaurus of English Words and Phrases'+
'(Americanized Version), licensed from Longman Group UK Limited.'+
'Copyright &copy; 1994 by Longman Group UK Limited. (Microsoft'+
'Bookshelf 2000)</p>'+
'<p>'+
'The Idiom Connection<br>(<a href='+
'"http://www.geocities.com/Athens/Aegean/6720/" target=_blank>http://www.geocities.com/Athens/Aegean/6720/</a>)</p>'+
'<p>'+
'english-department.com (Link no longer works)<br>(<a href='+
'"http://www.english-department.com/idioms.asp" target=_blank>http://www.english-department.com/idioms.asp</a>)</p>'+
'<p>'+
'Amerispeak<br>(<a href='+
'"http://www.rootsweb.com/~genepool/amerispeak.htm" target=_blank>http://www.rootsweb.com/~genepool/amerispeak.htm</a>)</p>'+
'<p>'+
'Pine Crest School - Idiom Collection<br>(<a href='+
'"http://www.hray.com/idiom" target=_blank>http://www.hray.com/idiom</a>)</p>'+
'<center><p style="margin:0"><table class=BBOX><td style="text-align:center">'+
'Questions, comments and suggestions are welcome.<br>'+
'Howard Best (<script>T1="hbest1";T2="gmail";document.write("<a href="+"mail"+"to:"+T1+"@"+T2+".com>"+T1+"@"+T2+".com</a>")</script>)</td></table></p>'+
'');

displayLetters1(2);

document.write(
'<p class=SmallFont>'+
'<span class=Bold>THIS WEB PAGE URL:</span> http://llbest.com/'+location.pathname.replace(/^.*[\/\\]/,'')+
'</div>'+
'</center>'+
'</body>'+
'');
