/* from			: http://dev.iceburg.net/jquery/jqModal/
 * trigger	: .jqModal
 * close		: .jqmClose
 */

$(function() {
	$('#content').prepend('<div class="jqmWindow" id="modal"></div>');
	
	$('#modal').jqm({
		modal: false,
		//toTop: true, if z-index issue (=> with lost of #content style)
		ajax: '@href',
		ajaxText: '<div id="loading"></div>'
	});
});
