function hid() {
    var SourceDirectoryStr=document.getElementById("SourceDirectoryValue").value;
    var div4 = document.getElementById("div1");
    div4.innerHTML = "<table width='300' border='0' cellspacing='0' cellpadding='0'> <tr><td align='left' style='height:25px;line-height:25px; overflow:hidden; background-color:#000000;color:#999999;padding-left:5px;'>会员登录</td><td align='right' style='height:25px; padding-right:12px; line-height:25px; overflow:hidden; background-color:#000000;'><a onclick='vis()' href='#' style='color:#999999;text-decoration:none;font-family:'宋体';font-size:12px;' id='text'>关闭</a></td></tr></table><iframe src='"+SourceDirectoryStr+"' frameborder='0' width='300px' height='130px' scrolling='no'></iframe> ";
    div4.style.display = "block";
    div4.style.width = "300px";
    div4.style.height = "170px";
    div4.style.zIndex = "9999";
    div4.style.top = "25%";
    div4.style.left = (document.body.clientWidth - 300) / 2 + "px";
    div4.style.position = "absolute";
    var div3 = document.getElementById("div2");
    div3.style.display = "block";
    //alert(document.body.clientWidth);
    div3.style.width = document.body.clientWidth+"px";
    div3.style.zIndex = "9998";
    div3.style.position = "absolute";
    div3.style.height = document.body.clientHeight + "px";
    div3.style.top = "0px";
    div3.style.left = "0px";

}
function vis() {
    var div4 = document.getElementById("div1");
    div4.innerHTML = "";
    div4.style.display = "none";
   // div4.removeAttribute;
    var div3 = document.getElementById("div2");
    div3.style.display = "none";
    div3.style.width = "0px";
    div3.style.height = "0px";
}



function hid_Video(m) {
    var div4 = document.getElementById("div1");
    div4.innerHTML = "<table width='480' border='0' cellspacing='0' cellpadding='0' style='background-color:#FFFFFF;'> <tr><td align='left' style='height:25px;line-height:25px; overflow:hidden; background-color:#000000;color:#999999;padding-left:5px;'>视频观看</td><td align='right' style='height:25px; padding-right:12px; line-height:25px; overflow:hidden; background-color:#000000;'><a onclick='vis()' href='#' style='color:#999999;text-decoration:none;font-family:arial;' id='text'>关闭</a></td></tr></table><iframe src='images/Video/VideoPlayer.aspx?id=" + m + "' frameborder='0' width='480'style='height:650px;' scrolling='no'></iframe> ";
    div4.style.display = "block";
    div4.style.width = "480px";
    div4.style.height = "auto";
    div4.style.zIndex = "9999";
    div4.style.top = "5%";
    div4.style.left = (document.body.clientWidth - 480) / 2 + "px";
    div4.style.position = "absolute";
    var div3 = document.getElementById("div2");
    div3.style.display = "block";
    div3.style.width = document.body.clientWidth + "px";
    div3.style.zIndex = "9998";
    div3.style.position = "absolute";
    div3.style.height = document.body.clientHeight + "px";
    div3.style.top = "0px";
    div3.style.left = "0px";

}
function vis_Video() {
    var div4 = document.getElementById("div1");
    div4.style.display = "none";
    var div3 = document.getElementById("div2");
    div3.style.display = "none";
    div3.style.width = "0px";
    div3.style.height = "0px";
}
