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=700,height=500')
}

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


function HideDIV(d) { document.getElementById(d).style.display = "none"; }
function DisplayDIV(d) { document.getElementById(d).style.display = "block"; }


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


function jump(pagename) {
        if ((-1 < pagename.selectedIndex) && (pagename.options[pagename.selectedIndex].value.lastIndexOf('ohiotile.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;
                }
        }
}


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

//----- mouseover
ontop[1].src="/images/nav/home_.gif";
ontop[2].src="/images/nav/products_.gif";
ontop[3].src="/images/nav/services_.gif";
ontop[4].src="/images/nav/about_.gif";
ontop[5].src="/images/nav/contact_.gif";
ontop[6].src="/images/nav/partners_.gif";
ontop[7].src="/images/nav/contactus_.gif";
ontop[8].src="/images/nav/maps_.gif";

//----- mouseout
offtop[1].src="/images/nav/home.gif";
offtop[2].src="/images/nav/products.gif";
offtop[3].src="/images/nav/services.gif";
offtop[4].src="/images/nav/about.gif";
offtop[5].src="/images/nav/contact.gif";
offtop[6].src="/images/nav/partners.gif";
offtop[7].src="/images/nav/contactus.gif";
offtop[8].src="/images/nav/maps.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;}}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}
