
var quote = new Array(33);
	
	quote[1] = "There are no foolish questions and no man becomes a fool until he has stopped asking questions.";
	quote[2] = "The person who says it cannot be done should not interrupt the person doing it.</p><p class='quote' align='right'><i>&mdash; Chinese proverb</i>";
	quote[3] = "Interrogate yourself &mdash; all the very best answers start life as wildly ambitious questions.";
	quote[4] = "No idea is so outlandish that it should not be considered with a searching but at the same time steady eye. </p><p class='quote' align='right'>&mdash;  <i>Winston Churchill</i>";
	quote[5] = "<i>Festina lente</i> &mdash; make haste slowly.</p><p class='quote' align='right'>&mdash; <i>the Emperor Augustus</i>";
	quote[6] = "The courage of the poet is to keep ajar the door that leads into madness.";
	quote[7] = "Trust everybody, but cut the cards.";
	quote[8] = "A Freudian slip is when you say one thing but mean your mother.";
	quote[9] = "Imagination is more important than knowledge.</p><p class='quote' align='right'>&mdash; <i>Albert Einstein</i>";
	quote[10] = "Creative activity is a learning process where teacher and pupil are located in the same individual."
quote[11] = "Great opportunity usually comes disguised as insoluble problems.";

quote[12] =  "Don&rsquo;t take life too seriously &mdash; you won&rsquo;t get out alive.";
quote[13] = "Nostalgia&rsquo;s OK but it&rsquo;s not what it used to be.";
quote[14] = "When the terrain and the map don&rsquo;t match, believe the terrain.";
quote[15] = "The meek shall inherit the earth... if that&rsquo;s all right with everyone else.";
quote[16] = "A mind stretched to a new idea never returns to its former dimensions.";
quote[17] = "A Freudian slip is when you say one thing but mean your mother."; 
quote[18] = "Two rules for success: 1) Never tell them everything you know.";
quote[19] = "Millions long for immortality who don&rsquo;t know what to do with themselves on a Sunday afternoon.";
quote[20] = "The real voyage of discovery consists not in seeking new landscapes, but in having new eyes.</p><p class='quote' align='right'> &mdash; <i>Marcel Proust</i>";
quote[21] = "One should not carry moderation to extremes.";  

quote[22] = "If all the world's economists were laid end to end, they would not reach a conclusion.";

quote[23] = "42.7 percent of all statistics are made up on the spot.";

quote[24] = "A clear conscience is usually a sign of a bad memory.";

quote[25] = "Writing about music is like dancing about architecture.";

quote[26] = "The most dangerous thing in the world is to leap a chasm in two jumps. </p><p class='quote' align='right'> &mdash; <i>D. Lloyd George</i>";

quote[27] = "Stupidity got us into this mess. Why can&rsquo;t it get us out?</p><p class='quote' align='right'>&mdash; <i>Will Rogers</i>";

quote[28] = "The mind is not a vessel to be filled but a fire to be kindled.</p><p class='quote' align='right'> &mdash; <i>Plutarch</i>";

quote[29] = "The impossible is often the untried.</p><p class='quote' align='right'> &mdash; <i>Jim Goodwin</i>";

quote[30] = "The least of things with a meaning is worth more in life than the greatest of things without it.</p><p class='quote' align='right'> &mdash; <i>C. G. Jung</i>";

quote[31] = "To feet that wear sandals the whole earth is leather.</p><p class='quote' align='right'> &mdash; <i>Urdu proverb</i>";

quote[32] = "A great many people think they are thinking, when they are merely rearranging their prejudices.</p><p class='quote' align='right'> &mdash; <i>William James</i>";

quote[33] = "The lion shall lie down with the calf, but the calf won't get much sleep.</p><p class='quote' align='right'> &mdash; <i>Woody Allen</i>";
var rpt=0;

function showQuote()
{
//Initial quote for each day of the month
//rpt=r;
	today = new Date;
	mdate = today.getDate();
	quotenumber = mdate;
	document.write ('<p class="quote" style="font-size:10px;line-height: 1.4em;text-align:left">'); 
	document.write (quote[quotenumber]); //day1 gets quote 1 etc
qdiv = gE("quote");	
//setQtop(qdiv);
//if (rpt==1) 
 //     {
	//	var cqdiv=gE("changequote"); hE(cqdiv);
	//	setTimeout(nextQuote,6000);
     //  }
}
x=0; timerRunning=0;
function autoQuote() {
        var cqdiv=gE("changequote"); hE(cqdiv);
		//while (x<50) 
		//{
		timerRunning = setTimeout(nextQuote,6000);
		rpt=1;
        //}
}


function setQtop(qdiv)
{
	//ql = quote[quotenumber].length;
		//if (ql < 150) var qtop = 364; else  
		var qtop = 340;
		sY(qdiv,qtop);
}

function showVerse()
{
//Initial verse for each day of the week
	today = new Date;
	wday = today.getDay();
	document.write ('<span class="standout">') 
	document.write ('<b>Verse of the Day</b></span><br>');
	document.write (verse[wday+1]);
	document.write ('</div>') 
   versenumber = wday+1;
}


function nextQuote()	
{
if (!DomYes) {alert("Your browser can't change the quotes"); return};
quotediv=gE("quote");
qtitlediv=gE("qtitle");   
quotenumber+=1;
if (quotenumber>33) quotenumber=1;// Current max 33
	today = new Date;
	mdate = today.getDate();
if (quotenumber==mdate) qtitlediv.innerHTML = "<p class='quote' style='font-size:10px;line-height: 1.4em;text-align:center'><b>Quote for Today</b></p>"
else qtitlediv.innerHTML = "<p class='quote'  style='font-size:10px;line-height: 1.4em;text-align:center'><b>Another Quote</b></p>";
 quotediv.innerHTML = "<p class='quote' style='font-size:10px;line-height: 1.4em;text-align:left'>" + quote[quotenumber] +'</p>';
qdiv = gE("quote");	
//setQtop(qdiv);
if (rpt==1) setTimeout(nextQuote,6000);
} //End function
	

function nextVerse()
{
if (!DomYes) {return};
getNextVNo();
versediv=gE("verse");
vtitlediv=gE("vtitle");   
 if (versenumber==wday+1) vtitlediv.innerHTML = "<h6>Poem of the Day</h6>"
 else vtitlediv.innerHTML = "<h6>Another Poem</h6>";
 versediv.innerHTML = '<span class="verse">' + verse[versenumber] + '</span>';
}


function getNextQNo() 
{
//alert("Entered getNextQuote function"); 
quotenumber+=1;
if (quotenumber>33) quotenumber=1;// Current max 33
}		
	
function getNextVNo(vtotal) 
{
	versenumber+=1;
if (versenumber>vtotal) versenumber=1; 
}		
