// JavaScript Document

function randomPic(){

	var callout = new Array()

	callout[00] = '<span class="quoteTitle">A Praying Life, by Paul Miller</span><span class="quoteText">"If youre tired of religious prayer games and rote prayers that stop at the ceiling or if you have suspected that God was on vacation somewhere, this book will change your life." </span><span class="quotePerson">- Steve Brown</span>'

	callout[01] = '<span class="quoteTitle">A Praying Life, by Paul Miller</span> <span class="quoteText">Paul Miller teaches us to pray where we live: in the messiness of ordinary lives filled with kids, jobs, ministries, and other peoples constant needs and demands." </span><span class="quotePerson">- Cynthia Hyle Bezek</span>'

	callout[02] = '<span class="quoteTitle">A Praying Life, by Paul Miller</span> <span class="quoteText">Paul Millers honest struggle with living a life full of prayer and his childlike delight in hearing the heart of God invite us to gratitude and call us to speak boldly to our God.</span><span class="quotePerson">- Dan Allender, PhD</span>'

	callout[03] = '<span class="quoteTitle">A Praying Life, by Paul Miller</span> <span class="quoteText">In my library, I have perhaps twenty different volumes on prayer, but none captured my heart or propelled me into fresh communion with our Father as much as A Praying Life."</span><span class="quotePerson">- Scotty Smith</span>'

	callout[04] = '<span class="quoteTitle">A Praying Life, by Paul Miller</span> <span class="quoteText">"This book reveals that the secret to a prayerful life is an active understanding of the stories you are living. In every story a prayer; in every prayer a story."</span><span class="quotePerson">- Charlie Peacock</span>'

	callout[05] = '<span class="quoteTitle">A Praying Life, by Paul Miller</span> <span class="quoteText">"This is as fine a book on prayer that you will ever read, but it is so much more. It is the story of our struggle to actually live like we believe that our Heavenly father really does love us."</span><span class="quotePerson">- Paul Tripp</span>'

	
	

	var j = 0

	var p = callout.length;

	

	var preBufferleft = new Array()

	for (i = 0; i < p; i++){

	   preBufferleft[i] = new Image()

	   preBufferleft[i].src = callout[i]

	}

	var picLeft = Math.round(Math.random()*(p-1));

	

	showImage(callout[picLeft]);

	

	function showImage(left){

		var cl = document.getElementById("homeQuote")

			cl.innerHTML = left;

			}

}



window.onload = randomPic;

// JavaScript Document