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 splitlist(splitlist) {

 if ( document.getElementById ) {
    if ( document.getElementById(splitlist).style.display == "none" )
        document.getElementById(splitlist).style.display = "block";
          else document.getElementById(splitlist).style.display = "none";
  }

 if ( document.layers ) {
   if ( document.layers[splitlist].display == "none" )
    document.layers[splitlist].display = "block";
       else document.layers[splitlist].display= "none";
  }
}

function splitbtn(splitbtn) {

 if ( document.getElementById ) {
    if ( document.getElementById(splitbtn).style.visibility == "hidden" )
        document.getElementById(splitbtn).style.visibility = "visible";
          else document.getElementById(splitbtn).style.visibility = "hidden";
  }

 if ( document.layers ) {
   if ( document.layers[splitbtn].visibility == "hidden" )
    document.layers[splitbtn].visibility = "visible";
       else document.layers[splitbtn].visibility= "hidden";
  }
}