function doFocus(){
self.focus();document.mysearch.search.focus(); 
}
window.onload = function(){
doFocus();
}

function dosearch (form) {
var searchstring=document.mysearch.search.value;
var newsearch=encodeURI(searchstring.replace(' ','+'));
window.location.href = 'http://clinicaltrialsfeeds.org/clinical-trials/results/term=' + newsearch;
return false;
}

function HideContent(d) {
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
document.getElementById(d).style.display = "block";
}
function ReverseDisplay(d) {
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}
