﻿// rolloverfunction over() {	if (!document.getElementById) return	var aPreLoad = new Array();	var aPreLoad2 = new Array();	var sTempSrc;	var aImages = document.getElementsByTagName('img');		var aImages2 = document.getElementsByTagName('input');		for (var i = 0; i < aImages.length; i++) {				if (aImages[i].className == 'over') {			var src = aImages[i].getAttribute('src');			var ftype = src.substring(src.lastIndexOf('.'), src.length);			var hsrc = src.replace(ftype, '_on'+ftype);			aImages[i].setAttribute('hsrc', hsrc);			aPreLoad[i] = new Image();			aPreLoad[i].src = hsrc;			aImages[i].onmouseover = function() {				sTempSrc = this.getAttribute('src');				this.setAttribute('src', this.getAttribute('hsrc'));			}			aImages[i].onmouseout = function() {				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_on'+ftype, ftype);				this.setAttribute('src', sTempSrc);			}		}	}	for (var i = 0; i < aImages2.length; i++) {				if (aImages2[i].className == 'over') {			var src = aImages2[i].getAttribute('src');			var ftype = src.substring(src.lastIndexOf('.'), src.length);			var hsrc = src.replace(ftype, '_on'+ftype);			aImages2[i].setAttribute('hsrc', hsrc);			aPreLoad2[i] = new Image();			aPreLoad2[i].src = hsrc;			aImages2[i].onmouseover = function() {				sTempSrc = this.getAttribute('src');				this.setAttribute('src', this.getAttribute('hsrc'));			}			aImages2[i].onmouseout = function() {				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_on'+ftype, ftype);				this.setAttribute('src', sTempSrc);			}		}	}}window.onload = over;// WinOpen function winNews(x){	ext_win1 = window.open(x,"winNews","width=660,Height=540,toolbar=no,location=no,directories=no,scrollbars=yes,resizable=yes,status=yes")}function winEx(x){	ext_win1 = window.open(x,"winEx","width=620,Height=540,toolbar=no,location=no,directories=no,scrollbars=yes,resizable=yes,status=yes")}
