<patTemplate:tmpl name="loginoutput"  >
<script type="text/javascript">
jomresJquery(document).ready(function () {
	jomresJquery('#loginModal').appendTo("body");
});
</script>
<div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="loginModalLabel">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-body">
				{LOGIN_FORM}
			</div> <!-- modal-body -->
		</div> <!-- modal-content -->
	</div> <!-- modal-dialog -->
</div>
</patTemplate:tmpl>