

function doShowHide(theDiv, showHide) {
    if(document.layers) {
       document.layers[theDiv].visibility = showHide ? "show" : "hide";
    }
    else if(document.getElementById) {
        var obj = document.getElementById(theDiv);
		if (obj != null) {
	        obj.style.visibility = showHide ? "visible" : "hidden";
		}
    }
    else if(document.all) {
        document.all[theDiv].style.visibility = showHide ? "visible" : "hidden";
    }
}

function putContent(srcDiv, destDiv, showHide) {
	if (document.getElementById(srcDiv) != null && document.getElementById(srcDiv).innerHTML.length > 0) {
		document.getElementById(destDiv).innerHTML = '<strong>You asked:</strong> <em>' + document.getElementById(srcDiv).innerHTML + '</em>';
		doShowHide(destDiv, showHide);
	}
}

document.write('<style>');
document.write('body { font-family:Arial; color:black; font-size:12px; margin-left:0px; margin-top:0px; margin-right:0px; margin-bottom:0px; }');
document.write('a { color:#000099; }');
document.write('a:hover { color:#FF9D00; }');
document.write('b { font-weight:bold; font-size:12px }');
document.write('.responseCaption { font-weight:bold; color:#90592e; font-size:14px; }');
document.write('.intelliSuggestTitle {  font-weight:bold; color:#90592e; font-size:14px }');
document.write('.relatedTitle { font-weight:bold; color:black; font-size:12px }');
document.write('.escalationTitle { color:#94633e; font-weight:bold; font-size:12px; margin:1px; }');
document.write('.topQuestionsTitle { color:#94633E; font-weight:bold; font-size:12px; }');
document.write('.escalationLink { color:#000055;font-weight:bold; font-size:12px }');
document.write('.footer { font-size:10px }');
document.write('td { color:black; font-size:12px; }');
document.write('.rightcol { height:100%; background-image: url(\'http://www.hofstra.edu/images/ask_topbar_1pixel.gif\'); background-repeat: repeat-x; }');
document.write('.didyouknow { background-color:#FFFFFF; border: solid #d8dcde 1px; padding: 6px; } ');
document.write('.topbg { background-color:#FFFFFF; background-image: url(\'http://www.hofstra.edu/images/ask_topbar_1pixel.gif\'); background-repeat: repeat-x; }');
document.write('</style>');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" class="rightcol">');
document.write('<tr>');
document.write('	<td colspan="2" height="44" valign="top" class="topbg"><a href="http://www.hofstra.edu"><img src="http://www.hofstra.edu/images/ask_header.jpg" alt="Hofstra University Ask Kate &amp; Willie" width="497" height="65" border="0"></a></td>');
document.write('    <td rowspan="4" width="190" class="rightcol" bgcolor="#f6dc7f" valign="top" align="center"><img src="http://www.hofstra.edu/images/spacer.gif" width="1" height="44" alt="spacer" /><br />');
document.write('		<img src="http://www.hofstra.edu/images/ask_mascot_photo.jpg" alt="Kate &amp; Willie Mascot Photo" width="190" height="251"><br /><img src="http://www.hofstra.edu/images/spacer.gif" height="16" width="1" alt="spacer" /><br />');

document.write('		<table width="160" border="0" cellpadding="0" cellspacing="0">');
document.write('		<tr>');
document.write('			<td><img src="http://www.hofstra.edu/images/ask_did_you_know.gif" width="160" height="22" alt="Did you know..."><br />');
document.write('			<div class="didyouknow"><font color="#333333" size="1" face="Arial, Helvetica, sans-serif">');
var r_text = new Array ();
r_text[0] = "Hofstra is 100 percent program accessible to persons with disabilities.";
r_text[1] = "Hofstra is an accredited member of the American Association of Botanical Gardens and Arboreta, with 113 buildings and 240 acres.";
r_text[2] = "There are 1,256 faculty members of whom 518 are full-time. Ninety percent of full-time faculty holds the highest degree in their fields.";
r_text[3] = "Hofstra students (including undergraduate, graduate and law) come from 49 states and territories and 66 countries.";
r_text[4] = "The Hofstra Libraries are fully computerized and contain 1.2 million volumes (1.6 million with volume equivalents) available for student use.";
r_text[5] = "Hofstra has more than 120 student clubs and organizations of which there are about 30 local and national fraternities and sororities.";
r_text[6] = "Hofstra sponsors teams in 18 varsity sports, nine for men and nine for women.";
var i = Math.round(6*Math.random());

document.write(r_text[i]);
document.write('			</font></div></td>');
document.write('		</tr>');
document.write('		</table>');
document.write('	</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td valign="top" nowrap>');
document.write('    	<form name="questionForm" method="post" action="results.jsp" onSubmit="return isValidForm()">');
document.write('        <input type="hidden" name="interfaceID" value="7">');
document.write('        <input type="hidden" name="id" value="-1">');
document.write('        <input type="hidden" name="requestType">');
document.write('        <input type="hidden" name="source" value="1">');
document.write('        <div style="margin-left:12px;"><br /><input type="text" name="question" value="Type your question here" size="55" maxlength="250" onFocus="this.value=\'\';" onBlur="if(this.value==\'\')this.value=defaultStr;">');
document.write('        <input type="button" value="Submit" onClick="javascript:submitForm();">');
document.write('        <input type="button" value="Top10" onClick="javascript:topTen();"><br /><br /><div id="destination" name="destination"></div></div>');
document.write('    	</form>');
document.write('	</td>');
document.write('	<td rowspan="3"><img src="http://www.hofstra.edu/images/spacer.gif" width="10" height="1" alt="spacer" /></td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td valign="top">');
