// JavaScript Document
var lastItem;
var lastKey;
function ExpandItem(item)
{ 
	if(lastItem && lastItem.id!=item)
	{
		obj.style.display = 'none';
		}
	if(lastKey)
	{
		key.style.cssText = 'font-weight:normal';
		}
	obj = document.getElementById(item);
	lastItem=obj;
	visible = (obj.style.display != 'none');
	key = document.getElementById('x' + item);
	lastKey=key
	
	if (visible)
	{		
		obj.style.display = 'none';
	}
	else
	{
		
		obj.style.display = 'block';
		key.style.cssText = 'font-weight:bold';
	}
	
	   
	   }
function randomTestimonial()
{
	var testimonialText=new Array('I don&#39t think anyone knows how a title company should be run until they do business with ELTG.<span class="quoteclose">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>','I don&#39t think anyone knows how a title company should be run until they do business with ELTG.<span class="quoteclose">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>','I don&#39t think anyone knows how a title company should be run until they do business with ELTG.<span class="quoteclose">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>');
	var testimonialBy=new Array('- Darius Panah, President','- Darius Panah, President','- Darius Panah, President');
	var ranNum= Math.round(Math.random()*2);
	
	var objTestimonialText = document.getElementById('testimonialText');
	var objTestimonialBy = document.getElementById('testimonialBy');
	objTestimonialText.innerHTML=testimonialText[ranNum];

	objTestimonialBy.innerHTML=testimonialBy[ranNum];
	}
