function initQuote(){
        var quoteField = document.getElementById('js-quote');
        var authorField = document.getElementById('js-author');
        var quote_arr = [
	'We have found Corporate Counsel Group to be very good and very reasonably priced. These guys are just a pleasure to work with.  They think like we do, worry about the things we worry about. I would encourage you to use these guys. We really do use them like in-house counsel and our employees work directly with them without filtering through me or my General Counsel. They will learn your needs.', 
	'With Corporate Counsel Group, we dramatically reduced our legal costs while improving the efficiency of our contract negotiations and reducing the time to close new deals.  By outsourcing our in-house counsel role to CCG, we now have the right legal resources in place to match our deal flow, with the ability to rapidly scale in months of high deal volume.',
	'We work with Corporate Counsel Group because it provides the expertise of a larger law firm without large firm inefficiencies.  We&rsquo;ve been impressed with the firm&rsquo;s responsiveness, personal service and cost-effectiveness.',  
 	'Corporate Counsel Group responded quickly over a holiday weekend to help us negotiate a $75 million shopping center financing.  The firm produces quality work at a very reasonable cost.' 
        ];
    var author_arr = [
                '<strong>Adam Berger<br/>  CEO <br/>  Spark Networks</strong>',
                '<strong>Jason Seldon<br/>  VP of Finance<br/>  Think Passenger, Inc.</strong>',
		'<strong>Michael J. Sekits<br/> Partner<br/> JAM Equity Partners, LLC</strong>',
		'<strong>Allan Davidov<br/> President <br/> Misuma Holdings</strong>'
        ];


        var quoteRandom = Math.floor( ( quote_arr.length ) * Math.random() );
        if(quoteField && authorField){
          if (document.getElementById('regroup')) {
            quoteField.innerHTML = quote_arr[3];
            authorField.innerHTML = author_arr[3];
	  } else {
            quoteField.innerHTML = quote_arr[quoteRandom];
            authorField.innerHTML = author_arr[quoteRandom];
          }
        };
	setHeight();

};

function initNavigation()
{
	if (document.images)
	{
		pic10= new Image(156,30);
		pic10.src="_include/img/nav-about-ccg-over.gif";
	}
	var about= document.getElementById('nav-about');
	var aboutSub= document.getElementById('nav-about-sub');
	var practice= document.getElementById('nav-practice');
	var practiceSub= document.getElementById('nav-practice-sub');
	var people= document.getElementById('nav-people');
	var clients= document.getElementById('nav-clients');
	var clientsSub= document.getElementById('nav-clients-sub');
	var newsroom= document.getElementById('nav-newsroom');
	var contact= document.getElementById('nav-contact');
	about.onmouseover = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-about-ccg-over.gif";
	};
	about.onmouseout = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-about-ccg-up.gif";
	};
	aboutSub.onmouseover = function(){
		about.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-about-ccg-over.gif";
	};
	aboutSub.onmouseout = function(){
		about.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-about-ccg-up.gif";
	};
	practice.onmouseover = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-practice-areas-over.gif";
	};
	practice.onmouseout = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-practice-areas-up.gif";
	};
	practiceSub.onmouseover = function(){
		practice.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-practice-areas-over.gif";
	};
	practiceSub.onmouseout = function(){
		practice.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-practice-areas-up.gif";
	};
	people.onmouseover = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-people-over.gif";
	};
	people.onmouseout = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-people-up.gif";
	};
	clients.onmouseover = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-clients-over.gif";
	};
	clients.onmouseout = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-clients-up.gif";
	};
	clientsSub.onmouseover = function(){
		clients.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-clients-over.gif";
	};
	clientsSub.onmouseout = function(){
		clients.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-clients-up.gif";
	};
	newsroom.onmouseover = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-newsroom-over.gif";
	};
	newsroom.onmouseout = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-newsroom-up.gif";
	};
	contact.onmouseover = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-contact-us-over.gif";
	};
	contact.onmouseout = function(){
		this.firstChild.src="http://www.corpcounselgroup.com/_include/img/nav-contact-us-up.gif";
	};
}


window.onload=function()
{
	initNavigation();
}

function setHeight()
{
        var DivHeightMain = document.getElementById('maincol').clientHeight;
        var DivHeightRight = document.getElementById('rightcol').clientHeight;
        if (DivHeightRight < DivHeightMain) {
          var height = DivHeightMain + 7; 
        } else {
          var height = DivHeightRight + 10;	
        }
     
        document.getElementById('leftnav').style.height = height + 'px';
        document.getElementById('rightcol').style.height = height + 'px';


}
