/*
作者：符史径
作用：配置弹出小窗口属性
版本：CHINA8H.V.0.1
*/

//留言窗口
var pop=null;
function openLW(){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:500,height:330});
	pop.setContents({"title":"在线咨询",'contentUrl':'/QLeaveword.aspx'});
	pop.build().show();
}

//信息编辑窗口
function openNewsForm(Uid,Tid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:700,height:400});
	pop.setContents({"title":"创建/编辑信息",'contentUrl':'/Manage/News/NewsForm.aspx?Uid='+Uid+'&Tid='+Tid});
	pop.build().show();
}

//信息编辑窗口
function openTemplateForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:700,height:400});
	pop.setContents({"title":"创建/编辑模板",'contentUrl':'/Manage/Systems/TemplateForm.aspx?Uid='+Uid});
	pop.build().show();
}

//信息编辑窗口
function openRelwForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:700,height:400});
	pop.setContents({"title":"回复咨询",'contentUrl':'/Manage/Files/LeveaWordForm.aspx?Uid='+Uid});
	pop.build().show();
}
