//Primary and dropdown menu data

//Change home buttons
var bt = "";//Rename the button

if(primaryActiveState == "home"){
 bt = "h_";
 }

function loadPrimaryNav(){

var html = "";
html += '<div style="width:770px">';
html += '<table border="0" cellpadding="0" cellspacing="0">';
html += '<tr>';

if(primaryActiveState == "about_us"){
 html += '<td><a href="'+root+'about_us_overview.html"><img src="'+root+'images/'+bt+'bt_about_us_on.gif" alt="About Us" width="134" height="34" border="0" id="about_us" onMouseOver="showMenu(12,29,\'about_us\')" onMouseOut="hideMenu()"></a></td>';
}else
 html += '<td><a href="'+root+'about_us_overview.html"><img src="'+root+'images/'+bt+'bt_about_us_off.gif" alt="About Us" width="134" height="34" border="0" id="about_us" onMouseOver="showMenu(12,29,\'about_us\');this.src=\''+root+'images/'+bt+'bt_about_us_on.gif\'" onMouseOut="hideMenu();this.src=\''+root+'images/'+bt+'bt_about_us_off.gif\'"></a></td>';

if(primaryActiveState == "products"){
 html += '<td><a href="'+root+'products.html"><img src="'+root+'images/bt_products_on.gif" alt="Products" width="138" height="34" border="0" id="products" onMouseOver="showMenu(0,29,\'products\')" onMouseOut="hideMenu()"></a></td>';
}else
 html += '<td><a href="'+root+'products.html"><img src="'+root+'images/bt_products_off.gif" alt="Products" width="138" height="34" border="0" id="products" onMouseOver="showMenu(0,29,\'products\');this.src=\''+root+'images/bt_products_on.gif\'" onMouseOut="hideMenu();this.src=\''+root+'images/bt_products_off.gif\'"></a></td>';

if(primaryActiveState == "solutions"){
 html += '<td><a href="'+root+'solutions.html"><img src="'+root+'images/bt_solutions_on.gif" alt="Solutions" width="138" height="34" border="0" id="solutions"></a></td>';
}else
 html += '<td><a href="'+root+'solutions.html"><img src="'+root+'images/bt_solutions_off.gif" alt="Solutions" width="138" height="34" border="0" id="solutions" onMouseOver="this.src=\''+root+'images/bt_solutions_on.gif\'" onMouseOut="this.src=\''+root+'images/bt_solutions_off.gif\'"></a></td>';

if(primaryActiveState == "news"){
 html += '<td><a href="'+root+'news.html"><img src="'+root+'images/bt_news_on.gif" alt="News" width="102" height="34" border="0" id="news"></a></td>';
}else
 html += '<td><a href="'+root+'news.html"><img src="'+root+'images/bt_news_off.gif" alt="News" width="102" height="34" border="0" id="news" onMouseOver="this.src=\''+root+'images/bt_news_on.gif\'" onMouseOut="this.src=\''+root+'images/bt_news_off.gif\'"></a></td>';

if(primaryActiveState == "links"){
 html += '<td><a href="'+root+'links.html"><img src="'+root+'images/bt_links_on.gif" alt="Links" width="102" height="34" border="0" id="links"></a></td>';
}else
 html += '<td><a href="'+root+'links.html"><img src="'+root+'images/bt_links_off.gif" alt="Links" width="102" height="34" border="0" id="links" onMouseOver="this.src=\''+root+'images/bt_links_on.gif\'" onMouseOut="this.src=\''+root+'images/bt_links_off.gif\'"></a></td>';

if(primaryActiveState == "contact_us"){
 html += '<td><a href="'+root+'contact_us.html"><img src="'+root+'images/'+bt+'bt_contact_us_on.gif" alt="Contact Us" width="148" height="34" border="0" id="contact_us"></a></td>';
}else
 html += '<td><a href="'+root+'contact_us.html"><img src="'+root+'images/'+bt+'bt_contact_us_off.gif" alt="Contact Us" width="148" height="34" border="0" id="contact_us" onMouseOver="this.src=\''+root+'images/'+bt+'bt_contact_us_on.gif\'" onMouseOut="this.src=\''+root+'images/'+bt+'bt_contact_us_off.gif\'"></a></td>';

html += '<td><img src="'+root+'images/'+bt+'nav_right_shadow.gif" width="8" height="34"></td>';
html += '</tr>';
html += '<tr>';
html += '<td colspan="7"><img src="'+root+'images/'+bt+'nav_bottom_shadow.gif" width="770" height="11"></td>';
html += '</tr>';
html += '</table>';
html += '</div>';
document.write(html);
}

//Dropdown menu data
function loadDropDownMenus(){
var html = " ";

//About Us menu
html += '<div id="dm_about_us" onMouseOver="showMenu(12,29,\'about_us\'); document.getElementById(\'about_us\').src=\''+root+'images/'+bt+'bt_about_us_on.gif\'" onMouseOut="hideMenu(); active_bt()" style="width:160px; z-index:2; padding-top:5px;">';
html += '<table border="0" width=160" cellspacing="0" cellpadding="0">';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'about_us_overview.html\'">Overview</td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'our_history.html\'">Our History</td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'beaufort_name.html\'">Beaufort Name</td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'the_team.html\'">The Team</td></tr>';
html += '<tr><td><img src="'+root+'images/menu_bottom.gif"></td></tr>';
html += '</table>';
html += '</div>';

//Products menu
html += '<div id="dm_products" onMouseOver="showMenu(0,29,\'products\'); document.getElementById(\'products\').src=\''+root+'images/bt_products_on.gif\'" onMouseOut="hideMenu(); active_bt()" style="width:160px; z-index:2; padding-top:5px">';
html += '<table border="0" width=160" cellspacing="0" cellpadding="0">';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'image2Print.html\'">Image2Print<sup>&reg;</sup></td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'batch_factory.html\'">Batch Factory™</td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'imageViewer.html\'">ImageViewer™</td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'process_control.html\'">Process Control™</td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'ip_inventory.html\'">IP Inventory</td></tr>';
html += '<tr><td class="menu_bt_off" onMouseOver="this.className=\'menu_bt_on\'" onMouseOut="this.className=\'menu_bt_off\'" onClick="document.location=\'' +root+ 'custom_solutions_services.html\'">Custom Solutions<br>and Services</td></tr>';
html += '<tr><td><img src="'+root+'images/menu_bottom.gif"></td></tr>';
html += '</table>';
html += '</div>';

document.write(html);
}

