function Left(str, n)  { 
if (n <= 0) return ""; 
else if (n > String(str).length)  return str; 
else return String(str).substring(0,n); 
} 
var site;
if (Left(document.location,32) == "http://www.milbergconsulting.com" || Left(document.location,33) == "https://www.milbergconsulting.com" || Left(document.location,28) == "http://milbergconsulting.com" || Left(document.location,29) == "https://milbergconsulting.com") { site=1; }
else {
 if (Left(document.location,29) == "http://www.erisaexpertise.com" || Left(document.location,30) == "https://www.erisaexpertise.com" || Left(document.location,25) == "http://erisaexpertise.com" || Left(document.location,26) == "https://erisaexpertise.com") { site=2; }
 else { site=3; }
}
var HTMLstr;
HTMLstr = ""
//HTMLstr = HTMLstr+"<a style='text-decoration:none' target=_parent href=/login>Login</a> &nbsp";
if(site!=1) HTMLstr = HTMLstr+"<font color=white>|</font>";
else HTMLstr = HTMLstr+"|";
HTMLstr = HTMLstr+"<a style='text-decoration:none' target=_parent href=/search> &nbsp;Search</a> &nbsp";
if(site!=1) { HTMLstr = HTMLstr+"<font color=white>|</font>"; }
else { HTMLstr = HTMLstr+"|"; }
HTMLstr = HTMLstr+"<a onmouseover=showobj('cont') onmouseout=hideobj('cont') style='text-decoration:none' target=_parent href=/contact> &nbsp;Contact Us</a>";
HTMLstr = HTMLstr+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>";
document.write(HTMLstr);
