	//var winl = (screen.width - w) / 2;
	//var wint = (screen.height - h) / 2;
function remoteControl(i){
window.opener.location=i
}
function acctAccess(i)
{
   winContent = window.open('../acctAccess.asp?id='+i, 'nextWin', 'left=500,top=150,width=214,height=400,toolbar=No,scrollbars=No,resizable=No')
   //window.open("../acctAccess.asp?id="+i,"","Height=400px, Width=214px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=no");
   
   winContent.focus()
}
function addMember()
{
   //showModalDialog
   //returnValue = window.open("formCng.asp?Rel=addType","","dialogHeight: 230px; dialogWidth: 300px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: Yes; status: No;");
   returnValue = window.open("../formCng.asp?Rel=addMember","","Height=480px, Width=400px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function addRecord()
{
   returnValue = window.open("../formCng.asp?Rel=addRecord","","Height=230px, Width=450 px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editMember(x)
{
   returnValue = window.open("../formCng.asp?Rel=editMember&memid="+x,"","Height=490px	, Width=400px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editMember2(x)
{
   returnValue = window.open("../formCng.asp?Rel=editMember&memid="+x+"&loc=2","","Height=490px	, Width=400px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editTextAreaUNI()
{
   returnValue = window.open("../formCng.asp?Rel=UNI","","Height=240px, Width=450 px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editLink(z)
{  //linkCreator.asp?TypeID=<%'=dbRsLinksL("linkType_id")%>
   returnValue = window.open("../linkCreator.asp?TypeID="+z,"","Height=240px, Width=450 px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function addLink()
{
   returnValue = window.open("../formCng.asp?Rel=addLinkRecord","","Height=240px, Width=450 px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function addTestimony()
{
   returnValue = window.open("../formCng.asp?Rel=addTestimony","","Height=380px, Width=720px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editTestimony(z)
{  //linkCreator.asp?TypeID=<%'=dbRsLinksL("linkType_id")%>
   returnValue = window.open("../formCng.asp?Rel=editTestimony&id="+z,"","Height=430px, Width=720px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editTestimony2(z)
{  //linkCreator.asp?TypeID=<%'=dbRsLinksL("linkType_id")%>
   returnValue = window.open("../formCng.asp?Rel=editTestimony2&id="+z,"","Height=390px, Width=720px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editPartnersWI(z)
{  //linkCreator.asp?TypeID=<%'=dbRsLinksL("linkType_id")%>
   returnValue = window.open("../formCng.asp?Rel=editPartnersWI&id="+z,"","Height=390px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editTestimonyclp()
{
   returnValue = window.open("../formCng.asp?Rel=editTestimonyclp","","Height=310px, Width=300px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editTeachingclp()
{
   returnValue = window.open("../formCng.asp?Rel=editTeachingclp","","Height=310px, Width=300px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editFrontContent_1()
{
   returnValue = window.open("../formCng.asp?Rel=editFrontContent_1","","Height=290px, Width=750px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editMteamWI()
{
   returnValue = window.open("../formCng.asp?Rel=editMteamWI","","Height=430px, Width=750px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function addPartnersWI()
{
   returnValue = window.open("../formCng.asp?Rel=addPartnersWI","","Height=390px, Width=750px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function sendNewMsg(z)
{
   returnValue = window.open("../formCng.asp?Rel=sendNewMsg&id="+z,"","Height=450px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function sendNewMsg2(z)
{
   returnValue = window.open("../formCng.asp?Rel=sendNewMsg&id="+z+"&loc=2","","Height=450px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function saveNewDraft()
{
   returnValue = window.open("../formCng.asp?Rel=saveNewDraft","","Height=450px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function saveNewDraft2()
{
   returnValue = window.open("../formCng.asp?Rel=saveNewDraft&loc=2","","Height=450px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function viewDraft(x)
{
   returnValue = window.open("../formCng.asp?Rel=viewDraft&id="+x,"","Height=450px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function readMsg(z)
{
   returnValue = window.open("../formCng.asp?Rel=readMsg&id="+z,"","Height=600px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function readMsg_ss(z)
{
   returnValue = window.open("../formCng.asp?Rel=readMsg_ss&id="+z,"","Height=450px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function sendMsg_NUI(z)
{
   returnValue = window.open("../formCng.asp?Rel=sendMsg_NUI&id="+z,"","Height=550px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function helpDesk()
{
   returnValue = window.open("../formCng.asp?Rel=helpDesk","","Height=465px, Width=750px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editTeaching_all(x)
{
   returnValue = window.open("../formCng.asp?Rel=editTeaching_all&id="+x,"","Height=520px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function addTeaching_all()
{
   returnValue = window.open("../formCng.asp?Rel=addTeaching_all","","Height=520px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function addFaq()
{
   returnValue = window.open("../formCng.asp?Rel=addFaq","","Height=400px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editFaq(x)
{
   returnValue = window.open("../formCng.asp?Rel=editFaq&id="+x,"","Height=400px, Width=740px, Top=100px, Left=250px, align=center, resizable=No, status=No, scrollbars=yes");
}
function editVerseRotator()
{
   returnValue = window.open("../formCng.asp?Rel=editVerseRotator","","Height=600px, Width=740px, Top=100px, Left=250px, align=center, resizable=Yes, status=No, scrollbars=yes");
}
//function editLink(z)
//{ linkCreator.asp?TypeID=<%'=dbRsLinksL("linkType_id")%>
//	returnValue = window.open("linkCreator.asp?TypeID="+z,"","Height=240px, Width=450 px, Top=100px, Left=250px, align=center, resizable= //Yes, status=No, scrollbars=yes");
//}
//function editMember(i,x)
//{
//   returnValue = window.open("formCng.asp?Rel=editRecord&cat="+i+"&id="+x,"","Height=230px, Width=450 px, Top=100px, Left=250px, align=center, resizable= Yes, status=No, scrollbars=yes");
//}