
function scbg(objRef, state) 
{
	objRef.style.backgroundColor = (1 == state) ? '#EEEEEE' : '#FFFFFF';
	return;
}

function ColorListChange(cmb,ind)
{
	_name = 'img'+ind;
	_image = window.document.images[_name];
	_image.src = cmb.value.split(';')[0];
}

function ShowBigImage(ind, _scrollbars) 
{
	sname = 'select'+ind;
	cmb = document.getElementById(sname);

	params = cmb.value.split(';');
	var imgUrl = params[2];
	var _width = params[3];
	var _height = params[4];
 
	var str = "left=100,toolbar=0,status=0,location=0,menubar=0,directories=0,scrollbars=";
	str = str + _scrollbars + ",resizeable=0, width="+_width+",height="+_height;
	win1 = open("", "_blank", str);

	win1.document.open();
	win1.document.write("<html><head><title>" + imgUrl + "</title></head><body bgcolor=#ffffff topmargin=0 leftmargin=0 marginheight=0 marginwidth=0><img src="+imgUrl+" border=0></body></html>");
	win1.document.close();
}

