function createConfirm(fConfirm,fCancel) {
	var cConfirm = new Custom.Confirm('', '', {
		content: 'html',
		draggable: false,
		text: {
			confirmButtonText: '',
			closeButtonText: '',
			cancelButtonText: ''
		},
		opacify:false,
		zones: {
			box: 'box1',
			head: 'head1',
			body: 'body1',
			buttonBox: 'buttonBox1'
		},
		buttons: {
			closeButton: 'closeButton1',
			confirmButton: 'confirmButton1',
			cancelButton: 'cancelButton1'
		},
		overlay: '#000',
		onConfirm: fConfirm,
		onCancel: fCancel,
		initialize: function() {
			this.theclose = new Element('div', { 'styles': {'clear': 'both'} });
			this.theclose.injectInside(this.closebox);
		}
	});
	return cConfirm;
}

function createAlert() {
	var cAlert = new Custom.Alert('', '', {
		content: 'html',
		height: '166px',
		text: {
			confirmButtonText: '',
			closeButtonText: ''
		},
		opacify:false,
		draggable: true,
		zones: {
			box: 'box1',
			head: 'head1',
			body: 'body1',
			buttonBox: 'buttonBox1'
		},
		buttons: {
			confirmButton: 'confirmButton2'
		},
		overlay: '#000'
	});
	return cAlert;
}

function createPrompt(fConfirm) {
	var cPrompt = new Custom.Prompt('', '', {
		content: 'html',
		draggable: false,
		text: {
			confirmButtonText: '',
			closeButtonText: '',
			cancelButtonText: ''
		},
		opacify:false,
		promptType: {
			box: 'single',
			lines: 1,
			startValue: ''
		},
		zones: {
			box: 'box1',
			head: 'head1',
			body: 'body1',
			buttonBox: 'buttonBox1',
			promptBox: 'promptBox1'
		},
		buttons: {
			closeButton: 'closeButton1',
			confirmButton: 'confirmButton1',
			cancelButton: 'cancelButton1'
		},
		overlay: '#000',
		onConfirm: fConfirm,
		onCancel: function() {
			
		},
		initialize: function() {
			this.theclose = new Element('div', { 'styles': {'clear': 'both'} });
			this.theclose.injectInside(this.closebox);
		}
	});
	return cPrompt;
}

function createMultiPrompt(fConfirm,startVal) {
	var cPrompt = new Custom.Prompt('', '', {
		content: 'html',
		draggable: false,
		text: {
			confirmButtonText: '',
			closeButtonText: '',
			cancelButtonText: ''
		},
		opacify:false,
		promptType: {
			box: 'multi',
			lines: 3,
			startValue: startVal
		},
		zones: {
			box: 'box1',
			head: 'head1',
			body: 'body1',
			buttonBox: 'buttonBox1',
			promptBox: 'promptBox1'
		},
		buttons: {
			closeButton: 'closeButton1',
			confirmButton: 'confirmButton1',
			cancelButton: 'cancelButton1'
		},
		overlay: '#000',
		onConfirm: fConfirm,
		onCancel: function() {
			
		},
		initialize: function() {
			this.theclose = new Element('div', { 'styles': {'clear': 'both'} });
			this.theclose.injectInside(this.closebox);
		}
	});
	return cPrompt;
}
