// Publish project specific data
(function() {
rh = window.rh;
model = rh.model;

rh.consts('DEFAULT_TOPIC', encodeURI("#NQ_GA20P2_Integrated_Power_Amplifier/IntegratedPowerAmplifierCover/IntegratedPowerAmplifierCover.htm".substring(1)));
rh.consts('HOME_FILEPATH', encodeURI("index.html"));
rh.consts('START_FILEPATH', encodeURI('index.html'));
rh.consts('HELP_ID', '65AE4B7C-A874-4C01-A8C9-56338C620429' || 'preview');
rh.consts('LNG_STOP_WORDS', ["a", "about", "after", "against", "all", "also", "among", "an", "and", "are", "as", "at", "be", "became", "because", "been", "between", "but", "by", "can", "come", "do", "during", "each", "early", "for", "form", "found", "from", "had", "has", "have", "he", "her", "his", "however", "in", "include", "into", "is", "it", "its", "late", "later", "made", "many", "may", "me", "med", "more", "most", "near", "no", "non", "not", "of", "on", "only", "or", "other", "over", "several", "she", "some", "such", "than", "that", "the", "their", "then", "there", "these", "they", "this", "through", "to", "under", "until", "use", "was", "we", "were", "when", "where", "which", "who", "with", "you"]);
rh.consts('LNG_SUBSTR_SEARCH', 1);

model.publish(rh.consts('KEY_DIR'), "ltr");
model.publish(rh.consts('KEY_LNG_NAME'), "en_US");
model.publish(rh.consts('KEY_LNG'), {"ApplyTip":"Apply","Back":"Back","Cancel":"Cancel","Canceled":"Canceled","ContentFilterChanged":"Content filter is changed, search again","Contents":"Contents","Copyright":"© Copyright 2017. All rights reserved.","Disabled Next":">>","Disabled Prev":"<<","EnableAndSearch":"Display results with all search words","EndOfResults":"End of search results.","FavoriteBoxTitle":"Favorites","Filter":"Filter","FilterIntro":"Please select your filter(s):","Glossary":"Glossary","GlossaryFilterTerms":"Filter Term","Hide":"Hide","HideAll":"Hide All","HighlightSearchResults":"Highlight Search Results","HomeButton":"Home","IeCompatibilityErrorMsg":"This page cannot be viewed in Internet Explorer 8 or earlier version.","Index":"Index","IndexFilterKewords":"Filter Keyword","JS_alert_InitDatabaseFailed":"Failed to initialize database","JS_alert_InvalidExpression_1":"The search string you typed is not valid.","JS_alert_LoadXmlFailed":"Failed to load XML file","Loading":"Loading...","Logo":"Logo","Logo/Author":"Powered By","NavTip":"Menu","Next":"Next","NextLabel":"Next","NoScriptErrorMsg":"Enable JavaScript support in the browser to view this page.","Prev":"Previous","PreviousLabel":"Previous","Print":"Print","Reset":"Reset","ResultsFoundText":"%1 result(s) found for %2","Search":"-Search-","SearchButtonTitle":"Search for...","SearchOptions":"Search Options","SearchPageTitle":"Search Results","SearchResultsPerScreen":"Search results per page","SearchTitle":"Search","Searching":"Searching...","Seperate":"|","Show":"Show","ShowAll":"All","ShowHide":"Show/Hide","ShowTopicInContext":"Click here to see this page in full context","SidebarToggleTip":"Expand/Collapse","SyncToc":"SyncToc","TableOfContents":"Table of Contents","ToTopTip":"Go to top","TopicsNotFound":"No results found","UnknownError":"Unknown error","WebSearch":"WebSearch","WebSearchButton":"WebSearch","Welcome_header":"Welcome to our Help Center","Welcome_text":"What can we help you with today?","favoritesLabel":"Favorites","favoritesNameLabel":"Name","nofavoritesFound":"You have not marked any pages as favorite.","setAsFavorite":"Set as favorite","setAsFavorites":"Add to Favorites","unsetAsFavorite":"Unset as favorite"});

model.publish(rh.consts('KEY_HEADER_DEFAULT_TITLE_COLOR'), "#ffffff");
model.publish(rh.consts('KEY_HEADER_DEFAULT_BACKGROUND_COLOR'), "#025172");
model.publish(rh.consts('KEY_LAYOUT_DEFAULT_FONT_FAMILY'), "\"Trebuchet MS\", Arial, sans-serif");

model.publish(rh.consts('KEY_HEADER_TITLE'), "20W PoE+ Integrated Power Amplifier Configuration Guide");
model.publish(rh.consts('KEY_HEADER_TITLE_COLOR'), "#000000");
model.publish(rh.consts('KEY_HEADER_BACKGROUND_COLOR'), "#F8F8F8");
model.publish(rh.consts('KEY_HEADER_LOGO_PATH'), "template/AdminWebInterfaceLayoutResponsive_HTML5/logo.png");
model.publish(rh.consts('KEY_LAYOUT_FONT_FAMILY'), "\"Trebuchet MS\", Arial, sans-serif");
model.publish(rh.consts('KEY_HEADER_HTML'), "<div class='topic-header' onClick='rh._.goToFullLayout()'>\
  <div class='logo'>\
    <img src='#{logo}' />\
  </div>\
  <div class='nav'>\
    <div class='title' title='#{title}'>\
      <span>#{title}</span>\
    </div>\
    <div class='gotohome' title='#{tooltip}'>\
      <span>#{label}</span>\
    </div></div>\
  </div>\
<div class='topic-header-shadow'></div>\
");
model.publish(rh.consts('KEY_HEADER_CSS'), ".topic-header { background-color: #{background-color}; color: #{color}; width: calc(100%); height: 3em; position: fixed; left: 0; top: 0; font-family: #{font-family}; display: table; box-sizing: border-box; }\
.topic-header-shadow { height: 3em; width: 100%; }\
.logo { cursor: pointer; padding: 0.2em; text-align: center; display: table-cell; vertical-align: middle; }\
.logo img { width: 1.875em; display: block; }\
.nav { width: 100%; display: table-cell; }\
.title { width: 40%; height: 100%; float: left; line-height: 3em; cursor: pointer; }\
.gotohome { width: 60%; float: left; text-align: right; height: 100%; line-height: 3em; cursor: pointer; }\
.title span, .gotohome span { padding: 0em 1em; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: block; }");

})();