// JavaScript Document
				
				// Set up the image files to be used.
				var theImages = new Array() // do not change this // To add more image files, continue with the // pattern below, adding to the array.
				
				theImages[0] = 'graphics/login/login-education.jpg'
				theImages[1] = 'graphics/login/login-family.jpg'
				theImages[2] = 'graphics/login/login-finances.jpg'
				theImages[3] = 'graphics/login/login-health.jpg'
				theImages[4] = 'graphics/login/login-home.jpg'
				theImages[5] = 'graphics/login/login-main.jpg'
				theImages[6] = 'graphics/login/login-retirement.jpg'
				theImages[7] = 'graphics/login/login-work.jpg'
				
				// do not edit anything below this line
				
				var j = 0
				var p = theImages.length;
				var preBuffer = new Array()
				for (i = 0; i < p; i++){
				   preBuffer[i] = new Image()
				   preBuffer[i].src = theImages[i]
				}
				var whichImage = Math.round(Math.random()*(p-1)); 
				
function getLoginImage(strObjectName){
    //figure out what browser we are dealing with
    isNS4 = (document.layers) ? true : false;
    isIE4 = (document.all && !document.getElementById) ? true : false;
    isIE5 = (document.all && document.getElementById) ? true : false;
    isNS6 = (!document.all && document.getElementById) ? true : false;
    
    //identify the element based on browser type
    if (isNS4){
       objElement = document.layers[strObjectName];
    }
    else if (isIE4) {
       objElement = document.all[strObjectName];
    }
    else if (isIE5 || isNS6) {
       objElement = document.getElementById(strObjectName);
    }

    return objElement;
}
				function showImage(){ 
				var mylogo=getLoginImage('loginimage');
				if(mylogo){
				mylogo.src=theImages[whichImage];
				}
				}
				showImage();