if(String(top.location).indexOf('indianaorthopedichospital.com') >= 0) {
	window.location = "http://www.orthoindy.com/ioh/"
}
else if(String(top.location).indexOf('indianaorthopaedichospital.com') >= 0) {
	window.location = "http://www.orthoindy.com/ioh/"
}
function hasCharacter(inputVal) {
	var hasChar = 0
	oneDecimal = false
	inputStr = inputVal.toString()
	if(inputStr.length == 0) { // return false if null string
		return false
	}
	for (var i = 0; i < inputStr.length; i++) {
		var oneChar = inputStr.charAt(i)
		if(oneChar == String.fromCharCode(39) || (oneChar >= String.fromCharCode(97) && oneChar <= String.fromCharCode(122)) || (oneChar >= String.fromCharCode(65) && oneChar <= String.fromCharCode(90)) || (oneChar >=String.fromCharCode(48) && oneChar <= String.fromCharCode(57))) {
			hasChar = 1	
		}
	}
	if(hasChar == 0) return false;
	return true // yes, it is has a char.
} // END function hasCharacter(inputVal)
function chk_sb() {
	if(!hasCharacter(sb.searchterm.value)) {
		alert("You must enter something for the search term.")
		sb.searchterm.focus()
		sb.searchterm.select()
		return false;
	}
} // end function chk_sb()
document.write('\
		<tr>\
			<td>\
				<table id="Table_01" width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="000000">\
				<tr>\
					<td align="left" valign="top"><a href="/"><img src="/images/link/oi_logo.gif" alt="" width="215" height="68" border="0"></a></td>\
					<td align="left" valign="top"><a href="http://www.indianaorthopedichospital.com/"><img src="/images/link/oih_logo.gif" alt="" width="110" height="68" border="0"></a></td>\
					<td align="left" valign="top"><img src="/images/link/top_spacer.gif" width="132" height="68" alt=""></td>\
					<td width="303" align="left" valign="top" bgcolor="#ECE7D0"><br>\
						<span class="searchlinks"><a href="/">Home</a> | <a href="/careers/">Careers</a> | <a href="/locations/">Locations</a> | <a href="/findadoc/">Physicians</a> | <a href="/ioh/health/">Health Info</a></span><br>\
						<table width="303" border="0" cellspacing="0" cellpadding="0">\
						<form action="/searchresults.asp" method="post" name="sb" onsubmit="return chk_sb()">\
						<tr>\
							<td width="225" align="left" valign="middle"><input name="searchterm" type="text" size="33"></td>\
							<td width="78" align="left" valign="middle"><input type="Image" src="/images/hp/search_button.gif" width="63" height="18"></td>\
						</tr>\
						</form>\
						</table>\
					</td>\
				</tr>\
				</table>\
			</td>\
		</tr>\
');