
            function wD() // Write Delimiter Image
            {
                document.write('<img src=\'/\'>');
            }
                function wT(txt)// Write some text
                {
                    document.write(txt);
                }
                
                function cD() // Close DIV tag
                {
                    document.write('</div>');
                }
                
                function wG(gid, pid, cls) // Write Menu Group Tag
                {
                    //mnuClass=\'MenuGroup\' 
                    document.write('<div ID=\'virtmenu' + gid + '\' ParentID=\'virtmenu' + pid + '\' style=\'display:none;\' Class=\'' + cls + '\'>');
					var tmpDiv = document.getElementById('virtmenu' + gid);// for initialization in Netscape
					tmpDiv.ParentID = 'virtmenu' + pid;
                }
                
                function wI(iid, pid, havePP, lnk, caption, nStyle, oStyle, sStyle, UseSSL, OpenInNewWindow)// Write Menu Item tag
                {
                    var mnCode = 'virtmenu';
                    document.write('<div ID=\'' + mnCode + iid + '\''); //mnuClass=\'MenuItem\'
                    if(havePP == 1)
                    {
                         document.write(' popupID=\'' + mnCode + iid + 'pp\'');
                         document.write(' isClosed=\'1\'');
                    }
					document.write(' ParentID=\'' + mnCode + pid + '\'');
                    document.write(' Class=\'' + nStyle + '\'');
                    if(nStyle != sStyle)
                        document.write(' onactivate="javascript:this.className=\'' + sStyle + '\'; this.getElementsByTagName(\'SPAN\')[0].className=\'' + sStyle + 'span\'' + ';" ');
                    if(nStyle != oStyle)
                    {
                        document.write(' onmouseover="javascript:if(this.selected==null){this.className=\'' + oStyle + '\'; this.getElementsByTagName(\'SPAN\')[0].className=\'' + oStyle + 'span\'' + ';}" ');
                        document.write(' onmouseout="javascript:if(this.selected==null){this.className=\'' + nStyle + '\'; this.getElementsByTagName(\'SPAN\')[0].className=\'' + nStyle + 'span\'' + ';}" ');
                    }
                    document.write(' onclick="closeAllGroups(this);');
                    document.write('setCookie(\'dcMenu\',\'' + mnCode + '#' + mnCode + iid + '\'');
                    if(havePP == 1) document.write(' + \'/\' + this.isClosed');
                    document.write(');');
					var link='';
					if(UseSSL=='Absolute')
						link = lnk;
					else
						if (UseSSL=='SSL')
							link = 'https://virtual.rts.edu' + lnk;
						else
							link = 'http://virtual.rts.edu' + lnk;
					if(OpenInNewWindow)
						document.write(' window.open(\'' + link + '\',\'\');');
					else
						document.write(' self.location.href=\'' + link + '\';');
					
                    document.write('"><span Class=\'' + nStyle + 'span\'>' + caption + '</span></div>');
					var tmpDiv = document.getElementById(mnCode + iid);// for initialization in Netscape
                    tmpDiv.ParentID = mnCode + pid;
                    if(havePP == 1)
                    {
						tmpDiv.popupID  = mnCode + iid + 'pp';
						tmpDiv.isClosed = '1';
					}
                }
                function Writevirtmenu220(admin,anonymous,campus_admin,cms_user,commerce_admin,customer,directory_editor,gift_admin,ls_admin,ls_user,oa_admin,placement_admin,user,virt_hp_admin)
{wT('<!-- My Stationary WebMenu -->');
wT('<div  style="cursor:hand;">');
wI('1','',0,'http://virtual.rts.edu/','Home','NLev1','OLev1','SLev1','Absolute',false);
wT('<div>');
wI('9705','',1,'/site/virtual/about/about.aspx','About RTS Virtual','NLev1','OLev1','SLev1','NoSSL',false);
wG('9705pp','9705','GrClass');
wI('9705pp11','9705pp',0,'/home.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
wI('9705pp9707','9705pp',0,'/site/virtual/administration/presidentsoffice.aspx','Office of the President','NLev2','OLev2','SLev2','NoSSL',false);
wI('9705pp12','9705pp',0,'/site/about/purpose.aspx','Purpose','NLev2','OLev2','SLev2','NoSSL',false);
wI('9705pp13','9705pp',0,'/site/about/beliefs.aspx','Statement of Beliefs','NLev2','OLev2','SLev2','NoSSL',false);
wI('9705pp19','9705pp',0,'/site/virtual/home/accreditation.aspx','Accreditation','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('9705pp14','9705pp',0,'/site/virtual/home/historyofrtsv.aspx','History of RTS Virtual','NLev2','OLev2','SLev2','NoSSL',false);
wI('9705pp15','9705pp',0,'/site/about/reformed_tradition/reformed_tradition.aspx','Reformed Tradition','NLev2','OLev2','SLev2','NoSSL',false);
wI('9705pp16','9705pp',0,'/site/virtual/admissions/benefitsandfeatures.aspx','Benefits and Features','NLev2','OLev2','SLev2','NoSSL',false);
wI('9705pp110','9705pp',0,'/site/virtual/home/faq.aspx','FAQs','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('9705pp9711','9705pp',0,'/site/virtual/about/student_profiles/matt_waters_student_profile.aspx','Student Profile','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('9705pp111','9705pp',0,'/home.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
cD();
cD();
wT('<div>');
wI('2','',1,'/site/virtual/administration/default.aspx','Administration','NLev1','OLev1','SLev1','NoSSL',false);
wG('2pp','2','GrClass');
wI('2pp21','2pp',0,'/site/virtual/administration/default.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
wI('2pp23','2pp',0,'/site/virtual/administration/registrar.aspx','Registrar','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('2pp24','2pp',0,'/site/virtual/administration/coursedev.aspx','Course Development','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('2pp25','2pp',0,'/site/virtual/administration/studentservicescenter.aspx','Student Services','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('2pp26','2pp',0,'/directory.aspx?campus=6&role=staff','Staff Directory','NLEV2','OLEV2','SLEV2','NoSSL',false);
wT('<div>');
wI('2pp27','2pp',1,'/site/virtual/administration/strategickingdominvestment.aspx','Kingdom Investment','NLEV2','OLEV2','SLEV2','NoSSL',false);
wG('2pp27pp','2pp27','GrClass');
wI('2pp27pp271','2pp27pp',0,'/site/virtual/administration/evaluationpaper.aspx','Evaluation Paper','NLev3','OLev3','SLev3','NoSSL',false);
cD();
cD();
wI('2pp28','2pp',0,'/site/virtual/administration/default.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
cD();
cD();
wT('<div>');
wI('3','',1,'/site/virtual/academics/academics.aspx','Academics','NLev1','OLev1','SLev1','NoSSL',false);
wG('3pp','3','GrClass');
wI('3pp31','3pp',0,'/site/virtual/academics/academics.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
wI('3pp32','3pp',0,'/site/virtual/admissions/mareligion.aspx','MA (Religion)','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('3pp33','3pp',0,'/site/virtual/admissions/certificates.aspx','Certificate Programs','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('3pp9704','3pp',0,'/site/academics/docs/syllabi/virtual/default.aspx','Online Course Syllabi','NLev2','OLev2','SLev2','NoSSL',false);
wI('3pp34','3pp',0,'/site/virtual/academics/faculty.aspx','Faculty','NLEV2','OLEV2','SLEV2','NoSSL',false);
wT('<div>');
wI('3pp35','3pp',1,'/site/virtual/academics/catalog.aspx','Courses','NLEV2','OLEV2','SLEV2','NoSSL',false);
wG('3pp35pp','3pp35','GrClass');
wI('3pp35pp351','3pp35pp',0,'/site/academics/degree_programs/mar/virtualc.aspx','Degree Requirements','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp353','3pp35pp',0,'/site/virtual/coursecatalog/biblicallanguages.aspx','Biblical Languages','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp354','3pp35pp',0,'/site/virtual/coursecatalog/churchhistory.aspx','Church History','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp355','3pp35pp',0,'/site/virtual/coursecatalog/integrativestudies.aspx','Integrative Studies','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp356','3pp35pp',0,'/site/virtual/coursecatalog/missions.aspx','Missions','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp357','3pp35pp',0,'/site/virtual/coursecatalog/newtestament.aspx','New Testament','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp358','3pp35pp',0,'/site/virtual/coursecatalog/oldtestament.aspx','Old Testament','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp359','3pp35pp',0,'/site/virtual/coursecatalog/practicaltheology.aspx','Practical Theology','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp35pp3510','3pp35pp',0,'/site/virtual/coursecatalog/systematictheology.aspx','Systematic Theology','NLev3','OLev3','SLev3','NoSSL',false);
cD();
cD();
wI('3pp36','3pp',0,'/site/virtual/coursecatalog/gradingscale.aspx','Grading Scale','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('3pp37','3pp',0,'/site/virtual/admissions/mentoringprogram.aspx','Mentoring Program','NLEV2','OLEV2','SLEV2','NoSSL',false);
wT('<div>');
wI('3pp58','3pp',1,'/site/virtual/campuslife/orientationseminars.aspx','Orientation Seminars','NLEV2','OLEV2','SLEV2','NoSSL',false);
wG('3pp58pp','3pp58','GrClass');
wI('3pp58pp581','3pp58pp',0,'/site/virtual/campuslife/orientationseminars/upcomingdates.aspx','Upcoming Dates','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp58pp582','3pp58pp',0,'/site/virtual/campuslife/orientationseminars/schedulesyllabus.aspx','Schedule/Syllabus','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp58pp583','3pp58pp',0,'/site/virtual/campuslife/orientationseminars/pastseminars.aspx','Past Seminars','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp58pp584','3pp58pp',0,'/site/virtual/campuslife/orientationseminars/thesistopicinfo.aspx','Thesis Topic Info','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp58pp585','3pp58pp',0,'/site/virtual/campuslife/orientationseminars/directionsandhotels.aspx','Directions and Hotels','NLev3','OLev3','SLev3','NoSSL',false);
wI('3pp58pp587','3pp58pp',0,'/site/virtual/campuslife/orientationseminars/registration.aspx','Registration','NLev3','OLev3','SLev3','NoSSL',false);
cD();
cD();
wI('3pp9708','3pp',0,'/site/academics/courses/catalog.aspx','Seminary Catalog','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('3pp9713','3pp',0,'http://www.rts.edu/Site/Academics/Docs/Transcript_pdf/Virtual%20Transcript%20Request.pdf','Transcript Request Form','NLEV2','OLEV2','SLEV2','Absolute',true);
wI('3pp38','3pp',0,'/site/virtual/academics/academics.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
cD();
cD();
if(admin) {
wI('352','',0,'/academics/courses/upcomingclasses.aspx?id=0','Upcoming Live Classes','NLev1','OLev1','SLev1','NoSSL',false);
}
wT('<div>');
wI('17','',1,'/newsevents/lslastmessage.aspx?workgroupid=3','News and Events','NLev1','OLev1','SLev1','NoSSL',false);
wG('17pp','17','GrClass');
wI('17pp173','17pp',0,'/site/newsevents/nl_signup.aspx','Newsletter Signup','NLev3','OLev3','SLev3','NoSSL',false);
wI('17pp174','17pp',0,'/newsevents/lsonlinecatalog.aspx?workgroupid=3','Newsletter Archives','NLev3','OLev3','SLev3','NoSSL',false);
cD();
cD();
wT('<div>');
wI('4','',1,'/site/virtual/admissions/admissions.aspx','Admissions','NLev1','OLev1','SLev1','NoSSL',false);
wG('4pp','4','GrClass');
wI('4pp41','4pp',0,'/site/virtual/admissions/admissions.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
wI('4pp42','4pp',0,'/site/virtual/admissions/admissionsprocess.aspx','Application Process','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('4pp43','4pp',0,'/site/virtual/admissions/testimonials.aspx','Testimonials','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('4pp44','4pp',0,'https://www.rts.edu/OnLineApplication/','Online Application','NLEV2','OLEV2','SLEV2','Absolute',false);
wI('4pp45','4pp',0,'/site/virtual/admissions/tuitionandfinancialaid.aspx','Tuition &amp; Financial Aid','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('4pp46','4pp',0,'/site/virtual/admissions/chatwithrtsvirtualadmissions.aspx','Chat w/Admissions','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('4pp10','4pp',0,'/site/virtual/admissions/admissionfaqs.aspx','FAQs','NLev2','OLev2','SLev2','NoSSL',false);
wI('4pp18','4pp',0,'/site/rtsnearyou/requestinformation.aspx?campusid=6','Request Information','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('4pp47','4pp',0,'/site/virtual/admissions/admissions.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
cD();
cD();
wT('<div>');
if(admin) {
wI('5','',1,'/site/virtual/campuslife/campuslife.aspx','Getting Connected','NLev1','OLev1','SLev1','NoSSL',false);
}
wG('5pp','5','GrClass');
if(admin) {
wI('5pp51','5pp',0,'/site/virtual/campuslife/campuslife.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
}
if(admin) {
wI('5pp59','5pp',0,'/site/virtual/campuslife/campuslife.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
}
cD();
cD();
wT('<div>');
wI('6','',1,'/site/resources/library.aspx','Library','NLev1','OLev1','SLev1','NoSSL',false);
wG('6pp','6','GrClass');
wI('6pp61','6pp',0,'/site/resources/library.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
wI('6pp62','6pp',0,'http://library.rts.edu','Search Catalog','NLev2','OLev2','SLev2','Absolute',true);
wI('6pp63','6pp',0,'/site/resources/library/research.aspx','Research','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp64','6pp',0,'/site/resources/library/periodicals.aspx','Periodicals','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp65','6pp',0,'/site/resources/library/interlibrary_loan.aspx','Inter-Library Loan','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp66','6pp',0,'/site/resources/library/collections.aspx','Collections','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp67','6pp',0,'/site/resources/library/hours.aspx','Hours','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp68','6pp',0,'/site/resources/library/contact.aspx','Contact','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp69','6pp',0,'/site/resources/library/staff.aspx','Staff','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp610','6pp',0,'/site/resources/library/resources.aspx','Web Resources','NLev2','OLev2','SLev2','NoSSL',false);
wI('6pp611','6pp',0,'/site/resources/library.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
cD();
cD();
wT('<div>');
wI('7','',1,'/site/rtsnearyou/virtual/contact.aspx','Contact RTS Virtual','NLev1','OLev1','SLev1','NoSSL',false);
wG('7pp','7','GrClass');
wI('7pp71','7pp',0,'/site/rtsnearyou/virtual/contact.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
wI('7pp72','7pp',0,'/directory.aspx?campus=6&role=staff','Campus Directory','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('7pp73','7pp',0,'/site/rtsnearyou/virtual/contact.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
cD();
cD();
wI('8','',0,'http://coursebooks.rts.edu/virtual/','Bookstore','NLev1','OLev1','SLev1','Absolute',true);
wT('<div>');
wI('90','',1,'/site/virtual/resources/resources.aspx','Student Services','NLev1','OLev1','SLev1','NoSSL',false);
wG('90pp','90','GrClass');
wI('90pp910','90pp',0,'/site/virtual/resources/resources.aspx','','ItemTop','ItemTop','ItemTop','NoSSL',false);
wI('90pp911','90pp',0,'/site/virtual/resources/studenttheses.aspx','Read Student Theses','NLev2','OLev2','SLev2','NoSSL',false);
wI('90pp920','90pp',0,'https://rtsv.rts.edu/index.cfm?fuseaction=ExamRequestLogin.home','Exam Request Form','NLEV2','OLEV2','SLEV2','Absolute',false);
wI('90pp940','90pp',0,'/site/virtual/resources/rtsvhandbook.aspx','Student Handbook','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('90pp950','90pp',0,'/site/virtual/resources/centra.aspx','Centra ','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('90pp9703','90pp',0,'/site/virtual/admissions/mentoringprogram.aspx','Mentor Resources','NLev2','OLev2','SLev2','NoSSL',false);
wT('<div>');
wI('90pp970','90pp',1,'/joblisting.aspx','Vocational Services','NLev2','OLev2','SLev2','NoSSL',false);
wG('90pp970pp','90pp970','GrClass');
wI('90pp970pp9701','90pp970pp',0,'/joblisting.aspx','View Positions','NLev3','OLev3','SLev3','NoSSL',false);
wI('90pp970pp9702','90pp970pp',0,'/employersjobposting.aspx','Post Positions','NLev3','OLev3','SLev3','NoSSL',false);
cD();
cD();
wI('90pp9709','90pp',0,'/site/virtual/academics/becoming_a_virtual_success.aspx','Tips for Distance Learning','NLev2','OLev2','Slev2','NoSSL',false);
wI('90pp9710','90pp',0,'/site/virtual/resources/resources.aspx','Student Profile','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('90pp54','90pp',0,'/site/virtual/campuslife/prayerrequests.aspx','Prayer Requests','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('90pp9712','90pp',0,'/site/virtual/resources/thesistrailer.aspx','Thesis Trailer','NLEV2','OLEV2','SLEV2','NoSSL',false);
wI('90pp990','90pp',0,'/site/virtual/resources/resources.aspx','','ItemBot','ItemBot','ItemBot','NoSSL',false);
cD();
cD();
wI('100','',0,'/site/virtual/virtual_site_map.aspx','Site Map','NLev1','OLev1','SLev1','NoSSL',false);
wI('9714','',0,'http://www.rts.edu','RTS Home Page','NLev1','OLev1','SLev1','Absolute',false);
cD();
wT('<!-- My Stationary WebMenu End -->');

            var curCookie = document.cookie;
            spl=';'
            var rez;
            arrayOfStrings = curCookie.split(spl);
            for (var i=0; i < arrayOfStrings.length; i++) 
	        {
    	        TarStr = arrayOfStrings[i];
		        res = TarStr.search('=');

		        if (res != -1)
		        {
			        Arr = TarStr.split('=');
			        if (Arr[0].search('dcMenu') != -1)
			        {
			            rez = Arr[1];
                        break;
                    }
		        }
	        }
            if(rez != null)
            {
                var pos1 = rez.search('#');
                var pos2 = rez.search('/');
                var isClosed;
                if(pos2 == -1) 
                    pos2 = rez.length;
                else 
                    isClosed = rez.substring(pos2 + 1, rez.length);
                if(pos1 != -1 && pos2 != -1)
                    rez = rez.substring(pos1 + 1, pos2);
                var item = document.getElementById(rez);
                if(item != null)
                {
                    if(item.isClosed != null && isClosed != null)
                    {
                        if(isClosed == '1')
                            item.isClosed = '0';
                        else
                            item.isClosed = '1';
                    }
                    closeAllGroups(document.getElementById(rez)); 
                    //item.fireEvent("onactivate");
					if(item.onmouseover != null)
						item.onmouseover();
                    item.selected = true;
                    var prnt = document.getElementById(item.ParentID);
                    while(prnt != null)
                    {
                        if(prnt.isClosed != null)
                        {
                            //prnt.fireEvent("onactivate");
							if(prnt.onmouseover != null)
								prnt.onmouseover();
                            prnt.selected = true;
                        }
                        prnt = document.getElementById(prnt.ParentID);
                    }

                }
            }}