// Change Background Colour
function pviiW3Cbg(obj, pviiColor) { //v1.1 by Project VII
	obj.style.backgroundColor=pviiColor
}
// code events like this: onMouseOver="pviiW3Cbg(this, '#BF8134')" onMouseOut="pviiW3Cbg(this, '#D7B073')"

function colorChanger(obj, cellColor, linkColor) {
	obj.style.backgroundColor=cellColor
	obj.style.color=linkColor
}

function openWindow(myLink,windowName)
{ 
if(! window.focus)return;
  var myWin=window.open(myLink,windowName,"height=280,width=350,dependent=yes,scrollbars=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,left=15,top=15,resizable=yes,status=yes");
myWin.focus();
myLink.target=windowName;

  }
  
function gotoRiding(showform) {

 var listnum=showform.riding.selectedIndex;

 var htmlURL=showform.riding.options[listnum].value;

 if(htmlURL!="dead")

     this.parent.location.href=htmlURL;

 }

