// Google Internal Site Search script- By JavaScriptKit.com (http://www.javascriptkit.com) // For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/ // This notice must stay intact for use //Enter domain of site to search. var domainroot="www.ccpsolutions.net" function Gsitesearch(curobj){ if (domainroot == "www.yourweb.com") { if (window.location.href.indexOf("http")) { alert("This search box is not yet set up -- to edit, go to the 'Library/search.htm' file and configure the domain root"); return false; } else { domainroot = location.hostname; } } else { curobj.q.value="site:"+domainroot+" "+curobj.qfront.value } } function submitSearchForm() { var myForm = document.getElementById("searchForm"); if (Gsitesearch(myForm)) { myForm.submit(); } }