// Set the minimum page dimensions:

var iWidth = 0;
var iHeight = 0;
var minH = 475;
var minW = 780;

function arrangeDIVs() {
	var iW = getWidth();
	var iH = getHeight();
	eWidth = iW - minW;
	var contHeight = getDIVHeight('content');
	var sNH = getDIVHeight('sideNav');
	var linksHeight = getDIVHeight('links');
	var rHeight = Math.max(contHeight - 60,linksHeight);
	var absContHeight = Math.max(rHeight + 160,iH - 116,sNH + 110);
	positionDIV('ctN',150,116,-1,-1)
	positionDIV('ppCrest',15,3,-1,-1)
	positionDIV('bristolL',(iW - 185),6,-1,-1)
	positionDIV('hText',73 + (eWidth / 10),15,-1,-1)
	positionDIV('siteNav',0,82,-1,-1)
	positionDIV('infoNav',0,102,-1,-1)
	positionDIV('navBG',0,116,-1,absContHeight)
	positionDIV('content',192,143,(400 + (eWidth)),-1)
	positionDIV('rhsDiv',(iW - 153),145,-1,rHeight)
	positionDIV('links',(iW - 133),145,-1,-1)
	positionDIV('sideNav',7,135,-1,-1)
	positionDIV('footer',200,rHeight + 235,(380 + (eWidth)),-1)
	for (i=1;i<lngNC1;i++) {
		positionDIV('dd' + i,7,(112 + (i * 23)),-1,-1)
	}
}
