function SetCwinHeight()
{
	var cwin=document.getElementById("cwin");
	if (document.getElementById)
	{
		if (cwin && !window.opera)
		{
			if (cwin.contentDocument && cwin.contentDocument.body.offsetHeight)
			{
				cwin.height = cwin.contentDocument.body.offsetHeight; 
			}
			else if(cwin.Document && cwin.Document.body.scrollHeight)
			{
				cwin.height = cwin.Document.body.scrollHeight;
			}
		}
	}
}

function SetFeaturedHeight()
{
	var cwin=document.getElementById("featured");
	if (document.getElementById)
	{
		if (cwin && !window.opera)
		{
			if (cwin.contentDocument && cwin.contentDocument.body.offsetHeight)
			{
				cwin.height = cwin.contentDocument.body.offsetHeight; 
			}
			else if(cwin.Document && cwin.Document.body.scrollHeight)
			{
				cwin.height = cwin.Document.body.scrollHeight;
			}
		}
	}
}

function SetHeaderHeight()
{
	var cwin=document.getElementById("header");
	if (document.getElementById)
	{
		if (cwin && !window.opera)
		{
			if (cwin.contentDocument && cwin.contentDocument.body.offsetHeight)
			{
				cwin.height = cwin.contentDocument.body.offsetHeight; 
			}
			else if(cwin.Document && cwin.Document.body.scrollHeight)
			{
				cwin.height = cwin.Document.body.scrollHeight;
			}
		}
	}
}

function SetMainHeight()
{
	var cwin=document.getElementById("main");
	if (document.getElementById)
	{
		if (cwin && !window.opera)
		{
			if (cwin.contentDocument && cwin.contentDocument.body.offsetHeight)
			{
				cwin.height = cwin.contentDocument.body.offsetHeight; 
			}
			else if(cwin.Document && cwin.Document.body.scrollHeight)
			{
				cwin.height = cwin.Document.body.scrollHeight;
			}
		}
	}
}

function SetFooterHeight()
{
	var cwin=document.getElementById("footer");
	if (document.getElementById)
	{
		if (cwin && !window.opera)
		{
			if (cwin.contentDocument && cwin.contentDocument.body.offsetHeight)
			{
				cwin.height = cwin.contentDocument.body.offsetHeight; 
			}
			else if(cwin.Document && cwin.Document.body.scrollHeight)
			{
				cwin.height = cwin.Document.body.scrollHeight;
			}
		}
	}
}