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=600,height=400')
}

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('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 (4); offtop = new Array (4);
for (i=1;i<4;i++) {ontop[i] = new Image; offtop[i] = new Image;}

//----- mouseover
ontop[1].src="about_.gif";
ontop[2].src="products_.gif";
ontop[3].src="contact_.gif";

//----- mouseout
offtop[1].src="about.gif";
offtop[2].src="products.gif";
offtop[3].src="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;}}

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");
    }
  }
}


function abp_navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#4181C2';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000066';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#036';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#fff';
				}
		}
	}
}

function abp_navBarClick( tableCellRef, navStyle, url ) {
	abp_navBar( tableCellRef, 0, navStyle );
	abp_goTo( url );
}
