


// changes the bg color for links, used on TR's when called from a TD
function changeBG(what,color){
	what.parentNode.style.backgroundColor = color;
}
function unChangeBG(what,color){
	what.parentNode.style.backgroundColor = color;
}
function rollOver(obj,classname){
	obj.className = classname;
}



 site_mapon = new Image();
   site_mapon.src = "http://www.britishhorseracing.com/careersinracing/images/btn_sitemap_2.gif";
   site_mapoff = new Image();
   site_mapoff.src = "http://www.britishhorseracing.com/careersinracing/images/btn_sitemap_1.gif";

   general_linkson = new Image();
   general_linkson.src = "http://www.britishhorseracing.com/careersinracing/images/btn_general_2.gif";
   general_linksoff = new Image();
   general_linksoff.src = "http://www.britishhorseracing.com/careersinracing/images/btn_general_1.gif";


   termson = new Image();
   termson.src = "http://www.britishhorseracing.com/careersinracing/images/btn_terms_2.gif";
   termsoff = new Image();
   termsoff.src = "http://www.britishhorseracing.com/careersinracing/images/btn_terms_1.gif";
  
   privacyon = new Image();
   privacyon.src = "http://www.britishhorseracing.com/careersinracing/images/btn_privacy_2.gif";
   privacyoff = new Image();
   privacyoff.src = "http://www.britishhorseracing.com/careersinracing/images/btn_privacy_1.gif";

   registrationon = new Image();
   registrationon.src = "http://www.britishhorseracing.com/careersinracing/images/btn_registration_2.gif";
   registrationoff = new Image();
   registrationoff.src = "http://www.britishhorseracing.com/careersinracing/images/btn_registration_1.gif";

   contacton = new Image();
   contacton.src = "http://www.britishhorseracing.com/careersinracing/images/btn_contact_2.gif";
   contactoff = new Image();
   contactoff.src = "http://www.britishhorseracing.com/careersinracing/images/btn_contact_1.gif";

 function imgOn(imgName) {
   if (document.images) {
     document[imgName].src = eval(imgName + "on.src");
   }
 }
   
 function imgOff(imgName) {
   if (document.images) {
     document[imgName].src = eval(imgName + "off.src");
   }
 }

//alert('js file loaded');
