if (document.images) {

clearpix = new Image();
clearpix.src = "/graphics/clear.gif";

northeast_on = new Image();
northeast_on.src = "graphic/northeast_on.gif";
northeast_off = new Image();
northeast_off.src = "graphic/northeast.gif";

northwest_on = new Image();
northwest_on.src = "graphic/northwest_on.gif";
northwest_off = new Image();
northwest_off.src = "graphic/northwest.gif";

east_on = new Image();
east_on.src = "graphic/east_on.gif";
east_off = new Image();
east_off.src = "graphic/east.gif";

west_on = new Image();
west_on.src = "graphic/west_on.gif";
west_off = new Image();
west_off.src = "graphic/west.gif";

north_on = new Image();
north_on.src = "graphic/north_on.gif";
north_off = new Image();
north_off.src = "graphic/north.gif";

south_on = new Image();
south_on.src = "graphic/south_on.gif";
south_off = new Image();
south_off.src = "graphic/south.gif";

southeast_on = new Image();
southeast_on.src = "graphic/southeast_on.gif";
southeast_off = new Image();
southeast_off.src = "graphic/southeast.gif";

southwest_on = new Image();
southwest_on.src = "graphic/southwest_on.gif";
southwest_off = new Image();
southwest_off.src = "graphic/southwest.gif";

}
function changeimg()
{
	if (document.images) {
		for (var i=0; i<changeimg.arguments.length; i+=2)
		{
			document[changeimg.arguments[i]].src = eval(changeimg.arguments[i+1] + ".src");
			//point();
		}
	}
	
	
}

function point()
{
   this.style.cursor = 'pointer';
}

function toggle(obj)
{
	if (document.images) {
	document.getElementById(obj).className = (document.getElementById(obj).className=='selected') ? 'unselected' : 'selected';
	}
}