var lastHeight = null;

function getHeight (elm, hashName)
{	
	var h = location.hash.toLowerCase().indexOf(hashName) > -1;
	var iframeheight = null;
	var newHeight = location.hash.split('=')[1];
	
	if (h && lastHeight != newHeight)
	{
		$(elm).css('height', newHeight+'px');
		//window.clearInterval(inter);
		setTimeout("setColumnHeight()", 100)
		lastHeight = newHeight;
		//if(!$.browser.msie) history.go(-1);
	}
}

//$(document).ready(
//	function ()
//	{
//		//var iFrameLink = $('#externalFace').attr('src');
//		//$('#externalFace').attr('src', iFrameLink+'?iframeTopLocation=' + escape(document.location.href));
//		inter = setInterval("getHeight('#externalFace', 'iframeheight')", 200);
//		
//		// Calculating page dimensions for eleminating transperent sections
//		$(window).load(
//			function ()
//			{
//				setColumnHeight();	
//			}
//		);
//	}
//);
