﻿document.write('<table id="vista-buttons.com:idm4thm" width="0" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right:0px" title ="Personalised Gifts"><a onmouseover=\'xpe("m4thmo");xpshow("m4thm",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_m4thm" src="'+vbImgPath+'/btm4thm_0.gif" name="vbm4thm" width="118" height="30" border="0" alt="Personalised Gifts" /></a></td><td style="padding-right:0px" title ="Wedding Anniversary Gifts"><a onmouseover=\'xpe("54thmo");xpshow("54thm",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_54thm" src="'+vbImgPath+'/bt54thm_0.gif" name="vb54thm" width="162" height="30" border="0" alt="Wedding Anniversary Gifts" /></a></td><td style="padding-right:0px" title ="Birthday Gifts"><a onmouseover=\'xpe("a4thmo");xpshow("a4thm",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_a4thm" src="'+vbImgPath+'/bta4thm_0.gif" name="vba4thm" width="95" height="30" border="0" alt="Birthday Gifts" /></a></td><td style="padding-right:0px" title ="Photo Albums"><a onmouseover=\'xpe("s4thmo");xpshow("s4thm",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_s4thm" src="'+vbImgPath+'/bts4thm_0.gif" name="vbs4thm" width="95" height="30" border="0" alt="Photo Albums" /></a></td><td style="padding-right:0px" title ="Christening Gifts"><a href="http://www.sharedmemories.com.au/christening-baptism-new-baby.html" onmouseover=\'xpe("34thmo");\' onmouseout=\'xpe("34thmn");\'><img id="xpi_34thm" src="'+vbImgPath+'/bt34thm_0.gif" name="vb34thm" width="99" height="30" border="0" alt="Christening Gifts" /></a></td><td style="padding-right:0px" title ="Life Story Journals"><a href="http://www.sharedmemories.com.au/life-story-kits-and-journals.html" onmouseover=\'xpe("r4thmo");\' onmouseout=\'xpe("r4thmn");\'><img id="xpi_r4thm" src="'+vbImgPath+'/btr4thm_0.gif" name="vbr4thm" width="109" height="30" border="0" alt="Life Story Journals" /></a></td><td style="padding-right:0px" title ="Clocks"><a onmouseover=\'xpe("64thmo");xpshow("64thm",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_64thm" src="'+vbImgPath+'/bt64thm_0.gif" name="vb64thm" width="85" height="30" border="0" alt="Clocks" /></a></td><td style="padding-right:0px" title ="Shop by Product"><a onmouseover=\'xpe("24thmo");xpshow("24thm",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_24thm" src="'+vbImgPath+'/bt24thm_0.gif" name="vb24thm" width="109" height="30" border="0" alt="Shop by Product" /></a></td><td style="padding-right:0px" title ="FAQ\'s"><a onmouseover=\'xpe("t4thmo");xpshow("t4thm",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_t4thm" src="'+vbImgPath+'/btt4thm_0.gif" name="vbt4thm" width="90" height="30" border="0" alt="FAQ\'s" /></a></td></tr></table>');document.write('<ul id="vbUL_m4thm" class="vbULm4thm" style="visibility:hidden;"><li><a href="http://www.sharedmemories.com.au/personalised-gifts/personalised-photo-plates-and-photo-gifts-with-engraving-option.html" title="Photo Plates with Engraving">Photo&nbsp;Plates&nbsp;with&nbsp;Engraving</a></li><li><a href="http://www.sharedmemories.com.au/personalised-gifts/personalised-photo-frames-with-engraving.html" title="Photo Frames Personalised ">Photo&nbsp;Frames&nbsp;Personalised&nbsp;</a></li><li><a href="http://www.sharedmemories.com.au/personalised-gifts/personalised-clocks-with-photo-and-words.html" title="Clocks with Photo and Words">Clocks&nbsp;with&nbsp;Photo&nbsp;and&nbsp;Words</a></li><li><a href="http://www.sharedmemories.com.au/personalised-gifts/personalised-timber-albums.html" title="Timber Photo Albums - Personalised">Timber&nbsp;Photo&nbsp;Albums&nbsp;-&nbsp;Personalised</a></li><li><a href="http://www.sharedmemories.com.au/personalised-gifts/photo-crystals-with-personalised-engraving.html" title="Photo Crystals">Photo&nbsp;Crystals</a></li><li><a href="http://www.sharedmemories.com.au/personalised-gifts/memorial-in-memory-of.html" title="Memorial In Memory of">Memorial&nbsp;In&nbsp;Memory&nbsp;of</a></li><li><a href="http://www.sharedmemories.com.au/personalised-gifts/personalised-pet-memories.html" title="Pet Memories">Pet&nbsp;Memories</a></li></ul><ul id="vbUL_54thm" class="vbULm4thm" style="visibility:hidden;"><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/60th-wedding-anniversary-gifts.html" title="60th Wedding Anniversary">60th&nbsp;Wedding&nbsp;Anniversary</a></li><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/50th-wedding-anniversary-gifts.html" title="50th Wedding Anniversary">50th&nbsp;Wedding&nbsp;Anniversary</a></li><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/40th-wedding-anniversary-gifts.html" title="40th Wedding Anniversary">40th&nbsp;Wedding&nbsp;Anniversary</a></li><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/30th-wedding-anniversary-gifts.html" title="30th Wedding Anniversary">30th&nbsp;Wedding&nbsp;Anniversary</a></li><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/25th-wedding-anniversary-gifts.html" title="25th Wedding Anniversary">25th&nbsp;Wedding&nbsp;Anniversary</a></li><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/10th-wedding-anniversary-gifts.html" title="10th Wedding Anniversary">10th&nbsp;Wedding&nbsp;Anniversary</a></li><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/1st-wedding-anniversary-gifts.html" title="1st Wedding Anniversary">1st&nbsp;Wedding&nbsp;Anniversary</a></li><li><a href="http://www.sharedmemories.com.au/wedding-anniversary-gifts/other-anniversary-gifts.html" title="Other Wedding Anniversaries">Other&nbsp;Wedding&nbsp;Anniversaries</a></li></ul><ul id="vbUL_a4thm" class="vbULm4thm" style="visibility:hidden;"><li><a href="http://www.sharedmemories.com.au/birthday-gifts/90th-birthday-gifts.html" title="90th Birthday Gifts">90th&nbsp;Birthday&nbsp;Gifts</a></li><li><a href="http://www.sharedmemories.com.au/birthday-gifts/80th-birthday-gifts.html" title="80th Birthday Gifts">80th&nbsp;Birthday&nbsp;Gifts</a></li><li><a href="http://www.sharedmemories.com.au/birthday-gifts/70th-birthday-gifts.html" title="70th Birthday Gifts">70th&nbsp;Birthday&nbsp;Gifts</a></li><li><a href="http://www.sharedmemories.com.au/birthday-gifts/60th-birthday-gifts.html" title="60th Birthday Gifts">60th&nbsp;Birthday&nbsp;Gifts</a></li><li><a href="http://www.sharedmemories.com.au/birthday-gifts/50th-birthday-gifts.html" title="50th Birthday Gifts">50th&nbsp;Birthday&nbsp;Gifts</a></li><li><a href="http://www.sharedmemories.com.au/birthday-gifts/40th-birthday-gifts.html" title="40th Birthday Gifts">40th&nbsp;Birthday&nbsp;Gifts</a></li><li><a href="http://www.sharedmemories.com.au/birthday-gifts/21st-birthday-gifts.html" title="21st Birthday Gifts">21st&nbsp;Birthday&nbsp;Gifts</a></li><li><a href="http://www.sharedmemories.com.au/birthday-gifts/18th-birthday-gifts.html" title="18th Birthday Gifts">18th&nbsp;Birthday&nbsp;Gifts</a></li></ul><ul id="vbUL_s4thm" class="vbULm4thm" style="visibility:hidden;"><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/dry-mount-albums.html" title="Dry Mount Albums">Dry&nbsp;Mount&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/slip-in-albums.html" title="Slip-In Albums">Slip-In&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/leather-photo-albums.html" title="Leather Photo Albums">Leather&nbsp;Photo&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/wedding-photo-albums.html" title="Wedding Photo Albums">Wedding&nbsp;Photo&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/scrapbook-albums.html" title="Scrap Book Albums">Scrap&nbsp;Book&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/timber-photo-albums.html" title="Timber Photo Albums">Timber&nbsp;Photo&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/guest-and-visitor-albums.html" title="Guest And Visitor Albums">Guest&nbsp;And&nbsp;Visitor&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/baby-and-child-photo-albums.html" title="Baby and Child Photo Albums">Baby&nbsp;and&nbsp;Child&nbsp;Photo&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/portfolio-photo-albums.html" title="Portfolio Photo Albums">Portfolio&nbsp;Photo&nbsp;Albums</a></li><li><a href="http://www.sharedmemories.com.au/photo-albums-high-quality/photo-archive.html" title="Photo Archive">Photo&nbsp;Archive</a></li></ul><ul id="vbUL_64thm" class="vbULm4thm" style="visibility:hidden;"><li><a href="http://www.sharedmemories.com.au/clocks-personalised/personalised.html" title="Personalised Clocks">Personalised&nbsp;Clocks</a></li><li><a href="http://www.sharedmemories.com.au/clocks-personalised/tide.html" title="Tide Clocks">Tide&nbsp;Clocks</a></li><li><a href="http://www.sharedmemories.com.au/clocks-personalised/wall-clocks-1.html" title="Wall Clocks">Wall&nbsp;Clocks</a></li><li><a href="http://www.sharedmemories.com.au/clocks-personalised/desk-and-mantel-clocks.html" title="Desk and Mantel Clocks">Desk&nbsp;and&nbsp;Mantel&nbsp;Clocks</a></li></ul><ul id="vbUL_24thm" class="vbULm4thm" style="visibility:hidden;"><li><a href="http://www.sharedmemories.com.au/product-type/photo-frames.html" title="Photo Frames">Photo&nbsp;Frames</a></li><li><a href="http://www.sharedmemories.com.au/product-type/english-pewter.html" title="English Pewter">English&nbsp;Pewter</a></li><li><a href="http://www.sharedmemories.com.au/product-type/bookmarks.html" title="Bookmarks">Bookmarks</a></li><li><a href="http://www.sharedmemories.com.au/product-type/trinket-boxes-1.html" title="Trinket Boxes">Trinket&nbsp;Boxes</a></li><li><a href="http://www.sharedmemories.com.au/product-type/earring-holders.html" title="Earring and Ring Holders">Earring&nbsp;and&nbsp;Ring&nbsp;Holders</a></li><li><a href="http://www.sharedmemories.com.au/product-type/mugs.html" title="Mugs">Mugs</a></li><li><a href="http://www.sharedmemories.com.au/product-type/perfume-bottles.html" title="Perfume Bottles">Perfume&nbsp;Bottles</a></li><li><a href="http://www.sharedmemories.com.au/product-type/manicure-sets.html" title="Manicure Sets">Manicure&nbsp;Sets</a></li><li><a href="http://www.sharedmemories.com.au/product-type/jewellery-boxes.html" title="Jewellery Boxes">Jewellery&nbsp;Boxes</a></li><li><a href="http://www.sharedmemories.com.au/product-type/music-carousels.html" title="Music Carousels">Music&nbsp;Carousels</a></li></ul><ul id="vbUL_t4thm" class="vbULm4thm" style="visibility:hidden;"><li><a href="http://www.sharedmemories.com.au/customer-feedback.html" title="Customer Feedback">Customer&nbsp;Feedback</a></li><li><a href="http://www.sharedmemories.com.au/contact-us-1.html" title="Contact Us">Contact&nbsp;Us</a></li><li><a href="http://www.sharedmemories.com.au/about-us-1.html" title="About Us">About&nbsp;Us</a></li><li><a href="http://www.sharedmemories.com.au/shipping-information-en.html" title="Shipping Information">Shipping&nbsp;Information</a></li><li><a href="http://www.sharedmemories.com.au/can-i-order-by-phone-en.html" title="Can I Order by Phone?">Can&nbsp;I&nbsp;Order&nbsp;by&nbsp;Phone?</a></li><li><a href="http://www.sharedmemories.com.au/order-information.html" title="Order Information">Order&nbsp;Information</a></li><li><a href="http://www.sharedmemories.com.au/engraving-information-en.html" title="Engraving Information">Engraving&nbsp;Information</a></li><li><a href="http://www.sharedmemories.com.au/is-my-photo-acceptable-en.html" title="Is my photo acceptable?">Is&nbsp;my&nbsp;photo&nbsp;acceptable?</a></li><li><a href="http://www.sharedmemories.com.au/photo-scanning-guide-en.html" title="Photo Scanning Guide">Photo&nbsp;Scanning&nbsp;Guide</a></li><li><a href="http://www.sharedmemories.com.au/what-is-a-photo-plate-en.html" title="What is a Photo Plate?">What&nbsp;is&nbsp;a&nbsp;Photo&nbsp;Plate?</a></li><li><a href="http://www.sharedmemories.com.au/photo-plate-guide-1.html" title="Photo Plate Guide">Photo&nbsp;Plate&nbsp;Guide</a></li><li><a href="http://www.sharedmemories.com.au/personalised-clock-guide.html" title="Personalised Clock Guide">Personalised&nbsp;Clock&nbsp;Guide</a></li><li><a href="http://www.sharedmemories.com.au/what-is-a-photo-crystal-en.html" title="What is a Photo Crystal?">What&nbsp;is&nbsp;a&nbsp;Photo&nbsp;Crystal?</a></li><li><a href="http://www.sharedmemories.com.au/crystal-photo-guide-1.html" title="Crystal Photo Guide">Crystal&nbsp;Photo&nbsp;Guide</a></li><li><a href="http://www.sharedmemories.com.au/gift-certificates.html" title="Gift Certificates">Gift&nbsp;Certificates</a></li><li><a href="http://www.sharedmemories.com.au/cant-find-product-1.html" title="Can\'t Find Product Help">Can\'t&nbsp;Find&nbsp;Product&nbsp;Help</a></li><li><a href="http://www.sharedmemories.com.au/privacy-notice.html" title="Privacy Notice">Privacy&nbsp;Notice</a></li><li><a href="http://www.sharedmemories.com.au/returns-policy-en.html" title="Returns Policy">Returns&nbsp;Policy</a></li><li><a href="http://www.sharedmemories.com.au/shared-memories-rewards-club.html" title="Rewards Club">Rewards&nbsp;Club</a></li></ul>');vbm4thmn=xppr('m4thm_0.gif');vbm4thmo=xppr('m4thm_1.gif');vb54thmn=xppr('54thm_0.gif');vb54thmo=xppr('54thm_1.gif');vba4thmn=xppr('a4thm_0.gif');vba4thmo=xppr('a4thm_1.gif');vbs4thmn=xppr('s4thm_0.gif');vbs4thmo=xppr('s4thm_1.gif');vb34thmn=xppr('34thm_0.gif');vb34thmo=xppr('34thm_1.gif');vbr4thmn=xppr('r4thm_0.gif');vbr4thmo=xppr('r4thm_1.gif');vb64thmn=xppr('64thm_0.gif');vb64thmo=xppr('64thm_1.gif');vb24thmn=xppr('24thm_0.gif');vb24thmo=xppr('24thm_1.gif');vbt4thmn=xppr('t4thm_0.gif');vbt4thmo=xppr('t4thm_1.gif');var arrowChar='&raquo;';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");}}function vistaButtons(params){var xobtn=null;var menuContId="xpMenuCont";var ulIdPref="vbUL_";var O00=document.getElementById;var o0O=oooO=window.ooo0&&O00;var OO0=o0O&&document.readyState;var OOo=document.all&&document.all.item&&!o0O;var oooo=O00&&navigator.appName=="Netscape";document.write("<div id=\""+menuContId+"\" ></div>");var menuCont=document.getElementById(menuContId);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";}createMenu(ULs[i],0,0,params,menuCont);}}function createMenu(ulParent,iParent,level,params,owner){var oo=document.createElement(params.subFrame?"table":"div");owner.appendChild(oo);if(oo.tagName=="TABLE"){oo.cellSpacing=0;}var oMenuCont;if(params.subFrame){for(var i=0;i<3;i++){var row=oo.insertRow(-1);for(var j=0;j<3;j++){var cell=row.insertCell(-1);if(i==1&&j==1){oMenuCont=cell;}else{cell.className="imgFrame"+i+j;}}}}else{oMenuCont=oo.tagName=="DIV"?oo:oo.insertRow(-1).insertCell(-1);}oMenuCont.className="subContent";var O0o=document.createElement("table");oMenuCont.appendChild(O0o);oo.id=ulParent.id+"tbl";oo.className=ulParent.className;oo.style.position="absolute";oo.xpItems=[];oo.iParent=iParent;oo.level=level;oo.style.zIndex=9+oo.level;O0o.cellSpacing=0;oo.onmouseover=function(){xpStopTimeOut(this);};oo.onmouseout=function(){Ooo(xpShownMenu);};oo.xpClearMenuMark=function(){for(var j=0;j<this.xpItems.length;j++){p=this.xpItems[j];if(p.tagName=="TR"){p.className=p.className.replace("over","");if(p.className.indexOf("popup")<0){p.clrOverImg();}}}};oo.smShown=0;for(var i=0,cntLI=ulParent.childNodes.length;i<cntLI;i++){var Oo=ulParent.childNodes[i];if(Oo.tagName!="LI"){continue;}var O=O0o.insertRow(-1);var InnerAnchor=0;O.Img=null;O.ImgOver=null;var InnerUl=0;O.ImgArrow=null;O.ImgArrowOver=null;for(var j=0;j<Oo.childNodes.length;j++){if(Oo.childNodes[j].tagName=="A"){InnerAnchor=Oo.childNodes[j];}else if(Oo.childNodes[j].tagName=="IMG"){if(!InnerAnchor){if(!O.Img){O.Img=Oo.childNodes[j];}else{O.ImgOver=Oo.childNodes[j];}}else{if(!O.ImgArrow){O.ImgArrow=Oo.childNodes[j];}else{O.ImgArrowOver=Oo.childNodes[j];}}}else if(Oo.childNodes[j].tagName=="UL"){InnerUl=Oo.childNodes[j];}}if(InnerAnchor||InnerUl||O.ImgArrow){O.className=Oo.className;O.menu=oo;O.setPopup=function(){this.className+=" popup";};O.clrPopup=function(){this.className=this.className.replace("popup","");if(this.className.indexOf("over")<0){this.clrOverImg();}};O.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";}};var oOO=O.insertCell(-1);var o00=O.insertCell(-1);var ooO=O.insertCell(-1);oOO.style.borderRightWidth="0px";o00.style.borderRightWidth="0px";o00.style.borderLeftWidth="0px";ooO.style.borderLeftWidth="0px";oOO.style.paddingRight="4px";o00.style.paddingRight="4px";o00.style.paddingLeft="4px";ooO.style.paddingLeft="4px";if(O.Img){oOO.appendChild(O.Img);}else{oOO.innerHTML="&nbsp;";}if(O.ImgOver){O.ImgOver.style.display="none";oOO.appendChild(O.ImgOver);}if(InnerAnchor){var newText=document.createElement("SPAN");newText.innerHTML=InnerAnchor.innerHTML;if(InnerAnchor.href.indexOf(".pdf")>=0&&document.all){o00.appendChild(newText);}else{o00.appendChild(InnerAnchor);InnerAnchor.onclick=function(){return false;};}O.linkHref=InnerAnchor.href;O.linkTarget=InnerAnchor.target;with(oo){xpItems[xpItems.length]=O;}O.onclick=function(){if(this.linkHref){open(this.linkHref,this.linkTarget?this.linkTarget:"_self");}};}else{o00.innerHTML="&nbsp;";}O.onmouseover=function(){this.menu.xpClearMenuMark();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.smPopup){OOO(this.smPopup,1,this);}else{Ooo(this.menu.smShown);}};O.onmouseout=function(){this.menu.xpClearMenuMark();};if(InnerUl){ooO.className="arrow";if(O.ImgArrow){ooO.appendChild(O.ImgArrow);if(O.ImgArrowOver){O.ImgArrowOver.style.display="none";ooO.appendChild(O.ImgArrowOver);}}else{if(typeof arrowChar!="undefined"&&arrowChar){ooO.appendChild(document.createElement("a"));ooO.lastChild.innerHTML=arrowChar;}else{ooO.innerHTML="&nbsp;";}}O.smPopup=createMenu(InnerUl,O,level+1,params,owner);}else{ooO.innerHTML="&nbsp;";}}else{O.className="separator";var oTD=O.insertCell(-1);oTD.colSpan=3;oTD.innerHTML="<div></div>";}}return oo;}function xpDef(){for(var i=0;i<arguments.length;++i){if(typeof arguments[i]=="undefined"){return false;}}return true;}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(doc.documentElement&&doc.documentElement.scrollLeft){x=doc.documentElement.scrollLeft;}else if(doc.body&&xpDef(doc.body.scrollLeft)){x=doc.body.scrollLeft;}if(doc.documentElement&&doc.documentElement.scrollTop){y=doc.documentElement.scrollTop;}else if(doc.body&&xpDef(doc.body.scrollTop)){y=doc.body.scrollTop;}return{x:x,y:y,w:w,h:h};}function OoO(o){var w=o0O&&!OO0?o.style.pixelWidth:document.layers?o.clip.width:o.offsetWidth;var h=o0O&&!OO0?o.style.pixelHeight:document.layers?o.clip.height:o.offsetHeight;return{x:w,y:h};}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};}var xpshow=window.xpshow=function(ind,isVertical,iParent){OOO(ulIdPref+ind+"tbl",isVertical,iParent);};function OOO(menu,isVertical,iParent){menu=get(menu);if(!menu){return;}if(menu.style.visibility=="visible"){xpStopTimeOut(menu);return;}if(iParent&&iParent.menu){xphide(iParent.menu.smShown);}if(!menu.level&&xpShownMenu!=menu){xphide(xpShownMenu);}if(!menu.level){xobtn=menu.id.replace(ulIdPref,"").replace("tbl","");}var parentObj=iParent.tagName=="A"?iParent.parentNode:iParent;var pos=xppos(parentObj);var size=OoO(parentObj);menu.xpMenuX=1;menu.xpMenuDx=1;if(menu.level>0){menu.xpMenuX=menu.iParent.menu.xpMenuX;menu.xpMenuDx=menu.iParent.menu.xpMenuDx;}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 Oo0=xpClientSize();var oOo=OoO(menu);var OO=xpCalcMenuPos(Oo0.y,Oo0.h,pos.y,size.y,oOo.y,menu.xpMenuDx,isVertical);menu.xpMenuDx=OO.align;if(o0O&&!menu.OrigWidth){menu.OrigWidth=menu.clientWidth;}if(OO.size<oOo.y){menu.style.overflow="auto";if(OOo){menu.style.overflowX="visible";}if(OOo){menu.style.width=menu.offsetWidth+17+"px";}else if(oooo){menu.style.magrinRight=20;}menu.style.height=OO.size+"px";menu.scrollTop=0;menu.scrollLeft=0;if(o0O){menu.style.width=menu.OrigWidth+"px";}}menu.style.top=OO.xy-parentAbs.y+"px";oOo=OoO(menu);OO=xpCalcMenuPos(Oo0.x,Oo0.w,pos.x,size.x,oOo.x,menu.xpMenuX,!isVertical);menu.xpMenuX=OO.align;if(OO.size<oOo.x){if(menu.xpMenuX>0){OO.xy-=(oOo.x-OO.size);}}menu.style.left=OO.xy-parentAbs.x+"px";menu.style.visibility="visible";if(!menu.level){xpShownMenu=menu;}else{iParent.menu.smShown=menu;iParent.setPopup();}}function xpCalcMenuPos(oO,o0o,ooo,oO0,size,align,O0O){var xy=ooo;var O0=size;var oo0=align;var o0=5;if(align==0&&!O0O){align=1;}if(!O0O){if(oo0>=0&&ooo+oO0+size>o0o+oO-o0||oo0<0&&ooo-size<o0){if(ooo-oO>o0o+oO-(ooo+oO0)){oo0=-1;}else{oo0=1;}}if(oo0>=0){xy=ooo+oO0;if(o0o+oO-o0-xy<O0){O0=o0o+oO-o0-xy;}}else{xy=ooo-O0;if(xy-oO<o0){xy=o0+oO;O0=ooo-o0-oO;}}}else{if(O0>o0o-2*o0){xy=o0+oO;O0=o0o-2*o0;}else{xy=ooo+oO0/2-O0/2+oo0*(O0/2-oO0/2);if(xy<o0+oO){oo0=1;xy=o0+oO;}if(xy+size>o0o+oO-o0){oo0=-1;xy-=xy+O0-(o0o+oO-o0);}}}return{xy:xy,size:O0,align:oo0};}function get(o){return typeof o=="string"?document.getElementById(o):o;}function xphide(menu){menu=get(menu);if(!menu||menu.style.visibility!="visible"){return;}xphide(menu.smShown);menu.xpClearMenuMark();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;}}window.xphide=xphide;window.xpsmout=function(sender){if(!sender){return;}Ooo(xpShownMenu);};window.xpsmover=function(menu){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 Ooo(menu){if(menu){if(!menu.hideTimer){menu.hideTimer=setTimeout(function(){xphide(menu);},300);}Ooo(menu.smShown);}}}var xpShownMenu=0;new vistaButtons({subFrame:0});