function changeBackground(obj, bg){
	if(obj.style){
		obj = obj.style;
	}
	obj.background = bg;
}