

function initRollovers() {
	if (!document.getElementById) return
	
	var aPreLoad = new Array();
	var sTempSrc;
	var aImages = document.getElementsByTagName('img');

	for (var i = 0; i < aImages.length; i++) {		
		if (aImages[i].className == 'imgover') {
			var src = aImages[i].getAttribute('src');
			var ftype = src.substring(src.lastIndexOf('.'), src.length);
			var hsrc = src.replace(ftype, '-over'+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('-over'+ftype, ftype);
				this.setAttribute('src', sTempSrc);
			}
		}
	}
}

window.onload = initRollovers;

function openWindow (earl,name,widgets) {
        host = location.hostname;     
                {
                        var url = earl;
                        }
        popupWin = window.open (url,name,widgets);
        popupWin.opener.top.name="opener";
        popupWin.focus();
        }
function closeWindow () {
        parent.close ();
        }
function goTW(){
    var URL = document.pathfinder.site.options[document.pathfinder.site.selectedIndex].value;
    window.location.href = URL;
}

function openpopup(popurl){
var winpops=window.open(popurl,"","width=600,height=425")
}
function openpopup1(popurl){
var winpops=window.open(popurl,"","width=313,height=537")
}
function openpopup2(popurl){
var winpops=window.open(popurl,"","width=400,height=400")
}
function openpopup3(popurl){
var winpops=window.open(popurl,"","width=270,height=445")
}
function openpopup4(popurl){
var winpops=window.open(popurl,"","width=500,height=500")
}
function openpopup5(popurl){
var winpops=window.open(popurl,"","width=290,height=445")
}
function openpopup6(popurl){
var winpops=window.open(popurl,"","width=270,height=445")
}
function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=400,left = 0,top = 0');");
}	