 
save_set_fig = figure('Name', 'Save Settings', 'NumberTitle', 'off',...
	'Position',[625 10 430 380]);


pos1 = uicontrol(save_set_fig,...
	'Style', 'push',...
	'Pos', [10 200 175 150],...
	'BackGroundColor', [1 1 0],...
	'ForeGroundColor', [0 0 0],...
	'CallBack', 'pos1_set');

label_pos1 = uicontrol (save_set_fig,...
	'Style', 'text',...
	'Pos', [30 280 135 14],...
	'BackgroundColor', [1 1 0],...
	'String', 'Save in this Position');

title_pos1 = uicontrol (save_set_fig,...
	'Style', 'text',...
	'Pos', [10 235 40 14],...
	'BackGroundColor', [1 1 0],...
	'String', 'Title:');

if exist ('pos1_label');
	edit_pos1 = uicontrol (save_set_fig,...
		'Style', 'edit',...
		'Pos', [52 227 125 30],...
		'String', pos1_label,...
		'CallBack', ['pos1_label = get(edit_pos1, ''String'');', 'pos1_set;']);
else;
	pos1_label = 'Position 1';
	edit_pos1 = uicontrol (save_set_fig,...
		'Style', 'edit',...
		'Pos', [52 227 125 30],...
		'String', pos1_label,...
		'CallBack', ['pos1_label = get(edit_pos1, ''String'');', 'pos1_set;']);
end;

pos2 = uicontrol (save_set_fig,...
	'Style', 'push',...
	'Pos', [250 200 175 150],...
	'BackGroundColor', [0 1 0],...
	'CallBack','pos2_set');

label_pos2 = uicontrol (save_set_fig,...
	'Style', 'text',...
	'Pos', [270 280 135 14],...
	'BackGroundColor', [0 1 0],...
	'String', 'Save in this Position');

title_pos2 = uicontrol (save_set_fig,...
	'Style', 'text',...
	'Pos', [250 235 40 14],...
	'BackGroundColor', [0 1 0],...
	'String', 'Title:');
	
if exist ('pos2_label');
	edit_pos2 = uicontrol (save_set_fig,...
		'Style', 'edit',...
		'Pos', [292 227 125 30],...
		'String', pos2_label,...
		'CallBack', ['pos2_label = get(edit_pos2, ''String'');', 'pos2_set;']);
else;
	pos2_label = 'Position 2';
	edit_pos2 = uicontrol (save_set_fig,...
		'Style', 'edit',...
		'Pos', [292 227 125 30],...
		'String', 'Position 2',...
		'CallBack', ['pos2_label = get(edit_pos2, ''String'');', 'pos2_set;']);
end;

pos3 = uicontrol (save_set_fig,...
	'Style', 'push',...
	'Pos', [10 10 175 150],...
	'BackGroundColor', [1 0 0],...
	'CallBack', 'pos3_set');

label_pos3 = uicontrol (save_set_fig,...
	'Style', 'text',...
	'Pos', [30 90 135 14],...
	'BackGroundColor', [1 0 0],...
	'String', 'Save in this Position');

title_pos3 = uicontrol (save_set_fig,...
	'Style', 'text',...
	'Pos', [10 45 40 14],...
	'BackGroundColor', [1 0 0],...
	'String', 'Title:');

if exist ('pos3_label');
	edit_pos3 = uicontrol (save_set_fig,...
		'Style', 'edit',...
		'Pos', [52 37 125 30],...
		'String', pos3_label,...
		'CallBack', ['pos3_label = get(edit_pos3, ''String'');', 'pos3_set;']);
else;
	pos3_label = 'Position 3';
	edit_pos3 = uicontrol (save_set_fig,...
		'Style', 'edit',...
		'Pos', [52 37 125 30],...
		'String', 'Position 3',...
		'CallBack', ['pos3_label = get(edit_pos3, ''String'');', 'pos3_set;']);
end;
back_interact = uicontrol (save_set_fig,...
	'Style', 'push',...
	'Pos', [225 85 190 50],...
	'BackGroundColor', [0 0 1],...
	'ForeGroundColor', [1 1 1],...
	'String', 'Return to Interactive Menu',...
	'Callback', ['close (save_set_fig);' 'close (Interact_Movie);' 'close (reminder);' 'interact;']);

run_movie = uicontrol (save_set_fig,...
	'Style', 'push',...
	'Pos', [225 30 190 50],...
	'BackGroundColor', [0 0 1],...
	'ForeGroundColor', [1 1 1],...
	'String', 'Run Movie',...
	'CallBack', ['close (save_set_fig);' 'close (Interact_Movie);' 'close (reminder);' 'save_set_movie;']);
