		//Equal column heights
		function adjustLayout() 
		{		    	
		    var isStartPage = false;
		    if (window.document.getElementById("startpage-travelplanner-quicksearch"))
		    {
		        isStartPage = true;
		    }
		    
			var fontSizeFloat = 10.4;
			try	
			{
				var fontSize= xGetComputedStyle(xGetElementById('mainRegionContainer'), 'font-size');			
				if (fontSize.indexOf('em',0)>0) 
				{				
					fontSizeFloat = parseFloat(fontSize.replace('em',''));
					fontSizeFloat = fontSizeFloat*16.0;					
				}
				if (fontSize.indexOf('px',0)>0) 
				{				
					fontSizeFloat = parseFloat(fontSize.replace('px',''));
				}
			}
			catch(exception) 
			{
				fontSizeFloat = 10.4;
			}
			

			var pxToEmConversionFactor = 0.1;
			try
			{
				pxToEmConversionFactor = 1/fontSizeFloat;
			}
			catch(exception)
			{
				pxToEmConversionFactor = 0.1;
			}		
		
			var mainRegionContainerHeight = xHeight("mainRegionContainer");//No correct adjustment is possible if 0
			//AKAHN: Change so that it subtracts the height of startPage_trafficInfoBlob from the rightcolumn height.
			var trafficBlobHeight = xHeight("startPage_trafficInfoBlob");
			if (trafficBlobHeight > 0)
			{
			    trafficBlobHeight += 10; //JOJONASS: Add padding to the trafficBlobHeight if it exists
			}
			var loginBlobHeight = xHeight("startPage_loginBlob");
			if (loginBlobHeight > 0) {
			    loginBlobHeight += 10; //JOJONASS: Add padding to the loginBlobHeight if it exists 
			}
			
			if (mainRegionContainerHeight.toString()!="0") {
			    //AKAHN: Adjustment code removed, reason: SKART00000378
			    //DDAHLENI: code readded with some adjustments : SKART00000434
			    
			    var noteRegionContainerHeight = xHeight("noteRegionContainer");
			   // noteRegionContainerHeight = noteRegionContainerHeight + loginBlobHeight + trafficBlobHeight;
				var leftmenudivHeight = xHeight("leftmenudiv");
				
				var maxHeight = Math.max(leftmenudivHeight,Math.max(mainRegionContainerHeight,noteRegionContainerHeight));
				if (isStartPage)
				{
				    leftmenudivHeight = xHeight("startpage-travelplanner-quicksearch");
				    if(mainRegionContainerHeight > leftmenudivHeight + 15)
				    {
				        maxHeight = mainRegionContainerHeight;
				    }
				    else
				    {
				        maxHeight = leftmenudivHeight + 15;
				    }
				}
				
				//var maxHeightNoteRegion = maxHeight - trafficBlobHeight; // Here it subtracts the height of TrafficInfoBlob with Padding from the total height
				var maxHeightNoteRegion = maxHeightNoteRegion - loginBlobHeight;
				
				xHeightEm("mainRegionContainer",maxHeight,pxToEmConversionFactor);
				xHeightEm("noteRegionContainer",maxHeightNoteRegion,pxToEmConversionFactor);
				xHeightEm("leftmenudiv",maxHeight,pxToEmConversionFactor);
			}
			
			try {
				xGetElementById("containerdiv").style.visibility = 'visible';
			}
			catch(exception){}
			try {
				xGetElementById("containerdiv-popup").style.visibility = 'visible';
			}
			catch(exception){}
			
		}
		
		
