/* マップを表示する */
var BackScreen = Class.create();
BackScreen.prototype = {
    initialize: function(backscript) {
        pageWidth = document.body.clientWidth;
        pageHeight = document.body.scrollHeight;
        if (!document.all) {
            pageHeight = document.documentElement.clientHeight + window.scrollMaxY;
        }
        this.divNode = document.createElement('div');
        with (this.divNode) {
            with (style) {
                cursor = 'pointer';
                filter = 'alpha(opacity=60)';
                MozOpacity = 0.6;
                width = pageWidth + 'px';
                height = pageHeight + 'px';
                visibility = 'hidden';
                zIndex = '20000';
                position = 'absolute';
                background = '#000000';
                left = '0px';
                top = '0px';
            }
        }
        this.innerFNode = document.createElement('iframe');
        this.innerFNode.width = '100%';
        this.innerFNode.height = '100%';
        with (this.innerFNode) {
            with (style) {
                filter = 'alpha(opacity=60)';
                width = pageWidth + 'px';
                height = pageHeight + 'px';
                zIndex = '9999';
                visibility = 'inherit';
                background = '#000000';
                cursor = 'pointer';
            }
        }
        this.divNode.appendChild(this.innerFNode);
        var objBody = document.getElementById("container");
        objBody.appendChild(this.divNode);
    },
    setvisibility: function(value) {
        _divnode = this;
        _divnode.divNode.style.visibility = value;
    }
}