
<!--
//Hide status bar msg 

function hidestatus(){
window.status='  T A B A R D   R u g b y   F o o t b a l l   C l u b'
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
//-->

<!-- ### displays date in form Wednesday, December 12th ### -->


<!-- Begin

function displaydate() {

d = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
);
m = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
);

today = new Date();
day = today.getDate();
year = today.getYear();

if (year < 2000)
year = year + 1900;

end = "th";
if (day==1 || day==21 || day==31) end="st";
if (day==2 || day==22) end="nd";
if (day==3 || day==23) end="rd";
day+=end;

document.write(d[today.getDay()]+" "+day+" ");
document.write(m[today.getMonth()]);
document.write("</center>");

}

// End -->


<!--

//Disable right mouse click Script

var message="Function Disabled";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->




<!-- ### Opens new window of input size in centre of screen ### -->

<!-- Begin
function Open(page, name, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(page, name, winprops)
if (parseInt(navigator.appVersion) >= 4) {win.window.focus();}
}
// End -->


<!-- ### Opens new window WITH TOOLBARS of input size in centre of screen ### -->

<!-- Begin
function OpenT(page, name, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable,toolbar=1'
win = window.open(page, name, winprops)
if (parseInt(navigator.appVersion) >= 4) {win.window.focus();}
}
// End -->


<!-- ### Opens new window of input size in centre of screen ### -->

<!-- Begin
function privWin(page, name, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(page, name, winprops)
if (parseInt(navigator.appVersion) >= 4) {win.window.focus();}
}
// End -->


<!-- ### highlight all text in field fn ### -->

<!-- Begin
function highlight(field){
  field.focus();
  field.select();
}
// End -->


