var wi=screen.availWidth;
var ht=screen.availHeight;
wi=(wi>900?900:wi);
ht=(ht>830?830:ht)
self.resizeTo(wi,ht);
var  tf=0;
var n4=(document.layers&&!document.getElementById?1:0);
var oflg=0;
function loadImages(){
 for (var i=0;i<7;i++){
  document.images[0].src='i3/'+i+'.gif';
  }
 document.images[0].src='i/t.gif';
 }
var col=new Array("#0000ff","#9C0029","#940094","#843110","#2f937e","#CC0033","darkblue","#5B147D","#0000FF","#9C18E7","lime","#FF0063","red");
var mo=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var D=new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
var txt=new Array()
txt[0]='<B CLASS=b>*Our Home Page<\/B><P><B CLASS=a>You\'ll find useful site information here - promising that every virtual book or virtual CD here can be downloaded without any payment...';
txt[1]='<B CLASS=b>*Free Virtual Books<\/B><P><B CLASS=a>*These are our contemporary<BR>Virtual Books (E-books)<BR>that may be read online<BR>or downloaded<BR>to your own computer<BR>at no charge...';
txt[2]='<B CLASS=b>*Childrens\' E-Books<\/B><P><B CLASS=a>*These are our children\'s<BR>classics Virtual Books (E-books)<BR>that may be read online<BR>or downloaded<BR>to your own computer<BR>at no charge...';
txt[3]='<B CLASS=b>*Free Virtual CD\'s<\/B><P><B CLASS=a>*These are our Virtual CD\'s (E-CD\'s)<BR>that may be listened to online<BR>or downloaded<BR>to your own computer<BR>at no charge...';
txt[4]='<B CLASS=b>*Free Sheet Music<\/B><P><B CLASS=a>*Here you will find<BR>over 1000 pages<BR>of sheet music<BR>and all of our<BR>musical selection downloads!';
txt[5]='<B CLASS=b>*Silver and Gold<\/B><P><B CLASS=a>*If you\'re pessimistic<BR>about the current<BR>economic policies<BR>of our Administration,<BR>you will find these<BR>calculators very useful!';
txt[6]='<B CLASS=b>*Daily Bible Verse<\/B><P><B CLASS=a>*Our 2010<BR>Solar and Wind Energy Atlas<BR>contains hundreds of thousands<BR>of data points for <BR>U.S. and Canadian cities<BR>and tens of thousands of maps.';
var M=new Array('January','February','March','April','May','June',
'July','August','September','October','November','December');
function Calendar(){
 loadImages();
 tf=eval(document.forms['hdn'].elements[0].value);
 finUp();
 dt=new Date();
 mo=dt.getMonth();
 yr=dt.getFullYear();
 oddDay=dt.getDate();
 bgn=new Date(M[mo]+" 1,"+yr);
 dy=bgn.getDay();
 leapYear();
 lss='<B STYLE="font-family:arial;font-size:9px;color:black;text-align:center;">';
 lss1='<B STYLE="font-family:arial;font-size:9px;color:white;text-align:center;">';
 ls='<TABLE BORDER=0><TR><TD VALIGN=TOP CLASS=a><TABLE BORDER=1><TR BGCOLOR='+col[tf]+'><TD CLASS=a COLSPAN=7>'+lss1+M[mo]+' '+yr+'<\/TD><\/TR><TR><TR>';
 for (var i=0;i<7;i++){
  ls+='<TD CLASS=a><B>'+lss+D[i]+'<\/B><\/TD>';
  }
 ls+='<\/TR><TR>';
 ctr=0;
 for (var i=0;i<7;i++){
  if (i<dy){
   ls+='<TD CLASS=a>'+lss+'&nbsp;<\/B><\/TD>';
   }
  else{
   ctr++;
   wrtNumber();
   }
  }
 ls+='<\/TR><TR>';
 while (ctr<ld){
  for (var i=0;i<7;i++){
   ctr++;
   if (ctr>ld){
    ls+='<TD CLASS=a>'+lss+'&nbsp;<\/B><\/TD>';
    }
   else{
    wrtNumber();
    }
   }
  ls+='<\/TR><TR>';
  }
 ls+='<\/TR><\/TABLE><\/TD><\/TR><\/TABLE>';
 document.getElementById('cal').innerHTML=ls;
 clockIt()
 }
function wrtNumber(){
 if (ctr==oddDay){
  ls+='<TD CLASS=a BGCOLOR='+col[tf]+'><B STYLE="font-family:arial,sans-serif;font-size:9px;color:white;text-align:center;">'+ctr+'<\/B><\/TD>';
  }
 else{
  ls+='<TD CLASS=a>'+lss+ctr+'<\/B><\/TD>';
  }
 }
function leapYear(){
 dstr="312831303130313130313031";
 yr1=eval(yr);
 if (yr1/4==Math.floor(yr1/4)){
  dstr=dstr.substring(0,2)+"29"
  +dstr.substring(4,dstr.length);
  }
 pos=(mo*2);
 ld=eval(dstr.substring(pos,pos+2));
 }
function clockIt(){
 dt=new Date();
 hr=dt.getHours();
 mn=dt.getMinutes();
 sc=dt.getSeconds();
 cihr=""+((hr>12)?hr-12:hr)+":"; 
 cihr=((hr==0)?"12:":cihr); 
 min=((mn<10)?"0":"")+mn+':';
 sec=((sc<10)?"0":"")+sc;
 mer=((hr>=12)?" p.m.":" a.m.");
// ls='<TABLE BORDER=0><TR><TD CLASS=a><FONT COLOR=RED>';
// ls+=mo[dt.getMonth()]+' '+dt.getDate()+', '+dt.getFullYear()+'<BR>'
 ls='<B>'+cihr+min+sec+mer+'<\/B>';
 if (n4){
  document.a.document.b.document.write(ls);
  document.a.document.b.document.close();
  }
 if (document.getElementById){
  document.getElementById("clock").innerHTML=ls;
  }
 clr=setTimeout("clockIt()",1000);
 }
function disp(flg){
 ls=(flg1?'':'<BR><TABLE BORDER=0 WIDTH=130><TR><TD CLASS=a><I><FONT COLOR='+col[flg]+'>'+txt[flg]+'<\/FONT><\/I><\/TD><\/TR><\/TABLE>');
 ls=(flg<14?ls:'');
 if (document.getElementById){
   document.getElementById("disp").innerHTML=ls;
   }
 }
function frontPage(){

if (k2==-1){
  clockIt();
  }
 /* k2++;
 k2=(k2>3?0:k2);
 bigIt(k2);
 setTimeout('frontPage()',10000);*/
 }

var str="";
var ls1='';
pbs='<B>Science&nbsp;Fiction<A HREF=bookspreview/entropy/1.html TARGET=_blank><IMG SRC="paperbacks/entropy.jpg" ALT="For Love of Entropy" TITLE="Click Here for Free Preview of For Love of Entropy" WIDTH="135" HEIGHT="191" HSPACE=20 BORDER="0" ALIGN=LEFT><BR>If you drop out of hyperspace, things are surely very bad... Not even the awful cryopods offer any hope whatsoever. And when another ship pops up nearby, you know Murphy\'s law is surely true. 164 pages, $9.99~<\/A><BR><BR><BR><B CLASS=b><A HREF=https://www.createspace.com/3433394 TARGET=_blank TITLE="If you are ready to order, click here to order For Love of Entropy now">`<\/A><\/B>|<B>Fantasy<A HREF=bookspreview/gnomes/1.html TARGET=_blank ALT="The Gnomes of Jost" TITLE="Click Here for Free Preview of The Gnomes of Jost"><IMG SRC="paperbacks/gnomes.jpg" ALT="" WIDTH="135" HEIGHT="191" HSPACE=20 BORDER=0 ALIGN=LEFT><BR>To have fallen prey to the dreaded spider woman as ignominious in the extreme. Not just a prisoner, but a man in thrall to their village could expect little but pleasure and death. 186 pages, $9.99~<\/A><BR><BR><BR><B CLASS=b><A HREF=https://www.createspace.com/3433401 TARGET=_blank TITLE="If you are ready to order, click here to order The Gnomes of Jost now">`<\/A><\/B>|<B>Science Fiction/Mystery<A HREF=bookspreview/trollbridge/1.html TARGET=_blank ALT="The Trollbridge Affair" TITLE="Click Here for Free Preview of The Trollbridge Affair"><IMG SRC="paperbacks/trollbridge.jpg" ALT="" WIDTH="135" HEIGHT="191" HSPACE=20 BORDER=0 ALIGN=LEFT><BR>It is the reverse of the old "locked room" mystery. Here, on the most restricted of all Federation Star Bases, a veritable toll of a man appears from nowhere. Hiding under a bridge. 180 pages, $9.99~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3433527 TARGET=_blank TITLE="Click here to order The Trollbridge Affair now">`<\/A><\/B>|<B>Fantasy/Mystery<A HREF=bookspreview/lightshow/1.html TARGET=_blank ALT="Lightshow" TITLE="Click Here for Free Preview of Lightshow"><IMG SRC="paperbacks/lightshow.jpg" ALT="" WIDTH="135" HEIGHT="191" HSPACE=20 BORDER=0 ALIGN=LEFT><BR>Set on a very different world with unusual inhabitants. A world where all live in darkness. avoiding the sunshine, lighting their lives with displays of internal light. But not so different, when murder takes place under mysterious circumstances. 152 pages, $9.99~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3430442 TARGET=_blank TITLE="Click here to order Lightshow now">`<\/A><\/B>|<B>Fantasy<A HREF=bookspreview/kratva/1.html TARGET=_blank ALT="The Trees of Kratva" TITLE="Click Here for Free Preview of The Trees of Kratva"><IMG SRC="paperbacks/kratva.jpg" ALT="" WIDTH="135" HEIGHT="191" HSPACE=20 BORDER=0 ALIGN=LEFT><BR>An evil magician is crafting golems to do his bidding. Standing between subjugation of the world and freedom is a very dirty man obsessed with crawling around in sewers. 168 pages, $9.99~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3433504 TARGET=_blank TITLE="Click here to order The Trees of Kratva now">`<\/A><\/B>|<B>Fantasy<A HREF=bookspreview/magicians/1.html TARGET=_blank ALT="The Arch of Rain Magicians" TITLE="Click Here for Free Preview of The Arch of Rain Magicians"><IMG SRC="paperbacks/magicians.jpg" ALT="" WIDTH="135" HEIGHT="191" HSPACE=10 BORDER=0  ALIGN=LEFT><BR>To see a White Magician was very unusual - unusual in the extreme. To see a Black Magician even moreso. But to see both on the same day portended momentous and very frightening happenings. 212 pages, $9.99~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3433506 TARGET=_blank TITLE="Click here to order The Arch of Rain Magicians now">`<\/A><\/B>|<B>Fantasy<A HREF=bookspreview/mancutters/1.html TARGET=_blank ALT="The Black Mancutters\' Guild" TITLE="Click Here for Free Preview of The Black Mancutters\' Guild"><IMG SRC="paperbacks/mancutters.jpg" ALT="" WIDTH="135" HEIGHT="191" HSPACE=20 BORDER=0 ALIGN=LEFT><BR>He was a runaway slave and thus legitimate prey for all. Indeed, it was a citizen\'s duty to capture him, torture him excruciatingly - before killing him. 212 pages, $9.99~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3433511 TARGET=_blank TITLE="Click here to order the Black Mancutters\' Guild now">`<\/A><\/B>|<B>Fantasy/Poetry<A HREF=bookspreview/septoracle/1.html TARGET=_blank><IMG SRC="paperbacks/septoracle.jpg" ALT="" WIDTH="135" HEIGHT="191" ALT="The Septoracle" TITLE="Click Here for Free Preview of The Septoracle" HSPACE=10 BORDER=0 ALIGN=LEFT><BR>Immortals prowling the centuries hunting each other - Oracles babbling incessantly while a strange chronicler records it. Prose, poetry and even (gasp!) limericks. 154 pages, $9.99~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3433519 TARGET=_blank TITLE="Click here to order The Septoracle now">`<\/A><\/B>|<B>Political<A HREF=bookspreview/virus/1.html TARGET=_blank ><IMG SRC="paperbacks/virus.jpg" ALT="The Stupidity Virus" TITLE="Click Here for Free Preview of The Stupidity Virus" WIDTH="135" HEIGHT="191" HSPACE=20 BORDER=0 ALIGN=LEFT><BR>Far worse than the dreaded swine flu, the stupidity virus is attacking the United States relentlessly. If you believe the gory gloom and doom "sky is falling" chicken little predictions, you are already infected.. 102 pages, $7.95~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3436577 TARGET=_blank TITLE="Click here to order The Stupidity Virus now">`<\/A><\/B>|<B>Do-it-yourself<A HREF=bookspreview/solarfurnace/1.html TARGET=_blank ALT="Building Your Own Solar Furnace" TITLE="Click Here for Free Preview of Building Your Own Solar Furnace"><IMG SRC="paperbacks/solarfurnace.jpg" ALT="" WIDTH="135" HEIGHT="191" HSPACE=10 BORDER=0 ALIGN=LEFT><BR>Building your own Solar Furnace is simple -- too simple. Here you will find step-by-step photos to help you do it yourself, using mostly scavenged and salvaged materials. Details include how to retrofit it to your present home. 86 pages, $7.95~<\/A><BR><BR><BR><A HREF=https://www.createspace.com/3437075 TARGET=_blank TITLE="Click here to order The Stupidity Virus now">`<\/A><\/B>|';
pbs1=pbs.split('|',10);

function dispPb(nr){
 self.scrollTo(0,500)
 pbpic=pbs1[nr].replace(/\~/g,'<P><IMG SRC=paperbacks/*a.jpg WIDTH=150 HEIGHT=41 BORDER=0 HSPACE=5 ALIGN=LEFT>Read a chapter now<BR>before ordering');
 pbpic=pbpic.replace(/\`/g,'<IMG SRC=paperbacks/*.jpg WIDTH=150 HEIGHT=43 BORDER=0 HSPACE=5 ALIGN=LEFT>Order securely from CreateSpace&reg;,<BR>a member of the Amazon&reg;<BR>group of companies.');
 pbpic=pbpic.replace(/\*/g,nr);
 document.getElementById('pb').innerHTML=pbpic+'<BR CLEAR=ALL>';
 }
function clrIt(){
 document.getElementById('pb').innerHTML='';
 }
var lc='entropy|gnomes|trollbridge|lightshow|kratva|magicians|mancutters|septoracle|virus|solarfurnace|';
var lcs=lc.split('|',10);
function goThere(nr1){
 window.open('bookspreview/'+lcs[nr1]+'/1.html','','');
 }
var ndx='abcdefghijklmnopqrstuvwxyz';
tx='Home Page|index,Free Virtual Books|books,Childrens\' E-Books|cbooks,Free Virtual CD\'s|vircds,Free Sheet Music|downloads,Silver and Gold|silver,Daily Bible Verse';
tx1=tx.split(',',7);
function newBox(nb){
 tx2=tx1[nb].split('|',2);
 txt1=txt[nb].replace(/\*/g,'<FONT COLOR=WHITE>');
// txt1=txt1.replace(/\^/g,'<\/FONT>');
 boxs='<IMG SRC=i/t.gif WIDTH=1 HEIGHT=80><BR><TABLE BORDER=0 WIDTH=500 HEIGHT=500 CLASS='+ndx.charAt(nb)+'><TR><TD COLSPAN=3><IMG SRC=i/t.gif WIDTH=1 HEIGHT=70><\/TD><\/TR><TR><TD><IMG SRC=i/t.gif WIDTH=55 HEIGHT=1><\/TD><TD VALIGN=TOP CLASS=a>'+txt1+'<BR><BR>Click now to go<BR> directly to our<BR>'+tx2[0]+' page&nbsp;<\/FONT><\/B><TD><IMG SRC=i/t.gif WIDTH=10 HEIGHT=1><\/TD><\/TD><\/TR><\/TABLE>';
 document.getElementById("aaa").style.visibility="visible";
 document.getElementById("aaa").innerHTML=boxs;
 }
function newBox1(nb1){
 nbx1=eval(nb1);
 pbpic=pbs1[nbx1].replace(/\~/g,'<P><IMG SRC=paperbacks/*a.jpg WIDTH=150 HEIGHT=41 BORDER=0 HSPACE=5 ALIGN=LEFT><BR>Click Now to Check It Out!');
 pbpic=pbpic.replace(/\*/g,nbx1);
 pbpic=pbpic.replace(/\^/g,'135');
 pbpic=pbpic.replace(/\#/g,'191');
 boxs1='<TABLE BORDER=1 WIDTH=612 BGCOLOR=#'+col[tf]+' CELLPADDING=10><TR><TD CLASS=b><TABLE BORDER=1 BGCOLOR=WHITE CELLPADDING=5><TR><TD><BR><DIV ALIGN=CENTER><B CLASS=a>Another paperback from John and Erika Keyes!<\/B><\/DIV><P>'+pbpic+'<\/TD><\/TR><\/TABLE><\/TD><\/TR><\/TABLE>';
 document.getElementById("aaa").style.visibility="visible";
 document.getElementById("aaa").innerHTML=boxs1;
 }
function newBox2(){
 boxs1='<IMG SRC=i/t.gif WIDTH=1 HEIGHT=120><BR><TABLE BORDER=1 WIDTH=500 BGCOLOR=DARKBLUE CELLPADDING=10><TR><TD CLASS=b><TABLE BORDER=1 BGCOLOR=BLACK CELLPADDING=5><TR><TD CLASS=a><BR><B><FONT COLOR=WHITE>In Memorium<BR>Platte Canyon High School - 9/27/2006<\/FONT><\/B><IMG SRC="i/emily640480big.jpg" WIDTH="280" HEIGHT="210" HSPACE="0" BORDER="1"><BR><B><FONT COLOR=WHITE>Emily Keyes<\/FONT><\/B><P><IMG SRC="i/srp1.gif" WIDTH="140" HEIGHT="216" HSPACE="10" ALIGN="left"><BR><B CLASS=e>Please take the time to click now and visit!<P><IMG SRC="i/ilug_logo_reverse.gif" WIDTH="226" HEIGHT="55"><P><P>Check out the foundation\'s new paperback book - <I CLASS=a>The Standard Response Protocol<\/I> - for your own school\'s safety!<P>And if you can\'t take the time to visit the foundation website, perform a random act of kindness in her name today!<\/B><BR><\/TD><\/TR><\/TABLE><\/TD><\/TR><\/TABLE>';
 mleg='<OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B WIDTH=160 HEIGHT=15 CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab><PARAM NAME=SRC VALUE=i/22.mid><PARAM NAME=AUTOPLAY VALUE=TRUE><PARAM NAME=CONTROLLER VALUE=TRUE><EMBED SRC=i/22.mid AUTOPLAY=TRUE AUTOSTART=TRUE CONTROLLER=TRUE WIDTH=160 HEIGHT=15 LOOP=FALSE VOLUME=25 TYPE=audio/midi PLUGINSPAGE=http://www.apple.com/quicktime/download/><\/EMBED><\/OBJECT>' ;
 document.getElementById('snd').innerHTML=mleg;
 document.getElementById("aaa").style.visibility="visible";
 document.getElementById("aaa").innerHTML=boxs1;
 }
function sponsor(){
 ss='<A HREF=bookspreview/'+ssb[sctr]+'/1.html onMouseOver="newBox1('+sctr+')" onMouseout="dim()" TARGET=_blank CLASS=ab>&nbsp;&nbsp;Please Support Our Sponsor:<BR><IMG SRC=paperbacks/'+ssb[sctr]+'.jpg WIDTH=66 HEIGHT=95 ALIGN=LEFT HSPACE=5 BORDER=0><BR>Another paperback from John and Erika Keyes!<BR>Click for a free preview!<\/A>';
 document.getElementById('sponsor').innerHTML=ss;
 sctr++;
 sctr=(sctr>9?0:sctr);
 setTimeout('sponsor()',20000)
 }
function dim(){
 document.getElementById("aaa").style.visibility="hidden";
 document.getElementById("aaa").innerHTML='';
 }
function dim1(){
 document.getElementById("aaa").style.visibility="hidden";
 document.getElementById("aaa").innerHTML='';
 document.getElementById('snd').innerHTML='';
 }
 
function finUp(){
 var e='com|jorika|@|mai|lto|editors|';
 var g=e.split('|',6)
 var f='Contact us by email: <A HREF='+g[3]+g[4]+':'+g[5]+g[2]+g[1]+'.'+g[0]+' CLASS=j>'+g[5]+g[2]+g[1]+'.'+g[0]+'<\/A><BR><FONT SIZE=1>&copy; Copyright 1994-2010 John H. and Erika E. Keyes, Hooper, Colorado USA. All rights reserved.<\/FONT><\/DIV>';
 document.getElementById('ml').innerHTML=f;
 }
function spinIt(){
 for (var m=0;m<9;m++){
  }
 }
