
<!-- Lymm Script: 28th March 2003 - Edited by James Fox
<!-- New Popup windows added, see nav.js for info on new mouseovers

<!--
self.name = "main"; // names current window as "main"
<!--
// Thingy to get date.
function showdate() {
  var now = new Date();
  var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
  var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
  var string = days[now.getDay()] + ', ' + thingy(now.getDate()) + ' ' + months[now.getMonth()] + ' ' + now.getFullYear() + '&nbsp;&nbsp;';
  return string;
}
// Thingy to get ordinal.
function thingy(number) {
  var thingy = '';
  if (number < '0') return false;
  var numberStr = '' + number;
  var numberLen = numberStr.length - 1;
  thingy = ((numberStr.charAt(numberLen) == '1') && (number != 11)) ? 'st' : thingy;
  thingy = ((numberStr.charAt(numberLen) == '2') && (number != 12)) ? 'nd' : thingy;
  thingy = ((numberStr.charAt(numberLen) == '3') && (number != 13)) ? 'rd' : thingy;
  thingy = (thingy == '') ? 'th' : thingy;
  return (number.toString() + thingy);
}
//-->

function MyOpenWindow(URL){
   sURL = URL;
   sName = 'MyWindow';
   sFeatures = 'width=760,height=425,toolbar=no,menubar=no,status=yes,scrollbars=yes,resizable=yes';
   window.open(sURL , sName, sFeatures);
}
//-->
function winopen(targ) {
    eval('window.open("http://www.lymm.net/' + targ + '", "SUBWIN", "width=600,height=425,scrollbars=yes,status=yes,resizable=yes")');
}
//-->
function winopen2(targ2) {
    eval('window.open("http://www.bbc.co.uk/weather/' + targ2 + '", "SUBWIN2", "width=700,height=425,scrollbars=yes,status=yes,resizable=yes")');
}
//-->
function winopen3(targ3) {
    eval('window.open("http://cp.lymmnet.co.uk/' + targ3 + '", "SUBWIN3", "width=760,height=660,scrollbars=yes,status=yes,resizable=no")');
}
//-->
function winopen4(targ4) {
    eval('window.open("http://cp.lymmnet.co.uk/' + targ4 + '", "SUBWIN4", "width=760,height=680,scrollbars=yes,status=yes,resizable=no")');
}
//-->
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//-->
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
