function errorPopup(){
this.configure=function(options){
this.url=options.url;
this.message=options.message;
}
this.draw=function(){
return'
';
}
this.load=function(){
$.ajax({
async:true,
url:this.url,
data: {message: this.message},
success:function(data){
$('div[type="error-popup"]:last').html(data);
},
error:function(error){
}
});
}
}