/*
 * Right DIV Height
 */
 
function checkSkyscraper(){
	var skyScraper = document.getElementById('skyscraper')
	if (skyScraper!=null){
			var skyScraperHeight=skyScraper.offsetHeight;
			var setedHeight=skyScraperHeight;
	}else{
			var setedHeight=0;
	}
	setedHeight = setedHeight+252;
	return setedHeight;
}

function heightRightDiv(x){
	var h=checkSkyscraper();
	if (contentHeight!=h){
		var contentHeight=  document.getElementById('middleContentColumn').offsetHeight;
	
		if(isFF){
			var contentHeightLeft=  document.getElementById('leftContentColumn').offsetHeight;
			if(contentHeightLeft > contentHeight){
				contentHeight=	contentHeight + 40;
			}
		}
		
		if (x=="flash" && contentHeight<=h) {
			contentHeight =	h;
		}
		
		document.getElementById('rightContainer').style.height	=  contentHeight+'px';
		document.getElementById('rightContent').style.height		=  contentHeight+'px';
	}
}

window.onresize = function(){
	heightRightDiv();
}
