﻿document.write('<table id="vista-buttons.com:ids3co5" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="About Pinecrest"><a href="http://www.pinecrestschools.com/simivalley/about/welcome.htm" onmouseover=\'xpe("s3co5o");xpshow("s3co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("s3co5c");\'><img id="xpi_s3co5" src="'+vbImgPath+'/bts3co5_0.gif" name="vbs3co5" width="131" height="28" border="0" alt="About Pinecrest"/></a></td><td style="padding-right:0px" title ="School Information"><a onmouseover=\'xpe("33co5o");xpshow("33co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("33co5c");\'><img id="xpi_33co5" src="'+vbImgPath+'/bt33co5_0.gif" name="vb33co5" width="152" height="28" border="0" alt="School Information"/></a></td><td style="padding-right:0px" title ="Middle School"><a onmouseover=\'xpe("r3co5o");xpshow("r3co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("r3co5c");\'><img id="xpi_r3co5" src="'+vbImgPath+'/btr3co5_0.gif" name="vbr3co5" width="122" height="28" border="0" alt="Middle School"/></a></td><td style="padding-right:0px" title ="Elementary School"><a onmouseover=\'xpe("63co5o");xpshow("63co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("63co5c");\'><img id="xpi_63co5" src="'+vbImgPath+'/bt63co5_0.gif" name="vb63co5" width="151" height="28" border="0" alt="Elementary School"/></a></td><td style="padding-right:0px" title ="Preschool"><a onmouseover=\'xpe("23co5o");xpshow("23co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("23co5c");\'><img id="xpi_23co5" src="'+vbImgPath+'/bt23co5_0.gif" name="vb23co5" width="94" height="28" border="0" alt="Preschool"/></a></td><td style="padding-right:0px" title ="Sports"><a onmouseover=\'xpe("t3co5o");xpshow("t3co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("t3co5c");\'><img id="xpi_t3co5" src="'+vbImgPath+'/btt3co5_0.gif" name="vbt3co5" width="71" height="28" border="0" alt="Sports"/></a></td><td style="padding-right:0px" title ="Admissions"><a onmouseover=\'xpe("p3co5o");xpshow("p3co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("p3co5c");\'><img id="xpi_p3co5" src="'+vbImgPath+'/btp3co5_0.gif" name="vbp3co5" width="102" height="28" border="0" alt="Admissions"/></a></td><td style="padding-right:0px" title ="Quick Links"><a onmouseover=\'xpe("o3co5o");xpshow("o3co5",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("o3co5c");\'><img id="xpi_o3co5" src="'+vbImgPath+'/bto3co5_0.gif" name="vbo3co5" width="104" height="28" border="0" alt="Quick Links"/></a></td></tr></table>');
document.write('<ul id="vbUL_s3co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/about/welcome.htm" title="Welcome">Welcome</a></li><li><a href="http://www.pinecrestschools.com/simivalley/about/history.htm" title="History of Pinecrest Schools">History&nbsp;of&nbsp;Pinecrest&nbsp;Schools</a></li></ul><ul id="vbUL_33co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/info/today.htm" title="Calendars & Menus">Calendars&nbsp;&&nbsp;Menus</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/planner.htm" title="Academic Planner   ">Academic&nbsp;Planner&nbsp;&nbsp;&nbsp;</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/directions/directions.htm" title="Directions to Campus">Directions&nbsp;to&nbsp;Campus</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/extra/activities.htm" title="Extra Curricular Activities">Extra&nbsp;Curricular&nbsp;Activities</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/forms/forms.htm" title="Frequently Used Forms">Frequently&nbsp;Used&nbsp;Forms</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/health/health.htm" title="Health Information">Health&nbsp;Information</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/ppn.htm" title="Pinecrest Parent Network">Pinecrest&nbsp;Parent&nbsp;Network</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/pinecone.php" title="The Pinecone">The&nbsp;Pinecone</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/reward/reward.htm" title="School Reward Program">School&nbsp;Reward&nbsp;Program</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/staff.htm" title="Staff Directory">Staff&nbsp;Directory</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/sat.htm" title="Stanford Achievement Test Results">Stanford&nbsp;Achievement&nbsp;Test&nbsp;Results</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/support/support.htm" title="Support Our School">Support&nbsp;Our&nbsp;School</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/volunteer/volunteer.php" title="Volunteer Opportunities">Volunteer&nbsp;Opportunities</a></li></ul><ul id="vbUL_r3co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/middle_school/program.php" title="Middle School Program">Middle&nbsp;School&nbsp;Program</a></li><li><a href="http://www.pinecrestschools.com/simivalley/homework/homework.php" title="Homework Online">Homework&nbsp;Online</a></li><li><a href="http://www.pinecrestschools.com/simivalley/middle_school/handbook.htm" title="Middle School Handbook">Middle&nbsp;School&nbsp;Handbook</a></li><li><a href="http://www.pinecrestschools.com/simivalley/middle_school/handbook.htm#dress" title="Middle School Dress Code">Middle&nbsp;School&nbsp;Dress&nbsp;Code</a></li><li><a href="http://www.pinecrestschools.com/simivalley/middle_school/curriculum/curriculum.htm" title="6th-8th Grade Curriculum">6th-8th&nbsp;Grade&nbsp;Curriculum</a></li><li><a href="http://www.pinecrestschools.com/simivalley/middle_school/activities.htm" title="Middle School Activities">Middle&nbsp;School&nbsp;Activities</a></li></ul><ul id="vbUL_63co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/elementary/elementary.php" title="Elementary Home">Elementary&nbsp;Home</a></li><li><a href="http://www.pinecrestschools.com/simivalley/elementary/ehandbook.htm" title="Elementary School Handbook">Elementary&nbsp;School&nbsp;Handbook</a></li><li><a href="http://www.pinecrestschools.com/simivalley/elementary/ehandbook.htm#dress" title="Dress Code">Dress&nbsp;Code</a></li><li><a href="http://www.pinecrestschools.com/simivalley/elementary/curriculum/curriculum.htm" title="K-5th Grade Curriculum">K-5th&nbsp;Grade&nbsp;Curriculum</a></li><li><a href="http://www.pinecrestschools.com/simivalley/cocurricular/cocurricular.htm" title="Cocurricular Classes">Cocurricular&nbsp;Classes</a></li></ul><ul id="vbUL_23co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/preschool/preschool.htm" title="Preschool Home">Preschool&nbsp;Home</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/policies.htm" title="Preschool Policies">Preschool&nbsp;Policies</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/schedule.htm" title="Typical Preschool Schedule">Typical&nbsp;Preschool&nbsp;Schedule</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/toddlers.htm" title="Toddler Center">Toddler&nbsp;Center</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/small_wonders.htm" title="Small Wonders Program">Small&nbsp;Wonders&nbsp;Program</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/tschedule.htm" title="Typical Toddler Schedule">Typical&nbsp;Toddler&nbsp;Schedule</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/tuition.htm" title="Preschool/Toddler Tuition">Preschool/Toddler&nbsp;Tuition</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/forms.htm" title="Preschool Information Forms">Preschool&nbsp;Information&nbsp;Forms</a></li></ul><ul id="vbUL_t3co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/sports/sports.htm" title="Sports Home">Sports&nbsp;Home</a></li><li><a href="http://www.pinecrestschools.com/simivalley/sports/schedules.htm" title="Team Schedules        ">Team&nbsp;Schedules&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></li><li><a href="http://www.pinecrestschools.com/simivalley/sports/directions.htm" title="Directions to Away Games">Directions&nbsp;to&nbsp;Away&nbsp;Games</a></li><li><a href="http://www.pinecrestschools.com/simivalley/sports/olympic_records.htm" title="Olympic Records">Olympic&nbsp;Records</a></li></ul><ul id="vbUL_p3co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/admissions/admissions.htm" title="Admissions Home">Admissions&nbsp;Home</a></li><li><a href="http://www.pinecrestschools.com/simivalley/admissions/requestinfo.php" title="Request Admissions Information">Request&nbsp;Admissions&nbsp;Information</a></li><li><a href="http://www.pinecrestschools.com/simivalley/admissions/smart_tuition.htm" title="Smart Tuition">Smart&nbsp;Tuition</a></li><li><a href="http://www.pinecrestschools.com/simivalley/admissions/tuition.htm" title="Elementary Tuition">Elementary&nbsp;Tuition</a></li><li><a href="http://www.pinecrestschools.com/simivalley/preschool/tuition.htm" title="Preschool/ToddlerTuition">Preschool/ToddlerTuition</a></li></ul><ul id="vbUL_o3co5" class="vbULs3co5" style="visibility:hidden;"><li><a href="http://www.pinecrestschools.com/simivalley/info/today.htm" title="Calendars & Menus">Calendars&nbsp;&&nbsp;Menus</a></li><li><a href="http://www.pinecrestschools.com/simivalley/homework/homework.php" title="Homework Online">Homework&nbsp;Online</a></li><li><a href="http://www.pinecrestschools.com/simivalley/contact/contacts.php" title="Phone, Fax, Email">Phone,&nbsp;Fax,&nbsp;Email</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/pinecone.php" title="The Pinecone">The&nbsp;Pinecone</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/directions/directions.htm" title="Directions to Campus">Directions&nbsp;to&nbsp;Campus</a></li><li><a href="http://www.pinecrestschools.com/simivalley/sports/schedules.htm" title="Sports Schedules">Sports&nbsp;Schedules</a></li><li><a href="http://www.abckidsschool.com/" title="ABC School Unifroms" target="_blank">ABC&nbsp;School&nbsp;Unifroms</a></li><li><a href="http://www.pinecrestschools.com/simivalley/info/volunteer/volunteer.php" title="Be a Volunteer">Be&nbsp;a&nbsp;Volunteer</a></li></ul>');
vbs3co5n=xppr('s3co5_0.gif');vbs3co5o=xppr('s3co5_1.gif');vbs3co5c=xppr('s3co5_2.gif');vb33co5n=xppr('33co5_0.gif');vb33co5o=xppr('33co5_1.gif');vb33co5c=xppr('33co5_2.gif');vbr3co5n=xppr('r3co5_0.gif');vbr3co5o=xppr('r3co5_1.gif');vbr3co5c=xppr('r3co5_2.gif');vb63co5n=xppr('63co5_0.gif');vb63co5o=xppr('63co5_1.gif');vb63co5c=xppr('63co5_2.gif');vb23co5n=xppr('23co5_0.gif');vb23co5o=xppr('23co5_1.gif');vb23co5c=xppr('23co5_2.gif');vbt3co5n=xppr('t3co5_0.gif');vbt3co5o=xppr('t3co5_1.gif');vbt3co5c=xppr('t3co5_2.gif');vbp3co5n=xppr('p3co5_0.gif');vbp3co5o=xppr('p3co5_1.gif');vbp3co5c=xppr('p3co5_2.gif');vbo3co5n=xppr('o3co5_0.gif');vbo3co5o=xppr('o3co5_1.gif');vbo3co5c=xppr('o3co5_2.gif');var btIdPref="vb";function xppr(im){var i=new Image;i.src=vbImgPath+"bt"+im;return i;}function xpe(id){x=id.substring(0,id.length-1);if(document[btIdPref+x]){document[btIdPref+x].src=eval(btIdPref+id+".src");}}var hideTimeout=300;var menuContId="xpMenuCont";var ulIdPref="vbUL_";var imgIdPref="xpi_";function xpinit(){I=document.getElementById;jj=lll=window.ji&&I;j1=jj&&document.readyState;jI=document.all&&document.all.item&&!jj;ll1=document.layers;lli=I&&navigator.appName=="Netscape";document.write("<div id=\""+menuContId+"\" ></div>");var ULs=document.getElementsByTagName("UL");for(var i=0,cnt=ULs.length;i<cnt;i++){if(ULs[i].id&&ULs[i].id.substring(0,ulIdPref.length)==ulIdPref&&!(ULs[i].parentNode&&ULs[i].parentNode.parentNode&&ULs[i].parentNode.parentNode.id.substring(0,ulIdPref.length)==ulIdPref)){var A=document.getElementById(ULs[i].id+"a");if(A){A.style.display="none";}l11(ULs[i],0,0);}}}xpinit();function llj(o){var w=jj&&!j1?o.style.pixelWidth:ll1?o.clip.width:o.offsetWidth;var h=jj&&!j1?o.style.pixelHeight:ll1?o.clip.height:o.offsetHeight;return{x:w,y:h};}function xpClientSize(){var x=0,y=0,w=0,h=0,doc=document,win=window;var cond=(!doc.compatMode||doc.compatMode=="CSS1Compat")&&doc.documentElement;if(cond&&doc.documentElement.clientHeight){h=doc.documentElement.clientHeight;}else if(doc.body&&doc.body.clientHeight){h=doc.body.clientHeight;}else if(xpDef(win.innerWidth,win.innerHeight,doc.width)){h=win.innerHeight;if(doc.width>win.innerWidth){h-=16;}}if(cond&&doc.documentElement.clientWidth){w=doc.documentElement.clientWidth;}else if(doc.body&&doc.body.clientWidth){w=doc.body.clientWidth;}else if(xDef(win.innerWidth,win.innerHeight,doc.height)){w=win.innerWidth;if(doc.height>win.innerHeight){w-=16;}}if(win.document.documentElement&&win.document.documentElement.scrollLeft){x=win.document.documentElement.scrollLeft;}else if(win.document.body&&xpDef(win.document.body.scrollLeft)){x=win.document.body.scrollLeft;}if(win.document.documentElement&&win.document.documentElement.scrollTop){y=win.document.documentElement.scrollTop;}else if(win.document.body&&xpDef(win.document.body.scrollTop)){y=win.document.body.scrollTop;}return{x:x,y:y,w:w,h:h};}function xpDef(){for(var i=0;i<arguments.length;++i){if(typeof arguments[i]=="undefined"){return false;}}return true;}function xppos(obj){var l=0,t=0;while(obj){l+=obj.offsetLeft;t+=obj.offsetTop;obj=obj.offsetParent;}if(document.body){with(document){if(body.leftMargin){l-=body.leftMargin;}if(body.topMargin){t-=body.topMargin;}}}return{x:l,y:t};}function l11(ulParent,iParent,level){var menuCont=document.getElementById(menuContId);var l1i=document.createElement("div");menuCont.appendChild(l1i);var l1j=document.createElement("table");l1i.appendChild(l1j);l1i.id=ulParent.id+"tbl";l1i.className=ulParent.className;l1i.style.position="absolute";l1i.iParent=iParent;l1i.level=level;l1i.style.zIndex=9+l1i.level;l1j.cellSpacing=0;l1i.onmouseover=function(){xpsmover(this);};l1i.onmouseout=function(){xpsmout(this);};l1i.l1I=function(){for(var j=0;j<this.childNodes[0].rows.length;j++){p=this.childNodes[0].rows[j];if(p.tagName=="TR"){p.className=p.className.replace("over","");if(p.className.indexOf("popup")<0){p.clrOverImg();}}}};l1i.smShown=0;for(var i=0,cntLI=ulParent.childNodes.length;i<cntLI;i++){var l1l=ulParent.childNodes[i];if(l1l.tagName=="LI"){var jl=l1j.insertRow(-1);jl.menu=l1i;jl.setPopup=function(){this.className+=" popup";};jl.clrPopup=function(){this.className=this.className.replace("popup","");if(this.className.indexOf("over")<0){this.clrOverImg();}};jl.clrOverImg=function(){if(this.Img){this.Img.style.display="inline";}if(this.ImgOver){this.ImgOver.style.display="none";}if(this.ImgArrow){this.ImgArrow.style.display="inline";}if(this.ImgArrowOver){this.ImgArrowOver.style.display="none";}};jl.className=l1l.className;var InnerAnchor=0;jl.Img=null;jl.ImgOver=null;var InnerUl=0;jl.ImgArrow=null;jl.ImgArrowOver=null;for(var j=0;j<l1l.childNodes.length;j++){if(l1l.childNodes[j].tagName=="A"){InnerAnchor=l1l.childNodes[j];}else if(l1l.childNodes[j].tagName=="IMG"){if(!InnerAnchor){if(!jl.Img){jl.Img=l1l.childNodes[j];}else{jl.ImgOver=l1l.childNodes[j];}}else{if(!jl.ImgArrow){jl.ImgArrow=l1l.childNodes[j];}else{jl.ImgArrowOver=l1l.childNodes[j];}}}else if(l1l.childNodes[j].tagName=="UL"){InnerUl=l1l.childNodes[j];}}if(InnerAnchor||InnerUl||jl.ImgArrow){var llI=jl.insertCell(-1);var ij=jl.insertCell(-1);var iI=jl.insertCell(-1);llI.style.borderRightWidth="0px";ij.style.borderRightWidth="0px";ij.style.borderLeftWidth="0px";iI.style.borderLeftWidth="0px";llI.style.paddingRight="4px";ij.style.paddingRight="4px";ij.style.paddingLeft="4px";iI.style.paddingLeft="4px";if(jl.Img){llI.appendChild(jl.Img);}else{llI.innerHTML="&nbsp;";}if(jl.ImgOver){jl.ImgOver.style.display="none";llI.appendChild(jl.ImgOver);}if(InnerAnchor){var newText=document.createElement("SPAN");newText.innerHTML=InnerAnchor.innerHTML;if(InnerAnchor.href.indexOf(".pdf")>=0&&document.all){ij.appendChild(newText);}else{ij.appendChild(InnerAnchor);InnerAnchor.onclick=function(){return false;};}jl.linkHref=InnerAnchor.href;jl.linkTarget=InnerAnchor.target;jl.onclick=function(){if(this.linkHref){open(this.linkHref,this.linkTarget?this.linkTarget:"_self");}};}else{ij.innerHTML="&nbsp;";}jl.onmouseover=function(){this.menu.l1I();this.className+=" over";if(this.ImgOver){this.Img.style.display="none";this.ImgOver.style.display="inline";}if(this.ImgArrowOver){this.ImgArrow.style.display="none";this.ImgArrowOver.style.display="inline";}if(this.smPopupId){lj(this.smPopupId,1,this);}else if(this.menu.smShown){l1(this.menu.smShown);}};jl.onmouseout=function(){this.menu.l1I();};if(InnerUl){iI.className="arrow";if(jl.ImgArrow){iI.appendChild(jl.ImgArrow);if(jl.ImgArrowOver){jl.ImgArrowOver.style.display="none";iI.appendChild(jl.ImgArrowOver);}}else{if(typeof arrowChar!="undefined"&&arrowChar){iI.appendChild(document.createElement("a"));iI.lastChild.innerHTML=arrowChar;}else{iI.innerHTML="&nbsp;";}}jl.smPopupId=l11(InnerUl,jl,level+1);}else{iI.innerHTML="&nbsp;";}}else{var oTD=jl.insertCell(-1);oTD.colSpan=3;oTD.innerHTML="<div></div>";}}}return l1i.id;}function xpshow(ind,isVertical,iParent){lj(ulIdPref+ind+"tbl",isVertical,iParent);}function lj(lI,isVertical,iParent){var menu=document.getElementById(lI);if(!menu){return;}if(menu.style.visibility=="visible"){xpStopTimeOut(menu);return;}if(iParent&&iParent.menu&&iParent.menu.smShown){xphide(iParent.menu.smShown.id);}if(!menu.level&&ll!=menu){xphide(ll.id);}if(!menu.level){xobtn=lI.replace(ulIdPref,"").replace("tbl","");}var parentObj;if(iParent.tagName=="A"){parentObj=iParent.parentNode;}else{parentObj=iParent;}var pos=xppos(parentObj);var size=llj(parentObj);menu.goMenuX=1;menu.goMenuDx=1;if(menu.level>0){menu.goMenuX=menu.iParent.menu.goMenuX;menu.goMenuDx=menu.iParent.menu.goMenuDx;}menu.style.overflow="visible";menu.style.height="auto";menu.style.width="auto";menu.style.left="0px";menu.style.top="0px";var parentAbs=xppos(menu);var i=xpClientSize();var j=llj(menu);var li=Il(i.y,i.h,pos.y,size.y,j.y,menu.goMenuDx,isVertical);menu.goMenuDx=li.align;if(jj&&!menu.OrigWidth){menu.OrigWidth=menu.clientWidth;}if(li.size<j.y){menu.style.overflow="auto";if(jI){menu.style.overflowX="visible";}if(jI){menu.style.width=menu.offsetWidth+17+"px";}else if(lli){menu.style.magrinRight=20;}menu.style.height=li.size+"px";menu.scrollTop=0;menu.scrollLeft=0;if(jj){menu.style.width=menu.OrigWidth+"px";}}else{}menu.style.top=li.xy-parentAbs.y+"px";j=llj(menu);li=Il(i.x,i.w,pos.x,size.x,j.x,menu.goMenuX,!isVertical);menu.goMenuX=li.align;if(li.size<j.x){if(menu.goMenuX>0){li.xy-=(j.x-li.size);}}menu.style.left=li.xy-parentAbs.x+"px";menu.style.visibility="visible";if(!menu.level){ll=menu;}else{iParent.menu.smShown=menu;iParent.setPopup();}}function Il(Ii,I1,il,i1,size,align,Ij){var xy=il;var II=size;var ii=align;var lIl=5;if(align==0&&!Ij){align=1;}if(!Ij){if(ii>=0&&il+i1+size>I1+Ii-lIl||ii<0&&il-size<lIl){if(il-Ii>I1+Ii-(il+i1)){ii=-1;}else{ii=1;}}if(ii>=0){xy=il+i1;if(I1+Ii-lIl-xy<II){II=I1+Ii-lIl-xy;}}else{xy=il-II;if(xy-Ii<lIl){xy=lIl+Ii;II=il-lIl-Ii;}}}else{if(II>I1-2*lIl){xy=lIl+Ii;II=I1-2*lIl;}else{xy=il+i1/2-II/2+ii*(II/2-i1/2);if(xy<lIl+Ii){ii=1;xy=lIl+Ii;}if(xy+size>I1+Ii-lIl){ii=-1;xy-=xy+II-(I1+Ii-lIl);}}}return{xy:xy,size:II,align:ii};}function xphide(menuId){var menu=document.getElementById(menuId);if(!menu){return;}if(menu.style.visibility=="visible"){if(menu.smShown){xphide(menu.smShown.id);}menu.l1I();menu.style.visibility="hidden";if(menu.level==0){xpe(xobtn+"n");}menu.smShown=0;if(menu.iParent){menu.iParent.clrPopup();}if(menu.hideTimer){clearTimeout(menu.hideTimer);menu.hideTimer=null;}}}function xpsmout(sender){if(!sender){return;}l1(ll);}function xpsmover(menu){if(!menu){return;}xpStopTimeOut(menu);}function xpStopTimeOut(menu){for(var o=menu;o;o=o.iParent?o.iParent.menu:0){if(o.hideTimer){o.hideTimer=clearTimeout(o.hideTimer);}}}function l1(menu){for(var o=menu;o;o=o.smShown){var code="xphide(\""+o.id+"\");";if(!o.hideTimer&&o.id){o.hideTimer=setTimeout(code,hideTimeout);}}}var ll=0;var xobtn=null;