if (document.images) {
//Preload house image
		var r1off = new Image();
		r1off.src = "/images/about/list/united_states_off.gif";
        var r1on = new Image();
        r1on.src = "/images/about/list/united_states_on.gif";
		
		var r2off = new Image();
		r2off.src = "/images/about/list/canada_off.gif";
        var r2on = new Image();
        r2on.src = "/images/about/list/canada_on.gif";
		
		var r3off = new Image();
		r3off.src = "/images/about/list/caribbean_off.gif";
        var r3on = new Image();
        r3on.src = "/images/about/list/caribbean_on.gif";
		
		var r4off = new Image();
		r4off.src = "/images/about/list/latin_america_off.gif";
        var r4on = new Image();
        r4on.src = "/images/about/list/latin_america_on.gif";
		
		var r5off = new Image();
		r5off.src = "/images/about/list/middleeast_africa_off.gif";
        var r5on = new Image();
        r5on.src = "/images/about/list/middleeast_africa_on.gif";
		
		var r6off = new Image();
		r6off.src = "/images/about/list/europe_off.gif";
        var r6on = new Image();
        r6on.src = "/images/about/list/europe_on.gif";
		
		var r7off = new Image();
		r7off.src = "/images/about/list/asia_pacific_off.gif";
        var r7on = new Image();
        r7on.src = "/images/about/list/asia_pacific_on.gif";
		
		var r8off = new Image();
		r8off.src = "/images/about/list/other_off.gif";
        var r8on = new Image();
        r8on.src = "/images/about/list/other_on.gif";
}

function swapImg(img,dir){
	if (document.images){
		if(dir=="off"){document[img].src=eval(img+"off.src");}
		else if(dir=="on"){document[img].src=eval(img+"on.src");}
	}
}