var lastCloud=null,cloudTimeout=null,cloudToOpen=null;function showCloud(divId){cancelCloud();cloudToOpen=divId;cloudTimeout=setTimeout("showDelayedCloud()",1e3)}function cancelCloud(divId){try{divId==cloudToOpen&&clearTimeout(cloudTimeout)}catch(e){}}function showDelayedCloud(){lastCloud!=null&&$(lastCloud).hide();lastCloud=cloudToOpen;$(cloudToOpen).setStyle({display:"block"});Scroll.showScrollbar(cloudToOpen)}function hideCloud(divId,e){var div=$(divId),relTarg=e.relatedTarget||e.toElement;relTarg=$(relTarg);relTarg!=div&&!relTarg.descendantOf(div)&&div.hide();return}function hideCloudClose(divId){var div=$(divId);div.hide()}function showCloud2(divId){showCloud(divId)}function hideCloud2(divId,e){hideCloud(divId,e)}function showCloudSEO(divId,divContentId,lblTitle,lblText){if(divContentId==""){showCloud(divId);return}cancelCloud();cloudToOpen=divId;$(lblTitle).innerHTML=$(divContentId).down("h3").innerHTML;var s=$(divContentId).innerHTML.toUpperCase().indexOf("<H7"),e=$(divContentId).innerHTML.toUpperCase().indexOf("</H7>"),text=$(divContentId).innerHTML.substring(s,e);s=text.toUpperCase().indexOf(">");$(lblText).update(text.substring(s+1,e));cloudTimeout=setTimeout("showDelayedCloud()",1e3)};
