/*
作者：符史径
作用：配置弹出小窗口属性
版本：CHINA8H.V.0.1
*/

//留言窗口
var pop=null;

//信息编辑窗口
function openNewsForm(Uid,Tid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:700,height:490});
	pop.setContents({"title":"创建/编辑信息",'contentUrl':'/Manage/News/NewsForm.aspx?Uid='+Uid+'&Tid='+Tid});
	pop.build().show();
}

//编辑类型
function openFbTypeForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:400,height:200});
	pop.setContents({"title":"创建/编辑类型",'contentUrl':'/Manage/News/FbTypeForm.aspx?Uid='+Uid});
	pop.build().show();
}

//编辑类型
function openInfoTypeForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:400,height:230});
	pop.setContents({"title":"创建/编辑信息类型",'contentUrl':'/Manage/News/InfoTypeForm.aspx?Uid='+Uid});
	pop.build().show();
}

//编辑内容
function openInformationForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:720,height:500});
	pop.setContents({"title":"创建/编辑信息内容",'contentUrl':'/Manage/News/InformationForm.aspx?Uid='+Uid});
	pop.build().show();
}

//编辑网页
function openPageForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:720,height:500});
	pop.setContents({"title":"创建/编辑网页内容",'contentUrl':'/Manage/Page/PageForm.aspx?Uid='+Uid});
	pop.build().show();
}

//编辑模板
function openTemplateForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:720,height:500});
	pop.setContents({"title":"创建/编辑模板",'contentUrl':'/Manage/Systems/TemplateForm.aspx?Uid='+Uid});
	pop.build().show();
}

//编辑模板
function openFeedBack(){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:600,height:400});
	pop.setContents({"title":"业务在线咨询反馈",'contentUrl':'/FeedBack.aspx'});
	pop.build().show();
}

//编辑幻灯片窗口
function openSlideForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:630,height:340});
	pop.setContents({"title":"幻灯片管理",'contentUrl':'/Manage/Systems/SlideForm.aspx?Uid='+Uid});
	pop.build().show();
}

//查看留言窗口openUserForm
function openLeveaWord(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:630,height:400});
	pop.setContents({"title":"查看留言",'contentUrl':'/Manage/Systems/LeveaWordForm.aspx?Uid='+Uid});
	pop.build().show();
}

//用户帐户窗口
function openUserForm(Uid){
	if(pop!=null) pop.close();
	pop=new Popup({contentType:1,isSupportDraging:false,isReloadOnClose:false,width:390,height:170});
	pop.setContents({"title":"用户帐户",'contentUrl':'/Manage/Systems/UserForm.aspx?Uid='+Uid});
	pop.build().show();
}
