module oRoot1 is cBox
with 
	Flags is $00000152; 
	release Editor:
		IOWindow is {$00000122,$000000B1,$0000028F,$000001EF,$00000000,$00000000,$00000000,$00000000};
		LayoutWindow is {$000000F7,$0000003C,$000002AD,$0000022E,$0000002F,$0000006D,$00000064,$00000000};
	end;
	Name is "Root"; 
	Enabled is false; Cursor is oArrowCursor; 
	
	Width is 576; Height is 324; 
	
	Kind is DrawOpaque; 
	Elements is [
		oDisk_Changer2
	];
end;

object oDisk_Changer2 is cDiskChangeElement
with 
	Flags is $00000154; 
	Name is "Disk Changer"; 
	Enabled is false; Cursor is oArrowCursor; 
	
	
	Elements is [
		oInsertDiskDialog3,
		oWrongDiskDialog8
	];
	Events is [
		cOffscreenEvent
		with Flags is $00000004; 
			Commands is [
				cDiskChangeCommand
				with Flags is $00000004; Target is oTargetSelf; FileName is "disk2cd"; end
			];
		end,
		cDiskReadyEvent
		with Flags is $00000004; 
			Commands is [
				cShowCommand
				with Flags is $00000004; Target is oInsertDiskDialog3; Mode is Clear; end,
				cEnableCommand
				with Flags is $00000004; Target is oInsertDiskDialog3; Mode is Clear; end,
				cDoCookieCommand
				with CookieName is "currentCD"; Value is "2"; end,
				cDiskCookieCommand
				with CookieName is "CDURL"; end,
				cSetSiteURLCommand
				with Value is "CDURL"; ValueFlag is true; end,
				cBrowseCommand
				with URL is "102_World3.k"; end
			];
		end,
		cAskForDiskEvent
		with Flags is $00000004; 
			Commands is [
				cShowCommand
				with Flags is $00000004; Target is oInsertDiskDialog3; Mode is Clear; end,
				cEnableCommand
				with Flags is $00000004; Target is oInsertDiskDialog3; Mode is Clear; end,
				cDoCookieCommand
				with CookieName is "currentCD"; Value is "2"; end,
				cDiskCookieCommand
				with CookieName is "CDURL"; end,
				cSetSiteURLCommand
				with Value is "CDURL"; ValueFlag is true; end,
				cBrowseCommand
				with URL is "102_World3.k"; end
			];
		end,
		cWrongDiskEvent
		with Flags is $00000004; 
			Commands is [
				cShowCommand
				with Flags is $00000004; Target is oWrongDiskDialog8; end,
				cEnableCommand
				with Flags is $00000004; Target is oWrongDiskDialog8; end
			];
		end
	];
end;

object oInsertDiskDialog3 is cBox
with 
	Flags is $00000154; 
	Name is "InsertDiskDialog"; 
	Enabled is false; Shown is false; Cursor is oDontCursor; 
	AdjustX is AlignToLeft; AdjustY is AlignToTop; 
	AdjustWidth is GetLayoutWidth; AdjustHeight is GetLayoutHeight; 
	
	
	Elements is [
		odialog4
	];
end;

object odialog4 is cImage
with 
	Flags is $00000154; 
	Name is "dialog"; 
	
	X is 165; Y is 150; 
	AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
	
	URL is "Media/Dialog.pct"; 
	
	
	Elements is [
		oInsertPrompt15,
		oCancel6,
		oretry7
	];
end;

object oInsertPrompt15 is cField
with 
	Flags is $00000154; 
	Name is "InsertPrompt1"; 
	Clipping is true; 
	X is 24; Y is 29; 
	Width is 269; Height is 92; 
	
	Editable is false; Text is "Установите, пожалуйста, диск 2..."; 
	FontSize is 14; Bold is true; FontName is "Helvetica"; 
	
	
	
end;

object oCancel6 is cImage
with 
	Flags is $00000154; 
	Name is "Cancel"; 
	
	X is 27; Y is 109; 
	AdjustWidth is GetDataWidth; Height is 25; 
	
	URL is "Media/Cancel.pct"; 
	
	Kind is DrawFlipbook; RowCount is 2; CellIndex is 2; 
	Events is [
		cMouseDownEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; end
			];
		end,
		cMouseUpEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; Mode is GoToLastCell; end,
				cQuitCommand
				with Flags is $00000004; end
			];
		end
	];
end;

object oretry7 is cImage
with 
	Flags is $00000154; 
	Name is "retry"; 
	Cursor is oFingerCursor; 
	X is 173; Y is 109; 
	AdjustWidth is GetDataWidth; Height is 25; 
	
	URL is "Media/Retry.pct"; 
	
	Kind is DrawFlipbook; RowCount is 2; CellIndex is 2; 
	Events is [
		cMouseDownEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; end
			];
		end,
		cMouseUpEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; Mode is GoToLastCell; end,
				cAbortDiskChangeCommand
				with Flags is $00000004; Target is oDisk_Changer2; end,
				cShowCommand
				with Flags is $00000004; Target is oInsertDiskDialog3; Mode is Clear; end,
				cEnableCommand
				with Flags is $00000004; Target is oInsertDiskDialog3; Mode is Clear; end,
				cFieldTextCommand
				with Flags is $00000004; Target is oInsertPrompt15; Value is "Установите, пожалуйста, диск 2..."; end,
				cDiskChangeCommand
				with Flags is $00000004; Target is oDisk_Changer2; FileName is "disk2cd"; end
			];
		end
	];
end;

object oWrongDiskDialog8 is cBox
with 
	Flags is $00000110; 
	Name is "WrongDiskDialog"; 
	Enabled is false; Shown is false; Cursor is oDontCursor; 
	AdjustX is AlignToLeft; AdjustY is AlignToTop; 
	AdjustWidth is GetLayoutWidth; AdjustHeight is GetLayoutHeight; 
	
	
	Elements is [
		odialog9
	];
end;

object odialog9 is cImage
with 
	Flags is $00000154; 
	Name is "dialog"; 
	
	X is 165; Y is 150; 
	AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
	
	URL is "Media/Dialog.pct"; 
	
	
	Elements is [
		oPrompt10,
		oretry11,
		oCancel12
	];
end;

object oPrompt10 is cField
with 
	Flags is $00000154; 
	Name is "Prompt"; 
	Clipping is true; Cursor is oArrowCursor; 
	X is 24; Y is 29; 
	Width is 269; Height is 92; 
	
	Editable is false; Text is "Неверный диск ! "; 
	FontSize is 14; Bold is true; FontName is "Helvetica"; 
	
	
	
end;

object oretry11 is cImage
with 
	Flags is $00000154; 
	Name is "retry"; 
	Cursor is oFingerCursor; 
	X is 173; Y is 109; 
	AdjustWidth is GetDataWidth; Height is 25; 
	
	URL is "Media/Retry.pct"; 
	
	Kind is DrawFlipbook; RowCount is 2; CellIndex is 2; 
	Events is [
		cMouseDownEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; end
			];
		end,
		cMouseUpEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; Mode is GoToLastCell; end,
				cShowCommand
				with Flags is $00000004; Target is oWrongDiskDialog8; Mode is Clear; end,
				cEnableCommand
				with Flags is $00000004; Target is oWrongDiskDialog8; Mode is Clear; end
			];
		end
	];
end;

object oCancel12 is cImage
with 
	Flags is $00000154; 
	Name is "Cancel"; 
	
	X is 27; Y is 109; 
	AdjustWidth is GetDataWidth; Height is 25; 
	
	URL is "Media/Cancel.pct"; 
	
	Kind is DrawFlipbook; RowCount is 2; CellIndex is 2; 
	Events is [
		cMouseDownEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; end
			];
		end,
		cMouseUpEvent
		with Flags is $00000004; 
			Commands is [
				cSetFlipbookCommand
				with Flags is $00000004; Target is oTargetSelf; Mode is GoToLastCell; end,
				cQuitCommand
				with Flags is $00000004; end
			];
		end
	];
end;