<!-- Horizon search functionality -->	
function doSearch(theForm) {
text = theForm.q.value;
text = text.replace(/%/g,"%25");
text = text.replace(/\\+/g,"%2B");
text = text.replace(/\\&amp;/g,"%26;");
text = text.replace(/=/g,"%3D");
text = text.replace(/#/g,"%23");
text = text.replace(/ /g,"%20");
text.replace(/ /g,"%20");
 
 window.location='http://bronte.egvpl.org/ipac20/ipac.jsp?session=12C627859L78K.4950&menu=search&aspect=subtab15&npp=10&ipp=20&spp=20&profile=elk--2&ri=&index=.GW&term='+ text;
 return false;
}