<!--
function writeColor(colorImagePath) {
	colorImagePath = colorImagePath || "../";
	
	document.writeln("视力保护色：");
	document.writeln('<a href="javascript:setColor(\'#FAFBE6\')"><img height="10" alt="杏仁黄" src="' + colorImagePath + 'images/color1.gif" width="10" border="0" /><\/a>&nbsp; ');
	document.writeln('<a href="javascript:setColor(\'#FFF2E2\')"><img height="10" alt="秋叶褐" src="' + colorImagePath + 'images/color2.gif" width="10" border="0" /><\/a>&nbsp; ');
	document.writeln('<a href="javascript:setColor(\'#FDE6E0\')"><img height="10" alt="胭脂红" src="' + colorImagePath + 'images/color3.gif" width="10" border="0" /><\/a>&nbsp; ');
	document.writeln('<a href="javascript:setColor(\'#F3FFE1\')"><img height="10" alt="芥末绿" src="' + colorImagePath + 'images/color4.gif" width="10" border="0" /><\/a>&nbsp; ');
	document.writeln('<a href="javascript:setColor(\'#DAFAFE\')"><img height="10" alt="天蓝" src="' + colorImagePath + 'images/color5.gif" width="10" border="0" /><\/a>&nbsp; ');
	document.writeln('<a href="javascript:setColor(\'#E9EBFE\')"><img height="10" alt="雪青" src="' + colorImagePath + 'images/color6.gif" width="10" border="0" /><\/a>&nbsp; ');
	document.writeln('<a href="javascript:setColor(\'#EAEAEF\')"><img height="10" alt="灰" src="' + colorImagePath + 'images/color7.gif" width="10" border="0" /><\/a>&nbsp; ');
	document.writeln('<a href="javascript:setColor(\'#FFFFFF\')"><img height="10" alt="银河白(默认色)" src="' + colorImagePath + 'images/color8.gif" width="10" border="0" /><\/a>&nbsp;');
}

function setColor(color, elementId) {
	elementId = elementId || "content";
	$ = function (id) {
		return document.getElementById ? document.getElementById(id) : document.all(id);
	}
	$(elementId).style.backgroundColor = color;
}
//-->
