
	    
        dimensionFixMaster = function()
	    {
		    var divMainObj, secondRowObj, divContainerObj, wrapperObj, contentObj, leftObj, rightObj, abc123Obj, divMainHeaderMenu;
		    var divMainWidth = 0, divContainerWidth, wrapperWidth = 0, centralContentWidth = 0, contentHeight = 0, flexHeight = 0, abc123Height = 0;
    		
    		divMainObj = document.getElementById("divMainRow");
    		secondRowObj = document.getElementById("secondRow");
    		divContainerObj = document.getElementById("divContainer");
    		wrapperObj = document.getElementById("centralWrapperA");
    		contentObj = document.getElementById("centralContentA");
		    divMainHeaderMenu = document.getElementById("divMainCenterHeaderMenu");		    
		    
		    leftObj = document.getElementById("divMainLeftFlex");
		    rightObj = document.getElementById("divMainRightFlex");
		    abc123Obj = document.getElementById("abc123");
		    
		    divMainWidth = divMainObj.offsetWidth;
		    divContainerWidth = divContainerObj.offsetWidth;
		    wrapperWidth = wrapperObj.offsetWidth;
		    centralContentWidth = contentObj.offsetWidth;
		    contentHeight = contentObj.offsetHeight;
		    abc123Height = abc123Obj.offsetHeight;
		    
		    // no change: because scroll IE and FF
		    divMainWidth = screen.width - 31;
		    divMainObj.style.width = divMainWidth + "px";
		    if(screen.width <= 1024)
		    {
		        secondRowObj.style.height = "60px";
		        divMainHeaderMenu.style.marginLeft = "10%";
		    }
		    divContainerObj.style.width = divMainWidth + "px";
		    wrapperObj.style.width = divMainWidth - 43 + "px";
		    contentObj.style.width = divMainWidth - 43 + "px";
    		// end no change    		
		    if(contentHeight <= 100)
		    {
		        contentObj.style.height = "100px";
		    }
		    else
		    {	contentHeight = abc123Height + 36 + 80;	    
		        flexHeight = contentHeight - 100 ;
//		        leftObj.style.height = flexHeight + "px";
//		        rightObj.style.height = flexHeight + "px";
		        //Calculate total Height for centralWrapperA
    		    var totalWrapperheight = 0;
    		    totalWrapperheight  = 42 + 36 +22 + flexHeight ;
    		    //alert(" Main Height: "  + totalWrapperheight );
    		    leftObj.style.height = totalWrapperheight + "px";
		        rightObj.style.height = totalWrapperheight + "px";    		    
    		    contentObj.style.height = 100 + totalWrapperheight + "px";
		    }   
		    //alert("chieu cao cua box ben trong:" + abc123Height);		
	    }  
	    
	   window.onload = function()
	    {	  
    	    dimensionFixMaster();
	    }