﻿var divObj;



var commonBodyWidth;
var commonBodyHeight;

function CreateComDiv() {
    if (document.getElementById("divCommon") == null) {

        divObj = document.createElement("div");
        divObj.style.borderWidth = "2px";
        //divObj.style.Z-INDEX = 20;
        divObj.style.POSITION = "absolute";
        divObj.id = "divCommon";
        divObj.style.display = "none";

        divObj.style.backgroundColor = "#177CC2";

        document.body.appendChild(divObj);
    }
    else {
        divObj = document.getElementById("divCommon");
    }


    commonBodyWidth = document.documentElement.clientWidth;
    commonBodyHeight = document.documentElement.clientHeight;
}
