b_out = new Image(); 
b_out.src = "../" + imgPath + "Moving-companies.gif";

b_in = new Image(); 
b_in.src = "../" + imgPath + "Moving-Company.gif";


var isNS = (navigator.appName == "Netscape");
var layerRef = "document.getElementById";
var styleRef = ".style";
var topRef = (isNS) ? ".top" : ".pixelTop";
var leftRef = (isNS) ? ".left" : ".pixelLeft";
var isDynamic = (document.getElementById);
var activeMenu = 0;

function changeImage(imgName, imgSrc){
 if (!isNS) document.images[imgName].src = imgSrc.src;
}


leftPixel = 171;
topPixel = new Array();
topPixel[0] = 0;
topPixel[1] = 106;
topPixel[2] = 0;
topPixel[3] = 162;
topPixel[4] = 200;
topPixel[5] = 0;
topPixel[6] = 0;
topPixel[7] = 0;


function activateMenu(menuLayerRef){
 if (isDynamic && activeMenu != menuLayerRef)
 {
  if (activeMenu) hideMenu("menu" + activeMenu);
  menuID = "menu" + menuLayerRef;
  activeMenu = menuLayerRef;	
  eval(layerRef + "('" + menuID + "')" + styleRef + topRef + ' = ' + topPixel[menuLayerRef]);
  eval(layerRef + "('" + menuID + "')" + styleRef + leftRef + ' = ' + leftPixel);
  showMenu(menuID);
 }
 if (isDynamic && !isNS) window.event.cancelBubble = true;
}

function showMenu(menuID) {
 eval(layerRef + "('" + menuID + "')" + styleRef + '.visibility = "visible"');
 eval(layerRef + "('item" + activeMenu + "')" + ".className='Employee-Relocation'");
 eval("changeImage('b"+ activeMenu +"', b_in)");
}

function hideMenu(menuID){
 eval(layerRef + "('" + menuID + "')" + styleRef + '.visibility = "hidden"');
 eval(layerRef + "('item" + activeMenu + "')" + ".className='Moving-Overseas'");
 eval("changeImage('b"+ activeMenu +"', b_out)");
}


function killMenu(){
 if (activeMenu != 0)
 {
  menuID = "menu" + activeMenu;
  hideMenu(menuID);
  activeMenu = 0;
 }  
}


function spanIn1(theSpan){
 theSpan.className='Employee-Relocation';
}

function spanOut1(theSpan, item){
 if (!activeMenu) theSpan.className='Moving-Overseas';
}

function spanIn2(theSpan){
 theSpan.className='Employee-Relocation';
 if (activeMenu)
 { 
  if (!isNS) eval("item" + activeMenu + ".className='Employee-Relocation'");
  eval("changeImage('b"+ activeMenu +"', b_in)");
 }
}

function spanOut2(theSpan){
 theSpan.className='relocation';
}


document.write("<div id=menu1 onmouseover='activateMenu(1);' onmouseout='killMenu();' class=Moving-and-Storage>");
document.write(" <table border=0 cellspacing=0 cellpadding=0 class=bgMenu><tr><td>");
document.write(" <table border=0 cellspacing=1 cellpadding=0 class=bgMenu>");
document.write("  <tr><td class=bgMenuTD nowrap><a href='../MovingQuote/MovingQuote.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Residential Moving</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../MovingQuote/MovingQuoteExpat.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Expats</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../MovingQuote/MovingQuoteEmployee.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Employee Relocation</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../MovingQuote/MovingQuoteOffice.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Office</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../MovingQuote/MovingQuoteIndustrail.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Industrial</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../MovingQuote/MovingQuoteTrade.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Trade Shows</div></a></td></tr>"); 
document.write(" </table></td></tr></table>");
document.write("</div>");

document.write("<div id=menu2 onmouseover='activateMenu(2);' onmouseout='killMenu();' class=Moving-and-Storage>");
document.write("</div>");

document.write("<div id=menu3 onmouseover='activateMenu(3);' onmouseout='killMenu();' class=Moving-and-Storage>");
document.write(" <table border=0 cellspacing=0 cellpadding=0 class=bgMenu><tr><td>");
document.write(" <table border=0 cellspacing=1 cellpadding=0 class=bgMenu>");
document.write("  <tr><td class=bgMenuTD nowrap><a href='../Guide/InternationalMovingGuide.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>International Moving Guide</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../Guide/Remember.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Things To Remember</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../Guide/CheckList.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Moving Checklist</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../Guide/PackingTips.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Packing Tips</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../Guide/WithChildren.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Moving With Children</div></a></td></tr>"); 
document.write("  <tr><td class=bgMenuTD nowrap><a href='../Guide/Glossary.asp' class='menuLink'><div onmouseover='spanIn2(this)' onmouseout='spanOut2(this)' class=relocation><img src='../" + imgPath + "Moving-Company.gif' width=13 height=8 border=0>Glossary of Moving Terms</div></a></td></tr>"); 
document.write(" </table></td></tr></table>");
document.write("</div>");


document.write("<div id=menu4 onmouseover='activateMenu(4);' onmouseout='killMenu();' class=Moving-and-Storage>");
document.write("</div>");

document.write("<div id=menu5 onmouseover='activateMenu(5);' onmouseout='killMenu();' class=Moving-and-Storage>");
document.write("</div>");

document.write("<div id=menu6 onmouseover='activateMenu(6);' onmouseout='killMenu();' class=Moving-and-Storage>");
document.write("</div>");

document.write("<div id=menu7 onmouseover='activateMenu(7);' onmouseout='killMenu();' class=Moving-and-Storage>");
document.write("</div>");

function Opennew(str){
	  window.open(str)
}
function OpenPopup(strFile,strAtt){
	  newWinFormat = open(strFile, "newwin", strAtt)
}