function initBorders()
{
	var settings = 
	{
	  tl: false,
	  tr: false,
	  bl: { radius: 20 },
	  br: { radius: 20 },
	  antiAlias: true,
	  autoPad: true,
	  validTags: ["div"]
	}

	var top =  new curvyCorners(settings, "top");
	top.applyCornersToAll();
	
	var bottomSettings =
	{
		tl: { radius: 20 },
		tr: { radius: 20 },
		bl: false,
		br: false,
		antiAlias: true,
		autoPad: true,
		validTags: ["div"]
	}
	
	var bottom = new curvyCorners(bottomSettings, "footer");
	bottom.applyCornersToAll();
}

function determineClientSize()
{
	var height, width;
	
	if(document.documentElement.clientHeight != null)   // IE
	{
		height = document.documentElement.clientHeight;
		width = document.documentElement.clientWidth;
	}
	else 
	{
		height = window.innerHeight;
		width = window.innerWidth;
	}
	
	var div = document.getElementById('divCont');
	
	var divTop = document.getElementById('divTop');
	var divFoot = document.getElementById('divFoot');
	
	div.style.height = (parseInt(height) - parseInt(divTop.clientHeight) - parseInt(divFoot.clientHeight) - 75) + 'px';
}
