var login = {
	
	show : function(path) {
	
		$('modal_overlay').show();
		$('modal_content').show();
		$('login_secure_dir').value = path;

		$('modal_content').down('INPUT[type=text]').focus();

		$('modal_content').down('FORM').setAttribute('action', SITEPATH + path + '/')
	
	}

	, showError : function(path) {
	
		this.show(path);

		$('modal_content').down('.row_error').show();
	
	}

};