function addArticalCallback(responce) {
alert('added') ;
}

function loadArticleTemplateCallback(responce) {
  pageResponceProcessor(responce, "article_template") ;
  jQuery("#article_template").fadeIn();

}

function createDialog() {
// addElement(document.body, 'div', 'dialog') ;
 	jQuery(function() {

		jQuery("#dialog").dialog({
			title:'Browse Assets',
			bgiframe: false,
			autoOpen: false,
			top:50,
			height: 600,
			width:500,
			modal: true,
			buttons: {
				'Select': function() {
    				$(this).dialog('close');
				},
				Cancel: function() {
					$(this).dialog('close');
				}
			},
			close: function() {
			}
		});
		
		var name = jQuery("#name"),
		email = jQuery("#email"),
		password = jQuery("#password"),
		allFields = jQuery([]).add(name).add(email).add(password);
	})
}
