﻿//--블라인드레이어 뛰우기 :s
function blindL(_url, _wNum) {
    var browWidth = document.body.clientWidth;
    var customWidth = (browWidth - _wNum) / 2;

    document.write('\
	<!-- 100% 반투명 베이스 -->\
	<div id="Blind" style="display:none;position:absolute;width:100%;height:100%;left:0;top:0;background-color:#000;opacity:.4;-ms-filter:alpha(opacity=40);filter:alpha(opacity=40);z-index:100000;"></div>\
	<div id="BlindCont" style="display:none;position:absolute;left:' + customWidth + 'px;top:15%;text-align:center;z-index:100000;">\
		<iframe name="bfrm" src=' + _url + ' allowtransparency="true" width="' + _wNum + '" height="750px" frameborder="0" scrolling="no"></iframe>\
	</div>\
	');
    document.getElementById("Blind").style.height = document.documentElement.scrollHeight;
}

function mevtView(isLogin) {

	if (isLogin == "True" || isLogin == true) {
		//document.getElementById("BlindCont").style.display = "block";

		document.getElementById("Blind").style.display = "block";
        document.getElementById("BlindCont").style.display = "block";
        //document.getElementById("topnavi").style.zIndex = "1";
        //document.getElementById("leftarea").style.zIndex = "1";
    } else {
        alert("로그인 후 이용할 수 있습니다.");
        location.href = "/Login/LoginMember.aspx";
    }
}
function mevtHidden() {
    top.document.getElementById("Blind").style.display = "none";
    top.document.getElementById("BlindCont").style.display = "none";
    //top.document.getElementById("topnavi").style.zIndex = "1000";
    //top.document.getElementById("leftarea").style.zIndex = "1000";
}

