// JavaScript Document

function func_isIE()
{
	objTemp = document.createElement("DIV");
	if (objTemp.attachEvent)
		return true;
	else
		return false;
}

function doResize(arrIDs, num_cols)
{
	if (num_cols == null)
		num_cols = 2;

	for(a=0; a<arrIDs.length; a++)
	{
		if(func_isIE())
			valor = document.body.offsetWidth - (190*num_cols);
		else{
			if(document.getElementById('divConteudo'))
				valor = document.getElementById('divConteudo').clientWidth;
			else
				valor = document.body.clientWidth - (190*num_cols);
		}
		if (document.getElementById(arrIDs[a]))
			document.getElementById(arrIDs[a]).style.width = valor-10 + 'px';
	}
}