<!--//
var thisUrl = location.href;
thisUrl = thisUrl.toLowerCase();
servername = thisUrl.substr(thisUrl.indexOf('//')+2,thisUrl.indexOf('/',thisUrl.indexOf('//')+2)-(thisUrl.indexOf('//')+2));
if (servername == '') servername = "localhost";
var App_IE4 = document.all ? 1:0;
var App_NS4 = document.layers ? 1:0;
var App_NS6 = document.getElementById&&!document.all ? 1:0;
var App_BrowserOK = (App_IE4||App_NS6) ? 1:0;

function init() {
	initRollover();
}
function initRollover() {
	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');
				this.setAttribute('src',this.getAttribute('hsrc'))
			}
			imgarr[i].onmouseout = function() {
				this.setAttribute('src',imgOriginSrc)
			}
		}
		if (imgarr[i].getAttribute('asrc')&&imgarr[i].getAttribute('asrc')) {
			imgTemp[i] = new Image();
			imgTemp[i].src = imgarr[i].getAttribute('asrc');		
			imgarr[i].onmouseover = function() {
				imgOriginSrc = this.getAttribute('src');
				imgControl = document.getElementById(this.getAttribute('img'));				
				imgCurrent = document.getElementById(imgControl.getAttribute('img'));				
				imgCurrent.setAttribute('src',imgCurrent.getAttribute('isrc'));
				this.setAttribute('src',this.getAttribute('asrc'));
				imgControl.setAttribute('src',this.getAttribute('imgsrc'));
				imgControl.setAttribute('img',this.id);
			}
		}		
	}
}
function fcsPopup(pUrl,pName,w,h,scroll) {
	var settings = 'height='+h+',width='+w+',top='+(screen.height-h)/2+',left='+(screen.width-w)/2+',scrollbars='+scroll+',resizable=yes';
	var win=window.open(pUrl,pName,settings);
	if(parseInt(navigator.appVersion)>=4) win.window.focus();
}
onload=init;
//-->

