function getElem(x) {
	var elem;
	if(document.getElementById) elem = document.getElementById(x);
	else if(document.all) elem = document.all[x];
	else if(document.layers) elem = document.layers[x];
	return elem;
}
var nq = 0;
var speed = 10000;
var qarray = new Array(
"<i>&#8220;What a simple yet brilliant concept! It makes my bookish heart sigh wistfully just thinking of how many more books I would have been able to read if only someone had come up with this product years earlier.&#8221;<\/i><br /><br />&#8212; A Book Blogger&#8217;s Diary",

"<i>&#8220;I just wanted to let you know that I received my Folio for Kindle 2 and I could not be any happier. It has taken me several weeks to find the right cover, and to find one with a light is more than I thought possible.&#8221;<\/i><br /><br />&#8212; Eileen Murphy, Customer",

"<i>&#8220;You never have to worry about misplacing your light because it&#8217;s attached to the book you&#8217;re reading and there&#8217;s even a cloth bookmark. If you&#8217;re reading a book that you&#8217;d rather not have everyone see you reading, the cover also hides what&#8217;s inside.&#8221;<\/i><br /><br />&#8212; Tibesti.com",

"<i>&#8220;I am very impressed with the quality of the Folio. The actual book itself, the stitching and the seams are very neatly done, even, with no frayed edges. I love that. I love the notebook access and I love the space for the pen; keeping notes while you read is essential.&#8221;<\/i><br /><br />&#8212; Eileen Murphy, Customer",

"<i>&#8220;This is not merely a device for sleepless souls. The Periscope also allows for reading outside on a warm night, and we can envision it being a boon on a plane, train or bus, the better to ward off nosy fellow travelers. For hardcore readers who just can&#8217;t put a book down.&#8221;<\/i><br /><br />&#8212; Regis Behe, Pittsburgh Tribune Review",

"<i>&#8220;The Kindle fits in the four elastic corner holders beautifully. It is secure and stays put. The light itself is such a great quality... bright, and incredibly stable. The light stays put no matter what position you put it in. I am use to book lights tipping over... not yours. Yours is awesome.&#8221;<\/i><br /><br />&#8212; Eileen Murphy, Customer",

"<i>&#8220;Periscope is very clever... You get a deluxe cover to protect your book and your privacy when you read in public places like on an airplane. The new one features a wide angle, ultra bright LED light that lights both pages top to bottom!&#8221;<\/i><br /><br />&#8212; Dick DeBartolo, GizWizBiz",

"<i>&#8220;Enjoy your trashy romance or inspirational self-help guide without advertising your tastes to the world.&#8221;<\/i><br /><br />&#8212; Alice Carter, Pittsburgh Tribune Review",

"<i>&#8220;On a scale of 1-5, I give it a 5. Thanks for making a great product.&#8221;<\/i><br /><br />&#8212; Eileen Murphy, Customer",

"<i>&#8220;Because the light is completely adjustable, you can put the light exactly where you want it for ultimate reading comfort.&#8221;<\/i><br /><br />&#8212; Erica Johansson, Blissful Travel",

"<i>&#8220;I talk about it (Periscope<sup>&reg;</sup> Book Light in a Bookcover<sup>&#8482;</sup>) everywhere I go! I speak a lot so I travel all over. Just back last night from London and had your book light with me on the trip. People ask me all the time about it on planes.&#8221;<\/i><br /><br />&#8212; William Branson III",

"<i>&#8220;I can't tell you how much joy I've  gotten from my Periscope Book Light. I used it recently on the plane to Germany and in my  dimly lit hotel room. At home I use it at night when my wife is sleeping, and at the mall when I'm waiting for the kids. It's the best gift I've gotten from anyone in years.&#8221;<\/i><br /><br />&#8212; Jay Kamhi, President, Kamhi World"

);
function nextQuote(){
	window.clearTimeout(timer);
	var doQ=1;
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
 		var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
 		if (ieversion<=6) doQ=0;
	}
	if (doQ==1) {
		if(nq<qarray.length-1) nq+=1;
		else nq=0;
		var al=getElem('quote');
		al.innerHTML=qarray[nq];
		timer=window.setTimeout("nextQuote()",speed);
	}
}