imagefile = new Array("common/ar_r.gif", "common/ar_d.gif");

image = new Array(imagefile.length);

for(count = 0; count < imagefile.length; count++){
	image[count] = new Image();
	image[count].src = imagefile[count];
}



function ImageChange(id){
	window.document.images[id].src  = imagefile[(window.document.images[id].src.indexOf("common/ar_r.gif") != -1) ? 1 : 0];
}

function Display(id){
	if(document.all){
		if(document.all(id).style.display == "block"){
			document.all(id).style.display = "none";
		}else if(document.all(id).style.display == "none"){
			document.all(id).style.display = "block";
		}
	}else if(document.getElementById){
		if(document.getElementById(id).style.display == "block"){
			document.getElementById(id).style.display = "none";
		}else if(document.getElementById(id).style.display == "none"){
			document.getElementById(id).style.display = "block";
		}
	}
}




