function show_login_window(event)
{
	login_window_options = {
		title			: '',
		type			: 'iframe',
		url				: site_url('users/login'),
		width			: 420,
		height			: 230,
		resizable		: false,
		draggable		: false,
		theme			: Windoo.Themes.speechBubble,
		modal			: true,
		position		: false,
		destroyOnClose	: true,
		effects			: {
			'close'			: new Fx.Styles('windoo', {duration: 1, transition: Fx.Transitions.linear}),
			'hide'			: new Fx.Styles('windoo', {duration: 1, transition: Fx.Transitions.linear}),
			'show'			: new Fx.Styles('windoo', {duration: 1, transition: Fx.Transitions.linear})
		}
	};
	
	login_window = new Windoo(login_window_options);
	login_window.setZIndex(2000);
	login_window.positionAtCenter();
	login_window.show();
}

function close_login_window()
{
	login_window.hide();
}

function show_signup_window(event)
{
	signup_window_options = {
		title			: '',
		type			: 'iframe',
		url				: site_url('users/signup'),
		width			: 500,
		height			: 570,
		resizable		: false,
		draggable		: false,
		theme			: Windoo.Themes.speechBubble,
		modal			: true,
		position		: false,
		destroyOnClose	: true,
		effects			: {
			'close'			: new Fx.Styles('windoo', {duration: 1, transition: Fx.Transitions.linear}),
			'hide'			: new Fx.Styles('windoo', {duration: 1, transition: Fx.Transitions.linear}),
			'show'			: new Fx.Styles('windoo', {duration: 1, transition: Fx.Transitions.linear})
		}
	};
	
	signup_window = new Windoo(signup_window_options);
	signup_window.setZIndex(2000);
	signup_window.positionAtCenter();
	signup_window.show();
}

function close_signup_window()
{
	signup_window.hide();
}