function ShowTask(taskid)
{
	var p = window.document;
	var height = p.body.scrollHeight;
	var height_1 = p.body.clientHeight;
	
	var width = p.body.scrollWidth;
	var alert_height = 300;
	var alert_width = 450;
	var alert_left = (width - alert_width)/2;
	var alert_top = 100;//(height_1 - alert_height)/2;
	
	// 创建层
	var s=p.createElement("DIV");
	
	// 设置层的相关属性
	s.style.visibility="";
	
	// 定义层的样式
	s.style.position="absolute";
	s.style.left="0px";
	s.style.top="0px";
	s.style.width="100%";
	s.style.height=height +"px";
	s.style.backgroundColor="#cccccc";
	s.style.filter="alpha(opacity=50)";
	// 生成iframe
	var L=p.createElement("IFRAME");
	L.name="completionFrame";
	
	// 定义iframe的样式，宽高与s相同
	L.width=s.style.width;
	L.height=s.style.height;
	
	// 附加L到s
	s.appendChild(L);
	
	// 显示s
	p.body.appendChild(s);

	// 创建内容层
	var t=p.createElement("DIV");
	
	// 设置相关属性
	t.style.visibility="";
	t.zIndex=1;
	
	// 定义样式表，长宽高和定位等
	t.style.position="absolute";
	t.style.left= alert_left + "px";
	t.style.top= alert_top + "px";
	t.style.width= alert_width + "px";
	t.style.height= alert_height + "px";
	//t.style.border="#ff6600 2px solid";
	t.style.backgroundColor="white";
	
	// 定义你要表现的内容
	
	t.innerHTML = '<iframe src="../users/ShowMyTask.aspx?taskid='+taskid+'&url='+window.location.href+'" width="450" height="300" frameborder="0" scrolling="no" vspace="0" hspace="0"></iframe>';
	// 显示
	p.body.appendChild(t);
}