/*Script copyrighted 2002-2007, Andrew McCafferty, All rights reserved.*/

//Variables - eCO is the list of open folders,  eUC = true if using cookies, eGSTR -- used to store HTML code which is then written at one shot, eO[sec9] = true if folder with id = sec9 is open, eGN maps section number to name - only used for exposed functions, eFL is true on first load
var e02CO='',e02UC=true,e02GSTR="",e02O=new Object(),e02GN=new Object(), e02FL=false;
//Generic browser variables - fn is location to reload (must use a variable), ncf--number closed folders, ml-left margin--of next folder/pagelink
var e02FN=document.location,e02ML=0,e02NCF=0;
//Scroll variables
var e02XOFF=false,e02STOP=false;
//Mouseover variables - eOSEC and its parents are the only open sections in mouse-over menu
var e02OSEC="",e02INTTIME,e02INTTIME2;
//Browser snoop variables
var e02AGT=navigator.userAgent.toLowerCase(),e02PI=parseInt(navigator.appVersion);
var e02IE=((e02AGT.indexOf('msie')!=-1)&&(document.all));
var e02W3C=false,e02GB=false,e02MAC=(e02AGT.indexOf('mac')!=-1);
if(document.getElementById){e02W3C=true};e02GB=!e02W3C;if(e02GB){e02UC=true};if(document.images){};
//write main folder
function e02MF(e02SECN9,e02K,e02NAME,e02HREF,e02WIDTH){e02GN[e02SECN9]=e02NAME;if(e02W3C){var t1,t2,t3,t;if(e02WIDTH==''){t=''}else{t='width='+e02WIDTH};if(e02DROPDOWNMENU(e02K)){t1="onMouseOut=e02MO('"+e02SECN9 +"','"+e02K +"',event) onMouseOver=e02MI('"+e02SECN9 +"','"+e02K +"',event)";t2="display:None;position:absolute";t3=" style='cursor:pointer'"}else{t1="";t2="display:None";t3=" style='cursor:pointer;margin-left:5px'"};var t4; if(e02II(e02K,'nf')){t4= 'a'}else{t4='span'};e02DW("<div id='c"+e02SECN9+"' "+t1+" class='mainFolderBox"+e02CLASSNAME(e02K)+"'"+t3+"><table "+t+"><tr><td>");if(e02II(e02K,'nl')){e02DW(e02NAME)}else{e02DW("<"+t4+" ");e02CCMF(e02SECN9,e02K,e02NAME,e02HREF);e02DW("</"+t4+">")};e02DW("</td></tr></table><div class='mainFolderPage' id='"+e02SECN9 +"' style='"+t2+"'>")}else if(e02GB){e02DW("<p id='c"+e02SECN9 +"' class='mainFolderBox"+e02CLASSNAME(e02K)+"' style='margin-left:5px'><a ");e02CCMF(e02SECN9,e02K,e02NAME,e02HREF);e02DW('</a></p>');if(e02SIO(e02CO,e02SECN9)){e02NCF=0;e02ML=10}else{e02NCF=1}}}
//choose common main folder
function e02CCMF(e02SECN9,e02K,e02NAME,e02HREF){if(e02II(e02K,'nf')){e02CLK(e02SECN9,e02K,e02NAME,e02HREF)}else{e02CMF(e02SECN9,e02K,e02NAME,e02HREF)}}
//write subfolder--eGB: write if father open, add one to ncf unless sf itself is open
function e02SF(e02SECN10,e02K,e02NAME,e02HREF,e02WIDTH){e02GN[e02SECN10]=e02NAME;if(e02W3C){var t1,t2,t3,t;if(e02WIDTH==''){t=''}else{t='width='+e02WIDTH}; if(e02DROPDOWNMENU(e02K)){t1="onMouseOut=e02MO('"+e02SECN10 +"','"+e02K +"',event) onMouseOver=e02MI('"+e02SECN10 +"','"+e02K +"',event)";t2="display:None;position:absolute";t3=""}else{t1="";t2="display:None";t3=" style='margin-left:5px'"};e02DW("<div id='c"+e02SECN10 +"' "+t1+" class='subFolderBox"+e02CLASSNAME(e02K)+"'"+t3+"><table "+t+"><tr><td><span ");e02CSF(e02SECN10,e02K,e02NAME,e02HREF);e02DW("</span></td></tr></table><div class='subFolderPage' id='"+e02SECN10 +"' style='"+t2+"'>");}else if(e02GB){if(e02SIO(e02CO,e02GF(e02SECN10))){e02DW("<p id='c"+e02SECN10 +"' class='subFolderBox"+e02CLASSNAME(e02K)+"' style='margin-left: "+e02ML +"px'><a ");e02CSF(e02SECN10,e02K,e02NAME,e02HREF);e02DW('</a></p>')};if(e02SIO(e02CO,e02SECN10)){e02NCF=0;e02ML=e02ML+5}else{e02NCF =e02NCF +1}};}
//write link line--i,r,e:internal,rightframe,external link--nf:no folder-used when page-link used as mainfolder
function e02LK(e02SECN8,e02K,e02NAME,e02HREF,e02WIDTH){e02SECN8='b'+e02SECN8;e02GN[e02SECN8]=e02NAME;if(e02W3C){var t1,t2,t;if(e02WIDTH==''){t=''}else{t='width='+e02WIDTH};if(e02DROPDOWNMENU(e02K)){t1="";t2="onMouseOver=e02MI('"+e02SECN8 +"','',event)"}else{t1=" style='margin-left:5px'";t2=""}; e02DW("<div id='c"+e02SECN8 +"' "+t2+" class='linkBox"+e02CLASSNAME(e02K)+"'"+t1+"><table "+t+"><tr><td class='linkPage'>");if(e02II(e02K,'nl')){e02DW(e02NAME)}else{e02DW("<a ");e02CLK(e02SECN8,e02K,e02NAME,e02HREF);e02DW("</a>")};e02DW("</td></tr></table></div>")}else if(e02GB){if(e02NCF==0){e02DW("<p id='c"+e02SECN8 +"' class='linkBox"+e02CLASSNAME(e02K)+"' style='margin-left:"+e02ML +"px'>");if(e02II(e02K,'nl')){e02DW(e02NAME);}else{e02DW("<a ");e02CLK(e02SECN8,e02K,e02NAME,e02HREF);e02DW("</a>")};e02DW('</p>')};}}
//write column
function e02COL(){e02DW("</TD><TD class='menuTreeBox' valign='top'>");}
//write end of div
function e02DE(){if(e02W3C){e02DW("</div></div>")}else if(e02GB){if(e02NCF==0){e02ML=e02ML-5}else{e02NCF=e02NCF-1}};}
//common main folder
function e02CMF(e02SECN12,e02K,e02NAME,e02HREF){e02OSFL(e02K,'mfo',e02SECN12);if(e02GB&&e02SIO(e02CO,e02SECN12)){e02O[e02SECN12]=true};var t1; if(e02DROPDOWNMENU(e02K)){t1=e02HREF}else{t1="if(!e02O['"+e02SECN12 +"']){"+e02HREF +"};e02CK('"+e02SECN12 +"','"+e02K +"')"};e02DW(e02WA(e02SECN12,e02K,e02NAME,"{"+t1+";return false}","javascript:{\\}","mainFolderLine"+e02CLASSNAME(e02K)));e02DW(""+e02NAME)}
//common subfolder
function e02CSF(e02SECN13,e02K,e02NAME,e02HREF){e02OSFL(e02K,'sfo',e02SECN13);if(e02GB&&e02SIO(e02CO,e02SECN13)){e02O[e02SECN13]=true};var t1; if(e02DROPDOWNMENU(e02K)){t1=e02HREF}else{t1="if(!e02O['"+e02SECN13 +"']){"+e02HREF +"};e02CK('"+e02SECN13 +"','"+e02K +"')"};e02DW(e02WA(e02SECN13,e02K,e02NAME,"{"+t1+";return false}","javascript:{\\}","mainFolderLine"+e02CLASSNAME(e02K)));e02DW(""+e02NAME)}
//common link
function e02CLK(e02SECN8,e02K,e02NAME,e02HREF){var e02CN,e02OCJS;if(e02II(e02K,'j')){e02OCJS=e02HREF+";return false";e02HREF="javascript:{\\}"}else{e02OCJS="e02SSC(0,0);return true";e02HREF=e02CNV(e02HREF,e02K,e02NAME)};if(e02II(e02K,'nf')){e02CN='mainFolderLine'}else{e02CN='linkLine'};e02DW(e02WA(e02SECN8,e02K,e02NAME,e02OCJS,e02HREF,e02CN+e02CLASSNAME(e02K)));e02DW(e02NAME)}
//write anchor tag
function e02WA(e02SECN14,e02K,e02NAME,ocjs,href,cn){var t=""; if(e02II(e02K,'e')){t="target=_blank"};return "id='a"+e02SECN14+"' onclick=\""+ocjs+"\" href=\""+href+"\" onMouseOver=\""+e02WAMO(cn,e02NAME)+";return true\" onMouseOut=\""+e02WAMT(cn)+";return true\"  style='{white-space:nowrap;}' class='"+cn+"' "+t+">"}
//write mouseover and mouseout functions
function e02WAMO(cn,e02STR){return "if(e02W3C){this.className='"+cn+"MouseOver'}"}
function e02WAMT(cn){return "if(e02W3C){this.className='"+cn+"'}"}
//write image
function e02WI(e02SECN14,gif,h,w){return "<IMG border='0' src='"+gif+"' id='i"+e02SECN14+"'>&nbsp;"}
//click functions
function e02CK(e02SECN8,e02K){if(!e02DROPDOWNMENU(e02K)){e02UDC(e02SECN8)};e02CK2(e02SECN8)}
function e02CK2(e02SECN8){if(e02W3C){if(e02O[e02SECN8]){e02O[e02SECN8] = false;e02GO(e02SECN8).style.display = "none"}else{e02O[e02SECN8] = true;e02GO(e02SECN8).style.display = "";e02GO(e02SECN8).style.zIndex=2000};}else if(e02GB){e02SSHW();window.location.href=e02FN};}
// Open section on first load
function e02OSFL(e02K,e02T,e02SECN9){if(e02FL&&e02II(e02K,e02T)&&!e02DROPDOWNMENU(e02K)&&e02UC){e02OSC(e02SECN9),e02CO=e02GC('emtCrtsLeftMenu')}}
// is main folder
function e02ISMF(e02SECN12){return e02SECN12!="out"&&e02SECN12.indexOf("d",e02SECN12.indexOf("d")+1) == -1}
//division ID--reference to division with id of secn, ie4 uses 'all'
function e02GO(e02SECN10){if (document.getElementById){return eval(document.getElementById(e02SECN10))}else{return eval(document.all(e02SECN10))}}
//open the sections for one id number -- called by oas
function e02OS(e02SECN16){if(e02GB){if(!e02O[e02SECN16]){e02CK2(e02SECN16)}}else{var start=0;start = e02SECN16.indexOf("d",start) + 1;start = e02SECN16.indexOf("d",start) + 1;while(start > 0){if(!e02O[e02SECN16.substring(0,start-1)]){e02CK2(e02SECN16.substring(0,start-1))};start = e02SECN16.indexOf("d",start) + 1};if(!e02O[e02SECN16]){e02CK2(e02SECN16)}}}
//close the section for one id number -- not used in program
function e02CS(e02SECN16){if(e02O[e02SECN16]){e02CK2(e02SECN16)}}
//get father of section.  gf('e1d1')='', gf('e1d1d2')='e1d1'
function e02GF(e02SECN2){if(e02SECN2.substring(0,1)=='b'){e02SECN2=e02SECN2.slice(1)};var j, p=e02SECN2.lastIndexOf('d'); j = e02SECN2.substring(0,p).lastIndexOf('d');if(j==-1){return ""}else{return e02SECN2.substring(0,p)}}
// document write -- actually stores str to gstr, later written in one shot
function e02DW(str){e02GSTR += str}
//gif -- either main or subfolder, either open or closed, bool = mainfolder
function e02GIF(e02SECN11,bool){if(bool){if(e02O[e02SECN11]){return "C:\crts.edu\wwwroot\images\expanded.gif"}else{return "C:\crts.edu\wwwroot\images\expanded.gif"}}else{if(e02O[e02SECN11]){return "C:\crts.edu\wwwroot\images\openbluearrow.gif"}else{return "C:\crts.edu\wwwroot\images\openbluearrow.gif"}}}
//b is in k
function e02II(k,b){if(k.indexOf(b)>-1){return true};return false}
function e02CH(e02NAME){if(e02II(e02NAME,"'")||e02II(e02NAME,"</")){return ""};return e02NAME}
//update cookie and eCO -- called on every click.
//This first sets cookie and then reads that cookie into eCO.
function e02UDC(e02SECN8){if(e02UC){if(e02SIO(e02CO,e02SECN8)){e02CSC(e02SECN8)}else{e02OSC(e02SECN8)};e02CO=e02GC('emtCrtsLeftMenu')}}
//'open section cookie -- only called by udc, changes cookie and nothing else
//rewrites entire cookie --includes sec16 NON-ancesters and sec16 
function e02OSC(e02SEC16){var nc='',start=0,end;end=e02CO.indexOf('x',start);while(end>0){if(!e02SIO(e02SEC16,e02CO.substring(start,end))){nc=nc+e02CO.substring(start,end)+'x'};start=end+1;end=e02CO.indexOf('x',start)};e02SC('emtCrtsLeftMenu',nc+e02SEC16+'x')}
//'close section cookie' -- only called by udc, changes cookie and nothing else'
//rewrites entire cookie -- delete the section and all its children, and add its father
function e02CSC(e02SEC16){var nc='',start=0,end;end=e02CO.indexOf('x',start);while(end>0){if(!e02SIO(e02CO.substring(start,end+1),e02SEC16)){nc=nc+e02CO.substring(start,end)+'x'};start=end+1;end=e02CO.indexOf('x',start)};if(e02GF(e02SEC16)!=''){nc=nc+e02GF(e02SEC16)+'x'};if(nc==''){nc='none'};e02SC('emtCrtsLeftMenu',nc)}
//section is open -- used in eGB to whether a section is open. eCOX is usually the cookie (AMS: unclear to me now).
function e02SIO(e02COX,e02SECN11){if(e02II(e02COX,e02SECN11+'d')||e02II(e02COX,e02SECN11+'x')){return true}else{return false}}
//oas is used when loading a page with a tree menu, unless 'prjChkAllMenusClosed'is checked.
//calls os for all the sections in cookie--this will do nothing is co is 'none' or '0'.
function e02OAS(){var start=0,end;end=e02CO.indexOf('x',start);while(end>0){e02OS(e02CO.substring(start,end));start=end+1;end=e02CO.indexOf('x',start)};}
//get cookie--cookie is prjName=secn
function e02GC(e02COOKIENAME){var cs=document.cookie,s=-1,m,e;while(s<cs.length){m=cs.indexOf('=',s);e=cs.indexOf(';',m);if(e==-1){e=cs.length};if(cs.substring(s+1,m)==e02COOKIENAME){return cs.substring(m+1,e)};s=cs.indexOf(';',s+1);if(s==-1){s=cs.length};s=s+1};return '0'}
//save cookie
function e02SC(e02COOKIENAME,e02SECN){document.cookie=e02COOKIENAME+'='+e02SECN+';path=/'}
//set current scroll height and width to a cookie
function e02SSHW(){var t=0,l=0;if(e02XOFF){l=window.pageXOffset;t=window.pageYOffset}else if(e02STOP){t=document.body.scrollTop;y=document.body.scrollLeft};e02SSC(l,t)}
//set scroll cookies
function e02SSC(l,t){e02SC('emtCrtsLeftMenuLeft',l);e02SC('emtCrtsLeftMenuTop',t)}
//scroll to the scroll cookies
function e02STSC(){var l,t;l=e02GC('emtCrtsLeftMenuLeft');t=e02GC('emtCrtsLeftMenuTop');if(e02XOFF){window.scroll(l,t)}else if(e02STOP){document.body.scrollLeft=l;document.body.scrollTop=t}}
//cookie test -- return true if cookies on.  Note: this changes the cookie, but cookie to co below.
function e02CT(){e02SC('emtCrtsLeftMenu','t');;if(e02GC('emtCrtsLeftMenu')=='t'){return true};return false}
function e02CLASSNAME(e02K){var t1; t1=e02K.indexOf('cn');if(t1>-1){return e02K.substring(t1+2,t1+4)} else {return ''}}
//Scripting the Menu Tree function
function e02OPENPAGE(ln){e02OS(e02GF(e02GI(ln)));}
function e02CLOSEPAGE(ln){e02CS(e02GF(e02GI(ln)));}
function e02OPEN(ln){e02OS(e02GI(ln));}
function e02CLOSE(ln){e02CS(e02GI(ln));}
function e02SWAP(ln,att,val,aic){if(e02W3C){var t = e02GO(aic + e02GI(ln)); eval("t." + att + "= '"+ val + "'")}}
function e02SWAPBOX(ln,att,val){e02SWAP(ln,att, val,"c")}
function e02SWAPIMAGE(ln,att,val){e02SWAP(ln,att,val,"i")}
function e02SWAPLINE(ln,att,val){e02SWAP(ln,att,val, "a")}
function e02GI(e02NAME){for(x in e02GN){if(e02GN[x]==e02NAME){return x}}return "No such link"}
function e02GP(e02NAME){var e02SEC='', e02PATH=e02NAME;e02SEC=e02GF(e02GI(e02NAME));while(e02SEC!=""){e02PATH=e02GN[e02SEC] + '&nbsp;&rarr;&nbsp;' + e02PATH;e02SEC = e02GF(e02SEC)}return e02PATH}
//Begin mouseover menu functions.
//Drop down menu if eW3C and 'dd' is in k
function e02DROPDOWNMENU(e02K){if(e02W3C&&e02II(e02K,"dd")){return true};return false}
//open section eSECN9 near eOSEC-first set to same place as eOSEC then adjust
function e02SETPOSITION(e02SECN9,e02K){var e02T,e02PTOP,e02PLEFT,e02OBJ,e02OBJNEW,e02FTOP=false,e02FLEFT=false,e02FSHIFT=0;if(e02II(e02K,"to")){e02FTOP=true}; if(e02II(e02K,"le")){e02FLEFT=true};e02T=e02K.indexOf('.');if(e02T==-1){e02FSHIFT =1}else{e02FSHIFT=e02K.substring(e02T,e02T+3)};e02OBJ= e02GO("c"+e02SECN9);e02OBJNEW= e02GO(e02SECN9);e02PLEFT=e02TOTALLEFT(e02OBJ); e02PTOP=e02TOTALTOP(e02OBJ);if(e02FTOP){e02PTOP=e02PTOP-e02OBJNEW.offsetHeight;if(e02FSHIFT==1){e02PTOP=e02PTOP+e02OBJ.offsetHeight}}else if(!e02FTOP){if(e02FSHIFT!=1){e02PTOP=e02PTOP+e02OBJ.offsetHeight}}if(!e02FLEFT){e02PLEFT=e02PLEFT+(e02OBJ.offsetWidth*e02FSHIFT)}else if(e02FLEFT){e02PLEFT=e02PLEFT-(e02OBJNEW.offsetWidth*e02FSHIFT)};e02OBJNEW.style.left =e02PLEFT+"px";e02OBJNEW.style.top =e02PTOP + "px"}
function e02TOTALTOP(e02OBJ){var t=0;while(e02OBJ){if(e02OBJ.style.position=='absolute'){return t};t=t+e02OBJ.offsetTop;e02OBJ=e02OBJ.offsetParent};return t}
function e02TOTALLEFT(e02OBJ){var t=0;while(e02OBJ){if(e02OBJ.style.position=='absolute'){return t};t=t+e02OBJ.offsetLeft;e02OBJ=e02OBJ.offsetParent}return t}
function e02MI(e02SECN9,e02K,evt){if(window.event){window.event.cancelBubble=true}else{evt.cancelBubble=true};if(!e02II(e02K,'nf')){if(e02INTTIME2){clearTimeout(e02INTTIME2)};if(e02INTTIME){clearTimeout(e02INTTIME)};e02INTTIME =setTimeout("e02MI2('"+e02SECN9 +"','"+e02K +"')",400)}}
function e02MO(e02SECN9,e02K,evt){if(window.event){window.event.cancelBubble =true}else{evt.cancelBubble=true};if(!e02II(e02K,'nf')){if(e02INTTIME){clearTimeout(e02INTTIME)};e02INTTIME=setTimeout("e02MO2()",200)}}
//main function -- divide a link (b..), no old, old=new, new father of old, new child of old, totally new new
function e02MI2(e02SECN9,e02K){if(e02SECN9.substring(0,1)=='b'){e02SECN9=e02GF(e02SECN9.slice(1));while(!e02II(e02SECN9,e02OSEC)){e02CK2(e02OSEC);e02OSEC = e02GF(e02OSEC);}}else if(e02OSEC==""){e02CK2(e02SECN9);e02SETPOSITION(e02SECN9,e02K);e02OSEC =e02SECN9;}else if(e02II(e02SECN9,e02OSEC+'d')){e02CK2(e02SECN9);e02SETPOSITION(e02SECN9,e02K);e02OSEC=e02SECN9;}else if(e02II(e02OSEC,e02SECN9+'d')){while(e02II(e02OSEC,e02SECN9+'d')){e02CK2(e02OSEC);e02OSEC=e02GF(e02OSEC)}}else{e02CK2(e02OSEC);e02OSEC=e02GF(e02OSEC);while(!e02II(e02SECN9,e02OSEC+'d')){e02CK2(e02OSEC);e02OSEC=e02GF(e02OSEC);}if(!e02O[e02SECN9]){e02CK2(e02SECN9);e02SETPOSITION(e02SECN9,e02K);e02OSEC =e02SECN9}}}
function e02MO2(){e02INTTIME2=setTimeout("e02TIMEOUT()",200)}
function e02TIMEOUT(){ while(e02OSEC!=""){e02CK2(e02OSEC);e02OSEC=e02GF(e02OSEC);}}
function e02CNV(url,k,name){return url}
//----------
//Cookie is only used to determine what folders to open when page is loaded.
//On pageload, it is read into eCO, and then eOAS uses this eCO.
//Both eCO and the cookie are set (to the same thing, by eUDC) every time the user clicks a folder.
//If not using cookies (user has turned off cookies, all folders closed on load), only eCO is set by eUDC.
//eCO is used to keep track of which folders are already open, which folders to close, etc.
//----------
//eGC returns '0' if the cookie does not exist -- so this is the first load.
if(e02GC('emtCrtsLeftMenu')=='0'){e02FL=true};
//Change eCO to stored cookie.
if(e02UC){e02CO=e02GC('emtCrtsLeftMenu')};
//if cookie test fails, turn off use cookie
if(e02UC&&!e02CT()){e02UC=false};
//if eGB and cookie test fails, send a message
if(e02GB&&!e02UC){alert('For the tree menu to work properly, you must turn on cookies')};
//eCT (cookie test) used above will change cookie.  So change cookie back to eCO.
if(e02UC){e02SC('emtCrtsLeftMenu',e02CO)};
//Style Sheet
e02DW("<style>");
e02DW("MenuTreeBox {");
e02DW("	background-color : silver;");
e02DW("	border : 2px silver solid;");
e02DW("	border-color : silver;");
e02DW("	border-left-width : 1px;");
e02DW("	border-right-width : 1px;");
e02DW("	color : silver;");
e02DW("	font-size : 8pt;");
e02DW("	margin : 0px 0px 0px 0px;");
e02DW("	padding : 3px 3px 3px 3px;");
e02DW("}");
e02DW("MainFolderBox {");
e02DW("	background-color : silver;");
e02DW("	border : 1px silver solid;");
e02DW("	border-color : silver;");
e02DW("	border-left-width : 1px;");
e02DW("	border-right-width : 1px;");
e02DW("	color : silver;");
e02DW("	font-size : 8pt;");
e02DW("	margin : 0px 0px 0px 0px;");
e02DW("	padding : 3px 3px 3px 3px;");
e02DW("}");
e02DW("MainFolderPage  {");
e02DW("	color : navy;");
e02DW("	font-size : 8pt;");
e02DW("	text-decoration : none;");
e02DW("}");
e02DW("MainFolderLine {");
e02DW("	color : navy;");
e02DW("	font-size : 8pt;");
e02DW("	text-decoration : none;");
e02DW("}");
e02DW("MainFolderLineMouseOver {");
e02DW("	color : red;");
e02DW("	font-size : 8pt;");
e02DW("	text-decoration : none;");
e02DW("}");
e02DW("SubFolderBox {");
e02DW("	background-color : #E7E7E7;");
e02DW("	border : 3px #D1D1D1 solid;");
e02DW("	color : navy;");
e02DW("	font-size : 10pt;");
e02DW("	margin : 0px 0px 0px 0px;");
e02DW("	padding : 3px 3px 3px 3px;");
e02DW("}");
e02DW("SubFolderLine {");
e02DW("	color : navy;");
e02DW("	font-size : 10pt;");
e02DW("	text-decoration : none;");
e02DW("}");
e02DW("SubFolderLineMouseOver {");
e02DW("	color : red;");
e02DW("	font-size : 10pt;");
e02DW("	text-decoration : none;");
e02DW("}");
e02DW("LinkBox {");
e02DW("	background-color : #E7E7E7;");
e02DW("	border : 3px #D1D1D1 solid;");
e02DW("	color : navy;");
e02DW("	font-size : 10pt;");
e02DW("	margin : 0px 0px 0px 0px;");
e02DW("	padding : 3px 3px 3px 3px;");
e02DW("}");
e02DW("LinkLine {");
e02DW("	color : red;");
e02DW("	font-size : 10pt;");
e02DW("	text-decoration: underline;");
e02DW("}");
e02DW("LinkLineMouseOver {");
e02DW("	color : red;");
e02DW("	font-size : 10pt;");
e02DW("	text-decoration : none;");
e02DW("}");
e02DW("</style>");

//start of tree menu table
e02DW("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0'>");
e02DW("<TR>");
e02DW("<TD class='menuTreeBox' valign='top'>");
e02MF("f1d1","nlnmnf","&nbsp;&nbsp;&nbsp;<strong>快速連結</strong>","","160");
e02DE();
e02MF("f1d2","","最新","","160");
e02LK("f1d2d1","i","2010年5-6月  暑期密集課選課單","/Form.T60.2010.doc","");
e02LK("f1d2d2","e","2010 院訊春季刊 (pdf)","/Bulletin.2010.Spring.pdf","");
e02LK("f1d2d3","e","2009 年報 (pdf, 4MB)","/2009CrtsReport.pdf","");
e02DE();
e02MF("f1d3","","學生專區","","160");
e02LK("f1d3d1","e","2009 學生手冊 (pdf)","/2009StudentHandbook.pdf","");
e02LK("f1d3d2","e","2007 學生手札 (pdf)","/Freshman2007.pdf","");
e02DE();
e02MF("f1d4","","圖書館","","160");
e02LK("f1d4d1","we","CrtsLibrary.net","http://www.crtslibrary.net","");
e02LK("f1d4d2","e","館藏流通規則 (pdf)","/CirculationPolicies.pdf","");
e02LK("f1d4d3","wi","如何撰寫神學的學期報告 (pdf)","http://wwwlibe.ces.org.tw/old_library/action/disser_res_paper/CES_DISSERTATIONS/%A6p%A6%F3%BCg%AF%AB%BE%C7%AA%BA%BE%C7%B4%C1%B3%F8%A7i_%B6%C0%BFo%AF%E8%A6%D1%AEv20070910(%A7t%AE%D1%C5%D2).pdf","");
e02DE();
e02MF("f1d5","","遠距教學網","","160");
e02LK("f1d5d1","wi","CrtsLive.net","http://www.crtslive.net/","");
e02DE();
e02MF("f1d6","","台灣區外教學","","160");
e02LK("f1d6d1","i","神學學士科簡介","/China_BT_Intro.doc","");
e02LK("f1d6d2","i","基督教研究碩士科簡介","/China_MCS_Intro.doc","");
e02LK("f1d6d3","i","聯絡方式","/China_Contact.doc","");
e02DE();
e02MF("f1d7","","相關連結","","160");
e02LK("f1d7d1","i","本校英文網站","/english/index.html","");
e02LK("f1d7d2","wi","FCC珍愛家庭中心","http://www.fcc.org.tw","");
e02LK("f1d7d3","wi","台灣改革宗翻譯團契","http://www.crtslive.net/歸正運動/台灣改革宗翻譯團契/tabid/128/Default.aspx","");
e02DE();
e02MF("f1d8","","地圖 / 通訊","","160");
e02LK("f1d8d1","i","地圖 / 通訊","/admin.contactInformation.htm","");
e02DE();
e02MF("f1d9","","下載","","160");
e02LK("f1d9d1","i","CRTS 經文產生軟體","/downloads/InstallCrtsAutoBible.exe","");
e02LK("f1d9d2","wi","PDF 閱讀軟體","http://www.chinese-t.adobe.com/products/acrobat/readstep2.html","");
e02LK("f1d9d3","wi","Word 閱讀軟體","http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&FamilyID=95E24C87-8732-48D5-8689-AB826E7B8FDF","");
e02LK("f1d9d4","wi","PowerPoint 閱讀軟體","http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&FamilyID=428D5727-43AB-4F24-90B7-A94784AF71A4","");
e02SF("f1d9d5","","字型及其他軟體","","");
e02LK("f1d9d5d1","wi","教育部字型集","http://www.edu.tw/EDU_WEB/EDU_MGT/MANDR/EDU6300001/bbs/1-4-2/1-4-2.html?UNITID=135&CATEGORYID=257&FILEID=52968&open","");
e02LK("f1d9d5d2","wi","David McCreedy 字型集","http://www.travelphrases.info/gallery/Fonts_ChineseTraditional.html","");
e02LK("f1d9d5d3","wi","OpenOffice","http://zh.openoffice.org/","");
e02LK("f1d9d5d4","wi","eMenuTree","http://www.emenutree.com/","");
e02LK("f1d9d5d5","wi","extractnow","http://www.extractnow.com/","");
e02DE();
e02DE();
e02DW("</TD>");
e02DW("</TR>");
e02DW("</TABLE>");
document.write(e02GSTR);e02GSTR="";
//open all the cookie sections--cookie hardwired above, 2nd load of eGB reads new cookie
if(e02W3C){e02OAS()};
if(window.pageXOffset==0){e02XOFF=true}else if(e02IE){e02STOP=true};
//scroll to scroll cookie
if(e02GB){e02STSC()}
