//Copyright(C)2002-2007 Pluginlab Limited. All rights reserved.
//http://www.pluginlab.com
//Registered to:Scott Williamson
var PLTVC_VERSION="2.0.3.0"
var PLTVC_LAYER=false
var PLTVC_X=0
var PLTVC_Y=0
var PLTVC_VALIGN=0
var PLTVC_FLOAT=false
var PLTVC_WIDTH=10
var PLTVC_TV_PADDING=2
var PLTVC_NODE_PADDING=0
var PLTVC_BG=''
var PLTVC_SHOW_TIPS=false
var PLTVC_FULL_STRUCT=false
var PLTVC_ANIMATION=0
var PLTVC_SPEED=5
var PLTVC_EXPCOL_ALL=false
var PLTVC_EXPCOL_CLASS='TV'
var PLTVC_LINES=1
var PLTVC_EXPAND_ICON='*../../images/plus.gif'
var PLTVC_COLLAPSE_ICON='*../../images/minus.gif'
var PLTVC_LEAF_ICON='*../../images/leaf.gif'
var PLTVC_SPACE_IMG='*../../images/space.gif'
var PLTVC_CSS_FILE='*../CSS/treemenu.css'
var PLTVC_DEFAULT_CLASS='TV'
var PLTVC_STREAM=new Array(0,9,1,'N0','TV',"By&nbsp;Laws",'','','','','',0,'N4','TV',"Club&nbsp;Operations&nbsp;Manual",'*../../MEMBER-RESOURCES/operatingManual.html','load_content','','','',0,'N5','TV',"Charter",'','load_content','','','',0,'N6','TV',"Committee&nbsp;Chair's&nbsp;Monthly&nbsp;Report",'http://oceansidepacifickiwanis.org/scamp.jsp','_blank','','','',2,'N7','TV',"Conferences&nbsp;and&nbsp;Conventions",'','','','','',3,'N11','TV',"Forms",'','','','','',9,'N29','TV',"Honors&nbsp;and&nbsp;Awards",'','','','','',13,'N43','TV',"Membership",'','','','','',14,'N45','TV',"OPK&nbsp;Board",'','','','','',1,3,0,'N1','TV',"Most&nbsp;Current",'*../../Files/By-Laws/Bylaws.html','','','','',0,'N2','TV',"Most&nbsp;Current&nbsp;PDF",'*../../Files/By-Laws/current-by-laws.html','load_content','','','',0,'N3','TV',"Kiwanis&nbsp;International&nbsp;example",'','load_content','','','',2,3,0,'N8','TV',"Cal-Nev-Ha&nbsp;Mid-Winter",'http://cnhkiwanis.org/Kiwanis-Conventions-Conferences-South.html','_blank','','','',0,'N9','TV',"Kiwanis&nbsp;International&nbsp;Convention",'http://www.kiwanis.org/WhatWeDo/InternationalConvention/KiwanisInternationalConvention2008/tabid/464/Default.aspx','_blank','','','',0,'N10','TV',"CNH&nbsp;District&nbsp;Convention",'http://cnhkiwanis.org/kiwanis-district-convention.html','_blank','','','',3,6,4,'N12','TV',"Account&nbsp;Names&nbsp;and&nbsp;Numbers",'*../../Files/Forms/AdminAccountNumbers.html','load_content','','','',0,'N23','TV',"Attendance&nbsp;Makeups",'*../../MEMBER-RESOURCES/Attendance-Makeups.html','load_content','','','',0,'N24','TV',"Event&nbsp;Signup&nbsp;Sheet",'*../../MEMBER-RESOURCES/eventSignup.html','load_content','','','',0,'N25','TV',"Insurance",'*../../Files/Forms/insuranceForm.html','load_content','','','',8,'N26','TV',"OPK&nbsp;Foundation",'','','','','',0,'N28','TV',"Share&nbsp;Information&nbsp;Form",'*../../Files/shareInformation.html','load_content','','','',4,3,0,'N13','TV',"Administrative&nbsp;Account",'','','','','',0,'N14','TV',"Charity&nbsp;Account",'*../../Files/Forms/CharityAccountNumbers.html','load_content','','','',5,'N15','TV',"Request&nbsp;for&nbsp;Payment",'','','','','',5,3,6,'N16','TV',"Administrative&nbsp;Accounts&nbsp;Voucher",'','','','','',7,'N19','TV',"Charity&nbsp;Accounts&nbsp;Voucher",'','','','','',0,'N22','TV',"OPK&nbsp;Foundation&nbsp;Grants&nbsp;Application",'*../../Files/Forms/foundation-grant-app.html','load_content','','','',6,2,0,'N17','TV',"PDF&nbsp;Format",'*../../Files/Forms/adminvoucher.html','load_content','','','',0,'N18','TV',"Word&nbsp;Document",'*../../Files/Forms/adminvoucherWord.html','load_content','','','',7,2,0,'N20','TV',"PDF&nbsp;Format",'*../../Files/Forms/charityvoucher.html','load_content','','','',0,'N21','TV',"Word&nbsp;Document",'*../../Files/Forms/charityvoucherWord.html','load_content','','','',8,1,0,'N27','TV',"Grant&nbsp;Request",'*../../MEMBER-RESOURCES/OPKF-Grant-Request.html','load_content','','','',9,10,10,'N30','TV',"Bill&nbsp;Foran&nbsp;Kiwanin&nbsp;of&nbsp;the&nbsp;Year&nbsp;Award",'','','','','',11,'N32','TV',"Bob&nbsp;Sample-Will&nbsp;Blake&nbsp;Service&nbsp;Award",'','load_content','','','',0,'N34','TV',"Cal-Nev-Ha&nbsp;Distinguished&nbsp;Service&nbsp;Award",'*../../MEMBER-RESOURCES/DSA.html','load_content','','','',0,'N35','TV',"Connelly&nbsp;Heroism&nbsp;Medal",'http://cnhkiwanis.org/MemberResources.html','_blank','','','',0,'N36','TV',"DKA&nbsp;Requirements",'*../../MEMBER-RESOURCES/dkaRequirements.html','load_content','','','',0,'N37','TV',"Distinguished&nbsp;Kiwanian&nbsp;Award",'http://cnhkiwanis.org/Files/Distinguished-Kiwanian-Award-(DKA).pdf','_blank','','','',0,'N38','TV',"Dunlap&nbsp;Fellows&nbsp;of&nbsp;the&nbsp;Cal-Nev-Ha&nbsp;Foundation",'http://cnhkiwanis.org/MemberResources/William-A-Dunlap-Fellowship.html','_blank','','','',0,'N39','TV',"Hixon&nbsp;Fellows&nbsp;of&nbsp;the&nbsp;Kiwanis&nbsp;International&nbsp;Foundation",'http://kif.kiwanis.org/lit/download.asp?id=8','_blank','','','',0,'N40','TV',"Legion&nbsp;of&nbsp;Honor&nbsp;Members&nbsp;of&nbsp;Kiwanis&nbsp;International",'','load_content','','','',12,'N41','TV',"Rookie&nbsp;of&nbsp;the&nbsp;Year&nbsp;Award&nbsp;",'','load_content','','','',10,1,0,'N31','TV',"Criteria&nbsp;and&nbsp;Nomination&nbsp;Form",'*../../MEMBER-RESOURCES/Kiwanin-of-the-year.html','load_content','','','',11,1,0,'N33','TV',"Criteria&nbsp;and&nbsp;Nomination&nbsp;Form",'*../../MEMBER-RESOURCES/Blake-Sample-Form.html','load_content','','','',12,1,0,'N42','TV',"Criteria&nbsp;and&nbsp;Nomination&nbsp;Form",'*../../MEMBER-RESOURCES/Rookie-of-the-year.html','load_content','','','',13,1,0,'N44','TV',"New&nbsp;Member&nbsp;Guide",'*../../Files/Oceanside-Pacific-New-Member-Guide.html','load_content','','','',14,2,15,'N46','TV',"Agendas",'','','','','',16,'N49','TV',"Minutes",'','','','','',15,2,0,'N47','TV',"Sample&nbsp;Month",'*../../Files/%20%20Board-of-Directors/Typical-Board-of-Directors-Agenda.html','','','','',0,'N48','TV',"Last&nbsp;Month",'','load_content','','','',16,2,0,'N50','TV',"Last&nbsp;Month",'','load_content','','','',17,'N51','TV',"Archive",'','','','','',17,2,18,'N52','TV',"2006-2007",'','load_content','','','',19,'N65','TV',"2007-2008",'','','','','',18,12,0,'N53','TV',"Oct",'','','','','',0,'N54','TV',"Nov",'','','','','',0,'N55','TV',"Dec",'','','','','',0,'N56','TV',"Jan",'','','','','',0,'N57','TV',"Feb",'','','','','',0,'N58','TV',"Mar",'','','','','',0,'N59','TV',"Apr",'','','','','',0,'N60','TV',"May",'','','','','',0,'N61','TV',"Jun",'','','','','',0,'N62','TV',"Jul",'','','','','',0,'N63','TV',"Aug",'','','','','',0,'N64','TV',"Sept",'','','','','',19,12,0,'N66','TV',"Oct",'','','','','',0,'N67','TV',"Nov",'','','','','',0,'N68','TV',"Dec",'','','','','',0,'N69','TV',"Jan",'','','','','',0,'N70','TV',"Feb",'','','','','',0,'N71','TV',"Mar",'','','','','',0,'N72','TV',"Apr",'','','','','',0,'N73','TV',"May",'','','','','',0,'N74','TV',"Jun",'','','','','',0,'N75','TV',"Jul",'','','','','',0,'N76','TV',"Aug",'','','','','',0,'N77','TV',"Sept",'','','','','')
var PLTVC_Layer=null
var PLTVC_Menu=null
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||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_preload(PLTVC_SPACE_IMG)
PLTVC_EXPAND_ICON=PLTVC_adjustPath(PLTVC_EXPAND_ICON)
PLTVC_COLLAPSE_ICON=PLTVC_adjustPath(PLTVC_COLLAPSE_ICON)
PLTVC_LEAF_ICON=PLTVC_adjustPath(PLTVC_LEAF_ICON)
PLTVC_preload(PLTVC_EXPAND_ICON)
PLTVC_preload(PLTVC_COLLAPSE_ICON)
PLTVC_preload(PLTVC_LEAF_ICON)
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]:-1
this.level    =(nArgs>2)? arguments[2]:0
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())
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(PLTVC_isCurrent(href)){className+='_Cur'
icoSrc=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}}}icoSrc=PLTVC_adjustPath(icoSrc)
PLTVC_preload(icoSrc)
var bIsLast=j==n-1
var strTreeImage=''
if(mnID>0){menus[mnID]=new Menu(nID, index, curLevel+1)
strTreeImage=PLTVC_EXPAND_ICON}else{strTreeImage=PLTVC_LEAF_ICON}strSubmenu+=getImageTag(PLTVC_SPACE_IMG, 'Space image').repeat(curLevel)
strSubmenu+=getImageTag(strTreeImage, '', 'PLTVC_IMG_'+nID, 'margin-right:0px')
if(icoSrc)strSubmenu+=getImageTag(icoSrc, nodeName+' icon', 'PLTVC_ICO_'+nID)
strSubmenu+='<span id="PLTVC_A_'+nID+'" class="'+className+'"><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
img.expandSrc=PLTVC_EXPAND_ICON
img.collapseSrc=PLTVC_COLLAPSE_ICON}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.ref.isCur)o.ico.src=bExp ? o.ico.expSrc:o.ico.nrmSrc
if(!bAnm)o.style.display=bExp ? '':'none'};}}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]
a.isCur=(a.className==a.cn+'_Cur')
i+=2
a.href=(st[i]&&!a.isCur)? 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
ico.ref=a
if(a.href)ico.style.cursor=PLTVC_br.ie5 ? 'hand':'pointer'
else ico.onmouseup=PLTVC_Expand
ico.onclick=PLTVC_Click
i+=2
ico.expSrc=PLTVC_adjustPath(st[i++])
PLTVC_preload(ico.expSrc)}else i+=3}}var ind=eCur.ind
while(ind>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.isCur=true
ind=menus[ind].parentInd}var trs=PLTVC_Menu.getElementsByTagName('TR')
for(i=0;i<trs.length;i++)if(trs[i].isCur)trs[i].style.display=''}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.isCur)this.className=this.cn+'_Hover'}function PLTVC_MouseOut(){if(!this.isCur)this.className=this.cn}function PLTVC_MouseUp(){if(!this.href)PLTVC_Expand()}function PLTVC_Click(){var o=this
if(o.ref)o=o.ref
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.ref ? this.ref.nID: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, 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}function PLTVC_preload(img){if(!img)return
if(!window.PLTVC_preloads)PLTVC_preloads=new Array
var l=PLTVC_preloads.length
var i=0
while(i<l&&PLTVC_preloads[i].src!=img)i++
if(i==l){PLTVC_preloads[l]=new Image
PLTVC_preloads[l].src=img}}PLTVC_init()
