//Copyright(C)2002-2009 PluginLab Limited. All rights reserved.
//http://www.pluginlab.com
//ProductID:PLTVC
//Platform:MAC
//Registered to:lmalloy
var RCLXcJB={dummy:0,
VERSION:'2.2.0.0',
LAYER:false,
X:0,
Y:0,
VALIGN:0,
FLOAT:false,
WIDTH:190,
TV_PADDING:0,
NODE_PADDING:2,
BG:'#ffffff',
SHOW_TIPS:true,
ANIMATION:1,
SPEED:50,
EXPCOL_ALL:false,
EXPCOL_CLASS:'MSDN_library2',
EXPAND_ALL_ONLOAD:false,
SEO_LINKS:0,
TRANSFORM_PATHS:true,
LINES:0,
EXPAND_IMGr:'*../plus_br.gif',
EXPAND_IMGL:'*../plus_tr.gif',
EXPAND_IMGT:'*../plus_tbr.gif',
COLLAPSE_IMGr:'*../minus_br.gif',
COLLAPSE_IMGL:'*../plus_tr.gif',
COLLAPSE_IMGT:'*../plus_tbr.gif',
LINES_IMGr:'*../leaf_br.gif',
LINES_IMGI:'*../leaf_tb.gif',
LINES_IMGL:'*../leaf_tr.gif',
LINES_IMGT:'*../leaf_tbr.gif',
SPACE_IMG:'*../space.gif',
DEFAULT_CLASS:'TV1',
PREVIEW_BACKGROUND_COLOR:'#FFFFFF',
STREAM:[0,20,0,'MSDN_library2',"Department&nbsp;Homepage","Department&nbsp;Homepage",'http://www.theatrefilm.ubc.ca/index.shtml','','','','',0,'MSDN_library2',"Welcome&nbsp;to&nbsp;Theatre&nbsp;at&nbsp;UBC","Welcome&nbsp;to&nbsp;Theatre&nbsp;at&nbsp;UBC",'*../../index.shtml','','','','',0,'MSDN_library2',"Theatre&nbsp;Courses&nbsp;2011-12","Theatre&nbsp;Courses&nbsp;2011-12",'http://courses.students.ubc.ca/','_blank','','','',1,'MSDN_library2',"Degree&nbsp;Programs","Degree&nbsp;Programs",'','','','','',2,'MSDN_library2',"On&nbsp;Stage","",'','','','','',3,'MSDN_library2',"Box&nbsp;Office","",'','','','','',4,'MSDN_library2',"Press","",'','','','','',5,'MSDN_library2',"Students&nbsp;&amp;&nbsp;Alumni","",'','','','','',7,'MSDN_library2',"About&nbsp;Us","",'','','','','',0,'MSDN_library2',"Events","",'*../../events.shtml','','','','',8,'MSDN_library2',"News","",'','','','','',9,'MSDN_library2',"Podcasts","",'','','','','',0,'MSDN_library2',"Opportunities","",'opportunities.shtml','','','','',10,'MSDN_library2',"Department&nbsp;Resources","",'','','','','',16,'MSDN_library2',"Awards","",'','','','','',17,'MSDN_library2',"Facilities","",'','','','','',0,'MSDN_library2',"Contact&nbsp;Us","",'*../../contact_us.shtml','','','','',18,'MSDN_library2',"Support&nbsp;Us","",'','','','','',19,'MSDN_library2',"Network","",'','','','','',0,'MSDN_library2',"Sitemap","",'*../../sitemap.shtml','','','','',1,12,0,'MSDN_library2',"Admissions","Admissions",'*../../programs_admissions.shtml','','','','',0,'MSDN_library2',"BA&nbsp;Theatre","BA&nbsp;Theatre",'*../../programs_ba_theatre.shtml','','','','',0,'MSDN_library2',"BA&nbsp;Drama","BA&nbsp;Drama",'*../../programs_ba_drama.shtml','','','','',0,'MSDN_library2',"BFA&nbsp;Acting","BFA&nbsp;Acting",'*../../programs_bfa_acting.shtml','','','','',0,'MSDN_library2',"BFA&nbsp;Design&nbsp;&amp;&nbsp;Production","BFA&nbsp;Design&nbsp;&amp;&nbsp;Production",'*../../programs_bfa_design_prod.shtml','','','','',0,'MSDN_library2',"MA&nbsp;Theatre","MA&nbsp;Theatre",'*../../programs_ma_theatre.shtml','','','','',0,'MSDN_library2',"MFA&nbsp;Design","MFA&nbsp;Design",'*../../programs_mfa_design.shtml','','','','',0,'MSDN_library2',"MFA&nbsp;Directing","MFA&nbsp;Directing",'*../../programs_mfa_directing.shtml','','','','',0,'MSDN_library2',"PhD","PhD",'*../../programs_phd.shtml','','','','',0,'MSDN_library2',"Certificate","Certificate",'*../../programs_certificate.shtml','','','','',0,'MSDN_library2',"Graduate&nbsp;Funding","Graduate&nbsp;Funding&nbsp;Opportunities",'*../../programs_graduate_funding.shtml','','','','',0,'MSDN_library2',"Summer&nbsp;Session","Summer&nbsp;Session",'*../../programs_summer.shtml','','','','',2,5,0,'MSDN_library2',"What's&nbsp;On","",'*../../season.shtml','','','','',0,'MSDN_library2',"Study&nbsp;Guides","",'*../../study_guides.shtml','','','','',0,'MSDN_library2',"Past&nbsp;Seasons/Archives","",'*../../archives.shtml','','','','',0,'MSDN_library2',"Promotional&nbsp;Videos","",'*../../videos.shtml','','','','',0,'MSDN_library2',"Directions&nbsp;to&nbsp;UBC","",'http://www.maps.ubc.ca/PROD/index.php','_blank','','','',3,3,0,'MSDN_library2',"Buy&nbsp;Tickets","",'*../../box_office.shtml','','','','',0,'MSDN_library2',"Subscribe!","",'*../../box_office_subscribe.shtml','','','','',0,'MSDN_library2',"Contact&nbsp;Box&nbsp;Office","",'*../../box_office_contact.shtml','','','','',4,3,0,'MSDN_library2',"Press&nbsp;Releases","",'*../../press_releases.shtml','','','','',0,'MSDN_library2',"Production&nbsp;Photos","",'*../../press_photos.shtml','','','','',0,'MSDN_library2',"Production&nbsp;Videos","",'*../../videos.shtml','','','','',5,10,0,'MSDN_library2',"Alumni&nbsp;List","",'*../../alumni_list.shtml','','','','',0,'MSDN_library2',"Alumni&nbsp;Spotlight","Alumni&nbsp;Spotlight",'alumni_spotlight.shtml','','','','',0,'MSDN_library2',"Current&nbsp;Student&nbsp;News","Current&nbsp;Student&nbsp;News",'*../../current_student_news.shtml','','','','',0,'MSDN_library2',"Events","",'*../../events.shtml','','','','',0,'MSDN_library2',"Awards&nbsp;&amp;&nbsp;Scholarships","",'*../../scholarships.shtml','','','','',6,'MSDN_library2',"UBC&nbsp;Player's&nbsp;Club","",'','','','','',0,'MSDN_library2',"Student&nbsp;Services&nbsp;Centre","",'https://ssc.adm.ubc.ca/sscportal/servlets/SRVSSCFramework','','','','',0,'MSDN_library2',"UBC&nbsp;Calendar","",'http://www.students.ubc.ca/calendar/','','','','',0,'MSDN_library2',"UBC&nbsp;Courses","",'https://courses.students.ubc.ca/cs/main?pname=subjarea&tname=subjareas','','','','',0,'MSDN_library2',"Directions&nbsp;to&nbsp;UBC","",'http://www.ubc.ca/about/directions.html','','','','',6,2,0,'MSDN_library2',"UBC's&nbsp;Dramatic&nbsp;Impact","",'*../../players_club_dramatic_impact.shtml','','','','',0,'MSDN_library2',"Player's&nbsp;Club&nbsp;Home","",'http://www.ubcplayersclub.com/','','','','',7,4,0,'MSDN_library2',"Faculty&nbsp;Members","",'*../../directory_faculty.shtml','','','','',0,'MSDN_library2',"Administration","",'*../../directory_administration.shtml','','','','',0,'MSDN_library2',"Production&nbsp;Staff","",'*../../directory_production_staff.shtml','','','','',0,'MSDN_library2',"Adjuncts/Sessionals","",'*../../directory_adjuncts_sessionals.shtml','','','','',8,3,0,'MSDN_library2',"Current&nbsp;Student&nbsp;News","Current&nbsp;Student&nbsp;News",'*../../current_student_news.shtml','','','','',0,'MSDN_library2',"Faculty&nbsp;and&nbsp;Staff&nbsp;News","Faculty&nbsp;and&nbsp;Staff&nbsp;News",'*../../faculty_staff_news.shtml','','','','',0,'MSDN_library2',"Alumni&nbsp;Spotlight","Alumni&nbsp;Spotlight",'*../../alumni_spotlight.shtml','','','','',9,3,0,'MSDN_library2',"Kim&nbsp;Cattrall&nbsp;in&nbsp;Conversation","",'*../../podcast_kim_cattrall.shtml','','','','',0,'MSDN_library2',"Robert&nbsp;Lepage&nbsp;in&nbsp;Conversation","",'*../../podcast_robert_lepage.shtml','','','','',0,'MSDN_library2',"Jade&nbsp;in&nbsp;the&nbsp;Coal&nbsp;Interview","Jade&nbsp;in&nbsp;the&nbsp;Coal&nbsp;Interview",'*../../podcast_jade_in_the_coal.shtml','','','','',10,6,11,'MSDN_library2',"Forms","",'','','','','',14,'MSDN_library2',"Workstudy","",'','','','','',0,'MSDN_library2',"Faculty&nbsp;Services&nbsp;Centre","",'*../../resources_fsc.shtml','','','','',0,'MSDN_library2',"Guest&nbsp;Speakers","",'*../../resources_guest_speakers.shtml','','','','',15,'MSDN_library2',"Room&nbsp;Bookings","",'','','','','',0,'TV1',"FASmail&nbsp;Migration&nbsp;Guides","FASmail&nbsp;Migration&nbsp;Guides",'http://it.ubc.ca/projects/strategicprojects/ubc-email/migrationguides.html','_blank','','','',11,5,0,'MSDN_library2',"Production&nbsp;Forms","",'*../../resources_forms_production.shtml','','','','',0,'MSDN_library2',"Honoraria&nbsp;Forms","",'*../../resources_forms_honoraria.shtml','','','','',0,'MSDN_library2',"Directed&nbsp;Studies","Directed&nbsp;Studies",'*../../resources_forms_directed_studies.shtml','','','','',12,'MSDN_library2',"Faculty&nbsp;PDR&nbsp;Claim","Faculty&nbsp;PDR&nbsp;Claim",'','','','','',13,'MSDN_library2',"Consent:&nbsp;Use&nbsp;of&nbsp;Image","Consent:&nbsp;Use&nbsp;of&nbsp;Image",'','','','','',12,2,0,'MSDN_library2',"PDF&nbsp;File","PDF&nbsp;File",'*../../images/pdfs/form_pdr_claim_2010.pdf','','','','',0,'MSDN_library2',"Word&nbsp;File","Word&nbsp;File",'*../../images/pdfs/form_pdr_claim_2010.doc','','','','',13,2,0,'MSDN_library2',"PDF&nbsp;File","PDF&nbsp;File",'*../../forms/Consent_to_use_of_Image.pdf','','','','',0,'MSDN_library2',"Word&nbsp;File","Word&nbsp;File",'*../../forms/Consent_to_use_of_Image.DOC','','','','',14,2,0,'MSDN_library2',"Positions&nbsp;Available","",'*../../resources_workstudy_positions.shtml','','','','',0,'MSDN_library2',"Timesheets","",'*../../resources_workstudy_timesheets.shtml','','','','',15,2,0,'TV1',"Policies&nbsp;&amp;&nbsp;Procedures","Policies&nbsp;&amp;&nbsp;Procedures",'*../../resources_room_bookings_policies.shtml','','','','',0,'TV1',"Room&nbsp;Booking&nbsp;Schedules","Room&nbsp;Booking&nbsp;Schedules",'*../../resources_room_bookings_fwt_dss_rms.shtml','','','','',16,2,0,'MSDN_library2',"Current&nbsp;Awards","",'*../../awards_current.shtml','','','','',0,'MSDN_library2',"Past&nbsp;Awards","",'*../../awards_past.shtml','','','','',17,3,0,'MSDN_library2',"Facilities&nbsp;Images","",'*../../facilities_images.shtml','','','','',0,'MSDN_library2',"Virtual&nbsp;Models&nbsp;","",'*../../facilities_virtual_models.shtml','','','','',0,'MSDN_library2',"Building&nbsp;Maps","",'*../../facilities_building_maps.shtml','','','','',18,2,0,'MSDN_library2',"Donations","",'*../../support_us.shtml','','','','',0,'MSDN_library2',"Awards&nbsp;&amp;&nbsp;Scholarships","",'*../../scholarships.shtml','','','','',19,2,0,'MSDN_library2',"Links","",'*../../network_links.shtml','','','','',0,'MSDN_library2',"Partners","",'*../../network_partners.shtml','','','',''],
setPathAdjustment:function(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}this.SCRIPT_LOCATION=sl.substr(0, sl.lastIndexOf('/')+1)},
adjustPath:function(path){if(path.charAt(0)!='*')return path
return this.SCRIPT_LOCATION+path.substr(1)},
linkScripts:function(aNewScripts){var scripts=document.getElementsByTagName('script')
for(var i=0;i<aNewScripts.length;i++){var bScriptLinked=false
for(var j=0;j<scripts.length;j++){if(aNewScripts[i]==scripts[j].src){bScriptLinked=true;break}}if(!bScriptLinked)document.write("<script src='"+this.adjustPath(aNewScripts[i])+"' type='text/javascript'><\/script>")}},
isCurrent:function(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},
browser:function(){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},
addLoadEvent:function(f){var oldf=window.onload
if(typeof oldf!='function'){window.onload=f}else{window.onload=function(){try{oldf()}catch(e){}f()}}},
init:function(){var m=this
m.br=new m.browser
m.ID=PLTVC_ID
this.setPathAdjustment('PLTVCMenu script ID:'+m.ID+' ')
m.addLoadEvent(m.onload)},
onload:function(){setTimeout('RCLXcJB.start()',0)},
start:function(){var m=this
m.pref='PLTVC'
m.items=new Array
m.wrapper=document.getElementById(m.ID+'Div')
m.menu=document.getElementById(m.ID+'Menu')
m.SPACE_IMG=m.adjustPath(m.SPACE_IMG)
m.preload(m.SPACE_IMG)
m.EXPAND_IMGr=m.adjustPath(m.EXPAND_IMGr)
m.EXPAND_IMGL=m.adjustPath(m.EXPAND_IMGL)
m.EXPAND_IMGT=m.adjustPath(m.EXPAND_IMGT)
m.COLLAPSE_IMGr=m.adjustPath(m.COLLAPSE_IMGr)
m.COLLAPSE_IMGL=m.adjustPath(m.COLLAPSE_IMGL)
m.COLLAPSE_IMGT=m.adjustPath(m.COLLAPSE_IMGT)
m.LINES_IMGr=m.adjustPath(m.LINES_IMGr)
m.LINES_IMGI=m.adjustPath(m.LINES_IMGI)
m.LINES_IMGL=m.adjustPath(m.LINES_IMGL)
m.LINES_IMGT=m.adjustPath(m.LINES_IMGT)
m.preload(m.EXPAND_IMGr)
m.preload(m.EXPAND_IMGL)
m.preload(m.EXPAND_IMGT)
m.preload(m.COLLAPSE_IMGr)
m.preload(m.COLLAPSE_IMGL)
m.preload(m.COLLAPSE_IMGT)
m.preload(m.LINES_IMGr)
m.preload(m.LINES_IMGI)
m.preload(m.LINES_IMGL)
m.preload(m.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+'" class="RCLXcJBImg"'+(extSt?' style="'+extSt+'"':'')+' alt="'+alt+'">'};function Menu(){var nArgs=arguments.length
this.innerID  =(nArgs>0)? arguments[0]:''
this.parentInd=(nArgs>1)? arguments[1]:-1
this.level    =(nArgs>2)? arguments[2]:0
this.isLast   =(nArgs>3)? arguments[3]:false
this.outerHTML=''};var eCur={ind:-1, isBranch:false};eCur.set=function(ind, menuID){this.isBranch=menuID>0
this.ind=this.isBranch ? menuID:ind};var menus=new Array(new Menu())
var i=0, st=m.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="'+menus[index].innerID+'_T'+'"':'')+' border="0" cellpadding="0" cellspacing="0">'
for(var j=0;j<n;j++){var mnID=st[i++]
var nID=m.ID+'_'+index+'_'+j
var item=m.items[nID]=new Object
item.id=nID
item.className='RCLXcJB'+st[i++]
var nodeName=st[i++]
var title=st[i++]
item.href=m.adjustPath(st[i++])
item.target=st[i++]
if(item.target.substr(0,3)=='_PL'){item.func=st[i++]
item.params=st[i++]}item.iconNormalSrc=st[i++]
strSubmenu+='<tr><td class="'+item.className+'Font">'
if(m.isCurrent(item.href)){item.isCur=true
item.className+='_Cur'
item.iconNormalSrc=st[i]
if(eCur.ind<0)eCur.set(index, mnID)
else if(eCur.isBranch&&index>=eCur.ind){var iID=index
while(iID>0){if(iID==eCur.ind){eCur.set(index, mnID);break}iID=menus[iID].parentInd}}}item.iconNormalSrc=m.adjustPath(item.iconNormalSrc)
m.preload(item.iconNormalSrc)
item.iconExpandSrc=m.adjustPath(st[++i])
m.preload(item.iconExpandSrc)
var bIsLast=j==n-1
var strTreeImage=''
if(mnID>0){menus[mnID]=new Menu(nID, index, curLevel+1, bIsLast)
item.expandSrc=bIsFirst ? m.EXPAND_IMGr:(bIsLast ? m.EXPAND_IMGL:m.EXPAND_IMGT)
item.collapseSrc=bIsFirst ? m.COLLAPSE_IMGr:(bIsLast ? m.COLLAPSE_IMGL:m.COLLAPSE_IMGT)
strTreeImage=item.expandSrc}else{strTreeImage=bIsFirst ? m.LINES_IMGr:(bIsLast ? m.LINES_IMGL:m.LINES_IMGT)}bIsFirst=false
var ind=index
var strOffsetImages=''
while(menus[ind].level>0){strOffsetImages=(menus[ind].isLast ? getImageTag(m.SPACE_IMG, 'Space image'):getImageTag(m.LINES_IMGI, 'Line image'))+strOffsetImages
ind=menus[ind].parentInd}strSubmenu+=strOffsetImages
strSubmenu+=getImageTag(strTreeImage, '', nID+'_IMG', 'margin-right:2px')
if(item.iconNormalSrc)strSubmenu+=getImageTag(item.iconNormalSrc, nodeName+' icon', nID+'_ICO')
strSubmenu+='<a id="'+nID+'" href="'+(item.href?item.href:'#')+'" target="'+item.target+'" class="'+item.className+'" title="'+(title?title:nodeName)+'"><span class="RCLXcJBTxt">'+nodeName+'</span></a></td></tr>'
if(mnID>0)strSubmenu+='<tr style="display:none"><td id="'+nID+'_TD'+'"></td></tr>'
i++}menus[index].outerHTML=strSubmenu+'</table>'}m.menu.innerHTML=''
+'<table border="0" cellpadding="0" cellspacing="0"><tr><td>'
+menus[0].outerHTML
+'</td></tr></table>'
var menusLen=menus.length
for(var i=1;i<menusLen;i++){var img=document.getElementById(menus[i].innerID+'_IMG')
if(img)img.onclick=m.imgClick
var td=document.getElementById(menus[i].innerID+'_TD')
if(td)td.innerHTML=menus[i].outerHTML
var item=m.items[menus[i].innerID]
if(item){item.tr=td ? td.parentNode:null
item.img=img
item.ico=document.getElementById(item.id+'_ICO')
item.expand=function(bExp, bAnm){var o=this
if(o.img)o.img.src=bExp ? o.collapseSrc:o.expandSrc
if(o.ico&&o.iconExpandSrc&&!o.isCur)o.ico.src=bExp ? o.iconExpandSrc:o.iconNormalSrc
if(!bAnm&&o.tr)o.tr.style.display=bExp ? '':'none'};}}var anchors=m.menu.getElementsByTagName('A')
var n=anchors.length
for(i=0;i<n;i++){var a=anchors[i]
var item=m.getItem(a.id)
a.onclick=m.click
a.onfocus=function(){this.blur()};var ico=document.getElementById(item.id+'_ICO')
if(ico){ico.onclick=m.click
if(item.href)ico.style.cursor=m.br.ie5 ? 'hand':'pointer'}}var ind=eCur.ind
while(ind>0){var item=m.items[menus[ind].innerID]
if(item)item.isCur=true
ind=menus[ind].parentInd}var tbs=m.menu.getElementsByTagName('TABLE')
for(i=0;i<tbs.length;i++){var item=m.getItem(tbs[i].parentNode.id)
if(item&&item.isCur&&item.expand)item.expand(true)}},
click:function(){var m=RCLXcJB
var o=m.getItem(this.id)
if(!o)return
if(!o.href||o.isCur)m.expandBranch(o)
else if(o.func)eval(o.func+'("PLTVCMenu script ID:"+RCLXcJB.ID,"'+o.href+'",'+o.params+')')
else if(o.target)window.open(o.href,o.target)
else location=o.href
return false},
imgClick:function(){var m=RCLXcJB
m.expandBranch(m.getItem(this.id))},
expandBranch:function(o){var m=this
if(!o||!o.expand||m.bAnim)return
var c=o.tr.style.display=='none'
o.expand(c,!m.br.saf)
if(!m.br.saf){if(c)m.open(o.id);else m.close(o.id)}},
open:function(id){var m=this
m.bAnim=true
var t=document.getElementById(id+'_T')
var td=t.parentNode
td.parentNode.style.display=''
t.style.position='absolute'
t.style.top=m.getTop(td)+'px'
t.style.left=m.getLeft(td)+'px'
t.h=t.offsetHeight
m.branch=t
m.rolldown(0)},
close:function(id){var m=this
m.bAnim=true
var t=document.getElementById(id+'_T')
var td=t.parentNode
t.style.position='absolute'
t.style.top=m.getTop(td)+'px'
t.style.left=m.getLeft(td)+'px'
t.h=t.offsetHeight
m.branch=t
m.rollup(t.offsetHeight)},
rolldown:function(b){var t=this.branch
var p=t.parentNode
if(b>t.h)b=t.h
p.style.height=b+'px'
t.style.clip='rect(auto auto '+b+'px auto)'
if(b<t.h){b+=t.h/2+1
window.setTimeout('RCLXcJB.rolldown('+b+')',10)}else{t.style.position=''
p.style.height=''
this.bAnim=false}},
rollup:function(b){var t=this.branch
var p=t.parentNode
if(b<0)b=0
p.style.height=b+'px'
t.style.clip='rect(auto auto '+b+'px auto)'
if(b>0){b-=t.h/2+1
window.setTimeout('RCLXcJB.rollup('+b+')',10)}else{t.style.position=''
p.parentNode.style.display='none'
this.bAnim=false}},
getItem:function(id){if(!id)return null
var m=this
var item=m.items[id]
if(!item)item=m.items[id.substr(0,id.lastIndexOf('_'))]
return item},
getTop:function(e){var top=0
var abs=false
while(e&&!abs){top+=e.offsetTop
e=e.offsetParent
if(e&&e.style.position=='absolute')abs=true}return top},
getLeft:function(e){var left=0
var abs=false
while(e&&!abs){left+=e.offsetLeft
e=e.offsetParent
if(e&&e.style.position=='absolute')abs=true}return left},
preload:function(img){if(!img)return
if(!this.preloads)this.preloads=new Array
var ind=this.preloads.length
this.preloads[ind]=new Image
this.preloads[ind].src=img},
dummy:null};RCLXcJB.init()

