//--------------------------------------
//	File: 	jshelpers.js
//--------------------------------------


//--------------------------------------
//	Function: 	setTitleWidth
//	Params:	None
//	Reteurns:	None
//	Description:	Determines the width of a body of test text in "ruler" and 
//			sets the target title element's width to be the same
//--------------------------------------

function setTitleWidth()
{
	var ruler = document.getElementById("ruler");
	var content = ruler.innerHTML;
	var width = (ruler.clientWidth + 7) + "px";
	
	var title = document.getElementById("title");
	title.style.width = width;
}
