/**
 * File to implement the Google Custom Search Engine interface.
 * To make this facility compatible, the genric form points to the 
 * google server, and this changes it to our if the user has javascript enabled.
 *
 * Written by Simon Yeldon 14/03/2007
 */
 
changeGoogleCseAction = function() {
  var GoogleCseForms = getElementsByClass("googlecse",document,"form");
	for(i=0; i<GoogleCseForms.length; i++) {
    GoogleCseForms[i].action="/sitesearch/";
    GoogleCseForms[i].cof.value="FORID:11";
  }
}

addLoadEvent(changeGoogleCseAction);

