		
		
		function validateform(form)
{
              if (form.mQuery.value == "Search the Web")
                         {
                           alert("Please enter a Enter Search Term.");
                           form.mQuery.focus();
                           return false;
                         }
            return true;                                
}
 
function clearSearchPrompt() {    
            var username = document.getElementById("mQuery");    
            if (username.value == "Search the Web") {      
                        username.value = ""; 
                        $("#mQuery").removeClass('tbo_navbar_srchbx_txt');   
            }  
}  

// Set the prompt for the username field, if required.  

function setSearchPrompt() {    
            var username = document.getElementById("mQuery");    
            if (username.value == "") {
                        username.value = "Search the Web";
                        $("#mQuery").addClass('tbo_navbar_srchbx_txt'); 
            }  
} 


document.write('<form action="http://search.tbo.com/Search.jsp" name="searchform" method="post" onSubmit="return validateform(this);" style="float: right;">');
document.write('<input type="hidden" name="mMethod" value="submitquery" id="mMethod"/>');
document.write('<input type="hidden" name="mStart" value="1" id="mStart" />');
document.write('<input type="hidden" name="mInfoSourceFlag" value="Web"  id="mInfoSourceFlag" />');
document.write('<input type="text" onblur="setSearchPrompt();" onfocus="clearSearchPrompt();" name="mQuery" id="mQuery" class="tbo_navbar_srchbx_txt" value="Search the Web" size="14"/>');
document.write('<input type="image" value="Go!" src="http://media.tbo.com/assets/_shared/gobuttonred.gif" width="31" height="22" border="0" align="absmiddle" style="position:relative; top:-2px;* top:4px">');
document.write('<img src="http://media.tbo.com/assets/_shared/yahoo_pwrlogo_red.gif" width="124" height="25" alt="" style="float: none; position:relative; top:10px;* top:8px; right:0px">');
document.write('</form>');