<!-- 360Logic.com -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=300');");
}
// End -->

<!-- WGC Pagination Routine -->


function Pager(id, PageSize) {
	this._o = document.getElementById(id);
	if (this._o) this._displayElement(this._o, false);
	this.RecordCount = 0;
	this.PageCount = 0;
	this.PageSize = parseInt(PageSize);
	this._setRecordCount();
	this._setPageCount();
	this.AbsolutePage = (this.RecordCount > 0 ? 1: 0);
	this._currentPage = 0;
}

Pager.prototype.reload = function() {
	this._setRecordCount();
	this.display();
};

Pager.prototype._setRecordCount = function() {
	this.RecordCount = (this._o && this._o.rows ? this._o.rows.length - 1: 0);
};

Pager.prototype._setPageCount = function() {
	if (this.RecordCount <= 0) {
		this.PageCount = 0;
	} else {
		this.PageSize = parseInt(this.PageSize);
		if (isNaN(this.PageSize) || this.PageSize < 1) this.PageSize = 10;
		this.PageCount = Math.ceil(this.RecordCount / this.PageSize);
	}
};

Pager.prototype.toString = function() {
//	return '<p>Pager:' + '<br />' +
//		'RecordCount = ' + this.RecordCount + '<br />' +
//		'PageSize = ' + this.PageSize + '<br />' +
//		'PageCount = ' + this.PageCount + '<br />' +
//		'AbsolutePage = ' + this.AbsolutePage + '</p>';
return '';
};

Pager.prototype._displayElement = function(e, bool) {
	if (!e || !e.style) return;
	e.style.display = (bool? '': 'none');
};

Pager.prototype.display = function() {
	this._setPageCount();
	if (this.RecordCount <= 0 || this.PageCount <= 0) return;
	this.AbsolutePage = parseInt(this.AbsolutePage);
	if (isNaN(this.AbsolutePage) || this.AbsolutePage < 1 || this.AbsolutePage > this.PageCount) this.AbsolutePage = 1;
	/* remain unchanged */
	if (this._currentPage == this.AbsolutePage) return;
	this._displayElement(this._o, false);
	this._displayElement(this._o.rows[0], true);
	if (this._currentPage > 0) {
		for (var i = (this._currentPage - 1) * this.PageSize + 1; i <= this._currentPage * this.PageSize; i++) this._displayElement(this._o.rows[i], false);
	} else {
		for (var i = 1; i <= this.RecordCount; i++) this._displayElement(this._o.rows[i], false);
	}
	if (this.AbsolutePage > 0) for (var i = (this.AbsolutePage - 1) * this.PageSize + 1; i <= this.AbsolutePage * this.PageSize; i++) this._displayElement(this._o.rows[i], true);
	this._currentPage = this.AbsolutePage;
	this._displayElement(this._o, true);
};

Pager.prototype.prevPage = function() {
	if (this.AbsolutePage - 1 >= 1) {
		this.AbsolutePage--;
		this.display();
	}
};

Pager.prototype.nextPage = function() {
	if (this.AbsolutePage + 1 <= this.PageCount) {
		this.AbsolutePage++;
		this.display();
	}
};

Pager.prototype.navBar = function(varName, eName) {
	var e = document.getElementById(eName);
	if (!e) return;
	this._setPageCount();
	if (this.PageCount <= 1) return;
	var s = '';
	s += '<a href="javascript:' + varName + '.prevPage()">' + '&laquo;' + '</a> ';
	for (var i = 1; i <= this.PageCount; i++) s += '<a href="javascript:' + varName + '.display()" onclick="' + varName + '.AbsolutePage=' + i + ';">' + i + '</a> ';
	s += '<a href="javascript:' + varName + '.nextPage()">' + '&raquo;' + '</a> ';
	e.innerHTML = s;
};

<!-- WGC Server Clock Code -->

speed=1000;
//len=28;
len=25;
tid = 0;
num=0;
clockA = new Array();
offsetA = new Array();
dd = new Date();

function doDate(x)
{
  for (i=0;i<num;i++) {
    dt = new Date();

    if (offsetA[i] != 0) {
      gt = dt.getTime();
      gt = gt + offsetA[i];
      dt.setTime(gt);
      }

    clockA[i].date.value = dt.toGMTString();
    }

  tid=window.setTimeout("doDate()",speed);
}

function start() {
  clockA[num] = document.forms["form"+num];
  //offsetA[num] = 0;
//window.alert( (new Date()).getTimezoneOffset());
d = new Date();
  if (navigator.appVersion.substring(0,3) == "2.0")
    offsetA[num] = (d.getTimezoneOffset()*60*1000);
  else
    offsetA[num] = -(d.getTimezoneOffset()*60*1000);
  if (num == 0)
    tid=window.setTimeout("doDate()",speed);
  num++;
}

function startLong(diff) {
//window.alert("hay" + (new Date()).toGMTString());
  clockA[num] = document.forms["form"+num];
  //offsetA[num] = (diff - dd.getTimezoneOffset())*60*1000;
  offsetA[num] = (diff)*60*1000;
  //offsetA[num] = (-diff)* 60*1000;
  if (num == 0)
    tid=window.setTimeout("doDate()",speed);
  num++;
}

function cleartid() {
  window.clearTimeout(tid);
}

// for some reason on some pages this crashes netscape
function Clock()
{
  document.write('<FORM name=form'+num+'><input readonly name=date size=')
  document.write((len+2))
  document.write(' value="Clock: Requires Javascript"></FORM>')
  start();
}

// for some reason on some pages this crashes netscape
function ServerClock(diff)
{
  document.write('<FORM name=form'+num+'><input readonly name=date size=')
  // we chop the end, because it would be the wrong timezone
  document.write((len+2));
  //document.write(19)
  document.write(' value="Clock: Javascript"></FORM>')
  startLong(diff);
}
// end-->

var min=8;
var max=18;
function fontPlus() {
   var p = document.getElementsByTagName('div');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function fontMinus() {
   var p = document.getElementsByTagName('div');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}