function upd(showdata,w,h,id,type)
{
    if(type == 'u')
	{
	   showdata+= '<iframe width="'+w+'" height="'+(h-25)+'" src="/memberadmin/live.asp?id='+id+'" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>';
	}
	if(type == 'uu')
	{
	   showdata+= '<iframe width="'+w+'" height="'+(h-25)+'" src="/memberadmin/liveu.asp?id='+id+'" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>';
	}
	else if(type == "c")
	{
	   showdata+= '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2" height="20" align="center"><strong><font color="#FF9900">您确定要隐藏当前视频吗?</font></strong></td></tr><tr><td width="50%" height="40" align="center"><input type="button" name="Submit" value=" 确 定 " onClick=\'window.location="/inc/act.asp?act=dispvideo&id='+id+'"\'></td><td width="50%" align="center"><input type="button" name="Submit" value=" 取 消 " onClick="closeupd();"></td></tr></table>';
	}
	else if(type == "p")
	{
	   showdata+= '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2" height="20" align="center"><strong><font color="#FF9900">您确定要发布当前视频吗?</font></strong></td></tr><tr><td width="50%" height="40" align="center"><input type="button" name="Submit" value=" 确 定 " onClick=\'window.location="/inc/act.asp?act=ppvideo&id='+id+'"\'></td><td width="50%" align="center"><input type="button" name="Submit" value=" 取 消 " onClick="closeupd();"></td></tr></table>';
	}
	else if(type == "d")
	{
	   showdata+= '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2" height="20" align="center"><strong><font color="#FF9900">您确定要删除当前视频吗?</font></strong></td></tr><tr><td width="50%" height="40" align="center"><input type="button" name="Submit" value=" 确 定 " onClick=\'window.location="/inc/act.asp?act=delvideo&id='+id+'"\'></td><td width="50%" align="center"><input type="button" name="Submit" value=" 取 消 " onClick="closeupd();"></td></tr></table>';
	}
	else if(type == "z")
	{
	   showdata+= '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2" height="20" align="center"><strong><font color="#FF9900">您确定要将当前视频置顶吗?</font></strong></td></tr><tr><td width="50%" height="40" align="center"><input type="button" name="Submit" value=" 确 定 " onClick=\'window.location="/inc/act.asp?act=topvideo&id='+id+'"\'></td><td width="50%" align="center"><input type="button" name="Submit" value=" 取 消 " onClick="closeupd();"></td></tr></table>';
	}
	else if(type == "cang")
	{
	   showdata+= '<iframe width="'+w+'" height="'+(h-25)+'" src="/memberadmin/inc/cang.asp?id='+id+'" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
	}
	else if(type == "zzz")
	{
	   showdata+= '<iframe width="'+w+'" height="'+(h-25)+'" src="/memberadmin/inc/info.asp?id='+id+'" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
	}
	else if(type == "jubao")
	{
	   showdata+= '<iframe width="'+w+'" height="'+(h-25)+'" src="/memberadmin/inc/jubao.asp?id='+id+'" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
	}
	else if(type == "delzj")
	{
	   showdata+= '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2" height="20" align="center"><strong><font color="#FF9900">您确定要删除当前专辑吗?</font></strong></td></tr><tr><td width="50%" height="40" align="center"><input type="button" name="Submit" value=" 确 定 " onClick=\'window.location="/inc/act.asp?act=delzj&id='+id+'"\'></td><td width="50%" align="center"><input type="button" name="Submit" value=" 取 消 " onClick="closeupd();"></td></tr></table>';
	}
	else if(type == "delzjs")
	{
	   showdata+= '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2" height="20" align="center"><strong><font color="#FF9900">您确定要删除当前专辑吗?</font></strong></td></tr><tr><td width="50%" height="40" align="center"><input type="button" name="Submit" value=" 确 定 " onClick=\'window.location="/inc/act.asp?act=delzj&ttd=ok&id='+id+'"\'></td><td width="50%" align="center"><input type="button" name="Submit" value=" 取 消 " onClick="closeupd();"></td></tr></table>';
	}
	
	else if(type == "dddel")
	{
	   showdata+= '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2" height="20" align="center"><strong><font color="#FF9900">您确定要删除当前视频吗?</font></strong></td></tr><tr><td width="50%" height="40" align="center"><input type="button" name="Submit" value=" 确 定 " onClick=\'window.location="/inc/act.asp?act=delvideo&back=show&id='+id+'"\'></td><td width="50%" align="center"><input type="button" name="Submit" value=" 取 消 " onClick="closeupd();"></td></tr></table>';
	}
	
	else if(type == "updszj")
	{
	    showdata+= '<iframe width="'+w+'" height="'+(h-25)+'" src="/memberadmin/inc/cangupd.asp?id='+id+'" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>'
	}
	
	DialogShow(showdata,w,h,w,h);
	ScreenConvert();
	
}

function closeupd()
{
      DialogHide();
	  ScreenClean()
}

function jk(text)
{
        if (confirm(text)){
        return true;
        }else{
        return false;}

}

//<meta http-equiv="Content-Type" content="text/html; charset=gb2312">