//setting the content and testimonial area widths as percentages, while leaving consistent 20px margins

function px(val)
{
	return parseInt(val)+"px" ;
}

function mainWidth(fixedWidth)
{
	var elemA = document.getElementById("content") ;
	elemA.style.width = px(fixedWidth) ;
}

function rightWidth(fixedWidth)
{
	var elemB = document.getElementById("rightSide") ;
	elemB.style.width = px(fixedWidth) ;
}

function setSizes() {
	if (document.body.clientHeight && document.body.clientWidth)
	{
		mainWidth(document.body.clientWidth/100*75-30) ;
		rightWidth(document.body.clientWidth/100*25-30) ;
	}
	else if (window.innerWidth && window.innerHeight)
	{
		mainWidth(window.innerWidth/100*75-30) ;
		rightWidth(window.innerWidth/100*75-30) ;
	}
}










