function footErrors() {
return true;
}
window.onerror = footErrors;


function openWindow(url) {
  popupWin = window.open(url, 'remote', 'resizable,titlebars=yes,scrollbars=1,top=75,left=100,width=400,height=260')
}


function closeUpdate() {  
if (navigator.appName != "Microsoft Internet Explorer")
                        { navigator.plugins.refresh(true); }
self.close();
return true;
}
	

function go(url) {
opener.location.href = url;
}


function jump(pagename) {
        if ((-1 < pagename.selectedIndex) && (pagename.options[pagename.selectedIndex].value.lastIndexOf('armc-hr.com') != -1)) {
                document.forms[0].action = pagename.options[pagename.selectedIndex].value;
                document.forms[0].submit();
                return true;
        }
        if ((-1 < pagename.selectedIndex) && (pagename.options[pagename.selectedIndex].value != 'nil')) {
                val = pagename.options[pagename.selectedIndex].value;
                if(val!="NoValue") { 
                        parent.location.href=val;
                        return true;
                }
        }
}


function noEntry() {
mt=document.subform.keywords.value;
if ((mt.length<1)||(mt.substring(0,18)=="search team name")) {
alert("Please type in a team.");
document.subform.keywords.value="search team name";
document.subform.keywords.focus();
return false;
}
else { return true; }
}


//side navigation
if (document.images != null)
  
{
ontop = new Array (7); offtop = new Array (7);
for (i=1;i<7;i++) {ontop[i] = new Image; offtop[i] = new Image;}

ontop[1].src="/images/nav/approach.gif";
ontop[2].src="/images/nav/services.gif";
ontop[3].src="/images/nav/proposal.gif";
ontop[4].src="/images/nav/quality.gif";
ontop[5].src="/images/nav/technical.gif";
ontop[6].src="/images/nav/contact.gif";

offtop[1].src="/images/nav/approach.gif";
offtop[2].src="/images/nav/services.gif";
offtop[3].src="/images/nav/proposal.gif";
offtop[4].src="/images/nav/quality.gif";
offtop[5].src="/images/nav/technical.gif";
offtop[6].src="/images/nav/contact.gif";

}
function top_on(n) {if (document.images != null) {document.images["i"+(n+"")].src=ontop[n].src;}}
function top_off(n) {if (document.images != null) {document.images["i"+(n+"")].src=offtop[n].src;}}
