function DomRollover() {
  if (!document.getElementById) return
  var imgOriginSrc;
  var imgTemp = new Array();
  var imgarr = document.getElementsByTagName('img');
  for (var i = 0; i < imgarr.length; i++) {
    if (imgarr[i].getAttribute('hsrc')) {
        imgTemp[i] = new Image();
        imgTemp[i].src = imgarr[i].getAttribute('hsrc');
        imgarr[i].onmouseover = function() {
            imgOriginSrc = this.getAttribute('src');
						var imagetest=new Image()
						imagetest.src=this.getAttribute('hsrc')
						if (imagetest.complete)
            this.setAttribute('src',this.getAttribute('hsrc'))
        }
        imgarr[i].onmouseout = function() {
						var imagetest=new Image()
						imagetest.src=imgOriginSrc
						if (imagetest.complete)
            this.setAttribute('src',imgOriginSrc)
        }
    }
  }
}

function change(id, newClass) {
		identity=document.getElementById(id);
		identity.className=newClass;
		}

function openWin(filename) {
	popup = window.open(filename,'popupwin','width=265,height=160,scrollbars=auto');
	popup.focus();
}

var currentDate = new Date();
var currentYear = currentDate.getFullYear();