var rwM;wacM=false;function showArchiveCalendar(lnk){rwM=lnk.parentNode.parentNode.parentNode;var ac=lnk.parentNode.parentNode.parentNode.parentNode;if(!wacM){var all_divs=ac.getElementsByTagName('DIV');for(i=0;i<all_divs.length;i++){if(all_divs[i].className.search(' module-calendar-weblog')!=-1){wacM=all_divs[i];break}}}if(!wacM){alert('Weblog archive calendar is unavailable at the moment...\n\nPlease click \'View all weblog entries\' to see your older entries');}else{rwM.style.display='none';wacM.style.display='block'}}function hideArchiveCalendar(){rwM.style.display='block';wacM.style.display='none'}var hovPanel;hovPanelBg=false;function openHovPanel(panelId){hovPanel=document.getElementById(panelId);if(!hovPanelBg){hovPanelBg=document.getElementById('x-hovpanel-bg');}hovPanelBg.style.display='block';hovPanel.style.top=getCurrentYPos()+60+'px';hovPanel.style.display='block'}function closeHovPanel(panelId){if(panelId){hovPanel=document.getElementById(panelId);}if(!hovPanel){hovPanel=parent.document.getElementById(panelId);hovPanelBg=parent.document.getElementById('x-hovpanel-bg');}hovPanel.style.display='none';function ad(){hovPanelBg.style.display='none'}setTimeout(ad,100);}function refreshPage(){window.location.href=unescape(window.location);}function loadSettingsPanel(){document.getElementById('xnghovpanelpfsiframe').src='/private/publicfeedsettings.aspx?rand='+(Math.random()*9999999);}function getCurrentYPos(){if(document.body&&document.body.scrollTop){return document.body.scrollTop}if(document.documentElement&&document.documentElement.scrollTop){return document.documentElement.scrollTop}if(window.pageYOffset){return window.pageYOffset}return 0}function findfriends_open(vendor,newsite){document.getElementById('x-findfriends-bg').style.display='block';var xff=document.getElementById('x-findfriends');if(xff){xff.className='';xff.style.top='100px'}var ab='findfriends.aspx?s=1';if((newsite!=null)&&(newsite==true)){ab='findfriends.aspx?s=1&new=true'}else if((vendor!=null)&&(vendor.length>0)){ab='findfriends.aspx?s=1&e=youremail@'+encodeURIComponent(vendor)+'.com'}var ae=frames['x-findfriends'].location.href;if(ae!=ab)frames['x-findfriends'].location.href=ab}