var confirm = function (url,message)
{
return _confirm('
',message);
}
var confirmUpdate = function (url,area,message){
return _confirm('
',message);
}
var confirmReason = function(preset)
{
switch(preset)
{
case 1:
return confirm('/profil/rittervalentin','Du hast die Maximalanzahl an Benachrichtigungsplätzen ausgenutzt. Um weitere Sachen beobachten zu können kannst Du entweder bestehende Benachrichtigungsaufträge löschen oder Punkte in zusätzliche Benachrichtigungsplätze eintauschen. Weiter zur Punkteübersicht?');
default : return false;
}
}
var _confirm = function (okContent,message)
{
cWindow = $('confirmWindow');
if(cWindow==null) {
cWindow = document.createElement("div");
cWindow.setAttribute('id','confirmWindow');
cWindow.setAttribute('align','center');
document.body.appendChild(cWindow);
cWindow = $('confirmWindow');
cWindow.hide();
cWindow.addClassName('confirm');
}
cWindow.innerHTML = message+
'
| '+ okContent +' | '+ ''+
''+
' | '+
'