//Copyright(C)2002-2009 Pluginlab Limited. All rights reserved. //www.pluginlab.com //ProductID:PLVSM //Registered to:RH Holdings var CRACKEB={dummy:0, version:'1.0.3.2', seo_links:2, menu_width:200, layer:true, x:0, y:0, valign:0, is_floating:true, show_selected:true, expand_selected:true, expandSelAnimated:true, one_opened:true, animation_type:1, open_speed:10, OpenByMouseOver:false, DelayOpenByMouseOver:1000, rtl:false, PREVIEW_BACKGROUND_COLOR:'#FFFFFF', MENU_NAME:'PLVSM menu', stream:[0,"Home","",'*../../index.htm','','CRACKEB__PLVSM1',25,0,false,0,0,"Your Local Snapshot","",'*../../local-snapshot.htm','','CRACKEB__PLVSM1',25,0,false,0,0,"Treatment Options","",'','','CRACKEB__PLVSM1',25,0,false,7,0,"Overview","",'*../../treatment-options/treatment-options.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Health Professionals","",'*../../treatment-options/health-professionals.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Accessing Treatment ","",'*../../treatment-options/accessing-treatment.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Medication","",'*../../treatment-options/medication.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Surgery","",'*../../treatment-options/surgery.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Complementary Therapies","",'*../../treatment-options/complementary-therapies.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Common Medical Issues","",'*../../treatment-options/common-medical-issues.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Specialist Services","",'*../../specialist-services.htm','','CRACKEB__PLVSM1',25,0,false,0,0,"Finance","",'','','CRACKEB__PLVSM1',25,0,false,7,0,"Overview","",'*../../finances/finances.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Payments & Concessions","",'*../../finances/payments-concessions.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Work & Super ","",'*../../finances/work-super.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Insurance","",'*../../finances/insurance.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Planning & Hardship","",'*../../finances/planning-hardship.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Treatment Costs","",'*../../finances/treatment-costs.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Employed / Self-funded","",'*../../finances/employed-selffunded.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Family & Carers","",'','','CRACKEB__PLVSM1',25,0,false,4,0,"Overview","",'*../../family-carers/family-carers.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Help for Carers","",'*../../family-carers/help-carers.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Help for Families","",'*../../family-carers/help-families.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Relationships","",'*../../family-carers/relationships.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Supported Living","",'','','CRACKEB__PLVSM1',25,0,false,7,0,"Overview","",'*../../supported-living/supported-living.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Advisory & Advocacy","",'*../../supported-living/advisory-advocacy.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Help at Home","",'*../../supported-living/help-at-home.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Respite & Carers","",'*../../supported-living/respite-carers.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Retirement Living","",'*../../supported-living/retirement-living.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Residential Care","",'*../../supported-living/residential-care.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Housing","",'*../../supported-living/housing.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Counselling & Support","",'','','CRACKEB__PLVSM1',25,0,false,5,0,"Overview","",'*../../councelling-support/counselling-support.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Counselling","",'*../../councelling-support/counselling.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Social Support","",'*../../councelling-support/social-support.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Community Support","",'*../../councelling-support/community-support.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Veterans' Affairs","",'*../../councelling-support/veterans-affairs.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Aids & Equipment","",'','','CRACKEB__PLVSM1',25,0,false,7,0,"Overview","",'*../../aids-equipment/aids-equipment.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Subsidy Overview","",'*../../aids-equipment/subsidy-overview.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Finding Equipment","",'*../../aids-equipment/finding-equipment.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Continence","",'*../../aids-equipment/continence.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Home Modifications","",'*../../aids-equipment/home-modifications.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Personal Alarms","",'*../../aids-equipment/personal-alarms.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Computer & Internet","",'*../../aids-equipment/computer-internet.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Driving & Transport","",'','','CRACKEB__PLVSM1',25,0,false,5,0,"Overview","",'*../../driving-transport/driving-transport.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Driving","",'*../../driving-transport/driving.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Public Transport","",'*../../driving-transport/public-transport-taxies.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Community Transport","",'*../../driving-transport/community-transport.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Rural Communities","",'*../../driving-transport/rural-communities.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Wellbeing & Active Living","",'','','CRACKEB__PLVSM1',25,0,false,4,0,"Overview","",'*../../wellbeing-activeliving/wellbeing-active-living.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Active Living","",'*../../wellbeing-activeliving/active-living.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Personal Wellbeing","",'*../../wellbeing-activeliving/personal-wellbeing.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Art, Rec & Travel","",'*../../wellbeing-activeliving/art-rec-travel.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Legal & Rights","",'','','CRACKEB__PLVSM1',25,0,false,4,0,"Overview","",'*../../legal-rights/legal-rights.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Legal","",'*../../legal-rights/legal.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Rights","",'*../../legal-rights/rights.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Advocacy","",'*../../legal-rights/advocacy.htm','','CRACKEB__PLVSM2',25,0,false,0,0,"Language Support","",'*../../language-support.htm','','CRACKEB__PLVSM1',25,0,false,0,0,"Contact","",'*../../contact-us.htm','','CRACKEB__PLVSM1',25,0,false,0], browser:function(){var ua=navigator.userAgent.toLowerCase() this.opera=ua.indexOf('opera')>=0 this.safari=ua.indexOf('safari')>=0 this.ie=document.all&&!this.opera this.macie=this.ie&&ua.indexOf('mac')>=0 this.winie=this.ie&&!this.macie this.ieCanvas=(this.ie&&document.compatMode=="CSS1Compat")?document.documentElement:document.body return this}, setPathAdjustment:function(ID){var sl='' var sc=document.getElementsByTagName('script') for(var i=0;i-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<\/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}, addLoadEvent:function(f){var done=0 function w(){if(!done){done=1 f()}}if(document.addEventListener){document.addEventListener('DOMContentLoaded', w, false)}if(this.br.ie&&window==top)(function(){try{document.documentElement.doScroll('left')}catch(e){setTimeout(arguments.callee, 0) return}w()})() var oldf=window.onload if(typeof oldf!='function'){window.onload=w}else{window.onload=function(){try{oldf()}catch(e){}w()}}}, init:function(){var m=this m.ID=PLVSM_ID m.br=new m.browser() m.setPathAdjustment('PLVSMMenu script ID:'+m.ID+' ') m.linkScripts(new Array()) m.addLoadEvent(m.onload)}, onload:function(){CRACKEB.start()}, addItem:function(i, p, level, submenuIndex){if(i>=this.stream.length)return i;var li=document.createElement('li');li.bClosed=true;li.bAnimated=false;li.ItemType=this.stream[i++];li.ItemText=this.stream[i++];li.title=this.stream[i++];li.title=li.title.replace(/"/gi, '"');li.ItemURL=this.adjustPath(this.stream[i++]);li.URLTarget=this.stream[i++];if(li.URLTarget.substr(0,3)=='_PL'){li.func=this.stream[i++];li.params=this.stream[i++];}li.classMain=this.stream[i++];li.h=this.stream[i++];var VertInterval=this.stream[i++];//-margin css li.h+=VertInterval;li.height=li.h-VertInterval+'px';// li.AlwaysStayOpen=this.stream[i++];var nCountChildren=this.stream[i++];li.ItemCountChildren=nCountChildren;li.level=level;li.style.width=this.menu_width+'px';li.style.listStyle='none';li.style.padding='0px';li.style.margin='0px';li.style.overflow='hidden';li.style.display='block';li.style.float='left';li.style.border='0px';li.style.fontSize='1px';li.sel=false;if(this.show_selected){li.sel=this.isCurrent(li.ItemURL);}li.onclick=this.onclick;var curLi=this.submenus[submenuIndex].lis.length;this.submenus[submenuIndex].lis[curLi]=li;if(nCountChildren>0){this.SubMenuId++;this.submenus[this.SubMenuId]=new this.submenu(this, li, this.SubMenuId, submenuIndex);li.ChildSubMenuId=this.SubMenuId;}else{li.ChildSubMenuId=-1;}var curSubMenuInd=this.SubMenuId;while(nCountChildren--){i=this.addItem(i, this.submenus[curSubMenuInd].ul, level+1, curSubMenuInd);}if(level==0){i=this.addItem(i, p, level, submenuIndex);}return i;}, start:function(){var m=this;m.pref='PLVSM';m.submenus=new Array;m.SubMenuId=0;m.submenus[m.SubMenuId]=new m.submenu(m, null, 0,-1);var streamImdex=0;m.addItem(streamImdex, m.submenus[m.SubMenuId].ul, 0, m.SubMenuId);var i=0;while(i=0){li.appendChild(m.submenus[li.ChildSubMenuId].div);}}}if(i==0){while(ul.firstChild)ul.removeChild(ul.firstChild);}for(var curLi=0;curLi=0){eval('CRACKEB.sm'+this.arr[ind].SMParent.ChildSubMenuId+'.slidedown(0, 0, 2, 0, 0,-2)');this.DownAfterWait(ind);}else{this.arr.length=0;this.open_speed=this.save_open_speed;}}, ExpandAllAlwaysStayOpen:function(){for(var j=0;j0){var parent=this.submenus[i];while(parent.parentSubMenuInd>-1){this.arr.push(parent);parent=this.submenus[parent.parentSubMenuInd];}this.save_open_speed=this.open_speed;if(this.expandSelAnimated==false){this.open_speed=1000;}eval('CRACKEB.sm'+this.arr[this.arr.length-1].SMParent.ChildSubMenuId+'.slidedown(0, 0, 2, 0, 0,-2)');this.DownAfterWait(this.arr.length-1);return;}}}}}, CloseAllLevels:function(level, index){for(var j=0;j0){if(CRACKEB.br.ie)e.cancelBubble=true;else e.stopPropagation();}if(this.sel==true&&this.ChildSubMenuId<0)return;if(this.AlwaysStayOpen==true)return;if(this.ChildSubMenuId>=0){if(CRACKEB.IsOtherAnimated(-1)==false){if(this.bClosed){if(CRACKEB.one_opened==true){if(CRACKEB.animation_type==1){eval('SubMenuObj=CRACKEB.sm'+this.ChildSubMenuId);if(SubMenuObj){CRACKEB.CloseAllLevels(this.level, SubMenuObj.parentSubMenuInd);}}}eval('CRACKEB.sm'+this.ChildSubMenuId+'.slidedown(0, 0, 2, 0, 0,-2)');this.bClosed=false;}else{eval('CRACKEB.sm'+this.ChildSubMenuId+'.slideup(0, 0, 2)');this.bClosed=true;}}}else{//try open url if(!CRACKEB.OpenByMouseOver){CRACKEB.CurLi=this;CRACKEB.OpenURL();}}}, onmouseover:function(evt){this.className+=' '+this.classMO;if(CRACKEB.OpenByMouseOver){CRACKEB.CurLi=this.parentNode;CRACKEB.DelayTimer=setTimeout('CRACKEB.OpenURL()', CRACKEB.DelayOpenByMouseOver);}}, onmouseout:function(evt){this.className=this.classMain;if(CRACKEB.DelayTimer){clearTimeout(CRACKEB.DelayTimer);CRACKEB.CurLi=null;}}, getSource:function(evt, CSSClass){var e=this.br.ie?event.srcElement:evt.target if(e&&e.className&&e.className.substr(0,CSSClass.length)==CSSClass) return e;return;}};CRACKEB.submenu=function(m, p, index, parentSM){var f=this f.lis=new Array;if(index==0){f.div=document.getElementById(m.ID+'Div');var uls=f.div.getElementsByTagName('ul');if(uls[0]){f.ul=uls[0];}}else{f.div=document.createElement('div');f.div.style.margin='0px';f.div.style.padding='0px';f.div.style.overflow='hidden';f.div.style.height='0px';f.div.style.display='none';f.div.style.border='0px';p.Child=f;f.ul=document.createElement('ul');f.ul.style.margin='-10000px 0px 0px';f.ul.style.padding='0px';f.ul.style.overflow='hidden';f.ul.style.display='block';f.ul.style.float='left';f.ul.style.width=m.menu_width+'px';f.ul.style.listStyle='none';f.ul.fontSize='1px';f.div.appendChild(f.ul);}f.parentSubMenuInd=parentSM;f.SubMenuInd=index;f.m=m;f.SMParent=p;f.obj='CRACKEB.sm'+index;f.ParentNeedUp=false;eval(f.obj+'=f');};CRACKEB.submenu.prototype={GetChildSize:function(iSize, iSubMenuId){with(this){for(var i=0;i=0){if(Id==-2){Id=m.GetOpened(SMParent.level, parentSubMenuInd);}if(Id>=0&&bUp<=endSizeUp){eval('var valUp=m.sm'+Id+'.slideup(bUp, endSizeUp, 1)');bUp=valUp.b;endSizeUp=valUp.endSize;}}}if(endSize==0){for(i=0;iendSize)&&(b-endSize)0){if(b==endSize){var mod1=endSize % addb;if(mod1!=0)addb=mod1;}div.style.height=div.clientHeight+addb+'px';}if(parentSubMenuInd>0){eval(m.submenus[parentSubMenuInd].obj+'.slidedown('+ b+','+endSize+',0,-1,-1,-1)');}if(bRecurs==2&&b>=endSize){SMParent.bAnimated=false;if(m.one_opened==true){if(m.animation_type==0&&bUp>=0){if(Id>=0&&bUp0){if(bendSize)&&(b-endSize)<=m.open_speed)b=endSize;}if(bRecurs>0){ul.style.marginTop=-b+'px';}var addb=m.open_speed;if(b>0){if(b==endSize){var mod1=endSize % addb;if(mod1!=0)addb=mod1;}var divh=div.clientHeight-addb;if(divh<0)divh=0;div.style.height=divh+'px';}if(bRecurs>0&&b==endSize){div.style.display='none';}if(parentSubMenuInd>0){if(b<=endSize){if(ParentNeedUp){eval(m.submenus[parentSubMenuInd].obj+'.slideup('+ b+','+endSize+',0)');if(b==endSize){ParentNeedUp=false;}}}}if(b0){SMParent.bClosed=true;}}}return{b:b, endSize:endSize};}, dummy:null};CRACKEB.init();