<!--  // Hide from Non-JavaScript Browsers

// Variables

var imgs 		= new Array();
var imgCount 	= 0;
var IMGNAME		= 0;
var IMGINACTIVE	= 1;
var IMGACTIVE	= 2;
var	currentPage = "none";

function preload( name ) {    // preload images and place them in an array 
	imgs[imgCount] 					= new Array(3);
	imgs[imgCount][IMGNAME] 		= name;
	imgs[imgCount][IMGINACTIVE] 	= new Image();
	imgs[imgCount][IMGINACTIVE].src = "images/" + name + ".jpg";
	imgs[imgCount][IMGACTIVE] 		= new Image();
	imgs[imgCount][IMGACTIVE].src 	= "images/" + name + "_over.jpg";
	imgCount++;
}


function activate( imgName ) {
    if( document.images ) {
		for( i = 0; i < imgCount; i++ ) {
			if( document.images[imgs[i][IMGNAME]] != null ) {
				if( imgs[i][IMGNAME] != currentPage ) {
					if( imgName != imgs[i][IMGNAME] ) {
						document.images[imgs[i][IMGNAME]].src = imgs[i][IMGINACTIVE].src;
					} else {
						document.images[imgs[i][IMGNAME]].src = imgs[i][IMGACTIVE].src;
					}
				}
			}
		}
    }
}


function deactivate() {
    if( document.images ) {
		for( i = 0; i < imgCount; i++ ) {
			if( document.images[imgs[i][IMGNAME]] != null ) {
				if( imgs[i][IMGNAME] != currentPage ) {
					document.images[imgs[i][IMGNAME]].src = imgs[i][IMGINACTIVE].src;
				} 
			}
		}
    }
}


function genMenuHTML( name, url, alt ) {
	if( name != currentPage ) {
		document.write( '<a href="' + url + '" onMouseOver="activate(' + "'" + name + "'" +
						')" onMouseOut="deactivate()">' );
		
		document.write( '<img name="' + name + 
						'" src="images/' + name + '.jpg" border="0" width="150" height="35" alt="' +
						alt + '">' );
		
		document.write( '</a>' );
	} else {	
			
		document.write( '<img name="' + name + 
						'" src="images/' + name + '_disabled.jpg" border="0" width="150" height="35" alt="' +
						alt + '">' );
	}
}


// Stop hiding from old browsers -->

