void script_1041(int arg0,int arg1,int arg2,int arg3) {
	deleteAllExtraChilds(new WidgetPointer(arg1));
	if (strLength(globalstring_30) > 0) {
		script_1039(arg0, arg1, arg2, arg3);
	} else {
		setWidgetScrollMax(0, 0, new WidgetPointer(arg1));
		script_1042(arg1, arg2);
	}
	return;
}
