//Copyright(C)2002-2007 Pluginlab Limited. All rights reserved.
//http://www.pluginlab.com
//Registered to:fmpdan799
var PLTVC_VERSION="2.0.1.2"
var PLTVC_LAYER=false
var PLTVC_X=0
var PLTVC_Y=0
var PLTVC_VALIGN=0
var PLTVC_FLOAT=false
var PLTVC_WIDTH=193
var PLTVC_TV_PADDING=2
var PLTVC_NODE_PADDING=0
var PLTVC_BG=''
var PLTVC_SHOW_TIPS=true
var PLTVC_FULL_STRUCT=false
var PLTVC_ANIMATION=1
var PLTVC_SPEED=5
var PLTVC_EXPCOL_ALL=false
var PLTVC_EXPCOL_CLASS='TV'
var PLTVC_LINES=0
var PLTVC_EXPAND_IMGr='*../plus_br.gif'
var PLTVC_EXPAND_IMGL='*../plus_tr.gif'
var PLTVC_EXPAND_IMGT='*../plus_tbr.gif'
var PLTVC_COLLAPSE_IMGr='*../minus_br.gif'
var PLTVC_COLLAPSE_IMGL='*../minus_tr.gif'
var PLTVC_COLLAPSE_IMGT='*../minus_tbr.gif'
var PLTVC_LINES_IMGr='*../leaf_br.gif'
var PLTVC_LINES_IMGI='*../leaf_tb.gif'
var PLTVC_LINES_IMGL='*../leaf_tr.gif'
var PLTVC_LINES_IMGT='*../leaf_tbr.gif'
var PLTVC_SPACE_IMG='*../space.gif'
var PLTVC_CSS_FILE='*../CSS/treemenu.css'
var PLTVC_DEFAULT_CLASS='TV'
var PLTVC_STREAM=new Array(0,16,0,'N0','TV',"HOME",'start.taf','','','','',1,'N1','TV',"About&nbsp;ALEPH",'about.htm','','','','',2,'N7','TV',"Programs&nbsp;&amp;&nbsp;Events",'','','','','',3,'N19','TV',"ALEPH&nbsp;Communities",'','','','','',0,'N25','TV',"ALEPH&nbsp;Kallah&nbsp;Events",'kallah.htm','','','','',4,'N26','TV',"ALEPH&nbsp;Ordinations",'','','','','',9,'N48','TV',"ALEPH&nbsp;Bet&nbsp;Midrash",'','','','','',0,'N53','TV',"ALEPH&nbsp;Store",'al_productSearch.taf?_function=store_intro','','','','',0,'N54','TV',"Tikkun&nbsp;Olam",'tikkunolam.htm','','','','',0,'N55','TV',"Kol&nbsp;ALEPH&nbsp;Newsletter",'newsletter.htm','','','','',10,'N56','TV',"Membership/Donations",'','','','','',0,'N60','TV',"Renewal&nbsp;Teachers",'teachers.htm','','','','',0,'N61','TV',"Artists'&nbsp;Gallery",'gallery.htm','','','','',0,'N62','TV',"Books&nbsp;and&nbsp;Authors",'books.htm','','','','',0,'N63','TV',"Music&nbsp;&amp;&nbsp;Performing&nbsp;Artists",'performing_artists.htm','','','','',0,'N64','TV',"Links",'links.htm','','','','',1,5,0,'N2','TV1',"About&nbsp;Jewish&nbsp;Renewal",'renewal.htm','','','','',0,'N3','TV1',"Join&nbsp;ALEPH",'become_a_member.taf','','','','',0,'N4','TV1',"Member&nbsp;Discussion&nbsp;List",'discussion.htm','','','','',0,'N5','TV1',"ALEPH&nbsp;Monthly&nbsp;News",'http://listserv.shamash.org/cgi-bin/wa?SUBED1=aleph-re-news&amp;A=1','_blank','','','',0,'N6','TV1',"Contact&nbsp;ALEPH",'contact.htm','','','','',2,11,0,'N8','TV1',"About&nbsp;Our&nbsp;Programs",'programs.htm','','','','',0,'N9','TV1',"ALEPH&nbsp;Bet&nbsp;Midrash",'betmidrash.htm','','','','',0,'N10','TV1',"ALEPH&nbsp;Kallah",'kallah.htm','','','','',0,'N11','TV1',"ALEPH&nbsp;Ordinations",'ordinations.htm','','','','',0,'N12','TV1',"ALEPH&nbsp;Sage-ing&nbsp;Project",'sageing.htm','','','','',0,'N13','TV1',"C-DEEP",'http://www.rabbishefagold.com/CDEEP.html','_blank','','','',0,'N14','TV1',"Kesher&nbsp;for&nbsp;Young&nbsp;Adults",'kesher.htm','','','','',0,'N15','TV1',"OHALAH&nbsp;Rabbinic&nbsp;Assn.",'http://www.ohalah.org','_blank','','','',0,'N16','TV1',"Rodef&nbsp;Shalom&nbsp;School",'rodef.htm','','','','',0,'N17','TV1',"Ruach&nbsp;HaAretz&nbsp;Retreat",'http://www.ruachhaaretz.com/','_blank','','','',0,'N18','TV1',"Affiliated&nbsp;Communities",'communities.htm','','','','',3,5,0,'N20','TV1',"Affiliated&nbsp;Communities",'communities.htm','','','','',0,'N21','TV1',"Locate&nbsp;a&nbsp;Community",'locate.htm','','','','',0,'N22','TV1',"Affiliate&nbsp;with&nbsp;ALEPH",'affiliate.htm','','','','',0,'N23','TV1',"Training/Consultation",'training.htm','','','','',0,'N24','TV1',"The&nbsp;ALEPH&nbsp;Caravan",'caravan.htm','','','','',4,4,5,'N27','TV1',"Rabbinic&nbsp;Path",'rabbinic.htm','','','','',6,'N35','TV1',"Rabbinic&nbsp;Pastor&nbsp;Path",'rabbinic_pastor.htm','','','','',7,'N40','TV1',"Cantorial&nbsp;Path",'cantorial.htm','','','','',8,'N44','TV1',"HASHPA'AH&nbsp;Path",'hashpaah.htm','','','','',5,7,0,'N28','TV1',"Program&nbsp;of&nbsp;Study",'study.htm','','','','',0,'N29','TV1',"Advanced&nbsp;Prep",'advanced_prep.htm','','','','',0,'N30','TV1',"Application&nbsp;Process",'app_process.htm','','','','',0,'N31','TV1',"4&nbsp;Worlds&nbsp;7&nbsp;Midot",'fourworlds.htm','','','','',0,'N32','TV1',"ALEPH&nbsp;Students",'aleph_students.htm','','','','',0,'N33','TV1',"Teleconferences",'teleconferences.htm','','','','',0,'N34','TV1',"Student&nbsp;Center",'login_student.taf','','','','',6,4,0,'N36','TV1',"Philosophy",'rabbinic_philosophy.htm','','','','',0,'N37','TV1',"Prerequisites",'rabbinic_prerequisites.htm','','','','',0,'N38','TV1',"Curriculum",'rabbinic_curriculum.htm','','','','',0,'N39','TV1',"Contact&nbsp;Info",'rabbinic_contact.htm','','','','',7,3,0,'N41','TV1',"Program&nbsp;of&nbsp;Study",'cant_programstudy.htm','','','','',0,'N42','TV1',"Program&nbsp;Prep",'cant_preparation.htm','','','','',0,'N43','TV1',"Student&nbsp;Center",'login_student.taf','','','','',8,3,0,'N45','TV1',"Program&nbsp;of&nbsp;Study",'hash_programstudy.htm','','','','',0,'N46','TV1',"Faculty",'hash_faculty.htm','','','','',0,'N47','TV1',"Schedule",'hash_schedule.htm','','','','',9,4,0,'N49','TV1',"ReSources&nbsp;Catalog",'al_productSearch.taf?_function=store_intro','','','','',0,'N50','TV1',"Catalog&nbsp;News&nbsp;&amp;&nbsp;Updates",'catalog_news.htm','','','','',0,'N51','TV1',"Distance&nbsp;Learning",'distance_learning.htm','','','','',0,'N52','TV1',"Reb&nbsp;Zalman&nbsp;Legacy",'zalman.htm','','','','',10,3,0,'N57','TV1',"Make&nbsp;a&nbsp;Pledge",'pledge.taf','','','','',0,'N58','TV',"Donate",'donate.taf','','','','',0,'N59','TV1',"Become&nbsp;a&nbsp;Member",'become_a_member.taf','','','','')
var PLTVC_Layer=null
var PLTVC_Menu=null
var PLTVC_current=''
function PLTVC_setPathAdjustment(ID){var sl=''
var sc=document.getElementsByTagName('script')
for(var i=0;i<sc.length;i++){if(sc[i].innerHTML.search(ID)>-1){sl=sc[i].src;break;}}PLTVC_SCRIPT_LOCATION=sl.substr(0, sl.lastIndexOf('/')+1)}function PLTVC_adjustPath(path){if(path.charAt(0)!='*')return path
return PLTVC_SCRIPT_LOCATION+path.substr(1)}function PLTVC_isCurrent(r){if(!r)return false
var l=location.href
if(r.search('//')==-1){if(r.charAt(0)=='/')
r=l.replace(/(.*\/\/[^\/]*).*/,'$1')+r
else
r=l.replace(/[^\/]*$/,'')+r}do{var r1=r
r=r1.replace(/[^\/]*\/\.\.\//,'')}while(r!=r1)
return r==l}PLTVC_setPathAdjustment('PLTVCMenu script')
function PLTVC_br(){var ua=navigator.userAgent
this.mac=ua.indexOf('Mac')>=0
this.saf=this.mac&&ua.toLowerCase().indexOf('safari')>=0
this.op=ua.toLowerCase().indexOf('opera')>=0
this.ie=document.all&&!this.op
this.ie5=this.ie&&ua.indexOf('msie 5')>0
this.ieMode=this.ie&&document.compatMode=="CSS1Compat"
this.ieCanvas=this.ieMode?document.documentElement:document.body
return this}function PLTVC_start(){PLTVC_br=new PLTVC_br()
PLTVC_SPACE_IMG=PLTVC_adjustPath(PLTVC_SPACE_IMG)
PLTVC_EXPAND_IMGr=PLTVC_adjustPath(PLTVC_EXPAND_IMGr)
PLTVC_EXPAND_IMGL=PLTVC_adjustPath(PLTVC_EXPAND_IMGL)
PLTVC_EXPAND_IMGT=PLTVC_adjustPath(PLTVC_EXPAND_IMGT)
PLTVC_COLLAPSE_IMGr=PLTVC_adjustPath(PLTVC_COLLAPSE_IMGr)
PLTVC_COLLAPSE_IMGL=PLTVC_adjustPath(PLTVC_COLLAPSE_IMGL)
PLTVC_COLLAPSE_IMGT=PLTVC_adjustPath(PLTVC_COLLAPSE_IMGT)
PLTVC_LINES_IMGr=PLTVC_adjustPath(PLTVC_LINES_IMGr)
PLTVC_LINES_IMGI=PLTVC_adjustPath(PLTVC_LINES_IMGI)
PLTVC_LINES_IMGL=PLTVC_adjustPath(PLTVC_LINES_IMGL)
PLTVC_LINES_IMGT=PLTVC_adjustPath(PLTVC_LINES_IMGT)
var bIsFirst=true
String.prototype.repeat=function(n){var str=''
for(var i=0;i<n;i++)str+=this.toString()
return str};function getImageTag(src, alt, id, extSt){return '<img'+(id?' id="'+id+'"':'')+' src="'+src+'" border="0" style="vertical-align:middle;'+(extSt?extSt:'')+'" alt="'+alt+'">'}function Menu(){var nArgs=arguments.length
this.innerID  =(nArgs>0)? arguments[0]:''
this.parentInd=(nArgs>1)? arguments[1]:0
this.level    =(nArgs>2)? arguments[2]:0
this.isFirst  =(nArgs>3)? arguments[3]:false
this.isLast   =(nArgs>4)? arguments[4]:false
this.outerHTML=''}var curIndex=-1
var curID=''
var menus=new Array(new Menu())
PLTVC_Layer=document.getElementById('PLTVCDiv')
PLTVC_Menu=document.getElementById('PLTVCMenu')
var i=0, st=PLTVC_STREAM
var stLen=st.length
while(i<stLen){var index=st[i++]
var n=st[i++]
var curLevel=menus[index].level
var strSubmenu='<table'+(curLevel>0?' id="PLTVC_T_'+menus[index].innerID+'"':'')+' border="0" cellpadding="0" cellspacing="0" width="100%">'
for(var j=0;j<n;j++){strSubmenu+='<tr><td style="font-size:1px">'
var mnID=st[i++]
var nID=st[i++]
var className=st[i++]
var nodeName=st[i++]
var href=PLTVC_adjustPath(st[i++])
if(st[i++].substr(0,3)=='_PL')i+=2
var icoSrc=st[i++]
if(!curID&&PLTVC_isCurrent(href)){curIndex=index
curID=nID
className+='_Cur'
icoSrc=st[i]}var bIsLast=j==n-1
var strTreeImage=''
if(mnID>0){menus[mnID]=new Menu(nID, index, curLevel+1, bIsFirst, bIsLast)
if(bIsFirst)strTreeImage=PLTVC_EXPAND_IMGr
else if(bIsLast)strTreeImage=PLTVC_EXPAND_IMGL
else strTreeImage=PLTVC_EXPAND_IMGT}else{if(bIsFirst)strTreeImage=PLTVC_LINES_IMGr
else if(bIsLast)strTreeImage=PLTVC_LINES_IMGL
else strTreeImage=PLTVC_LINES_IMGT}bIsFirst=false
var ind=index
var strOffsetImages=''
while(menus[ind].level>0){strOffsetImages=(menus[ind].isLast ? getImageTag(PLTVC_SPACE_IMG, 'Space image'):getImageTag(PLTVC_LINES_IMGI, 'Line image'))+strOffsetImages
ind=menus[ind].parentInd}strSubmenu+=strOffsetImages
strSubmenu+=getImageTag(strTreeImage, '', 'PLTVC_IMG_'+nID, 'margin-right:0px')
if(icoSrc)strSubmenu+=getImageTag(PLTVC_adjustPath(icoSrc), nodeName+' icon', 'PLTVC_ICO_'+nID)
strSubmenu+='<span id="PLTVC_A_'+nID+'" class="'+className+'" title="'+nodeName+'"><span class="PLTVCPad">'+nodeName+'</span></td></tr>'
if(mnID>0)strSubmenu+='<tr id="PLTVC_TR_'+nID+'" style="display:none"><td id="PLTVC_TD_'+nID+'" width="100%"></td></tr>'
i+=2}menus[index].outerHTML=strSubmenu+'</table>'}PLTVC_Menu.innerHTML=''
+'<table border="0" cellpadding="2" cellspacing="0" style="background-color:transparent"><tr><td>'
+menus[0].outerHTML
+'</td></tr></table>'
var menusLen=menus.length
for(var i=1;i<menusLen;i++){var img=document.getElementById('PLTVC_IMG_'+menus[i].innerID)
if(img){img.nID=menus[i].innerID
img.onclick=PLTVC_Expand
if(menus[i].isFirst){img.expandSrc=PLTVC_EXPAND_IMGr;img.collapseSrc=PLTVC_COLLAPSE_IMGr}else if(menus[i].isLast){img.expandSrc=PLTVC_EXPAND_IMGL;img.collapseSrc=PLTVC_COLLAPSE_IMGL}else{img.expandSrc=PLTVC_EXPAND_IMGT;img.collapseSrc=PLTVC_COLLAPSE_IMGT}}var td=document.getElementById('PLTVC_TD_'+menus[i].innerID)
if(td)td.innerHTML=menus[i].outerHTML
var tr=document.getElementById('PLTVC_TR_'+menus[i].innerID)
if(tr){tr.img=img
tr.ico=document.getElementById('PLTVC_ICO_'+menus[i].innerID)
tr.expand=function(bExp, bAnm){var o=this
if(o.img)o.img.src=bExp ? o.img.collapseSrc:o.img.expandSrc
if(o.ico&&o.ico.expSrc)o.ico.src=bExp ? o.ico.expSrc:o.ico.nrmSrc
if(!bAnm)o.style.display=bExp ? '':'none'};}}var trs=PLTVC_Menu.getElementsByTagName('TR')
for(i=0;i<trs.length;i++)trs[i].style.display=''
var t=PLTVC_Menu.getElementsByTagName('TABLE')
for(i=0;i<t.length;i++)t[i].width=t[i].offsetWidth+'px'
for(i=0;i<trs.length;i++)if(trs[i].expand)trs[i].style.display='none'
PLTVC_current=document.getElementById('PLTVC_A_'+curID)
i=0
while(i<st.length){var index=st[i++]
var n=st[i++]
for(var j=0;j<n;j++){var mnID=st[i++]
var nID=st[i++]
var ico=document.getElementById('PLTVC_ICO_'+nID)
var a=document.getElementById('PLTVC_A_'+nID)
if(a){if(mnID)a.nID=nID
a.cn=st[i]
i+=2
a.href=(st[i]&&a!=PLTVC_current)? PLTVC_adjustPath(st[i]):''
i++
a.target=st[i++]
if(a.target.substr(0,3)=='_PL'){a.func=st[i++]
a.params=st[i++]}a.onclick=PLTVC_Click
a.onmouseover=PLTVC_MouseOver
a.onmouseout=PLTVC_MouseOut
if(!a.href)a.onmouseup=PLTVC_Expand}else i+=6
if(ico){ico.nrmSrc=ico.src
i+=2
ico.expSrc=PLTVC_adjustPath(st[i++])}else i+=3}}if(curIndex>-1){var ind=curIndex
while(menus[ind].level>0){var img=document.getElementById('PLTVC_IMG_'+menus[ind].innerID)
if(img)img.src=img.collapseSrc
var tr=document.getElementById('PLTVC_TR_'+menus[ind].innerID)
if(tr)tr.style.display=''
ind=menus[ind].parentInd}}if(PLTVC_current){PLTVC_current.expand=PLTVC_Expand
PLTVC_current.expand()}}function PLTVC_addLoadEvent(f){var oldf=window.onload
if(typeof oldf!='function'){window.onload=f}else{window.onload=function(){try{oldf()}catch(e){}f()}}}function PLTVC_onload(){setTimeout('PLTVC_start()',0)}function PLTVC_init(){PLTVC_addLoadEvent(PLTVC_onload)}function PLTVC_MouseOver(){if(this!=PLTVC_current)this.className=this.cn+'_Hover'}function PLTVC_MouseOut(){if(this!=PLTVC_current)this.className=this.cn}function PLTVC_MouseUp(){if(!this.href)PLTVC_Expand()}function PLTVC_Click(){var o=this
if(!o.href)return
if(o.func)eval(o.func+'("PLTVCMenu script","'+o.href+'",'+o.params+')')
else if(o.target)window.open(o.href,o.target)
else location=o.href}function PLTVC_Expand(){var k=this.nID
if(!k)return
var tr=document.getElementById('PLTVC_TR_'+k)
if(tr.bAnim)return
var c=tr.style.display=='none'
if(tr.expand)tr.expand(c,!PLTVC_br.saf)
if(!PLTVC_br.saf){if(c)PLTVC_open(k);else PLTVC_close(k)}}function PLTVC_open(k){var t=document.getElementById('PLTVC_T_'+k)
var tr=document.getElementById('PLTVC_TR_'+k)
tr.bAnim=true
t.tr=tr
tr.style.display=''
t.obj='PLTVC_OBJ_'+k
eval(t.obj+'=t')
t.style.position='absolute'
t.style.top=PLTVC_getTop(tr)+'px'
t.style.left=PLTVC_getLeft(tr)+'px'
t.rolldown=PLTVC_rolldown
t.rolldown(0)}function PLTVC_close(k){var t=document.getElementById('PLTVC_T_'+k)
var tr=document.getElementById('PLTVC_TR_'+k)
tr.bAnim=true
t.tr=tr
t.obj='PLTVC_OBJ_'+k
eval(t.obj+'=t')
t.style.position='absolute'
t.style.top=PLTVC_getTop(tr)+'px'
t.style.left=PLTVC_getLeft(tr)+'px'
t.rollup=PLTVC_rollup
t.rollup(t.offsetHeight)}function PLTVC_rolldown(b){with(this){if(b>offsetHeight)b=offsetHeight
tr.style.height=b+'px'
style.clip='rect(0px auto '+b+'px 0px)'
if(b<offsetHeight){b+=offsetHeight/20+1
window.setTimeout(obj+'.rolldown('+b+')',10)}else{style.position=''
tr.style.height=''
tr.bAnim=false}}}function PLTVC_rollup(b){with(this){if(b<0)b=0
tr.style.height=b+'px'
style.clip='rect(0px auto '+b+'px 0px)'
if(b>0){b-=offsetHeight/20+1
window.setTimeout(obj+'.rollup('+b+')',10)}else{style.position=''
tr.style.display='none'
tr.bAnim=false}}}function PLTVC_getTop(e){var top=0
var abs=false
while(e&&!abs){top+=e.offsetTop
e=e.offsetParent
if(e&&e.style.position=='absolute')abs=true}if(e&&abs&&PLTVC_br.op)top-=parseInt(e.currentStyle.borderTop)
return top}function PLTVC_getLeft(e){var left=0
var abs=false
while(e&&!abs){left+=e.offsetLeft
e=e.offsetParent
if(e&&e.style.position=='absolute')abs=true}if(e&&abs&&PLTVC_br.op)left-=parseInt(e.currentStyle.borderLeft)
return left}PLTVC_init()
