 toggleKey =new Object();
 toggleKey[0] = "_off";
 toggleKey[1] = "_on";
 toggleKey[2] = "_ovr";
 toggleKey[3] = "_out";
 toggleKey[4] = "_mdn";
 toggleKey[5] = "_mup";

function imgChange(id , act){
	if(document.images){ document.images[id].src = eval("img."+ id + toggleKey[act] + ".src");}
}

// 图片变换设置 imgChange('img name' , 0)关闭 imgChange('img  name' , 1) 打开

 if(document.images){
	img = new Object();
	// mute 
	img.vmute_off = new Image();
	img.vmute_off.src = "btn_mute_off.gif";
	img.vmute_on = new Image();
	img.vmute_on.src = "btn_mute_on.gif";
	
	// 
	img.pmode_off = new Image();
	img.pmode_off.src = "btn_rndmode_off.gif";
	img.pmode_on = new Image();
	img.pmode_on.src = "btn_rndmode_on.gif";

	// loop 
	img.rept_off = new Image();
	img.rept_off.src = "btn_rept_off.gif";
	img.rept_on = new Image();
	img.rept_on.src = "btn_rept_on.gif";

	// Play 
	img.playt_off = new Image();
	img.playt_off.src = "btn_play.gif";
	img.playt_on = new Image();
	img.playt_on.src = "btn_play_on.gif";

	// Pause & Play 
	img.pauzt_off = new Image();
	img.pauzt_off.src = "btn_pauz_off.gif";
	img.pauzt_on = new Image();
	img.pauzt_on.src = "btn_pauz_on.gif";

	// Stop 
	img.stopt_off = new Image();
	img.stopt_off.src = "btn_stop.gif";
	img.stopt_on = new Image();
	img.stopt_on.src = "btn_stop_on.gif";
}