var bgColor;
bgColor = "FFFFFF";
var type;
type = "";

function pickColor(type, thisColor) {
	var paintingtable = document.getElementById("paintingtable");
	if (type == "bgColor") {
		paintingtable.style.background = thisColor;
	}
}