        if (document.images) {            // Active Images
            man_on = new Image();      
            man_on.src = "../images_graphic/testimonial_man_bub.gif"; 
            man_off = new Image();      
            man_off.src = "../images_graphic/testimonial_man_off.gif"; 
						woman_on = new Image(); 
            woman_on.src = "../images_graphic/testimonial_woman_bub.gif";  
            woman_off = new Image();      
            woman_off.src = "../images_graphic/testimonial_woman_off.gif"; 
						man_active = new Image();      
            man_active.src = "../images_graphic/testimonial_man_bub.gif"; 
            woman_active = new Image(); 
            woman_active.src = "../images_graphic/testimonial_woman_bub.gif"; 

			people = restorePeople();
        }
//function to restore people array
function restorePeople() {
	var people= new Array(11);
	people[0] = "man1";
	people[1] = "man2";
	people[2] = "man3";
	people[3] = "man4";
	people[4] = "man5";
	people[5] = "man6";
	people[6] = "man7";
	people[7] = "man8";
	people[8] = "woman1";
	people[9] = "woman2";
	people[10] = "man9";
	
	return people;
}
//function to get Element by ID
function returnObjById( id )
{
    if (document.getElementById)
        var returnVar = document.getElementById(id);
    else if (document.all)
        var returnVar = document.all[id];
    else if (document.layers)
        var returnVar = document.layers[id];
    return returnVar;
}
		
// Function to 'activate' images.
         
function manOn(imgName) {
			var myDiv = imgName + 'div';
            document.getElementById(imgName).src = eval("man_on.src");
			document.getElementById(myDiv).style.display = 'block';

}
         
// Function to 'deactivate' images.
         
function manOff(imgName) {
			var myDiv = imgName + 'div';
            document.getElementById(imgName).src = eval("man_off.src");
			document.getElementById(myDiv).style.display = 'none';

}
function personOff(imgName){
	if(imgName.match(/^woman/)){
		womanOff(imgName)
	}
	else {
		manOff(imgName)
	}
}    

function personOn(imgName){
	if(imgName.match(/^woman/)){
		womanOn(imgName)
	}
	else {
		manOn(imgName)
	}
}     
function manActivate(imgName) {
			
            personOn(imgName);
			for (x=0; x<11; x++)
			{
				if(people[x] == imgName){
					people.splice(x,1)
				}
			}
			for (x=0; x<10; x++)
			{
				personOff(people[x]);
			}
			people = restorePeople();

}

function womanOn(imgName) {
        if (document.images) {
			var myDiv = imgName + 'div';
            document.getElementById(imgName).src = eval("woman_on.src");
			document.getElementById(myDiv).style.display = 'block';
        }
}
         
// Function to 'deactivate' images.
         
function womanOff(imgName) {
        if (document.images) {
			var myDiv = imgName + 'div';
            document.getElementById(imgName).src = eval("woman_off.src");
			document.getElementById(myDiv).style.display = 'none';
        }
}
         
function womanActive(imgName) {
        if (document.images) {
            document[imgName].src = eval("woman_active.src");
        }
}