if sigma1 > sigma2;
	error_mess1 = figure('Color', [1 0 0],'Name', 'Error Message',...
	'NumberTitle', 'off');
maintext1 = uicontrol (error_mess1,...
	'Style', 'text',...
	'Position', [125 300 350 20],...
	'String', 'WARNING:',...
	'Backgroundcolor', [1 0 0], 'ForeGroundColor', [1 1 1]);
maintext2 = uicontrol (error_mess1,...
	'Style', 'text',...
	'Position', [125 255 350 20],...
	'String', 'Minimum Variation cannont be greater',...
	'Backgroundcolor', [1 0 0], 'ForeGroundColor', [1 1 1]);

maintext2 = uicontrol (error_mess1,...
	'Style', 'text',...
	'Position', [125 225 350 20],...
	'String', 'than Maximum Variation',...
	'Backgroundcolor', [1 0 0], 'ForeGroundColor', [1 1 1]);

maintext1 = uicontrol (error_mess1,...
	'Style', 'text',...
	'Position', [125 200 350 20],...
	'String', 'Please click continue. ',...
	'Backgroundcolor', [1 0 0], 'ForeGroundColor', [1 1 1]);

push_continue = uicontrol (error_mess1,...
	'Style', 'pushbutton',...
	'Position', [350 100 100 40],...
	'String', 'Continue',...
	'CallBack', ['close (error_mess1);' , 'sced_check']);

end;


