//function
//function

quoteHide = function()
{
	
	// Get the div to insert the quote inside of
	var div = document.getElementById("extras-panel-one-content");
	
	// Get the no script tag
	var testimonials = document.getElementById("haloquotes");
	
	// Make sure the nodes exist
	if (!(div && testimonials)) { return false; }
	
	// Create a ul node in memory
	var ul = testimonials.getElementsByTagName("ul")[0];
	
	// Get the quotes
	var quotes = ul.getElementsByTagName("li");
	
	// Select a random number
	var rand = Math.floor(Math.random()*quotes.length);

	// Create a paragraph node
	var quote = document.createElement('div');
	
	// Put the paragraph node in the div
	div.appendChild(quote);
	
	// Set it's text to be the random quote
	quote.innerHTML = quotes[rand].innerHTML;
		
	// setTimeout("quoteHide()", 8000);
}
window.onload = quoteHide;
