hovPanel=false;hovPanelBg=false;clickedToOpen=false;function loadHovPanel(){clickedToOpen=true}function openHovPanel(panelId){if(!clickedToOpen)return;hovPanel=document.getElementById(panelId);if(!hovPanelBg){hovPanelBg=document.getElementById('x-hovpanel-bg');}hovPanelBg.style.height=getDocumentHeight()+'px';hovPanelBg.style.display='block';function ab(){hovPanelBg.style.display='block'}setTimeout(ab,100);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);}if(!hovPanelBg){hovPanelBg=parent.document.getElementById('x-hovpanel-bg');}hovPanel.style.display='none';function ac(){hovPanelBg.style.display='none'}setTimeout(ac,100);hovPanelBg.style.display='none'}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 getDocumentHeight(){return getCurrentYPos()*2+1024}function attachHovPanel(SrcId,panelId){var ad=document.getElementById(SrcId);var ae=document.getElementById(panelId+'-contents');ae.appendChild(ad);}function loadSignInFrame(source){clickedToOpen=true;document.getElementById('x-signinframe').src=source}function clearSrc(){document.getElementById('x-signinframe').src='javascript:false;';document.getElementById('x-profilepicframe').src='javascript:false;';document.getElementById('x-smileyframe').src='javascript:false;';document.getElementById('x-miniframe').src='javascript:false;'}