function email_init() {
	if ($('ebook-form')) Event.observe('send', 'click', submit_contact_form)
}

function submit_contact_form(e) {
	fields = Form.serialize($('ebook-form'))
	Form.disable('ebook-form')
	new Ajax.Request('ebook.php', {method:'post', postBody:fields})
	Event.stop(e)
}
Event.observe(window, 'load', email_init )
