$(document).ready(function()
{
var d = $('
x asdasd asd xx
');
$('body').append(d);
d.attr('class','dialog_base');
d.jqm();
//d.jqmShow();
});
function openSpecifications()
{
createDialog('article_dialog',{width: '500px', height: ($(window).height()-100)+'px', title: 'Specifications', ajaxUrl: 'specifications.html' } );
}
function openArticleForm()
{
createDialog('article_dialog',{width: '500px', height: setDialogHeight(585), title: 'Submit paper', ajaxUrl: 'article_form.html' } );
}
function setDialogHeight(height)
{
var wh = $(window).height();
if (wh');
//formGuid.attr('value',self.attr('cbViewState'));
//form.append(formGuid);
$.blockUI.defaults.overlayCSS.opacity = '0.1';
$.blockUI.defaults.css={textAlign: 'center',width: '100%'};
//$.blockUI.defaults.css.textAlign = 'center';
$.blockUI({ message: '
' });
//self.html('
');
//xhr.setRequestHeader('CB_FORM',self.attr('id'));
},
success: function(response)
{
$.unblockUI();
if (response==0)
{
$('.warning').show();
return false;
}
$('#cd').html(response);
}
});
}
return false;
}