var ol_ol_textfont='Arial'; var ol_border='2'; var ol_bgcolor='#005596'; if (unstickClass == undefined) { var unstickClass=false; } function init() { buildMenus(); $.post("/scripts/contentHandler.php", {id: "topMenu"}, function(data){ $('#topMenu').replaceWith(data); }); if (gmapType) { drawGmap(); } } function buildMenus() { var dbMenuHtml = ""; dbMenuHtml += "Database Home"; var wikiMenuHtml = "Wiki Homepage"; wikiMenuHtml += "Recent Changes"; wikiMenuHtml += "Antennas"; wikiMenuHtml += "Collaboration"; wikiMenuHtml += "Encryption"; wikiMenuHtml += "FAQs"; wikiMenuHtml += "Federal Monitoring"; wikiMenuHtml += "Glossary"; wikiMenuHtml += "HF Radio Topics"; wikiMenuHtml += "Live Audio"; wikiMenuHtml += "Military Monitoring"; wikiMenuHtml += "Radio Models"; wikiMenuHtml += "Satcom"; wikiMenuHtml += "Skip / DX"; wikiMenuHtml += "Software"; wikiMenuHtml += "Trunking"; var aboutMenuHtml = "Our Team"; aboutMenuHtml += "Blog"; aboutMenuHtml += "Premium Subscription"; aboutMenuHtml += "Web Service Programming"; aboutMenuHtml += "Contact"; var forumsMenuHtml = "Forums Home"; forumsMenuHtml += "Today's Posts"; forumsMenuHtml += "Forums Profile"; forumsMenuHtml += "Your Threads"; var classMenuHtml = "Classifieds Home"; classMenuHtml += "Latest Ads"; classMenuHtml += "Yesterday's Ads"; classMenuHtml += "Last 3 day's ads"; classMenuHtml += "Last 7 day's ads"; classMenuHtml += "Last 14 day's ads"; classMenuHtml += "Equipment on Ebay"; var laMenuHtml = "Live Audio Home"; laMenuHtml += "Top 50 Audio Feeds"; laMenuHtml += "Official Audio Feeds"; laMenuHtml += "Audio Feeds with Alerts"; laMenuHtml += "Become a feed provider"; document.getElementById('dbMenuChild').innerHTML = dbMenuHtml; document.getElementById('wikiMenuChild').innerHTML = wikiMenuHtml; document.getElementById('aboutMenuChild').innerHTML = aboutMenuHtml; document.getElementById('forumsMenuChild').innerHTML = forumsMenuHtml; document.getElementById('classMenuChild').innerHTML = classMenuHtml; document.getElementById('laMenuChild').innerHTML = laMenuHtml; at_attach("dbMenu", "dbMenuChild", "hover", "y", "pointer"); at_attach("aboutMenu", "aboutMenuChild", "hover", "y", "pointer"); at_attach("wikiMenu", "wikiMenuChild", "hover", "y", "pointer"); at_attach("classMenu", "classMenuChild", "hover", "y", "pointer"); at_attach("forumsMenu", "forumsMenuChild", "hover", "y", "pointer"); at_attach("laMenu", "laMenuChild", "hover", "y", "pointer"); } function showHide(contentId,imgId,showClass,hideClass,contentUrl) { curState = $('#' + contentId).css("display"); if (curState == 'block' || curState == 'inline') { state = 'none'; if (imgId !== undefined && showClass !== undefined && hideClass !== undefined) { document.getElementById(imgId).className=hideClass; } } else { state = 'block'; if (imgId !== undefined && showClass !== undefined && hideClass !== undefined) { document.getElementById(imgId).className=showClass; } if (contentUrl !== undefined) { $('#' + contentId).load(contentUrl); } } if (state == 'none') { $('#' + contentId).hide(); } if (state == 'block') { $('#' + contentId).show(); } } function LaunchWindow(page,id,actions) { OpenWin = this.open(page,id,actions); } $(document).ready(init);