var frontpage_spot_before_icon = "
"; var frontpage_spot_content_table = ""; var frontpage_spot_finish = "
"; var frontpage_spot_before_content = "
"; var frontpage_spot_before_link = "
"; var frontpage_spot_after_link = "
"; var right_spot_before_icon = "
"; var right_spot_spacer_row = ""; var right_spot_finish = "
"; var right_spot_before_content = "
"; function getSpotHTML(type, title, icon, link_text, link_url, content) { var html = ""; if (type == 1) { // frontpage, small spot html = frontpage_spot_before_icon + icon + frontpage_spot_before_title + title + frontpage_spot_before_content + frontpage_spot_content_table + content; if (null != link_text && null != link_url) { html += "
" + link_text + "" + frontpage_spot_after_link; } html += frontpage_spot_finish; } else if (type == 2) { html = right_spot_before_icon + icon + right_spot_before_title + title + right_spot_before_content + right_spot_spacer_row + content + right_spot_finish; } else { html = right_spot_before_icon + icon + right_spot_before_title + title + right_spot_before_content + content + right_spot_finish; } return html; } function noDocumentsFound(name) { var view = document.getElementById('$$ViewBody_EmptyView'); var no_documents = true; if (view.style.visibility == 'hidden') { no_documents = false; } if (no_documents == true) { if (name == "htmlAllReferences") { view.innerHTML = "No references found..."; } } } function displayPrinterFriendly(url) { window.open(url, "webcm_printer_friendly", "height=300,width=600,resizable=yes,scrollbars=yes"); } function displayEmailFriend(url) { window.open(url, "webcm_email_friend", "height=300,width=450,resizable=no,scrollbars=no"); } function displaySitemapEntry(primary_menuitem, secondary_menuitems, menuitem_structure) { document.write("
"); document.write(primary_menuitem); document.write("
"); document.write(secondary_menuitems); document.write("
"); } function selectMenuItem(key) { try { // see if we can find the object on the page var obj = document.getElementById(key + "_LINK"); if (obj) { // change the CSS class of item obj.className = obj.className + "_active"; // expand the menu showMenuItems(key); } } catch (exception) { window.status = "Error in routine 'selectMenuItem': " + exception.message; } } function showPrimaryMenu() { try { for (var i=0; i'; m_html += m.getName() + '    '; document.write(m_html); } } catch (exception) { } }